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
b2f7a5d3
Commit
b2f7a5d3
authored
Nov 13, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工试验Lims
parent
07d3a493
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
123 deletions
+87
-123
ViewLocationEntrust.vue
...soil-sample-manage/sample-address/ViewLocationEntrust.vue
+79
-102
ViewSample.vue
pages/soil-sample-manage/sample-address/ViewSample.vue
+8
-21
No files found.
pages/soil-sample-manage/sample-address/ViewLocationEntrust.vue
View file @
b2f7a5d3
This diff is collapsed.
Click to expand it.
pages/soil-sample-manage/sample-address/ViewSample.vue
View file @
b2f7a5d3
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
<Row>
<Row>
<!--查询-->
<!--查询-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
id=
"search-sample-company"
v-show=
"searchOpen
"
:label-width=
"80"
inline
onsubmit=
"return false"
>
<Form
v-show=
"searchOpen"
id=
"search-sample-company
"
:label-width=
"80"
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"
placeholder=
"请输入样品编号"
clearable
/>
<Input
v-model=
"formObj.sampleCode"
placeholder=
"请输入样品编号"
clearable
@
on-enter=
"_formSearch"
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
@
click=
"_page"
type=
"primary
"
>
<Button
type=
"primary"
@
click=
"_page
"
>
搜索
搜索
</Button>
</Button>
</Form-item>
</Form-item>
...
@@ -23,12 +23,12 @@
...
@@ -23,12 +23,12 @@
</Col>
</Col>
<!--操作-->
<!--操作-->
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
@
on-result-change=
"_btnClick"
class=
"contHide"
show-search-btn=
"true
"
></btn-list>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
class=
"contHide"
show-search-btn=
"true"
@
on-result-change=
"_btnClick
"
></btn-list>
</Col>
</Col>
<!-- 表格 -->
<!-- 表格 -->
<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"
@
on-result-change=
"_tableResultChange"
select-data
>
:get-page=
"getPage"
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"
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
dateList
:
[],
dateList
:
[],
formObj
:
{
formObj
:
{
receiveLocation
:
undefined
,
receiveLocation
:
undefined
,
sampleCode
:
undefined
entrustId
:
undefined
}
}
}
}
},
},
...
@@ -149,10 +149,6 @@ export default {
...
@@ -149,10 +149,6 @@ export default {
this
.
$refs
.
footerModal
.
_hideLoading
()
this
.
$refs
.
footerModal
.
_hideLoading
()
console
.
log
(
this
.
getPage
)
console
.
log
(
this
.
getPage
)
},
},
_dateChange
(
data
)
{
this
.
formObj
.
ctimeBegin
=
data
[
0
]
this
.
formObj
.
ctimeEnd
=
data
[
1
]
},
_btnClick
(
msg
,
componentName
)
{
_btnClick
(
msg
,
componentName
)
{
this
.
currentComponent
=
componentName
this
.
currentComponent
=
componentName
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
@@ -241,22 +237,13 @@ export default {
...
@@ -241,22 +237,13 @@ export default {
}
}
console
.
log
(
'索引'
,
this
.
indexList
)
console
.
log
(
'索引'
,
this
.
indexList
)
},
},
_open
(
id
)
{
_open
(
id
,
name
)
{
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
dateList
=
[]
this
.
dateList
=
[]
this
.
showModal
=
true
this
.
showModal
=
true
this
.
formObj
.
entrustId
=
id
// 委托id
this
.
formObj
.
entrustId
=
id
// 委托id
console
.
log
(
this
.
entrustId
)
this
.
formObj
.
receiveLocation
=
name
// 委托id
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
_page
()
},
_openHis
(
adress
)
{
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
dateList
=
[]
this
.
showModal
=
true
this
.
formObj
.
receiveLocation
=
adress
// 委托id
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
recordHis
=
true
this
.
_page
()
this
.
_page
()
},
},
_formSearch
()
{
_formSearch
()
{
...
...
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