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
fad47593
authored
2023-07-28 15:41:28 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
16fa9011
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
14 deletions
src/store/getters.js
src/store/modules/user.js
src/views/djbworkflow/workFrame.vue
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/fzxx.vue
src/views/workflow/components/szxx.vue
src/store/getters.js
View file @
fad4759
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-04 11:14:25
* @LastEditTime: 2023-0
7-28 15:27:10
*/
const
getters
=
{
sidebar
:
state
=>
state
.
app
.
sidebar
,
...
...
@@ -20,6 +20,7 @@ const getters = {
djbxx
:
state
=>
state
.
djbxx
.
djbxx
,
// workflow
isRefresh
:
state
=>
state
.
user
.
isRefresh
,
workFresh
:
state
=>
state
.
user
.
workFresh
,
yjsqOptions
:
state
=>
state
.
workflow
.
yjsqOptions
}
export
default
getters
...
...
src/store/modules/user.js
View file @
fad4759
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-12 10:47:33
* @LastEditTime: 2023-0
7-28 15:26:16
*/
import
{
getUserInfo
}
from
'@/api/user'
const
state
=
{
name
:
''
,
avatar
:
'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png'
,
isRefresh
:
false
,
// 业务流程刷新
workFresh
:
false
}
const
mutations
=
{
SET_NAME
:
(
state
,
data
)
=>
{
...
...
@@ -15,6 +17,9 @@ const mutations = {
},
REFRESH
:
(
state
,
data
)
=>
{
state
.
isRefresh
=
data
},
SETWORKFRESH
:
(
state
,
data
)
=>
{
state
.
workFresh
=
data
}
}
...
...
@@ -29,6 +34,9 @@ const actions = {
refreshPage
({
commit
},
data
)
{
commit
(
'REFRESH'
,
data
)
},
reWorkFresh
({
commit
},
data
)
{
commit
(
'SETWORKFRESH'
,
data
)
}
}
export
default
{
namespaced
:
true
,
...
...
src/views/djbworkflow/workFrame.vue
View file @
fad4759
This diff is collapsed.
Click to expand it.
src/views/workflow/components/dialog/zsdy.vue
View file @
fad4759
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
6-25 11:13:0
7
* @LastEditTime: 2023-0
7-28 15:27:3
7
-->
<
template
>
<div>
...
...
@@ -71,7 +71,7 @@
}
},
created
()
{
store
.
dispatch
(
'user/re
freshPage
'
,
false
)
store
.
dispatch
(
'user/re
WorkFresh
'
,
false
)
this
.
columns
=
datas
.
columns
()
this
.
ysxlhList
()
this
.
getHeadTabBdcqz
()
...
...
@@ -179,7 +179,7 @@
this
.
$popupCacel
()
this
.
$message
.
success
(
"提交成功"
)
//刷新列表
store
.
dispatch
(
'user/re
freshPage
'
,
true
)
store
.
dispatch
(
'user/re
WorkFresh
'
,
true
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
src/views/workflow/components/dialog/zslq.vue
View file @
fad4759
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-2
4 10:22:41
* @LastEditTime: 2023-07-2
8 15:33:55
-->
<
template
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
...
...
@@ -64,6 +64,7 @@
import
table
from
"@/utils/mixin/table"
;
import
{
getUnclaimedBdcqz
,
issueCertificate
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../../javascript/fzxxdata"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -123,9 +124,6 @@
getUnclaimedBdcqz
({
bsmSlsq
:
Vue
.
prototype
.
$currentRoute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
.
list
;
if
(
this
.
tableData
.
data
.
length
>
0
)
{
this
.
ruleForm
.
lzrxm
=
this
.
tableData
.
data
[
0
].
qlr
}
this
.
ruleForm
.
fzrmc
=
res
.
result
.
fzrmc
this
.
ruleForm
.
fzsj
=
res
.
result
.
fzsj
this
.
ruleForm
.
fzsl
=
res
.
result
.
fzsl
...
...
@@ -160,7 +158,7 @@
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
);
//刷新列表
store
.
dispatch
(
'user/re
freshPage
'
,
true
)
store
.
dispatch
(
'user/re
WorkFresh
'
,
true
)
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
...
...
src/views/workflow/components/fzxx.vue
View file @
fad4759
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-2
5 09:26:10
* @LastEditTime: 2023-07-2
8 15:30:23
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -40,9 +40,10 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
;
import
{
getCertificateList
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../javascript/fzxxdata"
;
import
{
getCertificateList
}
from
"@/api/bdcqz.js"
;
export
default
{
mixins
:
[
table
],
data
()
{
...
...
@@ -66,6 +67,16 @@
created
()
{
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
},
computed
:
{
...
mapGetters
([
'workFresh'
])
},
watch
:
{
workFresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
}
}
},
methods
:
{
/**
* @description: queryClick
...
...
src/views/workflow/components/szxx.vue
View file @
fad4759
...
...
@@ -92,10 +92,10 @@
};
},
computed
:
{
...
mapGetters
([
'
isRef
resh'
])
...
mapGetters
([
'
workF
resh'
])
},
watch
:
{
isRef
resh
:
{
workF
resh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
list
()
}
...
...
Please
register
or
sign in
to post a comment