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
b0e69e3e
Commit
b0e69e3e
authored
Oct 24, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了开土制备
parent
f10b3f0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
35 deletions
+30
-35
SoilSampleManage.vue
pages/soil-sample-manage/SoilSampleManage.vue
+15
-24
SoilSampleManageHis.vue
pages/soil-sample-manage/SoilSampleManageHis.vue
+15
-11
No files found.
pages/soil-sample-manage/SoilSampleManage.vue
View file @
b0e69e3e
<
template
>
<div>
<Modal
v-model=
"showModal"
@
on-visible-change=
"_visibleChange"
width=
"
120
0"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
@
on-visible-change=
"_visibleChange"
width=
"
97
0"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
...
...
@@ -14,18 +14,6 @@
<Form-item
label=
"试样编号:"
class=
"search-item"
>
<Input
v-model=
"formObj.sampleCode"
@
on-enter=
"_formSearch"
placeholder=
"请输入样品编号"
clearable
/>
</Form-item>
<!--
<Form-item
label=
"制单日期:"
style=
"width: 25%"
>
-->
<!--
<Date-picker-->
<!-- v-model="dateList"-->
<!-- type="daterange"-->
<!-- placeholder="制单日期"-->
<!-- format="yyyy-MM-dd"-->
<!-- :editable="false"-->
<!-- style="width:100%"-->
<!-- placement="bottom-end"-->
<!-- @on-change="_dateChange"-->
<!-- >
</Date-picker>
-->
<!--
</Form-item>
-->
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_page"
type=
"primary"
>
搜索
...
...
@@ -39,14 +27,14 @@
</Col>
<!-- 表格 -->
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETable
Height
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
>
<vxe-table-column
v-for=
"item in pageColumns"
:key=
"item.key"
:field=
"item.key"
:title=
"item.title"
:
min-
width=
"item.width?item.width:200"
:width=
"item.width?item.width:200"
:fixed=
"item.fixed?item.fixed:undefined"
sortable
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.detail"
>
...
...
@@ -66,7 +54,7 @@
</div>
</
template
>
</vxe-table-column>
</PTVXETable>
</PTVXETable
Height
>
</Col>
</Row>
</div>
...
...
@@ -121,8 +109,7 @@ export default {
type
:
'ios-beaker'
,
id
:
''
,
name
:
'管理检测项目'
},
{
type
:
'md-trash'
,
id
:
''
,
name
:
'删除'
}
}
],
contractId
:
''
,
// 委托id
showModal
:
false
,
...
...
@@ -133,12 +120,12 @@ export default {
selectData
:
{},
getPage
:
{},
pageColumns
:
[
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
1
6
0
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
1
6
0
},
{
title
:
'
土质描述详情'
,
key
:
'describeDetail'
,
width
:
16
0
},
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
1
0
0
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
1
0
0
},
{
title
:
'
现场编号'
,
key
:
'siteNo'
,
width
:
10
0
},
{
title
:
'土质描述'
,
key
:
'sampleDescribe'
,
width
:
160
},
{
title
:
'
样品包装类型'
,
key
:
'samplePack
'
,
width
:
160
},
{
title
:
'
现场编号'
,
key
:
'siteNo'
,
width
:
13
0
}
{
title
:
'
土质描述详情'
,
key
:
'describeDetail
'
,
width
:
160
},
{
title
:
'
样品包装类型'
,
key
:
'samplePack'
,
width
:
12
0
}
],
sampleId
:
''
,
dateList
:
[],
...
...
@@ -150,7 +137,11 @@ export default {
},
computed
:
{
tableHeight
:
function
()
{
return
this
.
$tableHeight
(
'tableModal'
)
if
(
this
.
searchOpen
)
{
return
this
.
$tableHeight
(
'search'
)
}
else
{
return
this
.
$tableHeight
(
'noSearch'
)
}
}
},
methods
:
{
...
...
pages/soil-sample-manage/SoilSampleManageHis.vue
View file @
b0e69e3e
<
template
>
<div>
<Modal
v-model=
"showModal"
width=
"
120
0"
class=
"modal-footer-none"
>
<Modal
v-model=
"showModal"
width=
"
98
0"
class=
"modal-footer-none"
>
<p
slot=
"header"
>
{{
modalTitle
}}
</p>
...
...
@@ -11,7 +11,7 @@
<Col
span=
"24"
>
<Form
id=
"search-sample-company"
v-show=
"searchOpen"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<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"
placeholder=
"请输入样品编号"
clearable
/>
</Form-item>
<Form-item
class=
"search-btn"
>
...
...
@@ -27,14 +27,14 @@
</Col>
<!-- 表格 -->
<Col
span=
"24"
>
<PTVXETable
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
<PTVXETable
Height
ref=
"pageTable"
:table-height=
"tableHeight"
:form-id=
"formId"
:loading=
"true"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
@
on-result-change=
"_tableResultChange"
select-data
>
<vxe-table-column
v-for=
"item in pageColumns"
:key=
"item.key"
:field=
"item.key"
:title=
"item.title"
:
min-
width=
"item.width?item.width:200"
:width=
"item.width?item.width:200"
:fixed=
"item.fixed?item.fixed:undefined"
sortable
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.detail"
>
...
...
@@ -51,7 +51,7 @@
</div>
</
template
>
</vxe-table-column>
</PTVXETable>
</PTVXETable
Height
>
</Col>
</Row>
</div>
...
...
@@ -117,12 +117,12 @@ export default {
selectData
:
{},
getPage
:
{},
pageColumns
:
[
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
1
6
0
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
1
6
0
},
{
title
:
'
土质描述详情'
,
key
:
'describeDetail'
,
width
:
16
0
},
{
title
:
'试样编号'
,
key
:
'sampleCode'
,
width
:
1
0
0
,
fixed
:
'left'
},
{
title
:
'试样深度'
,
key
:
'sampleDepth'
,
width
:
1
0
0
},
{
title
:
'
现场编号'
,
key
:
'siteNo'
,
width
:
10
0
},
{
title
:
'土质描述'
,
key
:
'sampleDescribe'
,
width
:
160
},
{
title
:
'
样品包装类型'
,
key
:
'samplePack
'
,
width
:
160
},
{
title
:
'
现场编号'
,
key
:
'siteNo'
,
width
:
13
0
}
{
title
:
'
土质描述详情'
,
key
:
'describeDetail
'
,
width
:
160
},
{
title
:
'
样品包装类型'
,
key
:
'samplePack'
,
width
:
12
0
}
],
sampleId
:
''
,
dateList
:
[],
...
...
@@ -134,7 +134,11 @@ export default {
},
computed
:
{
tableHeight
:
function
()
{
return
this
.
$tableHeight
(
'tableModal'
)
if
(
this
.
searchOpen
)
{
return
this
.
$tableHeight
(
'search'
)
}
else
{
return
this
.
$tableHeight
(
'noSearch'
)
}
}
},
methods
:
{
...
...
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