Commit 32ea83b2 by gao_yingdong

用户管理和刑嫌调控

parent 066c5032
......@@ -511,6 +511,7 @@
pageBs != 'queryMenu' &&
pageBs != 'queryUser' &&
pageBs != 'queryZjcl' &&
pageBs != 'xxtkgzfl' &&
pageBs != 'queryRole'
"
>
......@@ -1562,6 +1563,7 @@
pageBs == 'queryMenu' ||
pageBs == 'querySqdlb' ||
pageBs == 'queryJz' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryRole'
)
"
......@@ -1767,6 +1769,7 @@
pageBs != 'queryUser' &&
pageBs != 'queryMenu' &&
pageBs != 'queryJz' &&
pageBs != 'xxtkgzfl' &&
pageBs != 'querySqdlb' &&
pageBs != 'queryRole'
"
......
......@@ -7,7 +7,7 @@ const menuLayouts = [
meta: {
title: '刑嫌对象信息管理'
},
component: () => import("@/views/xxtk/gzry/queryGzry.vue")
component: () => import("@/views/xxtk/gzry/queryGzrys.vue")
},
{
path: "/queryGzrys",
......
......@@ -172,7 +172,8 @@ export default {
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.title = "角色信息修改";
this.title = "菜单信息修改";
this.$set(this.propFormField[0],'title','修改菜单')
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
......
......@@ -198,6 +198,7 @@ export default {
background: "rgba(255, 255, 255, 0.7)",
});
this.title = "角色信息修改";
this.$set(this.propFormField[0],'title','修改角色')
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
......
......@@ -157,7 +157,7 @@ export default {
if (this.selectedId.length > 0) {
this.dialogVisible = true;
} else {
this.$message.error("请选择用户");
this.$message.error("请选择角色");
}
},
getTree() {
......
......@@ -25,11 +25,11 @@ export default {
},
data() {
return {
title: "用户新增",
title: "用户修改",
propFormField: [
//基本信息
{
title: "新增用户",
title: "修改用户",
id: 1,
objStr: "",
......
......@@ -166,10 +166,6 @@ export default {
label: "用户级别",
prop: "gradeStr",
},
{
label: "用户状态",
prop: "openFlag",
},
],
cxUrl: "/sysuser/selectUserNewList",
Menu: [
......@@ -230,14 +226,22 @@ export default {
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
debugger;
this.identitycard = JSON.parse(
sessionStorage.getItem("userInfo")
).identitycard;
debugger;
this.getTree();
this.getThead();
},
methods: {
getThead() {
if (this.isPremission >= 0) {
let obj = {
label: "用户状态",
prop: "openFlag",
};
this.cxDefaultFormThead.push(obj);
}
},
editMa(scope) {
debugger;
this.$set(this.form, "id", scope.row.id);
......@@ -343,15 +347,15 @@ export default {
});
},
edit(obj) {
if (this.identitycard == obj.row.identitycard) {
if (this.identitycard == obj.row.identitycard || this.isPremission >= 0) {
this.$router.pushToTab({
path: "/addXg",
query: {
xxzjbh: obj.row.id,
},
});
}else{
this.$message.error('暂无权限,只能修改本人信息')
} else {
this.$message.error("暂无权限,只能修改本人信息");
}
},
dele(obj) {
......
......@@ -58,7 +58,7 @@
</el-dialog>
<!-- 新增列控 -->
<!-- <el-dialog title="新增列控信息" :visible.sync="newlyVisiable">
<el-dialog title="新增列控信息" :visible.sync="newlyVisiable">
<el-form :inline="true" :model="lkForm" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
......@@ -99,9 +99,9 @@
<el-button @click="newlyVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitLKD">确 定</el-button>
</div>
</el-dialog> -->
</el-dialog>
<!-- 撤控 -->
<!-- <el-dialog title="新增撤控信息" :visible.sync="revokeVisiable">
<el-dialog title="新增撤控信息" :visible.sync="revokeVisiable">
<el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px">
......@@ -142,7 +142,7 @@
<el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button>
</div>
</el-dialog> -->
</el-dialog>
</div>
</template>
......@@ -928,6 +928,7 @@ export default {
});
},
newlyLK(xzgzrybh) {
debugger
for (let key in this.lkForm) {
this.$set(this.lkForm, key, "");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment