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
05ea3740
Commit
05ea3740
authored
Nov 10, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工试验Lims
parent
469e0519
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
31 deletions
+15
-31
ItemManage.vue
pages/soil-sample-manage/sample-take/ItemManage.vue
+0
-0
TakeBySample.vue
pages/soil-sample-manage/sample-take/TakeBySample.vue
+0
-11
TakeSampleManage.vue
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
+13
-17
SampleManage.vue
...st-task-manage-his/entrust-sample-manage/SampleManage.vue
+2
-3
No files found.
pages/soil-sample-manage/sample-take/ItemManage.vue
View file @
05ea3740
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/sample-take/TakeBySample.vue
View file @
05ea3740
...
@@ -114,23 +114,12 @@ export default {
...
@@ -114,23 +114,12 @@ export default {
id
:
'rel-sample-receive-del-sample'
,
id
:
'rel-sample-receive-del-sample'
,
name
:
'删除'
name
:
'删除'
},
},
copy
:
{
type
:
'ios-copy'
,
id
:
'rel-sample-receive-copy-sample'
,
name
:
'复制'
},
record
:
{
record
:
{
type
:
'ios-clock'
,
type
:
'ios-clock'
,
id
:
''
,
id
:
''
,
name
:
'操作日志'
,
name
:
'操作日志'
,
componentName
:
'FoodSampleRecord'
componentName
:
'FoodSampleRecord'
},
},
sampleDownloadContract
:
{
type
:
'share'
,
id
:
'food-sample-receive-sample-download-contract'
,
name
:
'导出委托协议'
},
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
130
},
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
130
},
...
...
pages/soil-sample-manage/sample-take/TakeSampleManage.vue
View file @
05ea3740
<
template
>
<
template
>
<div>
<div>
<Modal
v-model=
"showSampleModal"
@
on-visible-change=
"_visibleChange
"
<Modal
v-model=
"showSampleModal"
width=
"1100
"
width=
"1100"
class=
"zIndex-900 modal-footer-non
e"
>
class=
"zIndex-900 modal-footer-none"
@
on-visible-change=
"_visibleChang
e"
>
<div>
<div>
<!--内容-->
<!--内容-->
<Row>
<Row>
<!--查询-->
<!--查询-->
<Col
span=
"24"
style=
"padding-bottom: 5px"
>
<Col
span=
"24"
style=
"padding-bottom: 5px"
>
<Form
id=
"search-wait"
v-show=
"searchOpen
"
:label-width=
"90"
inline
onsubmit=
"return false"
>
<Form
v-show=
"searchOpen"
id=
"search-wait
"
: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.sampleCode"
@
on-enter=
"_formSearch"
name=
"sampleCode"
placeholder=
"请输入样品编号"
clearable
></Input>
<Input
v-model=
"formObj.sampleCode"
name=
"sampleCode"
placeholder=
"请输入样品编号"
clearable
@
on-enter=
"_formSearch"
></Input>
<input
name=
"contractId"
type=
"hidden"
>
<input
name=
"contractId"
type=
"hidden"
>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_formSearch"
type=
"primary
"
>
搜索
</Button>
<Button
type=
"primary"
@
click=
"_formSearch
"
>
搜索
</Button>
</Form-item>
</Form-item>
</Form>
</Form>
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
@
on-result-change=
"_btnClick"
class=
"contHide
"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide"
@
on-result-change=
"_btnClick
"
>
<!--
<template
slot=
"processTask"
>
-->
<!--
<template
slot=
"processTask"
>
-->
<!--
<div
class=
"fr process-task"
>
-->
<!--
<div
class=
"fr process-task"
>
-->
<!--
<Button
@
click=
"_exportReceiveRecord"
>
导出交接记录
</Button>
-->
<!--
<Button
@
click=
"_exportReceiveRecord"
>
导出交接记录
</Button>
-->
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
:table-height=
"tableHeight"
:table-height=
"tableHeight"
:get-page=
"getPage"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
select-data
>
@
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"
...
@@ -76,8 +76,8 @@ export default {
...
@@ -76,8 +76,8 @@ export default {
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
100
,
fixed
:
'left'
},
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
100
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
95
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
95
},
{
title
:
'检测科室'
,
key
:
'groupName'
,
width
:
95
},
{
title
:
'检测科室'
,
key
:
'groupName'
,
width
:
95
},
{
title
:
'土质描述'
,
key
:
'
sampleDescribe'
,
width
:
1
85
},
{
title
:
'土质描述'
,
key
:
'
describeDetail'
,
width
:
2
85
},
{
title
:
'样品描述'
,
key
:
'
describeDetail'
,
width
:
185
},
{
title
:
'样品描述'
,
key
:
'
sampleDescribe'
,
width
:
130
},
{
title
:
'样品包装类型'
,
key
:
'samplePack'
,
width
:
120
},
{
title
:
'样品包装类型'
,
key
:
'samplePack'
,
width
:
120
},
{
title
:
'样品制备人'
,
key
:
'preparer'
,
width
:
120
},
{
title
:
'样品制备人'
,
key
:
'preparer'
,
width
:
120
},
{
title
:
'样品制备时间'
,
key
:
'prepareDate'
,
width
:
135
,
date
:
true
}
{
title
:
'样品制备时间'
,
key
:
'prepareDate'
,
width
:
135
,
date
:
true
}
...
@@ -213,7 +213,7 @@ export default {
...
@@ -213,7 +213,7 @@ export default {
this
.
_editModal
(
true
,
data
)
this
.
_editModal
(
true
,
data
)
break
break
case
'试验项目'
:
case
'试验项目'
:
this
.
_itemManage
(
data
.
sampleId
)
this
.
_itemManage
(
data
.
sampleId
,
data
.
groupId
)
break
break
case
'复制'
:
case
'复制'
:
this
.
_copySample
(
data
)
this
.
_copySample
(
data
)
...
@@ -230,13 +230,9 @@ export default {
...
@@ -230,13 +230,9 @@ export default {
}
}
})
})
},
},
_itemManage
(
data
)
{
_itemManage
(
sampleId
,
groupId
)
{
// 管理检测项目
// 管理检测项目
if
(
this
.
recordHis
)
{
this
.
$refs
.
ItemManage
.
_open
(
sampleId
,
groupId
)
this
.
$refs
.
sampleItemManage
.
_openRecord
(
data
)
}
else
{
this
.
$refs
.
ItemManage
.
_open
(
data
)
}
},
},
_btnClick
(
msg
,
currentComponent
)
{
_btnClick
(
msg
,
currentComponent
)
{
this
.
currentComponent
=
currentComponent
this
.
currentComponent
=
currentComponent
...
...
pages/soil-test-manage/test-task-manage-his/entrust-sample-manage/SampleManage.vue
View file @
05ea3740
...
@@ -43,12 +43,11 @@ export default {
...
@@ -43,12 +43,11 @@ export default {
},
},
methods
:
{
methods
:
{
_open
(
contractId
,
type
,
name
)
{
_open
(
contractId
,
type
,
name
)
{
this
.
type
=
type
// 类型(采样或送样)
this
.
type
=
type
this
.
name
=
name
this
.
name
=
name
this
.
showSampleModal
=
true
this
.
showSampleModal
=
true
this
.
entrustId
=
contractId
// 合同id
this
.
entrustId
=
contractId
this
.
activeName
=
'waitReceive'
this
.
activeName
=
'waitReceive'
// this.currentComponent = 'waitScan'
this
.
selectIds
=
[]
this
.
selectIds
=
[]
this
.
_waitPage
()
this
.
_waitPage
()
},
},
...
...
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