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
16496a0d
authored
2021-01-25 10:57:00 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
宗地提交和审核权限判断
1 parent
e5bc0fa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
17 deletions
src/views/zd/zddcb/index.vue
src/views/zd/zddcb/index.vue
View file @
16496a0
...
...
@@ -365,13 +365,13 @@
</table>
<div
class=
"header-button"
:style=
"
{width:mainBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"updateZDxx"
:disabled=
"disabled"
icon=
"iconfont iconbaocun"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"submitZDxx"
:disabled=
"disabled"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"registerCall"
>
登记调用
</el-button>
</div>
</div>
<div
class=
"sh-btn"
>
<el-button
type=
"primary"
@
click=
"thzd"
>
退回
</el-button>
<el-button
type=
"primary"
@
click=
"shzd"
>
审核
</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>
</div>
</
template
>
...
...
@@ -395,7 +395,7 @@
updateQjZdjbxx
,
}
from
"@api/zd"
;
import
{
Message
}
from
'element-ui'
;
import
{
getActivityDetail
}
from
"@api/user"
;
export
default
{
inject
:
[
'getRightTree'
],
name
:
""
,
...
...
@@ -482,6 +482,7 @@
DJZQDM
:
""
,
SYQLXID
:
""
,
},
workFlowState
:
false
,
};
},
mixins
:
[
geoUtils
],
...
...
@@ -490,11 +491,24 @@
},
mounted
()
{
this
.
getZdjbxxData
(
this
.
$store
.
state
.
zdbsm
);
this
.
getActivityDetail
();
this
.
$nextTick
(()
=>
{
this
.
mainBoxWidth
=
this
.
$refs
.
mainBox
.
clientWidth
;
})
},
methods
:
{
getActivityDetail
(){
let
params
=
{
"params"
:
{},
"workflowPeriod"
:
"current"
,
"workitemInstanceId"
:
this
.
$route
.
query
.
workitemInstanceId
}
getActivityDetail
(
params
).
then
(
res
=>
{
this
.
workFlowState
=
res
.
workitemInstance
.
apps
.
some
(
function
(
item
)
{
return
item
==
'shenpibiao'
;
});
})
},
registerCall
()
{
let
data
=
{
type
:
'zd'
,
...
...
@@ -856,20 +870,20 @@
},
//提交宗地基本信息
submitZDxx
()
{
//
vm.setTjDialog(true);
let
data
=
{
glbsm
:
this
.
$store
.
state
.
zdbsm
,
status
:
1
,
type
:
"zd"
}
submit
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"提交成功!"
)
this
.
getZdjbxxData
(
this
.
curZdbsm
);
this
.
$store
.
state
.
oldZdbsm
=
''
;
this
.
getRightTree
(
this
.
curZdbsm
,
'0,1,2'
)
}
})
vm
.
setTjDialog
(
true
);
//
let data = {
//
glbsm: this.$store.state.zdbsm,
//
status: 1,
//
type: "zd"
//
}
//
submit(data).then((res) => {
//
if (res.code === 200) {
//
this.$message.success("提交成功!")
//
this.getZdjbxxData(this.curZdbsm);
//
this.$store.state.oldZdbsm = '';
//
this.getRightTree(this.curZdbsm,'0,1,2')
//
}
//
})
},
getQlrxxData
()
{
// console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
...
...
Please
register
or
sign in
to post a comment