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
0e4f3211
authored
2023-09-05 15:37:33 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:善证信息
1 parent
66d24b36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/szxx.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
0e4f321
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-05 15:
14:08
* @LastEditTime: 2023-09-05 15:
36:51
-->
<
template
>
<div>
...
...
@@ -41,7 +41,7 @@
</object>
<div
class=
"text-center pt-10"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrint"
v-if=
"
this.formData.ysxlh
"
>
打印
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrint"
v-if=
"
disabled
"
>
打印
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
v-else
>
确定
</el-button>
</div>
...
...
@@ -179,6 +179,7 @@
this
.
zfyy
=
''
this
.
ruleForm
.
ysxlh
=
''
this
.
bdcqz
.
ysxlh
=
''
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
if
(
this
.
bdcqz
.
bdcqzlx
==
1
)
{
this
.
drawTextOnImage
()
}
else
{
...
...
@@ -582,6 +583,11 @@
},
// 打印
handlePrint
()
{
if
(
this
.
ruleForm
.
ysxlh
==
''
)
{
this
.
$message
.
error
(
'请选择印刷序列号'
);
return
;
}
let
that
=
this
if
(
this
.
bdcqz
.
bdcqzlx
==
1
)
{
getPrintTemplateByCode
({
tmpno
:
'zsdy'
}).
then
(
resInfo
=>
{
if
(
resInfo
.
code
==
200
)
{
...
...
@@ -599,6 +605,9 @@
}
else
{
this
.
$message
.
error
(
resInfo
.
message
)
}
that
.
$popupCacel
()
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
})
}
else
{
getPrintTemplateByCode
({
tmpno
:
'zmdy'
}).
then
(
resInfo
=>
{
...
...
@@ -621,10 +630,11 @@
}
else
{
this
.
$message
.
error
(
resInfo
.
message
)
}
that
.
$popupCacel
()
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
})
}
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
},
/**
* @description: 保存打印记录
...
...
@@ -647,6 +657,7 @@
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
})
}
}
...
...
src/views/workflow/components/szxx.vue
View file @
0e4f321
...
...
@@ -81,6 +81,7 @@
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
newVal
,
'newVal'
);
if
(
newVal
)
this
.
list
()
}
}
...
...
Please
register
or
sign in
to post a comment