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
021052af
Commit
021052af
authored
Mar 12, 2021
by
lichengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了汇总报告删除按钮
parent
53c2fb5e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
3 deletions
+33
-3
soil-report.js
api/soil/soil-report.js
+3
-1
soil-sample.js
api/soil/soil-sample.js
+7
-1
SummaryInfo.vue
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
+23
-1
No files found.
api/soil/soil-report.js
View file @
021052af
...
@@ -30,5 +30,7 @@ export default {
...
@@ -30,5 +30,7 @@ export default {
pageReportEndBySummaryReport
:
data
=>
pageReportEndBySummaryReport
:
data
=>
http
http
.
post
(
'soil/v1/entrust/page_report_end_by_summary_report'
,
data
)
.
post
(
'soil/v1/entrust/page_report_end_by_summary_report'
,
data
)
.
then
(
res
=>
res
)
.
then
(
res
=>
res
),
reportDelete
:
data
=>
http
.
delete
(
'soil/v1/report/?ids='
+
data
).
then
(
res
=>
res
)
}
}
api/soil/soil-sample.js
View file @
021052af
...
@@ -308,5 +308,11 @@ export default {
...
@@ -308,5 +308,11 @@ export default {
.
post
(
'soil/v1/alone_sample/storage_sample_submit'
,
data
)
.
post
(
'soil/v1/alone_sample/storage_sample_submit'
,
data
)
.
then
(
res
=>
res
),
.
then
(
res
=>
res
),
addSample
:
data
=>
addSample
:
data
=>
http
.
post
(
'soil/v1/sample/sample_split_save'
,
data
).
then
(
res
=>
res
)
http
.
post
(
'soil/v1/sample/sample_split_save'
,
data
).
then
(
res
=>
res
),
getStayDate
:
data
=>
http
.
post
(
'soil/v1/alone_in_out_stock/get_stay_date'
,
data
)
.
then
(
res
=>
res
),
outStorageBack
:
data
=>
http
.
post
(
'soil/v1/alone_sample/out_storage_back'
,
data
).
then
(
res
=>
res
)
}
}
pages/soil-report-manage/report-make/tabs/SummaryInfo.vue
View file @
021052af
...
@@ -100,7 +100,10 @@ export default {
...
@@ -100,7 +100,10 @@ export default {
entrustId
:
''
entrustId
:
''
},
},
dateList
:
[],
dateList
:
[],
iconMsg
:
[{
type
:
'ios-book'
,
id
:
''
,
name
:
'预览报告'
}],
iconMsg
:
[
{
type
:
'ios-book'
,
id
:
''
,
name
:
'预览报告'
},
{
type
:
'md-remove-circle'
,
id
:
''
,
name
:
'删除'
}
],
// 签发日期
// 签发日期
issueDateTemp
:
''
,
issueDateTemp
:
''
,
issueDate
:
''
,
issueDate
:
''
,
...
@@ -188,6 +191,9 @@ export default {
...
@@ -188,6 +191,9 @@ export default {
case
'附件'
:
case
'附件'
:
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'reportId'
)
this
.
$refs
.
refModal
.
_open
(
data
.
id
,
'reportId'
)
break
break
case
'删除'
:
this
.
_delete
(
data
.
id
)
break
case
'档案查看'
:
case
'档案查看'
:
this
.
reportViewFiles
(
data
,
{
this
.
reportViewFiles
(
data
,
{
location
:
'report'
,
location
:
'report'
,
...
@@ -197,6 +203,22 @@ export default {
...
@@ -197,6 +203,22 @@ export default {
}
}
})
})
},
},
_delete
(
id
)
{
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
'确定删除 ?'
,
onOk
:
()
=>
{
this
.
_delOk
(
id
)
}
})
},
_delOk
:
async
function
(
id
)
{
const
result
=
await
soilReport
.
reportDelete
(
id
)
if
(
result
)
{
this
.
$Message
.
success
(
'删除成功'
)
this
.
_page
()
}
},
_upload
(
id
)
{
_upload
(
id
)
{
this
.
$refs
.
refModal
.
_open
(
id
)
this
.
$refs
.
refModal
.
_open
(
id
)
},
},
...
...
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