Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
085bfe00
authored
2021-01-27 17:35:34 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
按钮展示判断
1 parent
5d813b73
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
13 deletions
src/App.vue
src/views/dz/dzxx/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/zrzxx/index.vue
src/App.vue
View file @
085bfe0
...
...
@@ -192,8 +192,10 @@ export default {
// 退回
rollback
(
data
){
rollbackProcess
(
data
).
then
((
res
)
=>
{
this
.
sprList
=
res
[
0
].
masterActors
;
this
.
spr
=
res
[
0
].
masterActors
[
0
].
accountNo
;
this
.
$message
.
success
(
"操作成功!"
)
this
.
$router
.
push
({
path
:
'/dbx'
})
});
},
//终止
...
...
src/views/dz/dzxx/index.vue
View file @
085bfe0
...
...
@@ -198,8 +198,8 @@
<el-button
type=
"primary"
@
click=
"registerCall"
>
登记调用
</el-button>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"lczz"
v-
if=
"workFlowData.properties.
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"th
dz"
v-if=
"workFlowData.
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"lczz"
v-
show=
"workFlow
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"th
zd"
v-show=
"
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
v-if=
"!workFlowState"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"shdz"
v-if=
"workFlowState"
>
审核
</el-button>
</div>
...
...
@@ -293,11 +293,11 @@
value
:
''
,
ytTitleRowspan
:
1
,
//用途的单元格垂直合并数量
mainBoxWidth
:
0
,
rules
:[],
workFlowState
:
false
,
workFlowData
:{}
workFlowData
:{},
workFlowphase
:
''
,
rollbackDetails
:[]
}
},
created
()
{
...
...
@@ -327,6 +327,9 @@
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowData
=
res
;
this
.
workFlowphase
=
res
.
properties
.
phase
;
this
.
rollbackDetails
=
res
.
rollbackDetails
;
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
...
...
src/views/zd/zddcb/index.vue
View file @
085bfe0
...
...
@@ -369,8 +369,8 @@
</div>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"lczz"
v-
if=
"workFlowData.properties.
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"thzd"
v-
if=
"workFlowData.
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"lczz"
v-
show=
"workFlow
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"thzd"
v-
show=
"
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"submitZDxx"
:disabled=
"disabled"
v-if=
"!workFlowState"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"shzd"
v-if=
"workFlowState"
>
审核
</el-button>
</div>
...
...
@@ -484,7 +484,9 @@
SYQLXID
:
""
,
},
workFlowState
:
false
,
workFlowData
:{}
workFlowData
:{},
workFlowphase
:
''
,
rollbackDetails
:[]
};
},
mixins
:
[
geoUtils
],
...
...
@@ -507,6 +509,8 @@
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowData
=
res
;
this
.
workFlowphase
=
res
.
properties
.
phase
;
this
.
rollbackDetails
=
res
.
rollbackDetails
;
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
...
...
src/views/zrz/zrzxx/index.vue
View file @
085bfe0
...
...
@@ -279,8 +279,8 @@
</div>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"lczz"
v-
if=
"workFlowData.properties.
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"thz
rz"
v-if=
"workFlowData.
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"lczz"
v-
show=
"workFlow
phase == 'modify'"
>
终止
</el-button>
<el-button
type=
"primary"
@
click=
"thz
d"
v-show=
"
rollbackDetails.length>0"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
v-if=
"!workFlowState"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"shzrz"
v-if=
"workFlowState"
>
审核
</el-button>
</div>
...
...
@@ -417,7 +417,9 @@
rules
:[],
mainBoxWidth
:
0
,
workFlowState
:
false
,
workFlowData
:{}
workFlowData
:{},
workFlowphase
:
''
,
rollbackDetails
:[]
}
},
mixins
:[
geoUtils
],
...
...
@@ -430,6 +432,9 @@
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowData
=
res
;
this
.
workFlowphase
=
res
.
properties
.
phase
;
this
.
rollbackDetails
=
res
.
rollbackDetails
;
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
...
...
Please
register
or
sign in
to post a comment