Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
141c94e6
authored
2023-05-04 14:44:56 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:善证
1 parent
943ebf77
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
68 deletions
src/views/workflow/components/szRecord.vue → src/views/workflow/components/dialog/szRecord.vue
src/views/workflow/components/szxx.vue
src/views/workflow/components/zsdy.vue
src/views/workflow/components/szRecord.vue
→
src/views/workflow/components/
dialog/
szRecord.vue
View file @
141c94e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 14:13:28
-->
<
template
>
<div>
<lb-table
:column=
"tableData.columns"
border
:maxHeight=
"300"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableData.data"
>
<lb-table
:column=
"tableData.columns"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableData.data"
>
</lb-table>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
{
getSzRecordList
}
from
"@/api/bdcqz.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
datas
}
from
"
../javascript/szxxdata"
;
export
default
{
import
{
mapGetters
}
from
'vuex'
import
{
getSzRecordList
}
from
"@/api/bdcqz.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
datas
}
from
"../
../javascript/szxxdata"
;
export
default
{
components
:
{
},
...
...
@@ -21,7 +24,7 @@ export default {
formData
:
{
type
:
Object
,
default
:
{}
},
}
},
data
()
{
return
{
...
...
@@ -36,20 +39,20 @@ export default {
},
}
},
mounted
()
{
mounted
()
{
this
.
query
()
},
methods
:
{
query
()
{
getSzRecordList
({
bsmBdcqz
:
this
.
formData
.
bsmBdcqz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
query
()
{
getSzRecordList
({
bsmBdcqz
:
this
.
formData
.
bsmBdcqz
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
tableData
.
data
=
res
.
result
;
this
.
key
++
}
})
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
...
...
src/views/workflow/components/szxx.vue
View file @
141c94e
...
...
@@ -72,7 +72,6 @@
<
script
>
import
{
getSlsqBdcqzList
,
invalidCertificate
,
getSzRecordList
}
from
"@/api/bdcqz.js"
;
import
bdcqzPrint
from
"./zsdy.vue"
;
import
{
popupDialog
}
from
"@/utils/popup.js"
;
export
default
{
components
:
{
bdcqzPrint
},
props
:
{},
...
...
@@ -122,23 +121,6 @@
this
.
bdcqz
=
item
;
this
.
$refs
.
bdcqzPrint
.
getBdcqzPreview
();
})
//证书打印
// this.$popup("证书打印", "workflow/components/zsdy", {
// height: "700px",
// width: "800px",
// formData: {
// bsmSlsq: this.bsmSlsq,
// bdcqz: item,
// },
// btnShow: true,
// confirmText: "打印证书",
// cancel: () => {
// console.log("取消回调");
// },
// confirm: () => {
// that.list();
// },
// });
}
},
//再次打印
...
...
@@ -166,7 +148,7 @@
});
},
openRecordPop
(
item
)
{
popupDialog
(
"缮证记录"
,
"workflow/components/szRecord"
,
{
bsmBdcqz
:
item
.
bsmBdcqz
},
'50%'
)
this
.
$popupDialog
(
"缮证记录"
,
"workflow/components/dialog/szRecord"
,
{
bsmBdcqz
:
item
.
bsmBdcqz
},
'60%'
,
true
)
}
},
};
...
...
src/views/workflow/components/zsdy.vue
View file @
141c94e
...
...
@@ -4,24 +4,21 @@
width=
"60%"
v-model=
"myValue"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
>
@
submitForm=
"handleSubmit"
>
<div>
<div>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
label-width=
"120px"
>
<el-form-item
label=
"印刷序列号:"
prop=
"ysxlh"
>
<el-select
v-model=
"ruleForm.ysxlh"
placeholder=
"请选择"
>
<el-option
v-for=
"item in ysxlh"
:key=
"item.ysxlh"
:label=
"item.ysxlh"
:value=
"item.ysxlh"
>
:value=
"item.ysxlh"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -34,15 +31,15 @@
</
template
>
<
script
>
import
{
datas
}
from
"../javascript/zsyl.js"
;
import
{
readYsxlh
,
certificate
,
bdcqzPreview
}
from
"@/api/bdcqz.js"
;
export
default
{
import
{
datas
}
from
"../javascript/zsyl.js"
;
import
{
readYsxlh
,
certificate
,
bdcqzPreview
}
from
"@/api/bdcqz.js"
;
export
default
{
components
:
{},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bdcqz
:
{
type
:
Object
,
default
:
()
=>
{
}
},
bdcqz
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
data
()
{
return
{
myValue
:
this
.
value
,
//印刷序列号集合
...
...
@@ -66,7 +63,7 @@ export default {
};
},
watch
:
{
value
(
val
)
{
value
(
val
)
{
this
.
myValue
=
val
;
if
(
val
)
{
this
.
columns
=
datas
.
columns
();
...
...
@@ -76,25 +73,25 @@ export default {
},
methods
:
{
//获取印刷序列号列表
ysxlhList
()
{
ysxlhList
()
{
readYsxlh
({
zslx
:
this
.
bdcqz
.
bdcqzlx
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
ysxlh
=
res
.
result
;
}
});
},
closeDialog
()
{
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
handleSubmit
()
{
handleSubmit
()
{
this
.
savePrintRecord
();
},
//获取证书内容
getRowValue
(
code
)
{
getRowValue
(
code
)
{
var
value
=
this
.
bdcqz
[
code
];
return
value
;
},
getBdcqzPreview
()
{
getBdcqzPreview
()
{
this
.
$startLoading
()
bdcqzPreview
(
this
.
bdcqz
).
then
(
res
=>
{
this
.
$endLoading
()
...
...
@@ -104,7 +101,7 @@ export default {
})
},
//保存打印记录
savePrintRecord
()
{
savePrintRecord
()
{
this
.
ruleForm
.
bsmBdcqz
=
this
.
bdcqz
.
bsmBdcqz
;
this
.
ruleForm
.
bdcqzlx
=
this
.
bdcqz
.
bdcqzlx
;
this
.
ruleForm
.
szzh
=
this
.
bdcqz
.
bdcqzh
;
...
...
@@ -120,24 +117,24 @@ export default {
});
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/mixin.scss"
;
.aaaa
{
.aaaa
{
width
:
1024px
;
height
:
739px
;
font-family
:
KaiTi
;
font-weight
:
700
;
}
.bdcdjzm
{
}
.bdcdjzm
{
width
:
1123px
;
height
:
794px
;
font-family
:
KaiTi
;
font-weight
:
700
;
}
.zmyl-box
{
}
.zmyl-box
{
//
position
:
relative
;
position
:
absolute
;
height
:
600px
;
...
...
@@ -145,14 +142,14 @@ export default {
margin-left
:
775px
;
font-size
:
16px
;
justify-content
:
space-between
;
}
.bdcqzh
{
}
.bdcqzh
{
height
:
70px
;
left
:
0
;
bottom
:
0
;
font-size
:
18px
;
}
.zsyl-box
{
}
.zsyl-box
{
display
:
flex
;
justify-content
:
space-between
;
//
padding
:
20px
;
...
...
@@ -230,11 +227,11 @@ export default {
/
deep
/
.el-table__row
{
background
:
#fafbe5
!important
;
}
}
.middle_padding
{
}
.middle_padding
{
padding-bottom
:
10px
;
}
.zsyl-button
{
}
.zsyl-button
{
text-align
:
center
;
margin-top
:
20px
;
.operation_button
{
...
...
@@ -245,5 +242,5 @@ export default {
color
:
white
;
background-color
:
rgb
(
0
,
121
,
254
);
}
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment