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>
<div class="Content">
<right-content
:tableOperation="true"
pageBs="zbfzxyrlist"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="setYJ(scope.scope)" type="text" >列控预警</el-button>
</template>
</right-content>
</div>
<div class="Content">
<right-content
:tableOperation="true"
pageBs="zbfzxyrlist"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="setYJ(scope.scope)" type="text">列控预警</el-button>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {insertLkyj} from "@/api/jcyjzxt/hmd.js";
export default {
name: "rlqbxsxx",
components: {
rightContent
},
data() {
return {
header: "抓捕犯罪嫌疑人列表",
pageBs: "kyfwbshlist",
cxFormData: {
limit: 10,
page: 1,
import rightContent from "@c/ptCxForm_components.vue";
import { insertLkyj } from "@/api/jcyjzxt/hmd.js";
export default {
name: "rlqbxsxx",
components: {
rightContent,
},
data() {
return {
header: "抓捕犯罪嫌疑人列表",
pageBs: "kyfwbshlist",
cxFormData: {
limit: 10,
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: "服务标识号类型",
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",
},
// {
// name: "案事件编号",
// id: "asjbh",
// placeholder: "请输入",
// type: "text",
// value: "",
// col: "3",
// },
// {
// name: "发现时间",
// id: "fxkyfwbzhFxsj",
// placeholder: "请输入",
// type: "date",
// value: "",
// col: "3",
// },
{
name: "服务标识号",
id: "bsh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{label: "信息主键编号", prop: "xxzjbh"},
{label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc"},
{label: "服务标识号", prop: "kyxsfwbshBsh"},
{label: "依据", prop: "kyxsfwbshKyyj"},
{label: "登记时间", prop: "djsj"},
{label: "录入单位", prop: "xxdjdwGajgmc"},
{label: "录入人", prop: "xxdjryXm"},
],
cxUrl: "/jcyj/pageTbXwFxkyfwbzh",
Menu: [
{
id: "kyfwbshlist", label: "可疑服务标识号列表",
index: "kyfwbshlist", auth: "M0101",
className: "iconfont iconrizhi", disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
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: "已取消",});
// {
// name: "案事件编号",
// id: "asjbh",
// placeholder: "请输入",
// type: "text",
// value: "",
// col: "3",
// },
// {
// name: "发现时间",
// id: "fxkyfwbzhFxsj",
// placeholder: "请输入",
// type: "date",
// value: "",
// col: "3",
// },
{
name: "服务标识号",
id: "bsh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{ label: "信息主键编号", prop: "xxzjbh" },
{ label: "可疑服务标识号类型", prop: "kyxsfwbshBshlxMc" },
{ label: "服务标识号", prop: "kyxsfwbshBsh" },
{ label: "依据", prop: "kyxsfwbshKyyj" },
{ label: "登记时间", prop: "djsj" },
{ label: "录入单位", prop: "xxdjdwGajgmc" },
{ label: "录入人", prop: "xxdjryXm" },
],
cxUrl: "/jcyj/pageTbXwFxkyfwbzh",
Menu: [
{
id: "kyfwbshlist",
label: "可疑服务标识号列表",
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() {
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>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -71,73 +71,7 @@
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
],
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: [
{
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