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
272fc8a3
Commit
272fc8a3
authored
Aug 08, 2020
by
lichengming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.patzn.com/root/patzn-cloud-service-metr-web
into dev
parents
66f2c4a6
bce6c3be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
8 deletions
+29
-8
MeterCertificatePrintIndexHis.vue
...meter-certificate/print/MeterCertificatePrintIndexHis.vue
+29
-8
No files found.
pages/meter-certificate/print/MeterCertificatePrintIndexHis.vue
View file @
272fc8a3
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<Col
span=
"24"
>
<Col
span=
"24"
>
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide"
<btn-list
:msg=
"btn"
:open=
"searchOpen"
:show-search-btn=
"true"
class=
"contHide"
@
on-result-change=
"_btnClick"
style=
"height: 30px;
"
></btn-list>
style=
"height: 30px;"
@
on-result-change=
"_btnClick
"
></btn-list>
</Col>
</Col>
<!--表格-->
<!--表格-->
<Col
span=
"24"
>
<Col
span=
"24"
>
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
import
{
meterSample
}
from
'../../../api'
import
{
meterSample
}
from
'../../../api'
import
operationModal
from
'../../../components/operation/Operation'
import
operationModal
from
'../../../components/operation/Operation'
import
CertificateMakeLook
from
'../../meter-certificate/CertificateMakeLook'
import
CertificateMakeLook
from
'../../meter-certificate/CertificateMakeLook'
import
http
from
'../../../api/http'
export
default
{
export
default
{
components
:
{
operationModal
,
CertificateMakeLook
},
components
:
{
operationModal
,
CertificateMakeLook
},
data
()
{
data
()
{
...
@@ -77,11 +78,11 @@ export default {
...
@@ -77,11 +78,11 @@ export default {
formId
:
'meterCertificatePrintIndexFormId'
,
formId
:
'meterCertificatePrintIndexFormId'
,
searchOpen
:
true
,
searchOpen
:
true
,
btn
:
[
btn
:
[
//
{
{
//
type: 'success',
type
:
'success'
,
//
id: '',
id
:
''
,
// name: '打印
'
name
:
'导出证书记录
'
//
}
}
],
],
iconMsg
:
[
iconMsg
:
[
// {
// {
...
@@ -164,8 +165,8 @@ export default {
...
@@ -164,8 +165,8 @@ export default {
case
'添加'
:
case
'添加'
:
this
.
_editModal
(
false
)
this
.
_editModal
(
false
)
break
break
case
'
打印
'
:
case
'
导出证书记录
'
:
this
.
_
printExcel
()
this
.
_
exportCertificateInfo
()
break
break
case
'退回'
:
case
'退回'
:
this
.
_goBack
()
this
.
_goBack
()
...
@@ -176,6 +177,26 @@ export default {
...
@@ -176,6 +177,26 @@ export default {
}
}
})
})
},
},
_exportCertificateInfo
()
{
if
(
this
.
selectIds
.
length
===
0
)
{
this
.
$Message
.
warning
(
'请选择要导出的数据!'
)
return
false
}
const
sampleIds
=
this
.
selectIds
.
join
(
','
)
const
data
=
this
.
formObj
data
.
idsStr
=
sampleIds
this
.
$Modal
.
confirm
({
title
:
'提示'
,
content
:
'确定导出数据?'
,
onOk
:
()
=>
{
http
.
open
(
'/meter/v1/sample/export_certificate_info/?ids='
+
sampleIds
)
}
})
},
_submitToReview
()
{
_submitToReview
()
{
this
.
_submitByContractIds
()
this
.
_submitByContractIds
()
},
},
...
...
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