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
<template> <template>
<div class="Content"> <div class="Content">
<right-content <right-content
:tableOperation="true" :tableOperation="true"
pageBs="zbfzxyrlist" pageBs="zbfzxyrlist"
:header="header" :header="header"
:cxFormData="cxFormData" :cxFormData="cxFormData"
:cxQueryField="cxQueryField" :cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead" :cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl" :cxUrl="cxUrl"
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 {
header: "抓捕犯罪嫌疑人列表", header: "抓捕犯罪嫌疑人列表",
pageBs: "kyfwbshlist", pageBs: "kyfwbshlist",
cxFormData: { cxFormData: {
limit: 10, limit: 10,
page: 1, page: 1,
},
cxQueryField: [
{
name: "服务标识号类型",
id: "bshlx",
placeholder: "请选择",
type: "select",
selectData: [
{
name: "IMSI",
value: "01",
},
{
name: "IMEI",
value: "02",
},
{
name: "QQ号码",
value: "03",
},
{
name: "微信ID",
value: "04",
},
{
name: "邮箱",
value: "05",
},
],
value: "",
col: "3",
}, },
cxQueryField: [ // {
{ // name: "案事件编号",
name: "服务标识号类型", // id: "asjbh",
id: "bshlx", // placeholder: "请输入",
placeholder: "请选择", // type: "text",
type: "select", // value: "",
selectData: [ // col: "3",
{ // },
name: "IMSI", // {
value: "01", // name: "发现时间",
}, // id: "fxkyfwbzhFxsj",
{ // placeholder: "请输入",
name: "IMEI", // type: "date",
value: "02", // value: "",
}, // col: "3",
{ // },
name: "QQ号码", {
value: "03", name: "服务标识号",
}, id: "bsh",
{ placeholder: "请输入",
name: "微信ID", type: "text",
value: "04", value: "",
}, col: "3",
{ },
name: "邮箱", ],
value: "05", cxDefaultFormThead: [
}, { label: "信息主键编号", prop: "xxzjbh" },
], { label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc" },
value: "", { label: "服务标识号", prop: "kyxsfwbshBsh" },
col: "3", { label: "依据", prop: "kyxsfwbshKyyj" },
}, { label: "登记时间", prop: "djsj" },
// { { label: "录入单位", prop: "xxdjdwGajgmc" },
// name: "案事件编号", { label: "录入人", prop: "xxdjryXm" },
// id: "asjbh", ],
// placeholder: "请输入", cxUrl: "/jcyj/pageTbXwFxkyfwbzh",
// type: "text", Menu: [
// value: "", {
// col: "3", id: "kyfwbshlist",
// }, label: "可疑服务标识号列表",
// { index: "kyfwbshlist",
// name: "发现时间", auth: "M0101",
// id: "fxkyfwbzhFxsj", className: "iconfont iconrizhi",
// placeholder: "请输入", disabled: false,
// type: "date", },
// value: "", ],
// col: "3", leftMenus: [
// }, //左侧导航(模块第一个页面需要)
{ {
name: "服务标识号", id: "kyfwbshlist",
id: "bsh", label: "可疑服务标识号列表",
placeholder: "请输入", newAuth: "M01",
type: "text", index: "kyfwbshlist",
value: "", className: "iconfont icongongnengfuwu",
col: "3", hasChildren: false,
}, },
], {
cxDefaultFormThead: [ id: "hmdrylist",
{label: "信息主键编号", prop: "xxzjbh"}, label: "黑名单列表",
{label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc"}, newAuth: "M01",
{label: "服务标识号", prop: "kyxsfwbshBsh"}, index: "hmdrylist",
{label: "依据", prop: "kyxsfwbshKyyj"}, className: "iconfont icongongnengfuwu",
{label: "登记时间", prop: "djsj"}, hasChildren: false,
{label: "录入单位", prop: "xxdjdwGajgmc"}, },
{label: "录入人", prop: "xxdjryXm"}, {
], id: "xsbkMxgl",
cxUrl: "/jcyj/pageTbXwFxkyfwbzh", label: "监测预警信息汇集管理",
Menu: [ newAuth: "M01",
{ index: "xsbks",
id: "kyfwbshlist", label: "可疑服务标识号列表", className: "iconfont icongongnengfuwu",
index: "kyfwbshlist", auth: "M0101", hasChildren: false,
className: "iconfont iconrizhi", disabled: false, },
}, {
], id: "jcyjZdrygl",
}; label: "重点人员管理",
}, newAuth: "M01",
created() { index: "jcyjZdrygl",
this.$store.commit("user/SET_Menu", this.Menu); className: "iconfont icongongnengfuwu",
}, hasChildren: false,
methods: { },
setYJ(scope) { {
let row = scope.row; id: "queryBsh",
let params = new FormData(); label: "标识号管理",
params.append('glxxXxzjbh',row.xxzjbh); newAuth: "M01",
params.append('sjly','02'); index: "queryBsh",
params.append('yjxx',row.kyfwbzhFwbzh); className: "iconfont icongongnengfuwu",
this.$confirm("是否确认添加为列控预警对象?", "提示", hasChildren: false,
{confirmButtonText: "确定", cancelButtonText: "取消", type: "warning",}) },
.then(() => { {
insertLkyj(params).then(res=>{ id: "yjmxgl",
if(res.code===200){this.$message.success('提交成功')} label: "预警模型管理",
else {this.$message.warning(res.message)} newAuth: "M01",
}) index: "xsbkMxgl",
}) className: "iconfont icongongnengfuwu",
.catch(() => { hasChildren: false,
this.$message({type: "info", message: "已取消",}); },
{
id: "mxyjgl",
label: "监测预警模型运行管理",
newAuth: "M01",
index: "mxyjgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
header: "监测预警",
};
},
created() {
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: {
setYJ(scope) {
let row = scope.row;
let params = new FormData();
params.append("glxxXxzjbh", row.xxzjbh);
params.append("sjly", "02");
params.append("yjxx", row.kyfwbzhFwbzh);
this.$confirm("是否确认添加为列控预警对象?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
insertLkyj(params).then((res) => {
if (res.code === 200) {
this.$message.success("提交成功");
} else {
this.$message.warning(res.message);
}
}); });
}, })
} .catch(() => {
}; 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