Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-back-soil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-web-back-soil
Commits
78bd16fe
Commit
78bd16fe
authored
Nov 20, 2020
by
zhangmengqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
f87c6d1b
11617162
Show whitespace changes
Inline
Side-by-side
Showing
84 changed files
with
166 additions
and
550 deletions
+166
-550
soil-test.js
api/soil/soil-test.js
+3
-1
Reason.vue
components/base/Reason.vue
+1
-1
Operation.vue
components/operation/Operation.vue
+1
-1
SelEquip.vue
components/select-equip/SelEquip.vue
+1
-1
assignPerson.vue
components/user-info-single/assignPerson.vue
+1
-1
RegisterItemBatchEdit.vue
pages/meter-entrust/RegisterItemBatchEdit.vue
+1
-1
SoilSampleItemManage.vue
pages/meter-entrust/SoilSampleItemManage.vue
+1
-1
SoilSampleItemManageEdit.vue
pages/meter-entrust/SoilSampleItemManageEdit.vue
+1
-1
SoilSampleItemManageHis.vue
pages/meter-entrust/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManage.vue
pages/meter-entrust/SoilSampleManage.vue
+1
-1
SoilSampleManageHis.vue
pages/meter-entrust/SoilSampleManageHis.vue
+1
-1
EntrustIndex.vue
pages/meter-entrust/entrust-register/EntrustIndex.vue
+0
-1
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+0
-38
EntrustRegisterEdit.vue
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
+14
-187
SampleItemEdit.vue
pages/meter-entrust/entrust-register/SampleItemEdit.vue
+25
-27
EntrustDetail.vue
pages/meter-entrust/entrust-review/EntrustDetail.vue
+1
-13
ReviewEntrust.vue
pages/meter-entrust/entrust-review/ReviewEntrust.vue
+0
-13
SoilSampleItemManage.vue
pages/soil-sample-manage/SoilSampleItemManage.vue
+1
-1
SoilSampleItemManageHis.vue
pages/soil-sample-manage/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManageHis.vue
pages/soil-sample-manage/SoilSampleManageHis.vue
+8
-4
SampleParpareApply.vue
.../soil-sample-manage/backups-manage/SampleParpareApply.vue
+1
-1
SampleParpareBatchEdit.vue
...l-sample-manage/backups-manage/SampleParpareBatchEdit.vue
+1
-1
AddressManageEdit.vue
...s/soil-sample-manage/sample-address/AddressManageEdit.vue
+1
-1
ViewLocationEntrust.vue
...soil-sample-manage/sample-address/ViewLocationEntrust.vue
+1
-1
ViewSample.vue
pages/soil-sample-manage/sample-address/ViewSample.vue
+1
-1
CollectFileManage.vue
...il-sample-manage/sample-preparation/CollectFileManage.vue
+2
-2
CollectManage.vue
...s/soil-sample-manage/sample-preparation/CollectManage.vue
+1
-1
DescribeDetailModal.vue
...-sample-manage/sample-preparation/DescribeDetailModal.vue
+1
-1
EquipManage.vue
pages/soil-sample-manage/sample-preparation/EquipManage.vue
+1
-1
ImportItem.vue
pages/soil-sample-manage/sample-preparation/ImportItem.vue
+4
-1
IndexManage.vue
pages/soil-sample-manage/sample-preparation/IndexManage.vue
+1
-1
IndexManageEdit.vue
...soil-sample-manage/sample-preparation/IndexManageEdit.vue
+1
-1
PreparationHis.vue
.../soil-sample-manage/sample-preparation/PreparationHis.vue
+1
-1
PrepareItemBatchEdit.vue
...sample-manage/sample-preparation/PrepareItemBatchEdit.vue
+1
-1
SampleManage.vue
pages/soil-sample-manage/sample-preparation/SampleManage.vue
+1
-1
SampleParpareBatchEdit.vue
...mple-manage/sample-preparation/SampleParpareBatchEdit.vue
+1
-1
SoilItemNum.vue
pages/soil-sample-manage/sample-preparation/SoilItemNum.vue
+1
-4
SoilSampleItemManageEdit.vue
...le-manage/sample-preparation/SoilSampleItemManageEdit.vue
+1
-1
SampleReceiveModal.vue
.../soil-sample-manage/sample-receive/SampleReceiveModal.vue
+1
-1
SampleManage.vue
...age/sample-receive/entrust-sample-manage/SampleManage.vue
+1
-1
SampleManageHis.vue
.../sample-receive/entrust-sample-manage/SampleManageHis.vue
+1
-1
SoilSampleItemManage.vue
...le-receive/entrust-sample-manage/SoilSampleItemManage.vue
+1
-1
WaitReceive.vue
...nage/sample-receive/entrust-sample-manage/WaitReceive.vue
+3
-0
ItemManage.vue
pages/soil-sample-manage/sample-take/ItemManage.vue
+1
-1
TakeSampleManage.vue
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
+4
-1
SampleSurplusBatchEdit.vue
...l-sample-manage/surplus-manage/SampleSurplusBatchEdit.vue
+1
-1
SurplusParpareApply.vue
...soil-sample-manage/surplus-manage/SurplusParpareApply.vue
+1
-1
SampleSurplusManage.vue
...-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
+1
-4
AuditDataModal.vue
pages/soil-test-manage/test-data-audit/AuditDataModal.vue
+1
-1
EquipManage.vue
pages/soil-test-manage/test-data-audit/EquipManage.vue
+1
-1
IndexManage.vue
pages/soil-test-manage/test-data-audit/IndexManage.vue
+1
-1
SoilSampleItemManageHis.vue
...l-test-manage/test-data-audit/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManageHis.vue
.../soil-test-manage/test-data-audit/SoilSampleManageHis.vue
+1
-1
ItemRightList.vue
...l-test-manage/test-data-audit/item-tabs/ItemRightList.vue
+2
-2
SampleLeftList.vue
...est-manage/test-data-audit/sample-tabs/SampleLeftList.vue
+2
-2
SampleRightList.vue
...st-manage/test-data-audit/sample-tabs/SampleRightList.vue
+2
-2
CheckDataModal.vue
pages/soil-test-manage/test-data-check/CheckDataModal.vue
+1
-1
EquipManage.vue
pages/soil-test-manage/test-data-check/EquipManage.vue
+1
-1
IndexManage.vue
pages/soil-test-manage/test-data-check/IndexManage.vue
+1
-1
SoilSampleItemManageHis.vue
...l-test-manage/test-data-check/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManageHis.vue
.../soil-test-manage/test-data-check/SoilSampleManageHis.vue
+1
-1
ItemRightList.vue
...l-test-manage/test-data-check/item-tabs/ItemRightList.vue
+2
-2
SampleLeftList.vue
...est-manage/test-data-check/sample-tabs/SampleLeftList.vue
+2
-2
SampleRightList.vue
...st-manage/test-data-check/sample-tabs/SampleRightList.vue
+2
-2
SoilSampleItemManageHis.vue
...test-manage/test-data-consult/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManageHis.vue
...oil-test-manage/test-data-consult/SoilSampleManageHis.vue
+1
-1
CollectFileManage.vue
pages/soil-test-manage/test-input/CollectFileManage.vue
+1
-1
CollectManage.vue
pages/soil-test-manage/test-input/CollectManage.vue
+1
-1
EquipManage.vue
pages/soil-test-manage/test-input/EquipManage.vue
+1
-1
IndexManage.vue
pages/soil-test-manage/test-input/IndexManage.vue
+1
-1
IndexManageEdit.vue
pages/soil-test-manage/test-input/IndexManageEdit.vue
+1
-1
ItemView.vue
pages/soil-test-manage/test-input/ItemView.vue
+3
-6
OriginalRecordView.vue
pages/soil-test-manage/test-input/OriginalRecordView.vue
+14
-138
SampleManage.vue
pages/soil-test-manage/test-input/SampleManage.vue
+1
-1
SoilSampleItemManageHis.vue
...s/soil-test-manage/test-input/SoilSampleItemManageHis.vue
+1
-1
SoilSampleManageHis.vue
pages/soil-test-manage/test-input/SoilSampleManageHis.vue
+1
-1
TestInput.vue
pages/soil-test-manage/test-input/TestInput.vue
+2
-2
ItemRightList.vue
...s/soil-test-manage/test-input/item-tabs/ItemRightList.vue
+2
-2
SampleRightList.vue
...il-test-manage/test-input/sample-tabs/SampleRightList.vue
+5
-2
SampleManage.vue
...st-task-manage-his/entrust-sample-manage/SampleManage.vue
+1
-1
AllotByEntrust.vue
pages/soil-test-manage/test-task-manage/AllotByEntrust.vue
+0
-5
SampleManage.vue
...e/test-task-manage/entrust-sample-manage/SampleManage.vue
+1
-1
ItemRightList.vue
...-manage/entrust-sample-manage/item-tabs/ItemRightList.vue
+0
-31
soil-routes.js
router/soil-routes.js
+6
-0
No files found.
api/soil/soil-test.js
View file @
78bd16fe
...
@@ -157,5 +157,7 @@ export default {
...
@@ -157,5 +157,7 @@ export default {
collectFilePage
:
data
=>
collectFilePage
:
data
=>
http
.
post
(
'soil/v1/experiment_collect_file/page'
,
data
).
then
(
res
=>
res
),
http
.
post
(
'soil/v1/experiment_collect_file/page'
,
data
).
then
(
res
=>
res
),
pageExpAuditHis
:
data
=>
pageExpAuditHis
:
data
=>
http
.
post
(
'soil/v1/entrust/page_exp_audit_his'
,
data
).
then
(
res
=>
res
)
http
.
post
(
'soil/v1/entrust/page_exp_audit_his'
,
data
).
then
(
res
=>
res
),
deleteRecord
:
data
=>
http
.
delete
(
'soil/v1/original_record/?ids='
+
data
).
then
(
res
=>
res
)
}
}
components/base/Reason.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
class=
"zIndex-1100"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
class=
"zIndex-1100"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
components/operation/Operation.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"900"
class=
"modal-footer-none zIndex-1100"
>
<Modal
v-model=
"showModal"
v-drag
width=
"900"
class=
"modal-footer-none zIndex-1100"
>
<p
slot=
"header"
>
操作日志
</p>
<p
slot=
"header"
>
操作日志
</p>
<div>
<div>
<Row>
<Row>
...
...
components/select-equip/SelEquip.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"full-screen zIndex-1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"full-screen zIndex-1200"
>
<div
slot=
"header"
>
设备管理
</div>
<div
slot=
"header"
>
设备管理
</div>
<div>
<div>
<Collapse
@
on-result-change=
"_optionResult"
left-title=
"仪器类别"
right-title=
"已选仪器"
left-width=
"15"
>
<Collapse
@
on-result-change=
"_optionResult"
left-title=
"仪器类别"
right-title=
"已选仪器"
left-width=
"15"
>
...
...
components/user-info-single/assignPerson.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showUserModal"
width=
"800"
:mask-closable=
"false"
class=
"zIndex-1200"
>
<Modal
v-model=
"showUserModal"
v-drag
width=
"800"
:mask-closable=
"false"
class=
"zIndex-1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
>
...
...
pages/meter-entrust/RegisterItemBatchEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写试验项目信息
</p>
<p
slot=
"header"
>
填写试验项目信息
</p>
<div>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
...
...
pages/meter-entrust/SoilSampleItemManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/meter-entrust/SoilSampleItemManageEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/meter-entrust/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/meter-entrust/SoilSampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1030"
class=
"modal-footer-none
"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1030
"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/meter-entrust/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1010"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1010"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/meter-entrust/entrust-register/EntrustIndex.vue
View file @
78bd16fe
...
@@ -50,7 +50,6 @@ export default {
...
@@ -50,7 +50,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_page
()
this
.
$refs
.
refModal
.
_page
()
})
})
// this.$refs.hisTabs._page()
}
}
}
}
}
}
...
...
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
78bd16fe
...
@@ -55,7 +55,6 @@
...
@@ -55,7 +55,6 @@
</template>
</template>
<
script
>
<
script
>
import
{
soilEntrust
}
from
'../../../api'
import
{
soilEntrust
}
from
'../../../api'
import
http
from
'../../../api/http'
import
Operation
from
'../../../components/operation/Operation'
import
Operation
from
'../../../components/operation/Operation'
import
SoilSampleManage
from
'../SoilSampleManage'
import
SoilSampleManage
from
'../SoilSampleManage'
import
importModal
from
'../../../components/import/DownloadTemplateImport'
import
importModal
from
'../../../components/import/DownloadTemplateImport'
...
@@ -117,21 +116,11 @@ export default {
...
@@ -117,21 +116,11 @@ export default {
id
:
''
,
id
:
''
,
name
:
'试验项目列表'
name
:
'试验项目列表'
},
},
// {
// type: 'ios-beaker',
// id: '',
// name: '管理样品'
// },
{
{
type
:
'md-cloud'
,
type
:
'md-cloud'
,
id
:
''
,
id
:
''
,
name
:
'附件'
name
:
'附件'
},
},
// {
// type: 'md-document',
// id: '',
// name: '导出委托单'
// },
{
{
type
:
'md-remove-circle'
,
type
:
'md-remove-circle'
,
id
:
''
,
id
:
''
,
...
@@ -210,7 +199,6 @@ export default {
...
@@ -210,7 +199,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
data
,
'试验委托单导入'
)
this
.
$refs
.
refModal
.
_open
(
data
,
'试验委托单导入'
)
})
})
// this.$refs.importModal._open(data, '试验委托单导入')
},
},
_componentResult
(
msg
,
data
)
{
_componentResult
(
msg
,
data
)
{
switch
(
this
.
currentComponent
)
{
switch
(
this
.
currentComponent
)
{
...
@@ -243,9 +231,6 @@ export default {
...
@@ -243,9 +231,6 @@ export default {
case
'附件'
:
case
'附件'
:
this
.
_upload
(
data
.
id
)
this
.
_upload
(
data
.
id
)
break
break
case
'导出委托单'
:
this
.
_exportEntrust
(
data
.
id
)
break
case
'删除'
:
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
this
.
_deleteByIds
([
data
.
id
])
break
break
...
@@ -262,7 +247,6 @@ export default {
...
@@ -262,7 +247,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
data
)
this
.
$refs
.
refModal
.
_open
(
data
)
})
})
// this.$refs.sampleManageModal._open(data)
},
},
_itemManage
(
data
)
{
_itemManage
(
data
)
{
// 管理样品
// 管理样品
...
@@ -270,7 +254,6 @@ export default {
...
@@ -270,7 +254,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_openByEntrustId
(
data
)
this
.
$refs
.
refModal
.
_openByEntrustId
(
data
)
})
})
// this.$refs.itemManageModal._openByEntrustId(data)
},
},
_submitToReview
()
{
_submitToReview
()
{
this
.
_submitByContractIds
(
'委托评审'
)
this
.
_submitByContractIds
(
'委托评审'
)
...
@@ -290,7 +273,6 @@ export default {
...
@@ -290,7 +273,6 @@ export default {
})
})
}
}
},
},
_submitByContractIds
(
cont
)
{
_submitByContractIds
(
cont
)
{
const
ids
=
this
.
selectIds
const
ids
=
this
.
selectIds
if
(
ids
.
length
===
0
)
{
if
(
ids
.
length
===
0
)
{
...
@@ -312,7 +294,6 @@ export default {
...
@@ -312,7 +294,6 @@ export default {
this
.
_resultChange
(
'提交成功'
)
this
.
_resultChange
(
'提交成功'
)
}
}
},
},
_subToSkipRe
:
async
function
(
ids
)
{
_subToSkipRe
:
async
function
(
ids
)
{
const
result
=
await
soilEntrust
.
submitSkipReview
(
ids
)
const
result
=
await
soilEntrust
.
submitSkipReview
(
ids
)
if
(
result
)
{
if
(
result
)
{
...
@@ -329,7 +310,6 @@ export default {
...
@@ -329,7 +310,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
)
this
.
$refs
.
refModal
.
_open
(
id
)
})
})
// this.$refs.operationModal._open(id)
},
},
_tableResultChange
(
msg
,
data
)
{
_tableResultChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -349,7 +329,6 @@ export default {
...
@@ -349,7 +329,6 @@ export default {
},
},
_page
:
async
function
()
{
_page
:
async
function
()
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
console
.
log
(
'this.formObj'
,
this
.
formObj
)
const
result
=
await
soilEntrust
.
page
(
this
.
formObj
)
const
result
=
await
soilEntrust
.
page
(
this
.
formObj
)
if
(
result
)
{
if
(
result
)
{
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
...
@@ -380,32 +359,15 @@ export default {
...
@@ -380,32 +359,15 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
()
this
.
$refs
.
refModal
.
_open
()
})
})
// this.$refs.editModal._open()
}
}
},
},
// 追加项目
_itemModal
(
data
)
{
this
.
$refs
.
refModal
.
_open
(
data
)
},
_upload
(
id
)
{
_upload
(
id
)
{
// 上传文件
// 上传文件
this
.
currentComponent
=
'FileManage'
this
.
currentComponent
=
'FileManage'
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
refModal
.
_open
(
id
,
'entrustId'
)
this
.
$refs
.
refModal
.
_open
(
id
,
'entrustId'
)
})
})
// this.$refs.FileManage._open(id, 'entrustId')
},
},
_exportEntrust
(
id
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
'确定导出委托单?'
,
onOk
:
()
=>
{
http
.
open
(
'/meter/v1/entrust/export_send_entrust/?id='
+
id
)
}
})
},
_getById
:
async
function
(
id
)
{
_getById
:
async
function
(
id
)
{
const
result
=
await
soilEntrust
.
getVOById
(
id
)
const
result
=
await
soilEntrust
.
getVOById
(
id
)
if
(
result
)
{
if
(
result
)
{
...
...
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"1200"
>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
...
@@ -20,7 +17,7 @@
...
@@ -20,7 +17,7 @@
<Input
v-model=
"formObj.boreholeName"
name=
"boreholeName"
placeholder=
"请输入名称"
/>
<Input
v-model=
"formObj.boreholeName"
name=
"boreholeName"
placeholder=
"请输入名称"
/>
</Form-item>
</Form-item>
<Form-item
label=
"钻孔位置"
prop=
"boreholeLocation"
class=
"width-48"
>
<Form-item
label=
"钻孔位置"
prop=
"boreholeLocation"
class=
"width-48"
>
<Input
v-model=
"formObj.boreholeLocation"
name=
"boreholeLocation"
placeholder=
"请输入
名称
"
/>
<Input
v-model=
"formObj.boreholeLocation"
name=
"boreholeLocation"
placeholder=
"请输入
钻孔位置
"
/>
</Form-item>
</Form-item>
<Form-item
label=
"纬度"
prop=
"latitude"
class=
"width-48"
>
<Form-item
label=
"纬度"
prop=
"latitude"
class=
"width-48"
>
<Input
v-model=
"formObj.latitude"
name=
"latitude"
placeholder=
"请输入纬度"
/>
<Input
v-model=
"formObj.latitude"
name=
"latitude"
placeholder=
"请输入纬度"
/>
...
@@ -83,11 +80,6 @@
...
@@ -83,11 +80,6 @@
sortable
sortable
>
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<!--
<div
v-if=
"item.key==='sampleCode'"
@
click
.
stop=
"_handleRow(scope)"
>
-->
<!--
<el-input
v-model=
"scope.row.name"
blur
placeholder=
"请输入或选择样品名称"
style=
"width: 150px;"
--
>
<!-- >
</el-input>
-->
<!--
<a
@
on-result-change=
"_judgeBasisChange"
@
click=
"_selectjudgeBasis(scope.$rowIndex)"
style=
"font-size: 18px;"
class=
""
>
+
</a>
-->
<!--
</div>
-->
<div
v-if=
"item.key==='siteNo'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='siteNo'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.siteNo"
blur
placeholder=
"请输入现场编号"
<el-input
v-model=
"scope.row.siteNo"
blur
placeholder=
"请输入现场编号"
></el-input>
></el-input>
...
@@ -102,8 +94,6 @@
...
@@ -102,8 +94,6 @@
></AutoComplete>
></AutoComplete>
</div>
</div>
<div
v-if=
"item.key==='sampleDescribe'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='sampleDescribe'"
@
click
.
stop=
"_handleRow(scope)"
>
<!--
<el-input
v-model=
"scope.row.sampleDescribe"
blur
placeholder=
"请输入土质描述"
--
>
<!-- >
</el-input>
-->
<AutoComplete
v-model=
"scope.row.sampleDescribe"
:downData=
"soilList"
<AutoComplete
v-model=
"scope.row.sampleDescribe"
:downData=
"soilList"
@
on-result-change=
"_soilChange"
name=
"sampleDescribe"
placeholder=
"请输入或选择土质描述"
@
on-result-change=
"_soilChange"
name=
"sampleDescribe"
placeholder=
"请输入或选择土质描述"
></AutoComplete>
></AutoComplete>
...
@@ -124,7 +114,7 @@
...
@@ -124,7 +114,7 @@
<SampleItemSelect
ref=
"sampleItemSelectModal"
@
on-result-change=
"_itemImportBack"
is-change
/>
<SampleItemSelect
ref=
"sampleItemSelectModal"
@
on-result-change=
"_itemImportBack"
is-change
/>
<assignPerson
ref=
"userModal"
@
on-result-change=
"_userResult"
></assignPerson>
<assignPerson
ref=
"userModal"
@
on-result-change=
"_userResult"
></assignPerson>
<SampleItemRemove
ref=
"sampleItemRemove"
@
on-result-change =
'_removeItemBack'
></SampleItemRemove>
<SampleItemRemove
ref=
"sampleItemRemove"
@
on-result-change =
'_removeItemBack'
></SampleItemRemove>
<SampleItemEdit
ref=
"sampleItemEdit"
></SampleItemEdit>
<SampleItemEdit
ref=
"sampleItemEdit"
@
on-result-change =
'_removeItemBack'
></SampleItemEdit>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -149,62 +139,6 @@ export default {
...
@@ -149,62 +139,6 @@ export default {
SampleItemEdit
SampleItemEdit
},
},
data
()
{
data
()
{
const
validatefee
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
operation
.
fee
===
''
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
const
validwaterdepth
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
waterDepth
===
''
)
{
callback
(
new
Error
(
'水深不能为空'
))
}
else
{
callback
()
}
}
const
validboreholeLocation
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
boreholeLocation
===
''
)
{
callback
(
new
Error
(
'钻孔位置不能为空'
))
}
else
{
callback
()
}
}
const
validboreholeName
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
boreholeName
===
''
)
{
callback
(
new
Error
(
'钻孔名称不能为空'
))
}
else
{
callback
()
}
}
const
validateRemark
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
testedCityData
.
length
===
0
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
const
validateClient
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
client
===
''
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
const
validateEdate
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
entrustDate
===
''
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
const
validateOdate
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
formObj
.
odate
===
''
)
{
callback
(
new
Error
(
'内容不能为空'
))
}
else
{
callback
()
}
}
return
{
return
{
formId
:
'meterSendTestEditFormId'
,
formId
:
'meterSendTestEditFormId'
,
getPage
:
{
getPage
:
{
...
@@ -245,12 +179,6 @@ export default {
...
@@ -245,12 +179,6 @@ export default {
id
:
''
,
id
:
''
,
name
:
'导入试验项目'
name
:
'导入试验项目'
}
}
// ,
// {
// type: 'success',
// id: '',
// name: '导入'
// }
],
],
btnEdit
:
[
btnEdit
:
[
{
{
...
@@ -268,12 +196,6 @@ export default {
...
@@ -268,12 +196,6 @@ export default {
id
:
''
,
id
:
''
,
name
:
'导入试验项目'
name
:
'导入试验项目'
}
}
// ,
// {
// type: 'success',
// id: '',
// name: '导入'
// }
],
],
options
:
[
options
:
[
{
{
...
@@ -297,79 +219,6 @@ export default {
...
@@ -297,79 +219,6 @@ export default {
selectIds
:
[],
selectIds
:
[],
indexList
:
[],
indexList
:
[],
itemList
:
[],
itemList
:
[],
ruleValidate
:
{
client
:
[
{
required
:
true
,
message
:
'委托单位不能为空'
,
validator
:
validateClient
,
trigger
:
[
'blur'
,
'change'
]
}
],
boreholeName
:
[
{
required
:
true
,
validator
:
validboreholeName
,
message
:
'钻孔名称不能为空'
,
trigger
:
'blur'
}
],
boreholeLocation
:
[
{
required
:
true
,
validator
:
validboreholeLocation
,
message
:
'钻孔位置不能为空'
,
trigger
:
'blur'
}
],
waterDepth
:
[
{
required
:
true
,
validator
:
validwaterdepth
,
message
:
'水深不能为空'
,
trigger
:
'blur'
}
],
entrustDate
:
[
{
required
:
true
,
validator
:
validateEdate
,
message
:
'委托日期不能为空'
,
trigger
:
'blur'
}
],
odate
:
[
{
required
:
true
,
validator
:
validateOdate
,
message
:
'要求完成时间不能为空'
,
trigger
:
'blur'
}
],
'operation.person'
:
[
{
required
:
true
,
message
:
'联系人不能为空'
,
trigger
:
'blur'
}
],
'operation.fee'
:
[
{
required
:
true
,
validator
:
validatefee
,
message
:
'委托费用不能为空'
,
trigger
:
'blur'
}
],
'operation.tel'
:
[
{
required
:
true
,
message
:
'联系电话不能为空'
,
trigger
:
'blur'
}
],
testedCityData
:
[
{
required
:
true
,
message
:
'省市区不能为空'
,
validator
:
validateRemark
,
trigger
:
'blur'
}
]
},
clearingWayList
:
[
'款到后测试'
,
'先测试后付款'
,
'其他情况()'
],
clearingWayList
:
[
'款到后测试'
,
'先测试后付款'
,
'其他情况()'
],
clearingWayListTemp
:
[
'款到后测试'
,
'先测试后付款'
,
'其他情况()'
],
clearingWayListTemp
:
[
'款到后测试'
,
'先测试后付款'
,
'其他情况()'
],
showModal
:
false
,
showModal
:
false
,
...
@@ -389,12 +238,13 @@ export default {
...
@@ -389,12 +238,13 @@ export default {
console
.
log
(
'试验项目'
,
itemInfo
)
console
.
log
(
'试验项目'
,
itemInfo
)
this
.
sampleItemList
=
itemInfo
.
experimentList
this
.
sampleItemList
=
itemInfo
.
experimentList
if
(
itemInfo
.
sampleCode
!==
''
)
{
if
(
itemInfo
.
sampleCode
!==
''
)
{
this
.
$refs
.
sampleItemEdit
.
_open
(
itemInfo
.
id
)
this
.
$refs
.
sampleItemEdit
.
_open
(
this
.
sampleItemList
)
}
else
{
}
else
{
this
.
$refs
.
sampleItemRemove
.
_open
(
this
.
sampleItemList
)
this
.
$refs
.
sampleItemRemove
.
_open
(
this
.
sampleItemList
)
}
}
},
},
_removeItemBack
(
data
)
{
_removeItemBack
(
data
)
{
this
.
$forceUpdate
()
if
(
data
)
{
if
(
data
)
{
this
.
getPage
.
records
[
this
.
currentIndex
].
experimentList
=
data
this
.
getPage
.
records
[
this
.
currentIndex
].
experimentList
=
data
const
itemNames
=
[]
const
itemNames
=
[]
...
@@ -405,36 +255,33 @@ export default {
...
@@ -405,36 +255,33 @@ export default {
','
','
)
)
}
}
this
.
$set
(
this
.
getPage
.
records
,
this
.
currentIndex
,
this
.
getPage
.
records
[
this
.
currentIndex
]
)
},
},
_itemImportBack
(
data
)
{
_itemImportBack
(
data
)
{
this
.
$forceUpdate
()
this
.
$forceUpdate
()
console
.
log
(
'传过来的数据'
,
data
)
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
data
[
i
].
id
=
undefined
data
[
i
].
id
=
undefined
}
}
const
info
=
data
const
info
=
data
console
.
log
(
'去掉id后的data'
,
info
)
for
(
let
i
=
0
;
i
<
this
.
indexList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
indexList
.
length
;
i
++
)
{
const
index
=
this
.
indexList
[
i
]
const
index
=
this
.
indexList
[
i
]
if
(
this
.
getPage
.
records
[
index
].
experiments
!==
undefined
)
{
if
(
this
.
getPage
.
records
[
index
].
experimentList
!==
undefined
&&
this
.
getPage
.
records
[
index
].
experimentList
!==
[]
)
{
const
name
=
[]
const
name
=
[]
if
(
this
.
getPage
.
records
[
index
].
experimentList
)
{
this
.
itemList
=
this
.
getPage
.
records
[
index
].
experimentList
this
.
itemList
=
this
.
getPage
.
records
[
index
].
experimentList
name
.
push
(
this
.
getPage
.
records
[
index
].
experiments
)
name
.
push
(
this
.
getPage
.
records
[
index
].
experiments
)
for
(
let
i
=
0
;
i
<
info
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
info
.
length
;
i
++
)
{
console
.
log
(
this
.
getPage
.
records
[
index
].
experiments
[
i
])
this
.
itemList
.
push
(
info
[
i
])
this
.
itemList
.
push
(
info
[
i
])
name
.
push
(
info
[
i
].
name
)
name
.
push
(
info
[
i
].
name
)
}
}
this
.
getPage
.
records
[
index
].
experiments
=
name
.
join
(
'、'
)
this
.
getPage
.
records
[
index
].
experiments
=
name
.
join
(
'、'
)
this
.
getPage
.
records
[
index
].
experimentList
=
this
.
itemList
this
.
getPage
.
records
[
index
].
experimentList
=
this
.
itemList
}
else
{
name
.
push
(
this
.
getPage
.
records
[
index
].
experiments
)
for
(
let
i
=
0
;
i
<
info
.
length
;
i
++
)
{
name
.
push
(
info
[
i
].
name
)
}
this
.
getPage
.
records
[
index
].
experiments
=
name
.
join
(
'、'
)
}
this
.
$set
(
this
.
getPage
.
records
,
index
,
this
.
getPage
.
records
[
index
])
this
.
$set
(
this
.
getPage
.
records
,
index
,
this
.
getPage
.
records
[
index
])
}
else
{
}
else
{
const
name
=
[]
const
name
=
[]
...
@@ -448,22 +295,13 @@ export default {
...
@@ -448,22 +295,13 @@ export default {
this
.
$set
(
this
.
getPage
.
records
,
index
,
this
.
getPage
.
records
[
index
])
this
.
$set
(
this
.
getPage
.
records
,
index
,
this
.
getPage
.
records
[
index
])
}
}
}
}
if
(
this
.
edit
)
{
const
sampleData
=
{}
sampleData
.
id
=
this
.
id
sampleData
.
sampleList
=
this
.
getPage
.
records
this
.
_sampleEdit
(
sampleData
)
}
console
.
log
(
this
.
getPage
.
records
)
},
},
_selectPerson
()
{
_selectPerson
()
{
this
.
$refs
.
userModal
.
_openOrg
(
'选择制表人'
,
'itemTree'
)
this
.
$refs
.
userModal
.
_openOrg
(
'选择制表人'
,
'itemTree'
)
},
},
_userResult
(
data
,
msg
)
{
_userResult
(
data
,
msg
)
{
this
.
$forceUpdate
()
this
.
$forceUpdate
()
console
.
log
(
data
,
msg
)
this
.
formObj
.
tabulater
=
data
.
realname
this
.
formObj
.
tabulater
=
data
.
realname
console
.
log
(
this
.
formObj
.
tabulater
)
},
},
_packChange
(
msg
,
data
)
{
_packChange
(
msg
,
data
)
{
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -486,9 +324,6 @@ export default {
...
@@ -486,9 +324,6 @@ export default {
}
}
},
},
_cusNameChange
(
msg
,
data
)
{
_cusNameChange
(
msg
,
data
)
{
console
.
log
(
msg
,
data
)
console
.
log
(
'选择'
)
// this.financeObj = {} // 清空维护发票信息的数据
if
(
this
.
$string
(
this
.
id
).
isEmpty
())
{
if
(
this
.
$string
(
this
.
id
).
isEmpty
())
{
// 添加的时候选择单位
// 添加的时候选择单位
switch
(
msg
)
{
switch
(
msg
)
{
...
@@ -501,9 +336,6 @@ export default {
...
@@ -501,9 +336,6 @@ export default {
}
}
}
else
if
(
this
.
customerData
.
indexOf
(
data
)
!==
-
1
)
{
}
else
if
(
this
.
customerData
.
indexOf
(
data
)
!==
-
1
)
{
this
.
_getQueryList
(
data
)
this
.
_getQueryList
(
data
)
// 编辑的时候选择单位(互不影响)
// this.cusName = data
// this.formObj.customer.cname = data
}
else
{
}
else
{
}
}
},
},
...
@@ -591,12 +423,10 @@ export default {
...
@@ -591,12 +423,10 @@ export default {
}
}
},
},
_selectjudgeBasis
(
index
)
{
_selectjudgeBasis
(
index
)
{
console
.
log
(
index
)
this
.
index
=
index
this
.
index
=
index
this
.
$refs
.
EditModal
.
_open
()
this
.
$refs
.
EditModal
.
_open
()
},
},
_selectverification
(
index
)
{
_selectverification
(
index
)
{
console
.
log
(
index
)
this
.
index
=
index
this
.
index
=
index
this
.
$refs
.
VerificationModal
.
_open
()
this
.
$refs
.
VerificationModal
.
_open
()
},
},
...
@@ -612,8 +442,6 @@ export default {
...
@@ -612,8 +442,6 @@ export default {
this
.
getPage
.
records
[
this
.
index
].
price
=
data
.
price
this
.
getPage
.
records
[
this
.
index
].
price
=
data
.
price
this
.
getPage
.
records
[
this
.
index
].
totalPrice
=
this
.
getPage
.
records
[
this
.
index
].
totalPrice
=
data
.
price
*
this
.
getPage
.
records
[
this
.
index
].
quantity
data
.
price
*
this
.
getPage
.
records
[
this
.
index
].
quantity
console
.
log
(
'返回的数据'
,
data
)
console
.
log
(
this
.
getPage
.
records
)
},
},
_backContract
(
data
)
{
_backContract
(
data
)
{
this
.
formObj
.
client
=
data
.
client
this
.
formObj
.
client
=
data
.
client
...
@@ -648,8 +476,7 @@ export default {
...
@@ -648,8 +476,7 @@ export default {
samplePack
:
''
,
samplePack
:
''
,
sampleDescribe
:
''
,
sampleDescribe
:
''
,
siteNo
:
''
,
siteNo
:
''
,
experiments
:
''
,
experiments
:
''
experimentList
:
[]
}
}
this
.
getPage
.
records
.
unshift
(
data
)
this
.
getPage
.
records
.
unshift
(
data
)
},
},
...
...
pages/meter-entrust/entrust-register/SampleItemEdit.vue
View file @
78bd16fe
...
@@ -9,23 +9,8 @@
...
@@ -9,23 +9,8 @@
title=
"检测项目管理"
title=
"检测项目管理"
>
>
<Row>
<Row>
<Col
span=
"24"
>
<Form
v-model=
"formObj"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form-item
class=
"search-item"
label=
"试验名称:"
style=
"margin-left: -25px"
>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验名称"
clearable
/>
</Form-item>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form>
</Col>
<!--正常界面-->
<!--正常界面-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
@
on-result-change=
"_btnClick"
/>
</Col>
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:loading=
"true"
<PTVXETable
ref=
"pageTable"
:loading=
"true"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
>
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
>
<vxe-table-column
<vxe-table-column
...
@@ -119,19 +104,25 @@ export default {
...
@@ -119,19 +104,25 @@ export default {
itemList
:
{
itemList
:
{
records
:
[]
records
:
[]
},
},
getPage
:
{},
getPage
:
{
records
:
[]
},
selectData
:
[],
selectData
:
[],
originalList
:
[]
originalList
:
[]
}
}
},
},
methods
:
{
methods
:
{
_open
(
id
)
{
_open
(
expList
)
{
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
showModal
=
true
this
.
showModal
=
true
this
.
formObj
.
sampleId
=
id
this
.
getPage
.
records
=
expList
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
selectData
=
[]
console
.
log
(
expList
)
this
.
$refs
.
pageTable
.
_clearSelection
()
// this.formObj.sampleId = id
// this.$refs.pageTable._hideLoading()
// if (catalogueId) {
// if (catalogueId) {
this
.
_page
()
//
this._page()
// }
// }
},
},
_handleRow
(
scope
)
{
_handleRow
(
scope
)
{
...
@@ -151,7 +142,7 @@ export default {
...
@@ -151,7 +142,7 @@ export default {
this
.
_cancel
()
this
.
_cancel
()
break
break
case
'保存'
:
case
'保存'
:
this
.
_
ok
()
this
.
_
saveCatalogueItem
()
break
break
}
}
},
},
...
@@ -178,25 +169,30 @@ export default {
...
@@ -178,25 +169,30 @@ export default {
_iconClick
(
res
,
data
)
{
_iconClick
(
res
,
data
)
{
switch
(
res
)
{
switch
(
res
)
{
case
'删除'
:
case
'删除'
:
this
.
_deleteById
(
data
.
id
)
this
.
_deleteById
(
data
.
id
,
data
.
index
)
break
break
}
}
},
},
// 删除
// 删除
_deleteById
(
id
)
{
_deleteById
(
id
,
index
)
{
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'确定删除该数据?'
,
content
:
'确定删除该数据?'
,
onOk
:
()
=>
{
onOk
:
()
=>
{
this
.
_deleteOk
(
id
)
this
.
_deleteOk
(
id
,
index
)
}
}
})
})
},
},
_deleteOk
:
async
function
(
id
)
{
_deleteOk
:
async
function
(
id
,
index
)
{
if
(
id
)
{
const
result
=
await
soilEntrust
.
experimentDeleteById
(
id
)
const
result
=
await
soilEntrust
.
experimentDeleteById
(
id
)
if
(
result
)
{
if
(
result
)
{
this
.
$Message
.
success
(
'删除成功'
)
this
.
$Message
.
success
(
'删除成功'
)
this
.
_page
()
this
.
getPage
.
records
.
splice
(
index
,
1
)
}
}
else
{
this
.
$Message
.
success
(
'成功删除'
)
this
.
getPage
.
records
.
splice
(
index
,
1
)
}
}
},
},
// table结果 返回整行
// table结果 返回整行
...
@@ -222,12 +218,14 @@ export default {
...
@@ -222,12 +218,14 @@ export default {
},
},
_saveCatalogueItem
(
data
)
{
_saveCatalogueItem
(
data
)
{
this
.
showModal
=
false
this
.
showModal
=
false
this
.
$emit
(
'on-result-change'
,
data
)
this
.
$emit
(
'on-result-change'
,
this
.
getPage
.
records
)
this
.
_hideLoading
()
this
.
_hideLoading
()
console
.
log
(
this
.
getPage
.
records
)
},
},
_cancel
()
{
_cancel
()
{
this
.
selectData
=
[]
this
.
selectData
=
[]
this
.
showModal
=
false
this
.
showModal
=
false
this
.
$emit
(
'on-result-change'
,
this
.
getPage
.
records
)
},
},
_visibleChange
()
{
_visibleChange
()
{
const
data
=
this
.
itemList
.
records
const
data
=
this
.
itemList
.
records
...
...
pages/meter-entrust/entrust-review/EntrustDetail.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showDetailModal"
:width=
"700"
title=
"委托详情"
class=
"modal-footer-none"
>
<Modal
v-model=
"showDetailModal"
v-drag
:width=
"700"
title=
"委托详情"
class=
"modal-footer-none"
>
<div
:style=
"
{height}" style="overflow-y: auto">
<div
:style=
"
{height}" style="overflow-y: auto">
<table
class=
"tableClass"
>
<table
class=
"tableClass"
>
<tbody>
<tbody>
...
@@ -39,10 +39,6 @@ export default {
...
@@ -39,10 +39,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
obj
:
{
obj
:
{
// detail: {},
// customer: {},
// finance: {},
// tested: {}
firsted
:
0
,
firsted
:
0
,
client
:
''
,
client
:
''
,
boreholeLocation
:
''
,
boreholeLocation
:
''
,
...
@@ -52,7 +48,6 @@ export default {
...
@@ -52,7 +48,6 @@ export default {
testType
:
''
testType
:
''
},
},
showDetailModal
:
false
,
showDetailModal
:
false
,
// sampleType:['退样','留样','作废'],
dispose
:
''
,
dispose
:
''
,
height
:
''
,
height
:
''
,
showMoney
:
false
showMoney
:
false
...
@@ -62,13 +57,6 @@ export default {
...
@@ -62,13 +57,6 @@ export default {
_open
(
obj
,
flag
)
{
_open
(
obj
,
flag
)
{
this
.
showDetailModal
=
true
this
.
showDetailModal
=
true
this
.
obj
=
obj
this
.
obj
=
obj
console
.
log
(
'传过来的数据'
)
console
.
log
(
this
.
obj
)
// if(obj.dispose !== undefined || ''){
// this.dispose = this.sampleType[obj.dispose];
// }else{
// this.dispose = '';
// }
if
(
flag
===
'showMoney'
)
{
if
(
flag
===
'showMoney'
)
{
this
.
showMoney
=
true
this
.
showMoney
=
true
}
else
{
}
else
{
...
...
pages/meter-entrust/entrust-review/ReviewEntrust.vue
View file @
78bd16fe
...
@@ -143,19 +143,6 @@ export default {
...
@@ -143,19 +143,6 @@ export default {
_detailModal
(
data
)
{
_detailModal
(
data
)
{
console
.
log
(
data
)
console
.
log
(
data
)
this
.
$refs
.
sampleEdit
.
_open
(
data
)
this
.
$refs
.
sampleEdit
.
_open
(
data
)
// 查看
// this.$store.dispatch('FoodContract/getById', data.id).then(() => {
// if (data.type === 0) {
// // 企业委托 ’0‘
// this.currentComponent = 'FoodContractCompanyDetail'
// } else {
// // 政府委托 ’1‘
// this.currentComponent = 'FoodContractGovernDetail'
// }
// this.$nextTick(() => {
// this.$refs.refModal._open(this.$store.state.FoodContract.model)
// })
// })
},
},
_btnClick
(
msg
,
componentName
)
{
_btnClick
(
msg
,
componentName
)
{
this
.
currentComponent
=
componentName
this
.
currentComponent
=
componentName
...
...
pages/soil-sample-manage/SoilSampleItemManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1180"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1180"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<!-- 表格 -->
<!-- 表格 -->
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETableHeight
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETableHeight
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
select-data
@
on-result-change=
"_tableResultChange"
>
:get-page=
"getPage"
:icon-msg=
"iconMsg"
select-data
is-edit
@
on-result-change=
"_tableResultChange"
>
<vxe-table-column
<vxe-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
:key=
"item.key"
:key=
"item.key"
...
@@ -37,14 +37,18 @@
...
@@ -37,14 +37,18 @@
:width=
"item.width?item.width:200"
:width=
"item.width?item.width:200"
:fixed=
"item.fixed?item.fixed:undefined"
:fixed=
"item.fixed?item.fixed:undefined"
:edit-render=
"item.editCell?
{autofocus: 'input'}:null" sortable>
:edit-render=
"item.editCell?
{autofocus: 'input'}:null" sortable>
<template
slot-scope
=
"scope"
>
<template
v-slot:edit
=
"scope"
>
<div
v-if=
"item.key==='describeDetail'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-if=
"item.key==='describeDetail'"
@
click
.
stop=
"_handleRow(scope)"
>
<!--
<el-input
v-model=
"scope.row.describeDetail"
@
change=
"_inputChange(scope.row)"
placeholder=
"请输入土质描述详情"
>
-->
<!--
</el-input>
-->
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
<Input
:value=
"scope.row.describeDetail"
@
change
.
native=
"_inputChange($event.target.value,scope.row)"
></Input>
</div>
</div>
<div
v-else-if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<div
v-else-if=
"item.key==='remark'"
@
click
.
stop=
"_handleRow(scope)"
>
<el-input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></el-input>
<el-input
v-model=
"scope.row.remark"
@
change=
"_remarkChange(scope.row)"
></el-input>
</div>
</div>
<div
v-else
>
</
template
>
<
template
slot-scope=
"scope"
>
<div
v-if
>
{{
scope
.
row
[
item
.
key
]
}}
{{
scope
.
row
[
item
.
key
]
}}
</div>
</div>
</
template
>
</
template
>
...
...
pages/soil-sample-manage/backups-manage/SampleParpareApply.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModalHandleApply"
:mask-closable=
"false"
width=
"500"
>
<Modal
v-model=
"showModalHandleApply"
v-drag
:mask-closable=
"false"
width=
"500"
>
<p
slot=
"header"
>
处理申请
</p>
<p
slot=
"header"
>
处理申请
</p>
<div>
<div>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
...
...
pages/soil-sample-manage/backups-manage/SampleParpareBatchEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写存放信息
</p>
<p
slot=
"header"
>
填写存放信息
</p>
<div>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:label-width=
"100"
>
...
...
pages/soil-sample-manage/sample-address/AddressManageEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showEditModal"
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<Modal
v-model=
"showEditModal"
v-drag
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
...
...
pages/soil-sample-manage/sample-address/ViewLocationEntrust.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1030"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1030"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/sample-address/ViewSample.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"980"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"980"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/sample-preparation/CollectFileManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
@@ -77,7 +77,7 @@ export default {
...
@@ -77,7 +77,7 @@ export default {
this
.
aptitudeItemInfo
=
data
this
.
aptitudeItemInfo
=
data
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
id
=
data
.
id
this
.
id
=
data
.
id
this
.
modalTitle
=
data
.
name
+
' 查看采集
数据
'
this
.
modalTitle
=
data
.
name
+
' 查看采集
文件
'
this
.
showModal
=
true
this
.
showModal
=
true
this
.
_page
()
this
.
_page
()
},
},
...
...
pages/soil-sample-manage/sample-preparation/CollectManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-sample-manage/sample-preparation/DescribeDetailModal.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showEditModal"
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<Modal
v-model=
"showEditModal"
v-drag
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
...
...
pages/soil-sample-manage/sample-preparation/EquipManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-sample-manage/sample-preparation/ImportItem.vue
View file @
78bd16fe
<!--Collapse关联框 单个导入项目-->
<!--Collapse关联框 单个导入项目-->
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"100"
class=
"zIndex-1200 full-screen modal-header-none"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
width=
"100"
class=
"zIndex-1200 full-screen modal-header-none"
>
<p
slot=
"header"
>
导入检测项目
</p>
<div>
<div>
<Collapse
:right-title=
"'已选的检测项目 (共'+getPage.records.length+'条)'"
@
on-result-change=
"_optionResult"
<Collapse
:right-title=
"'已选的检测项目 (共'+getPage.records.length+'条)'"
@
on-result-change=
"_optionResult"
:left-width=
"18"
:left-width=
"18"
...
...
pages/soil-sample-manage/sample-preparation/IndexManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-sample-manage/sample-preparation/IndexManageEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
@
on-visible-change=
"_visibleChange"
width=
"900"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
@
on-visible-change=
"_visibleChange"
width=
"900"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
...
...
pages/soil-sample-manage/sample-preparation/PreparationHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
width=
"90"
class=
"zIndex-1000 full-screen"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
width=
"90"
class=
"zIndex-1000 full-screen"
>
<p
slot=
"header"
>
制备详情
</p>
<p
slot=
"header"
>
制备详情
</p>
<Row>
<Row>
<!--操作-->
<!--操作-->
...
...
pages/soil-sample-manage/sample-preparation/PrepareItemBatchEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写试验项目信息
</p>
<p
slot=
"header"
>
填写试验项目信息
</p>
<div>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
...
...
pages/soil-sample-manage/sample-preparation/SampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
管理样品
</p>
<p
slot=
"header"
>
管理样品
</p>
<div>
<div>
...
...
pages/soil-sample-manage/sample-preparation/SampleParpareBatchEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写制备信息
</p>
<p
slot=
"header"
>
填写制备信息
</p>
<div>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
...
...
pages/soil-sample-manage/sample-preparation/SoilItemNum.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
@@ -11,9 +11,6 @@
...
@@ -11,9 +11,6 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
</Col>
</Col>
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
class=
"contHide"
show-search-btn=
"true"
@
on-result-change=
"_btnClick"
></btn-list>
</Col>
<!-- 表格 -->
<!-- 表格 -->
<Col
span=
"24"
>
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
...
...
pages/soil-sample-manage/sample-preparation/SoilSampleItemManageEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/sample-receive/SampleReceiveModal.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showEditModal"
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<Modal
v-model=
"showEditModal"
v-drag
:mask-closable=
"false"
:width=
"500"
class=
"zIndex-1200"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
id=
"edit-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/SampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1100"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1100"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<div>
<div>
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/SampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1100"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1100"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<div>
<div>
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/SoilSampleItemManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/WaitReceive.vue
View file @
78bd16fe
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
<Option
v-for=
"(item,index) in itemData"
:value=
"item.value"
:key=
"index"
>
{{
item
.
name
}}
</Option>
<Option
v-for=
"(item,index) in itemData"
:value=
"item.value"
:key=
"index"
>
{{
item
.
name
}}
</Option>
</Select>
</Select>
</Form-item>
</Form-item>
<Form-item
label=
"试验项目:"
class=
"search-item"
>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.experimentNames"
name=
"experimentNames"
placeholder=
"请输入试验项目"
clearable
></Input>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
</Form-item>
</Form-item>
...
...
pages/soil-sample-manage/sample-take/ItemManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<!--内容-->
<!--内容-->
...
...
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
width=
"1100"
<Modal
v-model=
"showSampleModal"
v-drag
width=
"1100"
class=
"zIndex-900 modal-footer-none"
@
on-visible-change=
"_visibleChange"
>
class=
"zIndex-900 modal-footer-none"
@
on-visible-change=
"_visibleChange"
>
<p
slot=
"header"
>
管理样品
</p>
<div>
<div>
<!--内容-->
<!--内容-->
<Row>
<Row>
...
...
pages/soil-sample-manage/surplus-manage/SampleSurplusBatchEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
>
<p
slot=
"header"
>
填写存放信息
</p>
<p
slot=
"header"
>
填写存放信息
</p>
<div>
<div>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
<Form
id=
"storage-location-form"
ref=
"formObj"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
>
...
...
pages/soil-sample-manage/surplus-manage/SurplusParpareApply.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModalHandleApply"
:mask-closable=
"false"
width=
"500"
>
<Modal
v-model=
"showModalHandleApply"
v-drag
:mask-closable=
"false"
width=
"500"
>
<p
slot=
"header"
>
处理申请
</p>
<p
slot=
"header"
>
处理申请
</p>
<div>
<div>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"90"
inline
>
...
...
pages/soil-sample-manage/surplus-manage/tab/SampleSurplusManage.vue
View file @
78bd16fe
...
@@ -8,11 +8,8 @@
...
@@ -8,11 +8,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"search-form"
:label-width=
"80"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<Form
id=
"search-form"
:label-width=
"80"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.entrustCode"
name=
"entrustCode"
placeholder=
"请输入样品编号"
clearable
/>
</Form-item>
<Form-item
class=
"search-item"
label=
"试样编号:"
>
<Form-item
class=
"search-item"
label=
"试样编号:"
>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入
样品名称
"
clearable
/>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入
试样编号
"
clearable
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-audit/AuditDataModal.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
数据审核
</p>
<p
slot=
"header"
>
数据审核
</p>
<div>
<div>
...
...
pages/soil-test-manage/test-data-audit/EquipManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-data-audit/IndexManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-data-audit/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-data-audit/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"960"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"960"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-data-audit/item-tabs/ItemRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
检测项目
:"
>
<Form-item
class=
"search-item"
label=
"
试样编号
:"
>
<Input
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-audit/sample-tabs/SampleLeftList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-sample-left"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-sample-left"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
委托
编号:"
>
<Form-item
class=
"search-item"
label=
"
试样
编号:"
>
<Input
v-model=
"formObj.
client"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
v-model=
"formObj.
sampleCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-audit/sample-tabs/SampleRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
委托编号
:"
>
<Form-item
class=
"search-item"
label=
"
试验名称
:"
>
<Input
v-model=
"formObj.
client"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
v-model=
"formObj.
name"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验名称
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-check/CheckDataModal.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
数据复核
</p>
<p
slot=
"header"
>
数据复核
</p>
<div>
<div>
...
...
pages/soil-test-manage/test-data-check/EquipManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-data-check/IndexManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-data-check/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-data-check/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"960"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"960"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-data-check/item-tabs/ItemRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
检测项目
:"
>
<Form-item
class=
"search-item"
label=
"
试样编号
:"
>
<Input
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-check/sample-tabs/SampleLeftList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-sample-left"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-sample-left"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
委托
编号:"
>
<Form-item
class=
"search-item"
label=
"
试样
编号:"
>
<Input
v-model=
"formObj.
client"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
v-model=
"formObj.
sampleCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-check/sample-tabs/SampleRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
委托编号
:"
>
<Form-item
class=
"search-item"
label=
"
试验名称
:"
>
<Input
v-model=
"formObj.
client"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
v-model=
"formObj.
name"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验名称
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-data-consult/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-data-consult/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"960"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"960"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-input/CollectFileManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-input/CollectManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-input/EquipManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"800"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"800"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-input/IndexManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"100"
class=
"modal-footer-none full-screen"
>
<Modal
v-model=
"showModal"
v-drag
width=
"100"
class=
"modal-footer-none full-screen"
>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div
slot=
"header"
>
{{
modalTitle
}}
</div>
<div>
<div>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
id=
"index-right-form"
:label-width=
"80"
inline
onsubmit=
"return false"
>
...
...
pages/soil-test-manage/test-input/IndexManageEdit.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
:mask-closable=
"false"
@
on-visible-change=
"_visibleChange"
width=
"900"
>
<Modal
v-model=
"showModal"
v-drag
:mask-closable=
"false"
@
on-visible-change=
"_visibleChange"
width=
"900"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
<div>
<div>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
<Form
ref=
"formObj"
:id=
"formId"
:model=
"formObj"
:rules=
"ruleValidate"
:label-width=
"100"
inline
>
...
...
pages/soil-test-manage/test-input/ItemView.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
@@ -11,11 +11,8 @@
...
@@ -11,11 +11,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"search-sample-company"
v-show=
"searchOpen"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
id=
"search-sample-company"
v-show=
"searchOpen"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
label=
"检测项目:"
class=
"search-item"
>
<Form-item
label=
"试验名称:"
class=
"search-item"
>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目"
clearable
/>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验名称"
clearable
/>
</Form-item>
<Form-item
label=
"检测依据:"
class=
"search-item"
>
<Input
v-model=
"formObj.code"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测依据"
clearable
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
...
...
pages/soil-test-manage/test-input/OriginalRecordView.vue
View file @
78bd16fe
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<Form
:label-width=
"80"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<Form
:label-width=
"80"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"模板名称:"
>
<Form-item
class=
"search-item"
label=
"模板名称:"
>
<Input
v-model=
"formObj.t
emplateT
itle"
@
on-enter=
"_formSearch"
placeholder=
"请输入模板名称"
clearable
></Input>
<Input
v-model=
"formObj.title"
@
on-enter=
"_formSearch"
placeholder=
"请输入模板名称"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-item"
label=
"委托
单位
:"
>
<Form-item
class=
"search-item"
label=
"委托
编号
:"
>
<Input
v-model=
"formObj.
cusNames"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托单位
"
clearable
></Input>
<Input
v-model=
"formObj.
entrustCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
@@ -39,18 +39,6 @@
...
@@ -39,18 +39,6 @@
<div
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
<div
v-else
>
{{
scope
.
row
[
item
.
key
]
}}
</div>
</
template
>
</
template
>
</vxe-table-column>
</vxe-table-column>
<!-- <template slot="col">-->
<!-- <vxe-table-column-->
<!-- :width="190"-->
<!-- title="操作"-->
<!-- align="center"-->
<!-- fixed="right">-->
<!-- <template slot-scope="scope">-->
<!-- <VXEIconList :msg="(scope.row.hasInputItem===1) ? iconMsg : iconMsgDisable"-->
<!-- @on-result-change="_iconClick" :rowData="scope.row"></VXEIconList>-->
<!-- </template>-->
<!-- </vxe-table-column>-->
<!-- </template>-->
</PTVXETable>
</PTVXETable>
</Col>
</Col>
</Row>
</Row>
...
@@ -76,16 +64,7 @@ export default {
...
@@ -76,16 +64,7 @@ export default {
return
{
return
{
currentComponent
:
''
,
currentComponent
:
''
,
getPage
:
{},
getPage
:
{},
btn
:
[
btn
:
[],
{
type
:
''
,
id
:
''
,
name
:
'纠正填写时间'
,
componentName
:
'EditDateModal'
},
{
type
:
''
,
id
:
''
,
name
:
'设置填写人乙'
},
{
type
:
'error'
,
id
:
''
,
name
:
'删除'
}
],
selectIds
:
[],
selectIds
:
[],
iconMsg
:
[
iconMsg
:
[
{
{
...
@@ -102,55 +81,8 @@ export default {
...
@@ -102,55 +81,8 @@ export default {
type
:
'ios-list'
,
type
:
'ios-list'
,
id
:
''
,
id
:
''
,
name
:
'查看试验项目'
name
:
'查看试验项目'
}
// {
// type: 'erlenmeyer-flask',
// id: '',
// name: '查看样品',
// componentName: 'SampleView'
// },
// {
// type: 'document-text',
// id: '',
// name: '查看检测项目',
// componentName: 'ItemView'
// },
// { type: 'cloud', id: '', name: '附件', componentName: 'FileManage' },
// { type: 'trash-a', id: '', name: '删除' },
// {
// type: 'ios-clock',
// id: '',
// name: '操作记录',
// componentName: 'ElnFormRecord'
// }
],
iconMsgDisable
:
[
{
type
:
'md-create'
,
id
:
''
,
name
:
'编辑'
,
disabled
:
true
},
{
type
:
''
,
id
:
''
,
name
:
'查看原始记录'
,
componentName
:
'OriginalItemView'
},
},
{
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
type
:
'ios-list'
,
id
:
''
,
name
:
'查看试验项目'
}
// {
// type: 'document-text',
// id: '',
// name: '查看检测项目',
// componentName: 'ItemView'
// },
// { type: 'cloud', id: '', name: '附件', componentName: 'FileManage' },
// { type: 'trash-a', id: '', name: '删除', disabled: true },
// {
// type: 'ios-clock',
// id: '',
// name: '操作记录',
// componentName: 'ElnFormRecord'
// }
],
],
pageColumns
:
[
pageColumns
:
[
{
title
:
'模板名称'
,
key
:
'title'
},
{
title
:
'模板名称'
,
key
:
'title'
},
...
@@ -159,16 +91,7 @@ export default {
...
@@ -159,16 +91,7 @@ export default {
{
title
:
'创建时间'
,
key
:
'ctime'
,
dateTime
:
true
}
{
title
:
'创建时间'
,
key
:
'ctime'
,
dateTime
:
true
}
],
],
formObj
:
{
formObj
:
{
entrustId
:
''
,
entrustId
:
''
batchNos
:
''
,
sampleNums
:
''
,
templateTitle
:
''
,
fillInTimeBegin
:
''
,
fillInTimeEnd
:
''
,
cusNames
:
''
,
codes
:
''
,
itemNames
:
''
,
testAccordings
:
''
},
},
searchOpen
:
false
searchOpen
:
false
}
}
...
@@ -212,40 +135,12 @@ export default {
...
@@ -212,40 +135,12 @@ export default {
this
.
currentComponent
=
componentName
this
.
currentComponent
=
componentName
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
switch
(
msg
)
{
switch
(
msg
)
{
case
'纠正填写时间'
:
this
.
_editWriteTime
()
break
case
'设置填写人乙'
:
this
.
_setAnotherTester
()
break
case
'删除'
:
this
.
_batchDelete
()
break
case
'search'
:
case
'search'
:
this
.
searchOpen
=
!
this
.
searchOpen
this
.
searchOpen
=
!
this
.
searchOpen
break
break
}
}
})
})
},
},
// 设置填写人乙
_setAnotherTester
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$msgTip
(
'warning'
)
}
else
{
this
.
$refs
.
testerModal
.
_open
(
this
.
selectIds
)
}
},
_editWriteTime
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据'
)
}
else
{
this
.
$refs
.
refModal
.
_open
(
'填写时间'
)
}
},
_dateChange
(
data
)
{
this
.
formObj
.
fillInTimeBegin
=
data
[
0
]
this
.
formObj
.
fillInTimeEnd
=
data
[
1
]
},
_iconClick
(
res
,
data
,
currentComponent
)
{
_iconClick
(
res
,
data
,
currentComponent
)
{
this
.
currentComponent
=
currentComponent
this
.
currentComponent
=
currentComponent
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -262,21 +157,9 @@ export default {
...
@@ -262,21 +157,9 @@ export default {
case
'查看试验项目'
:
case
'查看试验项目'
:
this
.
_itemView
(
data
.
id
)
this
.
_itemView
(
data
.
id
)
break
break
case
'查看检测项目'
:
this
.
$refs
.
refModal
.
_open
(
data
)
break
case
'查看样品'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
)
break
case
'附件'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'originalId'
)
break
case
'删除'
:
case
'删除'
:
this
.
_deleteByIds
([
data
.
id
])
this
.
_deleteByIds
([
data
.
id
])
break
break
case
'操作记录'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
)
break
}
}
})
})
},
},
...
@@ -286,7 +169,6 @@ export default {
...
@@ -286,7 +169,6 @@ export default {
},
},
// 查看原始记录
// 查看原始记录
_recordView
(
originalRecordId
)
{
_recordView
(
originalRecordId
)
{
// layx.iframe('labRecordWriteOriView', '原始记录预览', Global.recordURL + '/print/v1/form/' + originalRecordId, {
let
recordUrl
=
''
let
recordUrl
=
''
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
recordUrl
=
'http://record.patzn.com'
recordUrl
=
'http://record.patzn.com'
...
@@ -343,28 +225,22 @@ export default {
...
@@ -343,28 +225,22 @@ export default {
this
.
getPage
=
result
this
.
getPage
=
result
}
}
},
},
// 批量删除原始记录
// 删除原始记录
_batchDelete
()
{
if
(
this
.
selectIds
.
length
>
0
)
{
const
content
=
'确定删除这'
+
this
.
selectIds
.
length
+
'条数据?'
this
.
_deleteByIds
(
this
.
selectIds
,
content
)
}
else
{
this
.
$msgTip
(
'warning'
)
}
},
_deleteByIds
(
ids
,
content
)
{
_deleteByIds
(
ids
,
content
)
{
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
content
||
'确定删除该记录?'
,
content
:
content
||
'确定删除该记录?'
,
onOk
:
()
=>
{
onOk
:
()
=>
{
this
.
$store
.
dispatch
(
'EnvItem/deleteOriRecord'
,
ids
).
then
(()
=>
{
this
.
_deleteOk
(
ids
)
if
(
this
.
$store
.
state
.
EnvItem
.
success
)
{
this
.
_page
()
this
.
$Message
.
success
(
'删除成功!'
)
}
}
})
})
},
_deleteOk
:
async
function
(
ids
)
{
const
result
=
await
soilTest
.
deleteRecord
(
ids
)
if
(
result
)
{
this
.
$Message
.
success
(
'删除成功'
)
this
.
_page
()
}
}
})
}
}
}
}
}
}
...
...
pages/soil-test-manage/test-input/SampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<div>
<div>
...
...
pages/soil-test-manage/test-input/SoilSampleItemManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"1200"
>
<Modal
v-model=
"showModal"
v-drag
width=
"1200"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-input/SoilSampleManageHis.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showModal"
width=
"960"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
v-drag
width=
"960"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
<p
slot=
"header"
>
{{
modalTitle
}}
{{
modalTitle
}}
</p>
</p>
...
...
pages/soil-test-manage/test-input/TestInput.vue
View file @
78bd16fe
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
<Form
id=
"search-form"
:label-width=
"70"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<Form
id=
"search-form"
:label-width=
"70"
v-show=
"searchOpen"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"委托商:"
>
<Form-item
class=
"search-item"
label=
"委托商:"
>
<Input
v-model=
"formObj.client"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托
编号
"
clearable
></Input>
<Input
v-model=
"formObj.client"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托
商
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Input
v-model=
"formObj.entrustCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托
单位
"
clearable
></Input>
<Input
v-model=
"formObj.entrustCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入委托
编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-input/item-tabs/ItemRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-item-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"
检测项目
:"
>
<Form-item
class=
"search-item"
label=
"
试样编号
:"
>
<Input
@
on-enter=
"_formSearch"
name=
"name"
placeholder=
"请输入检测项目
"
clearable
></Input>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入试样编号
"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-input/sample-tabs/SampleRightList.vue
View file @
78bd16fe
...
@@ -5,8 +5,11 @@
...
@@ -5,8 +5,11 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<Form
id=
"task-assign-sample-right"
:label-width=
"70"
inline
onsubmit=
"return false"
>
<label
class=
"label-sign"
></label>
<label
class=
"label-sign"
></label>
<Form-item
class=
"search-item"
label=
"委托编号:"
>
<Form-item
class=
"search-item"
label=
"试验项目:"
>
<Input
v-model=
"formObj.client"
@
on-enter=
"_formSearch"
placeholder=
"请输入检测项目"
clearable
></Input>
<Input
v-model=
"formObj.name"
@
on-enter=
"_formSearch"
placeholder=
"请输入试验项目"
clearable
></Input>
</Form-item>
<Form-item
class=
"search-item"
label=
"试样编号:"
>
<Input
@
on-enter=
"_formSearch"
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入试样编号"
clearable
></Input>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
<Button
@
click=
"_formSearch"
type=
"primary"
>
搜索
</Button>
...
...
pages/soil-test-manage/test-task-manage-his/entrust-sample-manage/SampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<div>
<div>
...
...
pages/soil-test-manage/test-task-manage/AllotByEntrust.vue
View file @
78bd16fe
...
@@ -65,11 +65,6 @@
...
@@ -65,11 +65,6 @@
<!-- eslint-disable-next-line vue/require-component-is -->
<!-- eslint-disable-next-line vue/require-component-is -->
<component
ref=
"refModal"
:is=
"currentComponent"
@
on-result-change=
"_componentResult"
></component>
<component
ref=
"refModal"
:is=
"currentComponent"
@
on-result-change=
"_componentResult"
></component>
</keep-alive>
</keep-alive>
<!-- <UserInfo ref="userModal" @on-result-change="_userResult"></UserInfo>-->
<!-- <SampleManage ref="sampleManageModal" @on-result-change="_page"></SampleManage>-->
<!-- <ItemManage ref="itemManageModal" @on-result-change="_page"></ItemManage>-->
<!-- <Operation ref="operation"></Operation>-->
<!-- <FileManage ref="FileManage"></FileManage>-->
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
...
pages/soil-test-manage/test-task-manage/entrust-sample-manage/SampleManage.vue
View file @
78bd16fe
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange"
width=
"1200"
<Modal
v-model=
"showSampleModal"
v-drag
@
on-visible-change=
"_visibleChange"
width=
"1200"
class=
"zIndex-900 modal-footer-none"
>
class=
"zIndex-900 modal-footer-none"
>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<p
slot=
"header"
>
{{
name
}}
--管理样品
</p>
<div>
<div>
...
...
pages/soil-test-manage/test-task-manage/entrust-sample-manage/item-tabs/ItemRightList.vue
View file @
78bd16fe
...
@@ -424,37 +424,6 @@ export default {
...
@@ -424,37 +424,6 @@ export default {
const
user
=
Global
.
getUserInfo
(
'userInfo'
)
const
user
=
Global
.
getUserInfo
(
'userInfo'
)
console
.
log
(
user
)
console
.
log
(
user
)
this
.
$refs
.
personModal
.
_openGoup
(
'分配人员'
,
'itemTree'
)
this
.
$refs
.
personModal
.
_openGoup
(
'分配人员'
,
'itemTree'
)
// if (this.defaultPlanDate) {
// // 有字典
// if (this.sampleNames === '') {
// // 有计划完成时间
// const user = Global.getUserInfo('userInfo')
// this.currentComponent = 'AssignPerson'
// this.$nextTick(function() {
// this.$refs.refModal._openGoupByUserId(
// '分配人员',
// user.id,
// 'itemTree'
// )
// })
// } else {
// // 有字典,无计划完成时间的
// this.$Modal.confirm({
// title: '提示',
// content:
// '所选项目中含有未设置计划完成时间的' +
// `${this._reportDueDate()}` +
// '请确认!',
// onOk: () => {}
// })
// }
// } else {
// // 无字典
// this.currentComponent = 'EndDateModal'
// this.$nextTick(() => {
// this._endDate()
// })
// }
},
},
// 遍历出计划时间为空的样品名
// 遍历出计划时间为空的样品名
_reportDueDate
()
{
_reportDueDate
()
{
...
...
router/soil-routes.js
View file @
78bd16fe
...
@@ -42,6 +42,7 @@ export default [
...
@@ -42,6 +42,7 @@ export default [
{
{
path
:
'entrust'
,
path
:
'entrust'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'委托单管理'
},
children
:
[
children
:
[
{
{
path
:
'entrust_register'
,
path
:
'entrust_register'
,
...
@@ -58,6 +59,7 @@ export default [
...
@@ -58,6 +59,7 @@ export default [
{
{
path
:
'sample'
,
path
:
'sample'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'试样管理'
},
children
:
[
children
:
[
{
{
path
:
'receive'
,
path
:
'receive'
,
...
@@ -114,6 +116,7 @@ export default [
...
@@ -114,6 +116,7 @@ export default [
{
{
path
:
'test'
,
path
:
'test'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'检测管理'
},
children
:
[
children
:
[
{
{
path
:
'allot_task'
,
path
:
'allot_task'
,
...
@@ -145,6 +148,7 @@ export default [
...
@@ -145,6 +148,7 @@ export default [
{
{
path
:
'report'
,
path
:
'report'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'报告管理'
},
children
:
[
children
:
[
{
{
path
:
'make_report'
,
path
:
'make_report'
,
...
@@ -171,6 +175,7 @@ export default [
...
@@ -171,6 +175,7 @@ export default [
{
{
path
:
'aptitude'
,
path
:
'aptitude'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'资质管理'
},
children
:
[
children
:
[
{
{
path
:
'test_basis'
,
path
:
'test_basis'
,
...
@@ -187,6 +192,7 @@ export default [
...
@@ -187,6 +192,7 @@ export default [
{
{
path
:
'statistics'
,
path
:
'statistics'
,
component
:
Blank
,
component
:
Blank
,
meta
:
{
title
:
'统计查询'
},
children
:
[
children
:
[
{
{
path
:
'fail_item_statistics'
,
path
:
'fail_item_statistics'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment