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
e3c59339
Commit
e3c59339
authored
Jan 11, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工试验Lims
parent
4b01400f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
39 deletions
+23
-39
soil-statistics.js
api/soil/soil-statistics.js
+10
-1
reportAudit.vue
pages/soil-report-manage/report-audit/tabs/reportAudit.vue
+13
-38
SummaryInfo.vue
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
+0
-0
No files found.
api/soil/soil-statistics.js
View file @
e3c59339
...
...
@@ -17,6 +17,11 @@ export default {
pageReportCheck
:
data
=>
http
.
post
(
'soil/v1/entrust/page_report_check'
,
data
).
then
(
res
=>
res
),
pageReportCheckBySummaryReport
:
data
=>
http
.
post
(
'soil/v1/entrust/page_report_check_by_summary_report'
,
data
)
.
then
(
res
=>
res
),
pageReportIssue
:
data
=>
http
.
post
(
'soil/v1/entrust/page_report_issue'
,
data
).
then
(
res
=>
res
),
pageAnnual
:
data
=>
...
...
@@ -84,5 +89,9 @@ export default {
http
.
post
(
'soil/v1/statistics/page_personal_task_statistics'
,
data
)
.
then
(
res
=>
res
),
_getLabel
:
data
=>
http
.
post
(
'/res/v1/label/page'
,
data
).
then
(
res
=>
res
)
_getLabel
:
data
=>
http
.
post
(
'/res/v1/label/page'
,
data
).
then
(
res
=>
res
),
summaryReportSubmit
:
data
=>
http
.
post
(
'soil/v1/report/summary_report_submit?ids='
+
data
)
.
then
(
res
=>
res
)
}
pages/soil-report-manage/report-audit/tabs/reportAudit.vue
View file @
e3c59339
...
...
@@ -84,23 +84,24 @@ export default {
{
title
:
'委托商'
,
key
:
'client'
,
width
:
1
0
0
,
width
:
1
6
0
,
fixed
:
'left'
},
{
title
:
'委托编号'
,
key
:
'entrustCode'
,
width
:
100
},
{
title
:
'报告编号'
,
key
:
'reportCode'
,
width
:
100
},
{
title
:
'进度'
,
key
:
'progress'
,
width
:
110
,
status
:
true
},
{
title
:
'状态'
,
key
:
'status'
,
width
:
100
,
status
:
true
},
{
title
:
'委托日期'
,
key
:
'entrustDate'
,
width
:
100
,
date
:
true
},
{
title
:
'钻孔位置'
,
key
:
'boreholeLocation'
,
width
:
100
},
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
100
},
{
title
:
'水深'
,
key
:
'waterDepth'
,
width
:
100
},
{
title
:
'项目名称'
,
key
:
'projectName'
,
width
:
150
},
{
title
:
'委托编号'
,
key
:
'entrustCode'
,
width
:
150
},
// { title: '报告编号', key: 'reportCode', width: 100 },
// { title: '进度', key: 'progress', width: 110, status: true },
// { title: '状态', key: 'status', width: 100, status: true },
{
title
:
'委托日期'
,
key
:
'entrustDate'
,
width
:
130
,
date
:
true
},
{
title
:
'钻孔位置'
,
key
:
'boreholeLocation'
,
width
:
140
},
{
title
:
'钻孔名称'
,
key
:
'boreholeName'
,
width
:
140
},
{
title
:
'水深'
,
key
:
'waterDepth'
,
width
:
150
},
{
title
:
'制表人'
,
key
:
'tabulater'
,
width
:
110
},
{
title
:
'制表日期'
,
key
:
'tabulateDate'
,
width
:
110
,
date
:
true
}
],
btn
:
[
{
id
:
''
,
type
:
'primary'
,
name
:
'提交'
},
{
id
:
''
,
type
:
'primary'
,
name
:
'退回'
}
//
{ id: '', type: 'primary', name: '提交' },
//
{ id: '', type: 'primary', name: '退回' }
],
getPage
:
{},
searchOpen
:
false
,
...
...
@@ -127,7 +128,7 @@ export default {
async
_page
()
{
const
data
=
this
.
$serialize
(
'lab-sample-form'
)
Object
.
assign
(
data
,
this
.
$refs
.
pageTable
.
_searchParams
())
const
result
=
await
soilStatistics
.
pageReportCheck
(
data
)
const
result
=
await
soilStatistics
.
pageReportCheck
BySummaryReport
(
data
)
if
(
result
)
{
this
.
getPage
=
result
this
.
$refs
.
pageTable
.
_hideLoading
()
...
...
@@ -139,7 +140,6 @@ export default {
.
each
(
function
()
{
$
(
this
).
val
(
''
)
})
// this.$refs.sampleTime.handleClear()
},
_btnClick
(
msg
,
data
)
{
switch
(
msg
)
{
...
...
@@ -152,12 +152,6 @@ export default {
case
'退回'
:
this
.
_goBack
()
break
case
'扫码接收'
:
this
.
_scanReceive
()
break
case
'手动接收'
:
this
.
_sampleReceive
()
break
case
'search'
:
this
.
searchOpen
=
!
this
.
searchOpen
break
...
...
@@ -207,12 +201,6 @@ export default {
}
})
},
async
_receiveIds
(
ids
)
{
const
result
=
await
soilStatistics
.
submitReportCheck
(
ids
)
if
(
result
)
{
this
.
_resultChange
(
'提交成功!'
)
}
},
_submitReportCheck
()
{
const
data
=
this
.
selectData
if
(
data
.
length
===
0
)
{
...
...
@@ -249,16 +237,6 @@ export default {
this
.
_formSearch
()
},
_createReport
()
{
console
.
log
(
this
.
currentComponent
)
const
ids
=
this
.
selectIds
if
(
ids
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据!'
)
}
else
{
this
.
$refs
.
createReportModal
.
_open
(
this
.
selectData
)
}
},
_downloadByIds
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请至少选择一条数据!'
)
...
...
@@ -326,9 +304,6 @@ export default {
case
'file-page'
:
this
.
$refs
.
FileManage
.
_openFile
(
data
)
break
case
'delete-page'
:
this
.
$refs
.
FileManage
.
_delEntrustPage
(
''
,
data
)
break
case
'success'
:
this
.
$Message
.
success
(
'删除成功!'
)
this
.
$refs
.
FileManage
.
_pageEntrust
()
...
...
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
View file @
e3c59339
This diff is collapsed.
Click to expand it.
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