Commit e1258e9a by gao_yingdong

Merge branch 'dev_xzeq' of http://39.99.224.27:9022/changchao/founder_vue into dev_xzeq

parents 6c5f935d 1f8cba28
...@@ -11,19 +11,19 @@ ...@@ -11,19 +11,19 @@
ref="rightContent" ref="rightContent"
> >
<template #btnGroup="scope"> <template #btnGroup="scope">
<el-button @click="setYJ(scope.scope)" type="text" >列控预警</el-button> <el-button @click="setYJ(scope.scope)" type="text">列控预警</el-button>
</template> </template>
</right-content> </right-content>
</div> </div>
</template> </template>
<script> <script>
import rightContent from "@c/ptCxForm_components.vue"; import rightContent from "@c/ptCxForm_components.vue";
import {insertLkyj} from "@/api/jcyjzxt/hmd.js"; import { insertLkyj } from "@/api/jcyjzxt/hmd.js";
export default { export default {
name: "rlqbxsxx", name: "rlqbxsxx",
components: { components: {
rightContent rightContent,
}, },
data() { data() {
return { return {
...@@ -90,49 +90,120 @@ ...@@ -90,49 +90,120 @@
}, },
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{label: "信息主键编号", prop: "xxzjbh"}, { label: "信息主键编号", prop: "xxzjbh" },
{label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc"}, { label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc" },
{label: "服务标识号", prop: "kyxsfwbshBsh"}, { label: "服务标识号", prop: "kyxsfwbshBsh" },
{label: "依据", prop: "kyxsfwbshKyyj"}, { label: "依据", prop: "kyxsfwbshKyyj" },
{label: "登记时间", prop: "djsj"}, { label: "登记时间", prop: "djsj" },
{label: "录入单位", prop: "xxdjdwGajgmc"}, { label: "录入单位", prop: "xxdjdwGajgmc" },
{label: "录入人", prop: "xxdjryXm"}, { label: "录入人", prop: "xxdjryXm" },
], ],
cxUrl: "/jcyj/pageTbXwFxkyfwbzh", cxUrl: "/jcyj/pageTbXwFxkyfwbzh",
Menu: [ Menu: [
{ {
id: "kyfwbshlist", label: "可疑服务标识号列表", id: "kyfwbshlist",
index: "kyfwbshlist", auth: "M0101", label: "可疑服务标识号列表",
className: "iconfont iconrizhi", disabled: false, index: "kyfwbshlist",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
}, },
], ],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "kyfwbshlist",
label: "可疑服务标识号列表",
newAuth: "M01",
index: "kyfwbshlist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "hmdrylist",
label: "黑名单列表",
newAuth: "M01",
index: "hmdrylist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "xsbkMxgl",
label: "监测预警信息汇集管理",
newAuth: "M01",
index: "xsbks",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "jcyjZdrygl",
label: "重点人员管理",
newAuth: "M01",
index: "jcyjZdrygl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryBsh",
label: "标识号管理",
newAuth: "M01",
index: "queryBsh",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "yjmxgl",
label: "预警模型管理",
newAuth: "M01",
index: "xsbkMxgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "mxyjgl",
label: "监测预警模型运行管理",
newAuth: "M01",
index: "mxyjgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
header: "监测预警",
}; };
}, },
created() { created() {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
}, },
methods: { methods: {
setYJ(scope) { setYJ(scope) {
let row = scope.row; let row = scope.row;
let params = new FormData(); let params = new FormData();
params.append('glxxXxzjbh',row.xxzjbh); params.append("glxxXxzjbh", row.xxzjbh);
params.append('sjly','02'); params.append("sjly", "02");
params.append('yjxx',row.kyfwbzhFwbzh); params.append("yjxx", row.kyfwbzhFwbzh);
this.$confirm("是否确认添加为列控预警对象?", "提示", this.$confirm("是否确认添加为列控预警对象?", "提示", {
{confirmButtonText: "确定", cancelButtonText: "取消", type: "warning",}) confirmButtonText: "确定",
.then(() => { cancelButtonText: "取消",
insertLkyj(params).then(res=>{ type: "warning",
if(res.code===200){this.$message.success('提交成功')}
else {this.$message.warning(res.message)}
}) })
.then(() => {
insertLkyj(params).then((res) => {
if (res.code === 200) {
this.$message.success("提交成功");
} else {
this.$message.warning(res.message);
}
});
}) })
.catch(() => { .catch(() => {
this.$message({type: "info", message: "已取消",}); this.$message({ type: "info", message: "已取消" });
}); });
}, },
} },
}; };
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import "@/assets/styles/rightContent.scss"; @import "@/assets/styles/rightContent.scss";
</style> </style>
...@@ -71,73 +71,7 @@ ...@@ -71,73 +71,7 @@
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"}, {label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
], ],
cxUrl: "/jcyj/getCbBshList", cxUrl: "/jcyj/getCbBshList",
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "zbfzxyrlist",
label: "抓捕犯罪嫌疑人列表",
newAuth: "M01",
index: "zbfzxyrlist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "kyfwbshlist",
label: "可疑服务标识号列表",
newAuth: "M01",
index: "kyfwbshlist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "hmdrylist",
label: "黑名单列表",
newAuth: "M01",
index: "hmdrylist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "xsbkMxgl",
label: "监测预警信息汇集管理",
newAuth: "M01",
index: "xsbks",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "jcyjZdrygl",
label: "重点人员管理",
newAuth: "M01",
index: "jcyjZdrygl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryBsh",
label: "标识号管理",
newAuth: "M01",
index: "queryBsh",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "yjmxgl",
label: "预警模型管理",
newAuth: "M01",
index: "xsbkMxgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "mxyjgl",
label: "监测预警模型运行管理",
newAuth: "M01",
index: "mxyjgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [ Menu: [
{ {
id: "zbfzxyrlist", label: "抓捕犯罪嫌疑人列表", id: "zbfzxyrlist", label: "抓捕犯罪嫌疑人列表",
......
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