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
e7f5ca46
Commit
e7f5ca46
authored
Oct 10, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了委托单登记和收样室收样
parent
c9e31e51
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
22 deletions
+36
-22
EntrustRegister.vue
pages/meter-entrust/entrust-register/EntrustRegister.vue
+0
-1
EntrustRegisterEdit.vue
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
+19
-0
ItemManage.vue
pages/soil-sample-manage/sample-receive/ItemManage.vue
+0
-7
SampleReceiveIndex.vue
.../soil-sample-manage/sample-receive/SampleReceiveIndex.vue
+1
-1
SoilSampleItemManage.vue
...le-receive/entrust-sample-manage/SoilSampleItemManage.vue
+0
-0
WaitReceive.vue
...nage/sample-receive/entrust-sample-manage/WaitReceive.vue
+16
-13
No files found.
pages/meter-entrust/entrust-register/EntrustRegister.vue
View file @
e7f5ca46
...
@@ -136,7 +136,6 @@ export default {
...
@@ -136,7 +136,6 @@ export default {
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
120
},
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
120
},
{
title
:
'进度'
,
key
:
'progress'
,
width
:
120
,
status
:
true
},
{
title
:
'进度'
,
key
:
'progress'
,
width
:
120
,
status
:
true
},
{
title
:
'工程号'
,
key
:
'projectNo'
,
width
:
120
},
{
title
:
'工程号'
,
key
:
'projectNo'
,
width
:
120
},
{
title
:
'报告编号'
,
key
:
'reportCode'
,
width
:
120
},
{
title
:
'制表日期'
,
key
:
'tabulateDate'
,
width
:
120
,
date
:
true
},
{
title
:
'制表日期'
,
key
:
'tabulateDate'
,
width
:
120
,
date
:
true
},
{
title
:
'制表人'
,
key
:
'tabulater'
,
width
:
120
},
{
title
:
'制表人'
,
key
:
'tabulater'
,
width
:
120
},
{
title
:
'批准日期'
,
key
:
'approveDate'
,
width
:
120
,
date
:
true
},
{
title
:
'批准日期'
,
key
:
'approveDate'
,
width
:
120
,
date
:
true
},
...
...
pages/meter-entrust/entrust-register/EntrustRegisterEdit.vue
View file @
e7f5ca46
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
<Form-item
label=
"水深(米)"
prop=
"waterDepth"
class=
"width-48"
>
<Form-item
label=
"水深(米)"
prop=
"waterDepth"
class=
"width-48"
>
<Input
v-model=
"formObj.waterDepth"
name=
"waterDepth"
placeholder=
"请输入深度"
/>
<Input
v-model=
"formObj.waterDepth"
name=
"waterDepth"
placeholder=
"请输入深度"
/>
</Form-item>
</Form-item>
<Form-item
label=
"工程号"
prop=
"projectNo"
class=
"width-48"
>
<Input
v-model=
"formObj.projectNo"
name=
"projectNo"
placeholder=
"请输入工程号"
/>
</Form-item>
<Form-item
label=
"制单日期:"
prop=
"tabulateDate"
class=
"width-48"
>
<Form-item
label=
"制单日期:"
prop=
"tabulateDate"
class=
"width-48"
>
<Date-picker
v-model=
"formObj.tabulateDate"
@
on-change=
"_tabulateChange"
name=
"tabulateDate"
type=
"date"
split-panels
style=
"width:100%;"
<Date-picker
v-model=
"formObj.tabulateDate"
@
on-change=
"_tabulateChange"
name=
"tabulateDate"
type=
"date"
split-panels
style=
"width:100%;"
placeholder=
"请选择委托日期"
></Date-picker>
placeholder=
"请选择委托日期"
></Date-picker>
...
@@ -147,6 +150,20 @@ export default {
...
@@ -147,6 +150,20 @@ export default {
callback
()
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
)
=>
{
const
validateRemark
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
testedCityData
.
length
===
0
)
{
if
(
this
.
testedCityData
.
length
===
0
)
{
callback
(
new
Error
(
'内容不能为空'
))
callback
(
new
Error
(
'内容不能为空'
))
...
@@ -251,6 +268,7 @@ export default {
...
@@ -251,6 +268,7 @@ export default {
boreholeName
:
[
boreholeName
:
[
{
{
required
:
true
,
required
:
true
,
validator
:
validboreholeName
,
message
:
'钻孔名称不能为空'
,
message
:
'钻孔名称不能为空'
,
trigger
:
'blur'
trigger
:
'blur'
}
}
...
@@ -258,6 +276,7 @@ export default {
...
@@ -258,6 +276,7 @@ export default {
boreholeLocation
:
[
boreholeLocation
:
[
{
{
required
:
true
,
required
:
true
,
validator
:
validboreholeLocation
,
message
:
'钻孔位置不能为空'
,
message
:
'钻孔位置不能为空'
,
trigger
:
'blur'
trigger
:
'blur'
}
}
...
...
pages/soil-sample-manage/sample-receive/ItemManage.vue
View file @
e7f5ca46
...
@@ -23,13 +23,6 @@
...
@@ -23,13 +23,6 @@
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
@
on-result-change=
"_btnClick"
:show-search-btn=
"true"
class=
"contHide"
>
<btn-list
:msg=
"btn"
@
on-result-change=
"_btnClick"
:show-search-btn=
"true"
class=
"contHide"
>
<template
slot=
"processTask"
>
<div
class=
"fr process-task"
>
<el-checkbox
v-model=
"formObj.onlyAbort"
@
change=
"_page"
:true-label=
"1"
:false-label=
"0"
size=
"medium"
>
查看终止项目
</el-checkbox>
</div>
</
template
>
</btn-list>
</btn-list>
</Col>
</Col>
<!-- 表格 -->
<!-- 表格 -->
...
...
pages/soil-sample-manage/sample-receive/SampleReceiveIndex.vue
View file @
e7f5ca46
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-tab-pane
label=
"按委托接收"
name=
"entrust"
>
<el-tab-pane
label=
"按委托接收"
name=
"entrust"
>
<ReceiveByEntrust
ref=
"entrustTabs"
></ReceiveByEntrust>
<ReceiveByEntrust
ref=
"entrustTabs"
></ReceiveByEntrust>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"
按样品接收
"
name=
"sample"
>
<el-tab-pane
label=
"
接收历史
"
name=
"sample"
>
<ReceiveBySample
ref=
"sampleTabs"
></ReceiveBySample>
<ReceiveBySample
ref=
"sampleTabs"
></ReceiveBySample>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
...
...
pages/soil-sample-manage/sample-receive/entrust-sample-manage/SoilSampleItemManage.vue
0 → 100644
View file @
e7f5ca46
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/sample-receive/entrust-sample-manage/WaitReceive.vue
View file @
e7f5ca46
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
:tableHeight=
"tableHeight"
:tableHeight=
"tableHeight"
@
on-result-change=
"_tableResultChange"
@
on-result-change=
"_tableResultChange"
:getPage=
"getPage"
:getPage=
"getPage"
:iconMsg=
"iconMsg"
select-data
>
select-data
>
<vxe-table-column
<vxe-table-column
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
...
@@ -59,14 +60,15 @@
...
@@ -59,14 +60,15 @@
</div>
</div>
<!--选择领样人-->
<!--选择领样人-->
<SampleReceiveModal
ref=
"locationModal"
@
on-result-change=
"_page()"
></SampleReceiveModal>
<SampleReceiveModal
ref=
"locationModal"
@
on-result-change=
"_page()"
></SampleReceiveModal>
<SoilSampleItemManage
ref=
"sampleItemManage"
@
on-result-change=
"_page"
></SoilSampleItemManage>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
soilEntrust
}
from
'../../../../api'
import
{
soilEntrust
}
from
'../../../../api'
import
SampleReceiveModal
from
'../SampleReceiveModal'
import
SampleReceiveModal
from
'../SampleReceiveModal'
import
SoilSampleItemManage
from
'./SoilSampleItemManage'
export
default
{
export
default
{
components
:
{
SampleReceiveModal
},
components
:
{
SampleReceiveModal
,
SoilSampleItemManage
},
data
()
{
data
()
{
return
{
return
{
btn
:
[{
type
:
'primary'
,
id
:
''
,
name
:
'收样室收样'
}],
btn
:
[{
type
:
'primary'
,
id
:
''
,
name
:
'收样室收样'
}],
...
@@ -79,17 +81,7 @@ export default {
...
@@ -79,17 +81,7 @@ export default {
{
title
:
'样品包装类型'
,
key
:
'samplePack'
,
width
:
160
},
{
title
:
'样品包装类型'
,
key
:
'samplePack'
,
width
:
160
},
{
title
:
'现场编号'
,
key
:
'siteNo'
,
width
:
130
}
{
title
:
'现场编号'
,
key
:
'siteNo'
,
width
:
130
}
],
],
iconMsg
:
[
iconMsg
:
[{
type
:
'ios-list'
,
id
:
''
,
name
:
'试验项目'
}],
{
type
:
'md-create'
,
id
:
''
,
name
:
'编辑'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
},
{
type
:
'ios-clock'
,
id
:
''
,
name
:
'操作日志'
,
componentName
:
'SampleRecord'
},
{
type
:
'md-cloud'
,
id
:
''
,
name
:
'附件'
,
componentName
:
'FileManage'
}
],
type
:
''
,
type
:
''
,
contractId
:
''
,
// 合同id
contractId
:
''
,
// 合同id
selectData
:
[],
selectData
:
[],
...
@@ -225,6 +217,9 @@ export default {
...
@@ -225,6 +217,9 @@ export default {
case
'编辑'
:
case
'编辑'
:
this
.
_editModal
(
true
,
data
)
this
.
_editModal
(
true
,
data
)
break
break
case
'试验项目'
:
this
.
_itemManage
(
data
.
id
)
break
case
'复制'
:
case
'复制'
:
this
.
_copySample
(
data
)
this
.
_copySample
(
data
)
break
break
...
@@ -240,6 +235,14 @@ export default {
...
@@ -240,6 +235,14 @@ export default {
}
}
})
})
},
},
_itemManage
(
data
)
{
// 管理检测项目
if
(
this
.
recordHis
)
{
this
.
$refs
.
sampleItemManage
.
_openRecord
(
data
)
}
else
{
this
.
$refs
.
sampleItemManage
.
_open
(
data
)
}
},
_btnClick
(
msg
,
currentComponent
)
{
_btnClick
(
msg
,
currentComponent
)
{
this
.
currentComponent
=
currentComponent
this
.
currentComponent
=
currentComponent
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
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