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
d0e27e3c
authored
2023-07-12 16:35:07 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登薄模块功能的完善
1 parent
1ec9cab4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
14 deletions
src/components/ywPopup/index.vue
src/views/workflow/components/dialog/dblist.vue
src/views/workflow/mixin/index.js
src/components/ywPopup/index.vue
View file @
d0e27e3
...
...
@@ -130,8 +130,8 @@
.ls-title
{
padding
:
16px
;
color
:
#
ffffff
;
background
:
linear-gradient
(
3deg
,
#409eff
,
#a7cbee
);
color
:
#
4a4e56
;
//
background
:
linear-gradient
(
3deg
,
#edf0f7
,
#f4f5f6
);
font-size
:
16px
;
}
...
...
@@ -167,7 +167,7 @@
right
:
26px
;
font-size
:
24px
;
cursor
:
pointer
;
color
:
#4
09eff
;
color
:
#4
a4e56
;
}
/
deep
/
.el-loading-mask
{
...
...
src/views/workflow/components/dialog/dblist.vue
0 → 100644
View file @
d0e27e3
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-12 16:33:18
-->
<
template
>
<div
class=
'dblistDialog'
>
<el-table
v-if=
"formData.result"
:data=
"formData.result"
height=
"200"
>
<el-table-column
prop=
"ywh"
width=
"110"
label=
"业务号"
>
</el-table-column>
<el-table-column
prop=
"msg"
label=
"详细信息"
>
</el-table-column>
</el-table>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
{}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
</
style
>
\ No newline at end of file
src/views/workflow/mixin/index.js
View file @
d0e27e3
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-12 1
4:23:25
* @LastEditTime: 2023-07-12 1
6:33:59
*/
import
{
getWorkFlowImage
}
from
"@/api/workflow/jsydsyqFlow.js"
;
import
{
getPrintTemplateByCode
}
from
"@/api/system"
;
...
...
@@ -16,8 +16,8 @@ import {
getNextLinkInfo
,
}
from
"@/api/fqsq.js"
;
import
{
mapGetters
}
from
'vuex'
import
{
log
}
from
"bpmn-js-token-simulation"
;
import
{
getZrzbsm
}
from
"@/api/lpb"
;
import
{
ywPopupDialog
}
from
"@/utils/popup.js"
;
export
default
{
data
()
{
return
{
...
...
@@ -115,7 +115,6 @@ export default {
getPrintTemplateByCode
({
tmpno
:
'dysqs'
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getPrintApplicationInfo
(
this
.
currentSelectProps
).
then
(
infoRes
=>
{
console
.
log
(
infoRes
,
'infoRes'
);
if
(
infoRes
.
code
==
200
)
{
//打开模板设计
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
...
...
@@ -193,7 +192,7 @@ export default {
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
this
.
$confirm
(
"请确认是否登簿"
,
"提示"
,
{
iconClass
:
"el-icon-
question
"
,
//自定义图标样式
iconClass
:
"el-icon-
info
"
,
//自定义图标样式
confirmButtonText
:
"确认"
,
//确认按钮文字更换
cancelButtonText
:
"取消"
,
//取消按钮文字更换
showClose
:
true
,
//是否显示右上角关闭按钮
...
...
@@ -202,18 +201,20 @@ export default {
record
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
result
.
length
===
1
)
{
res
.
result
[
0
].
state
?
that
.
$alert
(
"登簿成功!"
)
:
that
.
$alert
(
res
.
result
[
0
].
msg
);;
console
.
log
(
res
.
result
,
'res.result'
);
res
.
result
[
0
].
state
?
that
.
$message
({
message
:
'登簿成功'
,
type
:
'success'
})
:
ywPopupDialog
(
"登簿明细"
,
"workflow/components/dialog/dblist"
,
{
result
:
res
.
result
},
'30%'
)
}
else
{
that
.
$alert
(
'<div>'
+
res
.
result
[
0
].
ywh
+
','
+
res
.
result
[
0
].
msg
+
'</div>'
,
'登簿明细'
,
{
dangerouslyUseHTMLString
:
true
});
ywPopupDialog
(
"登簿明细"
,
"workflow/components/dialog/dblist"
,
{
result
:
res
.
result
},
'30%'
)
}
}
else
{
that
.
$
alert
(
res
.
message
);
that
.
$
message
.
error
(
res
.
message
)
}
})
;
})
;
})
})
break
;
case
"rm"
:
this
.
del
()
...
...
Please
register
or
sign in
to post a comment