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
6c596cdd
Commit
6c596cdd
authored
Dec 31, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了库房样品管理
parent
9e0cd698
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
25 deletions
+34
-25
soil-entrust.js
api/soil/soil-entrust.js
+4
-0
AddressManage.vue
...e-sample-manage/storehouse-place-manage/AddressManage.vue
+2
-4
ViewLocationEntrust.vue
...le-manage/storehouse-place-manage/ViewLocationEntrust.vue
+23
-18
SummaryInfo.vue
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
+1
-1
SummaryInfo.vue
...manage/report-manage/sample-report-manage/SummaryInfo.vue
+3
-1
ItemReportView.vue
pages/soil-test-manage/test-input/ItemReportView.vue
+1
-1
No files found.
api/soil/soil-entrust.js
View file @
6c596cdd
...
@@ -169,5 +169,9 @@ export default {
...
@@ -169,5 +169,9 @@ export default {
bathChangeStorehouse
:
data
=>
bathChangeStorehouse
:
data
=>
http
http
.
post
(
'soil/v1/alone_sample/bath_change_storehouse'
,
data
)
.
post
(
'soil/v1/alone_sample/bath_change_storehouse'
,
data
)
.
then
(
res
=>
res
),
pageSampleOfStorehouse
:
data
=>
http
.
post
(
'soil/v1/alone_sample/page_sample_of_storehouse'
,
data
)
.
then
(
res
=>
res
)
.
then
(
res
=>
res
)
}
}
pages/soil-alone-sample-manage/storehouse-place-manage/AddressManage.vue
View file @
6c596cdd
...
@@ -33,10 +33,8 @@
...
@@ -33,10 +33,8 @@
v-for=
"item in pageColumns"
v-for=
"item in pageColumns"
:key=
"item.key"
sortable
>
:key=
"item.key"
sortable
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"item.key==='status'"
>
{{
scope
.
row
[
item
.
key
]
===
0
?
'现行'
:
scope
.
row
[
item
.
key
]
===
1
?
'即将实施'
:
<div
v-if=
"item.key==='status'"
>
{{
scope
.
row
[
item
.
key
].
display
}}
scope
.
row
[
item
.
key
]
===
2
?
'部分被代替'
:
scope
.
row
[
item
.
key
]
===
3
?
'被代替'
:
scope
.
row
[
item
.
key
]
===
4
?
'作废'
:
''
}}
</div>
</div>
<div
v-else-if=
"item.key==='classify'"
>
<div
v-else-if=
"item.key==='classify'"
>
{{
scope
.
row
[
item
.
key
]
===
0
?
'判定依据'
:
scope
.
row
[
item
.
key
]
===
1
?
'检测依据'
:
scope
.
row
[
item
.
key
]
===
2
?
'其他'
:
''
}}
{{
scope
.
row
[
item
.
key
]
===
0
?
'判定依据'
:
scope
.
row
[
item
.
key
]
===
1
?
'检测依据'
:
scope
.
row
[
item
.
key
]
===
2
?
'其他'
:
''
}}
</div>
</div>
...
@@ -168,7 +166,7 @@ export default {
...
@@ -168,7 +166,7 @@ export default {
this
.
_editModal
(
true
,
data
.
id
)
this
.
_editModal
(
true
,
data
.
id
)
break
break
case
'查看试样'
:
case
'查看试样'
:
this
.
_viewSample
(
data
.
name
)
this
.
_viewSample
(
data
)
break
break
case
'删除'
:
case
'删除'
:
this
.
_deleteById
(
data
.
id
)
this
.
_deleteById
(
data
.
id
)
...
...
pages/soil-alone-sample-manage/storehouse-place-manage/ViewLocationEntrust.vue
View file @
6c596cdd
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<Form
v-show=
"searchOpen"
id=
"search-sample-company"
: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.
entrustCode"
placeholder=
"请输入委托编号
"
clearable
@
on-enter=
"_formSearch"
/>
<Input
v-model=
"formObj.
boreholeName"
placeholder=
"请输入钻孔名称
"
clearable
@
on-enter=
"_formSearch"
/>
</Form-item>
</Form-item>
<Form-item
class=
"search-btn"
>
<Form-item
class=
"search-btn"
>
<Button
type=
"primary"
@
click=
"_page"
>
<Button
type=
"primary"
@
click=
"_page"
>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<!-- 表格 -->
<!-- 表格 -->
<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"
:get-page=
"getPage"
:icon-msg=
"iconMsg"
select-data
@
on-result-change=
"_tableResultChange"
>
: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"
...
@@ -106,20 +106,22 @@ export default {
...
@@ -106,20 +106,22 @@ export default {
selectData
:
{},
selectData
:
{},
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'委托商'
,
key
:
'client'
,
width
:
230
},
{
title
:
'项目名称'
,
key
:
'projectName'
,
width
:
140
},
{
title
:
'委托编号'
,
key
:
'entrustCode'
,
width
:
120
},
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
140
},
{
title
:
'委托日期'
,
key
:
'entrustDate'
,
width
:
120
,
date
:
true
},
{
title
:
'箱数'
,
key
:
'casesNum'
,
width
:
120
},
{
title
:
'钻孔位置'
,
key
:
'boreholeLocation'
,
width
:
120
},
{
title
:
'收样时间'
,
key
:
'receiveTime'
,
width
:
120
,
date
:
true
},
{
title
:
'水深(米)'
,
key
:
'waterDepth'
,
width
:
120
},
{
title
:
'收样人'
,
key
:
'receiver'
,
width
:
120
},
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
120
},
{
title
:
'登记时间'
,
key
:
'registTime'
,
width
:
120
,
date
:
true
},
{
title
:
'进度'
,
key
:
'progress'
,
width
:
120
,
status
:
true
},
{
title
:
'登记人'
,
key
:
'registrant'
,
width
:
120
},
{
title
:
'平均容重'
,
key
:
'projectNo'
,
width
:
120
},
{
title
:
'入库日期'
,
key
:
'instockTime'
,
width
:
120
,
date
:
true
},
{
title
:
'检验类别'
,
key
:
'testType'
,
width
:
120
}
{
title
:
'留存日期'
,
key
:
'keepLimitTime'
,
width
:
120
,
date
:
true
},
{
title
:
'项目负责人'
,
key
:
'projectLeader'
,
width
:
120
}
],
],
formObj
:
{
formObj
:
{
receiveLocation
:
undefined
,
receiveLocation
:
undefined
,
entrustCode
:
undefined
,
entrustCode
:
undefined
,
client
:
undefined
client
:
undefined
,
warehouse
:
undefined
},
},
receiveLocation
:
''
receiveLocation
:
''
}
}
...
@@ -216,10 +218,13 @@ export default {
...
@@ -216,10 +218,13 @@ export default {
break
break
}
}
},
},
_open
(
name
)
{
_open
(
data
)
{
console
.
log
(
data
)
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
formObj
=
this
.
$resetFields
(
this
.
formObj
)
this
.
formObj
.
receiveLocation
=
name
// this.formObj.receiveLocation = name
this
.
receiveLocation
=
name
// this.receiveLocation = name
this
.
formObj
.
storehouse
=
data
.
warehouse
this
.
formObj
.
shelfCode
=
data
.
name
this
.
showModal
=
true
this
.
showModal
=
true
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
$refs
.
pageTable
.
_hideLoading
()
this
.
_page
()
this
.
_page
()
...
@@ -229,8 +234,8 @@ export default {
...
@@ -229,8 +234,8 @@ export default {
},
},
_page
:
async
function
()
{
_page
:
async
function
()
{
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
Object
.
assign
(
this
.
formObj
,
this
.
$refs
.
pageTable
.
_searchParams
())
this
.
formObj
.
entrustId
=
this
.
contractId
//
this.formObj.entrustId = this.contractId
const
result
=
await
soilEntrust
.
page
LocationEntrust
(
const
result
=
await
soilEntrust
.
page
SampleOfStorehouse
(
this
.
$serializeForm
(
this
.
formObj
)
this
.
$serializeForm
(
this
.
formObj
)
)
)
if
(
result
)
{
if
(
result
)
{
...
...
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
View file @
6c596cdd
...
@@ -240,7 +240,7 @@ export default {
...
@@ -240,7 +240,7 @@ export default {
if
(
data
)
{
if
(
data
)
{
this
.
$openWindowModeless
({
this
.
$openWindowModeless
({
objectKey
:
data
.
objectKey
,
objectKey
:
data
.
objectKey
,
idType
:
1
1
,
idType
:
1
2
,
id
:
data
.
id
,
id
:
data
.
id
,
isReport
:
4
isReport
:
4
})
})
...
...
pages/soil-report-manage/report-manage/sample-report-manage/SummaryInfo.vue
View file @
6c596cdd
...
@@ -79,6 +79,8 @@ export default {
...
@@ -79,6 +79,8 @@ export default {
getPage
:
{},
getPage
:
{},
pageColumns
:
[
pageColumns
:
[
{
title
:
'创建人'
,
key
:
'uname'
,
width
:
180
,
fixed
:
'left'
},
{
title
:
'创建人'
,
key
:
'uname'
,
width
:
180
,
fixed
:
'left'
},
{
title
:
'报告类型'
,
key
:
'reportType'
,
width
:
180
},
{
title
:
'备注'
,
key
:
'remark'
,
width
:
180
},
{
title
:
'创建时间'
,
key
:
'ctime'
,
width
:
180
,
dateTime
:
true
}
{
title
:
'创建时间'
,
key
:
'ctime'
,
width
:
180
,
dateTime
:
true
}
],
],
selectIds
:
[],
selectIds
:
[],
...
@@ -238,7 +240,7 @@ export default {
...
@@ -238,7 +240,7 @@ export default {
if
(
data
)
{
if
(
data
)
{
this
.
$openWindowModeless
({
this
.
$openWindowModeless
({
objectKey
:
data
.
objectKey
,
objectKey
:
data
.
objectKey
,
idType
:
1
1
,
idType
:
1
2
,
id
:
data
.
id
,
id
:
data
.
id
,
isReport
:
4
isReport
:
4
})
})
...
...
pages/soil-test-manage/test-input/ItemReportView.vue
View file @
6c596cdd
...
@@ -183,7 +183,7 @@ export default {
...
@@ -183,7 +183,7 @@ export default {
if
(
data
)
{
if
(
data
)
{
this
.
$openWindowModeless
({
this
.
$openWindowModeless
({
objectKey
:
data
.
objectKey
,
objectKey
:
data
.
objectKey
,
idType
:
1
1
,
idType
:
1
3
,
id
:
data
.
id
,
id
:
data
.
id
,
isReport
:
4
isReport
:
4
})
})
...
...
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