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
b012a32f
Commit
b012a32f
authored
Jun 19, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整体优化
parent
9c6ca8ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
meter-sample.js
api/meter/meter-sample.js
+4
-0
MeterCertificateCheck.vue
pages/meter-certificate/check/MeterCertificateCheck.vue
+5
-4
CreateReport.vue
pages/meter-certificate/make/CreateReport.vue
+2
-2
No files found.
api/meter/meter-sample.js
View file @
b012a32f
...
@@ -70,6 +70,10 @@ export default {
...
@@ -70,6 +70,10 @@ export default {
http
http
.
post
(
'meter/v1/sample/submit_report_to_check?ids='
+
data
)
.
post
(
'meter/v1/sample/submit_report_to_check?ids='
+
data
)
.
then
(
res
=>
res
),
.
then
(
res
=>
res
),
submitReportToIssue
:
data
=>
http
.
post
(
'meter/v1/sample/submit_report_to_issue?ids='
+
data
)
.
then
(
res
=>
res
),
submitFlow
:
data
=>
submitFlow
:
data
=>
https
https
...
...
pages/meter-certificate/check/MeterCertificateCheck.vue
View file @
b012a32f
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
}
}
},
},
_submitToReview
()
{
_submitToReview
()
{
this
.
_submitByContractIds
(
'
委托评审
'
)
this
.
_submitByContractIds
(
'
证书签发
'
)
},
},
_submitByContractIds
(
cont
)
{
_submitByContractIds
(
cont
)
{
const
ids
=
this
.
selectIds
const
ids
=
this
.
selectIds
...
@@ -196,10 +196,11 @@ export default {
...
@@ -196,10 +196,11 @@ export default {
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'确定要把这 '
+
ids
.
length
+
' 条记录提交到'
+
cont
+
'?'
,
content
:
'确定要把这 '
+
ids
.
length
+
' 条记录提交到'
+
cont
+
'?'
,
onOk
:
()
=>
{
onOk
:
async
()
=>
{
const
result
=
meterSample
.
submit
(
ids
)
const
result
=
meterSample
.
submit
ReportToIssue
(
ids
)
if
(
result
)
{
if
(
result
)
{
console
.
log
(
result
)
this
.
$Message
.
success
(
'提交成功!'
)
await
this
.
_page
()
}
}
}
}
})
})
...
...
pages/meter-certificate/make/CreateReport.vue
View file @
b012a32f
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
style="width: 100%">
style="width: 100%">
<el-table-column
prop=
"name"
label=
"样品名称"
sortable
></el-table-column>
<el-table-column
prop=
"name"
label=
"样品名称"
sortable
></el-table-column>
<el-table-column
prop=
"code"
label=
"样品编号"
sortable
></el-table-column>
<el-table-column
prop=
"code"
label=
"样品编号"
sortable
></el-table-column>
<el-table-column
prop=
"report
Sn
"
label=
"报告编号"
sortable
>
<el-table-column
prop=
"report
Code
"
label=
"报告编号"
sortable
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.report
Sn
"
placeholder=
"留白则自动生成"
size=
"small"
></el-input>
<el-input
v-model=
"scope.row.report
Code
"
placeholder=
"留白则自动生成"
size=
"small"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
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