Commit 139216b9 by lp784568205

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents 7976c5a6 3ab9d857
......@@ -4,17 +4,26 @@ import base from "@/api/base";
//黑名单添加
export const insterTbStHmdry = params =>
postform(`${base.alyIP}/jcyj/insterTbStHmdry`, params);
postform(`${base.alyIP2}/jcyj/insterTbStHmdry`, params);
//黑名单删除
export const deleteTbStHmdry = params =>
post(`${base.alyIP}/jcyj/deleteTbStHmdry`, params);
post(`${base.alyIP2}/jcyj/deleteTbStHmdry`, params);
//黑名单详情
export const selectTbStHmdry = params =>
postform(`${base.alyIP}/jcyj/selectTbStHmdry`, params);
postform(`${base.alyIP2}/jcyj/selectTbStHmdry`, params);
//黑名单更新
export const updateTbStHmdry = params =>
postform(`${base.alyIP}/jcyj/updateTbStHmdry`, params);
postform(`${base.alyIP2}/jcyj/updateTbStHmdry`, params);
//列控预警删除
export const deleteTbStJcyjgk = params =>
postform(`${base.alyIP}/jcyj/deleteTbStJcyjgk`, params);
post(`${base.alyIP2}/jcyj/deleteTbStJcyjgk`, params);
//列控预警添加
export const insertLkyj = params =>
postform(`${base.alyIP2}/jcyj/insertLkyj`, params);
//列控预警详情
export const selectTbStJcyjgk = params =>
postform(`${base.alyIP2}/jcyj/selectTbStJcyjgk`, params);
//列控预警更新
export const updateTbStJcyjgk = params =>
postform(`${base.alyIP2}/jcyj/updateTbStJcyjgk`, params);
......@@ -73,7 +73,7 @@ Vue.use(VueRouter);
const mainRouters = [
...indexRoutes,
zdxxRoutes,
...zdxxRoutes,
sfRoutes,
xxtkRoutes,
hxgcRoutes,
......@@ -88,7 +88,7 @@ const mainRouters = [
userAuthRoutes,
grxnpgRoutes,
dwxnpgRoutes,
hbyprwRoutes,
...hbyprwRoutes,
shseRoutes,
ajxscxbdRoutes,
bjzycxRoutes,
......
......@@ -73,14 +73,6 @@ const menuLayouts = [
component: () => import("@/views/hbyprw/hbyprw/detailHbyp.vue")
},
{
path: "/detailHcypcp",
name: "detailHcypcp",
meta: {
title: '合成研判产品详情'
},
component: () => import("@/views/hbyprw/hbyprw/detailHcypcp.vue")
},
{
path: "/jjhcyp",
name: "jjhcyp",
meta: {
......@@ -98,8 +90,18 @@ const menuLayouts = [
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
export default [
{
path: "/right",
component: menuLayout,
children: [...menuLayouts]
},
{
path: "/detailHcypcp",
name: "detailHcypcp",
meta: {
title: '合成研判产品详情'
},
component: () => import("@/views/hbyprw/hbyprw/detailHcypcp.vue")
},
]
\ No newline at end of file
......@@ -48,7 +48,22 @@ const menuLayouts = [
},
component: () => import("@/views/jcyjzxt/lkyj.vue")
},
{
path: "/lkyjAdd",
name: "lkyjAdd",
meta: {
title: '添加列控预警'
},
component: () => import("@/views/jcyjzxt/lkyj/add.vue")
},
{
path: "/jcyjmxgl",
name: "jcyjmxgl",
meta: {
title: '监测预警模型管理'
},
component: () => import("@/views/jcyjzxt/mxgl.vue")
},
];
export default {
......
......@@ -58,15 +58,6 @@ const menuLayouts = [
component: () => import("@/views/zdxx/qjgnsyrz.vue")
},
{
path: "/detailZdxx",
name: "detailZdxx",
meta: {
title: '阵地信息详情'
},
component: () => import("@/views/zdxx/zdxxgl/detailZdxx.vue")
},
{
path: "/queryZdcyryxx",
name: "queryZdcyryxx",
meta: {
......@@ -122,8 +113,17 @@ const menuLayouts = [
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
export default [
{
path: "/right",
component: menuLayout,
children: [...menuLayouts]
}, {
path: "/detailZdxx",
name: "detailZdxx",
meta: {
title: '阵地信息详情'
},
component: () => import("@/views/zdxx/zdxxgl/detailZdxx.vue")
}
]
\ No newline at end of file
......@@ -139,9 +139,9 @@
name: "出生地_国家和地区代码:",
id: "csdGjhdqdm",
type: "codeTree",
value: "",
codeTree: "CODE_XZQH",
codeTree: "CODE_GJ",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
......
......@@ -42,8 +42,24 @@
},
cxQueryField: [
{
name: "业务编号",
id: "ywbh",
name: "案事件相关人员编号",
id: "asjxgrybh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "姓名",
id: "xm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "人员身份证",
id: "cyzjZjhm",
placeholder: "请输入",
type: "text",
value: "",
......
......@@ -38,8 +38,24 @@
},
cxQueryField: [
{
name: "业务编号",
id: "ywbh",
name: "案事件编号",
id: "asjbh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "发现时间",
id: "fxkyfwbzhFxsj",
placeholder: "请输入",
type: "date",
value: "",
col: "3",
},
{
name: "服务标识号",
id: "kyfwbzhFwbzh",
placeholder: "请输入",
type: "text",
value: "",
......@@ -53,7 +69,7 @@
{label: "服务标识号", prop: "kyfwbzhFwbzh"},
],
cxUrl: "/jcyj/selectKyfwbshlist",
cxUrl: "/jcyj/pageTbXwFxkyfwbzh",
Menu: [
{
id: "kyfwbshlist",
......
......@@ -42,14 +42,45 @@
},
cxQueryField: [
{
name: "业务编号",
id: "ywbh",
name: "关联信息主键编号",
id: "glxxXxzjbh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "数据来源",
id: "sjly",
type: "select",
selectData: [
{
name: "嫌疑人",
value: "01",
},
{
name: "服务标识号",
value: "02",
},
{
name: "黑名单",
value: "03",
},
],
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
},
{
name: "预警信息",
id: "yjxx",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{label: "信息主键编号", prop: "xxzjbh"},
......@@ -87,13 +118,13 @@
methods: {
add(){
this.$router.push({
path:'/hmdrylistAdd'
path:'/lkyjAdd'
})
},
edit(scope) {
this.$router.push({
path: "/hmdrylistAdd",
query: {asjxgrybh: scope.row.asjxgrybh},
path: "/lkyjAdd",
query: {xxzjbh: scope.row.xxzjbh},
});
},
dele(scope) {
......
<template>
<div>
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
@handleRemove="handleRemove"
pageBs="addsqfbzl"
ref="formCompontent"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import {
doAddZczlxx,
doEditZczlxx
} from "@/api/zczl/zczl.js";
import {insertLkyj,updateTbStJcyjgk,selectTbStJcyjgk} from "@/api/jcyjzxt/hmd.js";
export default {
name: "addGzry",
components: {
formCompontent,
},
data() {
return {
title: "新增列控预警",
xsbh: "",
xsType: "",
propFormField: [
//基本信息
{
title: "",
id: 1,
objStr: "",
index: 0,
data: [
{
name: "关联信息主键编号:",
id: "glxxXxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "数据来源:",
id: "sjly",
type: "setValue",
value: "",
placeholder: "请输入",
codeOptions:[
{label:'嫌疑人', value:'01'},
{label:'服务标识号', value:'02'},
{label:'黑名单', value:'03'},
],
col: "2",
},
{
name: "预警信息:",
id: "yjxx",
type: "text",
value: "",
placeholder: "请输入",
col: "11",
},
],
},
],
formLabelAlign: {},
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "房产信息列表",
to: "/queryFcxx",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改房产信息" : "新增房产信息",
to: "/addFcxx",
isActive: true,
},
],
type: "",
xxzjbh: "",
result: "",
removeFileXxzjbh: [],
flag: '3'
};
},
methods: {
changeFlge() {
this.flag = '2'
},
submit(params) {
if(this.$route.query.xxzjbh){
params.append('xxzjbh',this.$route.query.xxzjbh)
updateTbStJcyjgk(params).then(res=>{
if(res.code===200){
this.$message.success('保存成功');
this.$router.go(-1)
}
else {
this.$message.warning(res.message)
}
})
}
else {
insertLkyj(params).then(res=>{
if(res.code===200){
this.$message.success('保存成功');
this.$router.go(-1)
}
else {
this.$message.warning(res.message)
}
});
}
},
handleRemove(val) {
this.removeFileXxzjbh.push(val.xxzjbh);
},
zczlSubmit(params) {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
if (!this.xxzjbh) {
this.addSubmit(params, loading);
} else {
this.editSubmit(params, loading);
}
},
addSubmit(params, loading) {
params.append("spsftg", this.flag);
if (this.type == "fqzl") {
params.append("sfqqzl", "1");
}
params.append("xsbh", this.xsbh);
params.append("xsType", this.xsType);
doAddZczlxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
if (this.type == "fqzl") {
this.$router.push("wsqfbdzczl");
} else {
this.$router.push("wfqdzczl");
}
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
editSubmit(params, loading) {
params.append("zczlbh", this.xxzjbh);
params.append("delFjXxzjbh", this.removeFileXxzjbh.join(","));
params.append("spsftg", "3");
if (this.type == "fqzl") {
params.append("sfqqzl", "1");
}
doEditZczlxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
if (this.type == "fqzl") {
this.$router.push("wsqfbdzczl");
} else {
this.$router.push("wfqdzczl");
}
},
});
} else {
loading.close();
this.$message.error("添加失败,请检查数据格式是否正确");
}
});
},
getshuju() {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
var self = this;
let params = new FormData();
params.append("asjxgrybh", this.asjxgrybh);
selectTbStJcyjgk(params).then((res) => {
var result = res.data.result;
this.result = result;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
this.$set(this.formLabelAlign, i.id, result[i.id]);
});
}
this.$forceUpdate();
});
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
},
},
mounted() {
if (this.$router.currentRoute.query.xsType != null && this.$router.currentRoute.query.xsType != '') {
this.xsType = this.$router.currentRoute.query.xsType
}
if (this.$router.currentRoute.query.xsbh != null && this.$router.currentRoute.query.xsbh != '') {
this.xsbh = this.$router.currentRoute.query.xsbh
}
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.type) {
this.type = this.$route.query.type;
}
if (this.$route.query.xxzjbh) {
this.title = "修改列控预警";
this.asjxgrybh = this.$route.query.xxzjbh;
this.getshuju();
}
},
};
</script>
<style scoped lang="scss">
</style>
<template>
<div class="Content">
<right-content
pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@toXdzl="toXdzl"
@examine="examine"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text" v-if="scope.scope.row.spsftg != '通过'">删除</el-button>
<el-button @click="ONPJ(scope.scope)" type="text" v-if="scope.scope.row.nfpj=='1'">评价</el-button>
<el-button @click="examine(scope.scope)"
v-if="scope.scope.row.spsftg == '未通过' || scope.scope.row.spsftg == '草稿'" type="text">提请审批
</el-button>
</template>
</right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl infoType="2" v-if="drawer" :zczlbh="zczlbh" :fpbh="fpbh" :sub="sub"></zczl>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import { loginByZjhm } from "@/api/index";
export default {
name: "rlqbxsxx",
components: {
rightContent, zczl
},
data() {
return {
zczlbh: '',
fpbh: '',
sub: '',
drawer: false,
tableOperation: true,
tableOperationWidth: 200,
header: "抓捕犯罪嫌疑人列表",
pageBs: "zbfzxyrlist",
cxFormData: {
limit: 10,
page: 1,
},
cxQueryField: [
{
name: "姓名",
id: "zhfzxyrXm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "性别",
id: "zhfzxyrXbdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_XB",
},
{
name: "出生日期",
id: "date",
type: "datetime",
value: "",
placeholder: "请选择",
col: "3",
},
],
cxDefaultFormThead: [
{label: "姓名", prop: "zhfzxyrXm"},
{label: "户籍地址_行政区划代码", prop: "zhfzxyrHjdzXzqhdm"},
{label: "性别代码", prop: "zhfzxyrXbdm"},
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
],
cxUrl: "/qgasj/getAsjListByZjhm",
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: "lkyj",
label: "列控预警信息列表",
newAuth: "M01",
index: "lkyj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [
{
id: "zbfzxyrlist",
label: "抓捕犯罪嫌疑人列表",
index: "zbfzxyrlist",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.login()
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: {
login() {
var self = this;
loginByZjhm({
zjhm:'142302198901012417'
}).then((res) => {});
},
examine(scope) {
console.log(scope);
this.$confirm("此操作将该指令提请审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlTqsp({
zczlbh: scope.row.zczlbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "提请审批成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消提请审批",
});
});
},
edit(scope) {
this.$router.push({
path: "addsqfbzl",
query: {xxzjbh: scope.row.zczlbh, type: "xdzl"},
});
},
toXdzl() {
this.$router.push({
path: "/addsqfbzl",
query: {
type: "xdzl",
},
});
},
pingjia(scope) {
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlToDelete({
zczlbh: scope.row.zczlbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.sub = 'XQ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
ONPJ(scope) {
this.sub = 'PJ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
},
mounted() {
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -35,7 +35,7 @@
import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import { loginByZjhm } from "@/api/index";
export default {
name: "rlqbxsxx",
components: {
......@@ -57,25 +57,86 @@
page: 1,
},
cxQueryField: [
{
name: "业务编号",
id: "ywbh",
name: "姓名",
id: "zhfzxyrXm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "性别",
id: "zhfzxyrXbdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_XB",
},
{
name: "出生日期",
id: "date",
type: "datetime",
value: "",
placeholder: "请选择",
col: "3",
},
],
cxDefaultFormThead: [
{label: "姓名", prop: "zhfzxyrXm"},
{label: "别名", prop: "zhfzxyrBmch"},
{label: "人员身份证", prop: "zhfzxyrCyzjZjhm"},
{label: "户籍地址_地址名称", prop: "zhfzxyrHjdzDzmc"},
{label: "户籍地址_行政区划代码", prop: "zhfzxyrHjdzXzqhdm"},
{label: "性别代码", prop: "zhfzxyrXbdm"},
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
],
cxUrl: "/jcyj/selectZbfzxyrlist",
cxUrl: "/jcyj/pageTbXwjcZbfzxyr",
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: "lkyj",
label: "列控预警信息列表",
newAuth: "M01",
index: "lkyj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "jcyjmxgl",
label: "监测预警模型管理",
newAuth: "M01",
index: "jcyjmxgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [
{
id: "zbfzxyrlist",
......@@ -89,10 +150,19 @@
};
},
created() {
this.login()
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: {
login() {
var self = this;
loginByZjhm({
zjhm:'142302198901012417'
}).then((res) => {});
},
examine(scope) {
console.log(scope);
this.$confirm("此操作将该指令提请审批, 是否继续?", "提示", {
......
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