Commit 23336bcd by xue_wengang

监测预警

parent 6d3fce48
......@@ -31,6 +31,7 @@ if (
base.alyIP14 = 'http://74.6.54.163:9002' // 西藏 人档车档
base.alyIP15 = 'http://65.26.2.252:8006' // 全国在逃
base.alyIP16 = 'http://74.6.54.163:8080' //新版案件标注
base.alyIP17 = 'http://74.6.54.170:8007' //串并研判
} else {
//------------------------------服务器路径**测试**----------------------------------
base.alyIP = "/apialy";
......@@ -48,6 +49,7 @@ if (
base.alyIP14 = 'http://74.6.54.163:9002' // 西藏 人档车档
base.alyIP15 = 'http://65.26.2.252:8006' // 全国在逃
base.alyIP16 = 'http://74.6.54.163:8080' //新版案件标注
base.alyIP17 = 'http://74.6.54.170:8007' //串并研判
}
export default base;
import { get, post, postform } from "@/utils/http.js";
import base from "@/api/base";
// 修改资金
export const updateYczj = params =>
postform(`${base.alyIP}/yczj/updateYczj`, params);
// 新增资金
export const addYczj = params =>
postform(`${base.alyIP}/yczj/addYczj`, params);
// 修改资金
export const getYczj = params =>
post(`${base.alyIP}/yczj/getYczj`, params);
// 模型删除
export const deleteYczj = params =>
post(`${base.alyIP}/yczj/deleteYczj`, params);
......@@ -73,8 +73,8 @@ export const addHcxx = params =>
postform(`${base.alyIP}/xshb/addHcxx`, params);
// 1.2.1 登记工作线索
export const addXs = params =>
postform(`${base.alyIP}/xshb/addXs`, params);
export const addGzxs = params =>
postform(`${base.alyIP}/xshb/addGzxs`, params);
// 1.2.3.1 线索信息修改保存
export const updateXs = params =>
......@@ -107,4 +107,20 @@ export const getWfqdzczlListNew = params =>
//认定
export const rdXsglbsh = params =>
post(`${base.alyIP}/xshb/rdXsglbsh`, params);
//查询工作线索列表
export const getGzxsList = params =>
post(`${base.alyIP}/xshb/getGzxsList`, params);
//修改工作线索
export const updateGzxs = params =>
postform(`${base.alyIP}/xshb/updateGzxs`, params);
//工作线索详情
export const getGzxsByXxzjbh = params =>
post(`${base.alyIP}/xshb/getGzxsByXxzjbh`, params);
//工作线索删除
export const deleteGzxs = params =>
post(`${base.alyIP}/xshb/deleteGzxs`, params);
......@@ -741,7 +741,8 @@
pageBs != 'queryRyypNew' &&
pageBs != 'transactionFlow' &&
pageBs != 'queryBsh' &&
pageBs != 'csgwdzczl'
pageBs != 'csgwdzczl' &&
pageBs != 'xxzasdgl'
"
>
<i class="el-icon-plus"></i> 新增
......@@ -1111,19 +1112,20 @@
columnTitle.prop == 'jyaq' ||
columnTitle.prop == 'czxxParam' ||
columnTitle.prop == 'bgnrms' ||
columnTitle.prop == 'menuString'
columnTitle.prop == 'menuString' ||
columnTitle.prop == 'zjycyy'
"
>
<span
<div
:title="scope.row[columnTitle.prop]"
style="
font-size: 13px !important;
white-space: nowrap;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
"
v-html="scope.row[columnTitle.prop]"
></span>
></div>
</div>
<div v-else-if="columnTitle.prop == 'xnpgPgsj'">
<span>{{ scope.row.xnpgKssj + "/" + scope.row.xnpgJssj }}</span>
......@@ -1137,6 +1139,17 @@
>C</span
>
</div>
<div v-else-if="columnTitle.prop == 'ajsjGroup'">
<div v-if="scope.row['larq']">
立案:{{ $moment(scope.row["larq"]).format("YYYY-MM-DD") }}
</div>
<div v-if="scope.row['asjfssjAsjfskssj']">
发案:{{ scope.row["asjfssjAsjfskssj"] }}
</div>
<div v-if="scope.row['zczjZxsj01']">
破案:{{ $moment(scope.row["zczjZxsj01"]).format("YYYY-MM-DD") }}
</div>
</div>
<div
v-else-if="
columnTitle.prop == 'zjhm' && pageASs == 'adjustZdxxgl'
......@@ -1867,6 +1880,7 @@
v-if="
!(
pageBs == 'gnsyrz' ||
pageBs == 'xxzasdgl' ||
pageBs == 'queryXsccNew' ||
pageBs == 'queryWcqkNew' ||
pageBs == 'queryGxqkNew' ||
......@@ -4617,6 +4631,13 @@ export default {
});
} else {
response.data.rows.forEach((item) => {
item.alllb = item.ajlbdm;
if (item.zatzJyqk != null && item.zatzJyqk != "") {
item.alllb = item.alllb + "/" + item.zatzJyqk;
if (item.ajxlbdm != null && item.ajxlbdm != "") {
item.alllb = item.alllb + "/" + item.ajxlbdm;
}
}
if (item.listHasChildren > 0) {
item.hasChildren = true;
}
......
......@@ -225,6 +225,13 @@ export default {
} else if (item.id == "queryJftj") {
let path = `${this.$baseUrl.alyIP5}/toFstj`;
window.open(path, "_blank");
} else if (item.id == "xsbkOther") {
this.$router.pushToTab({
path: "/xsbk",
});
} else if (item.id == "cbyp/toCbyp") {
let path = `${this.$baseUrl.alyIP17}/cbyp/toCbyp`;
window.open(path, "_blank");
} else {
this.$router.push(item.index);
}
......
......@@ -84,11 +84,19 @@ const menuLayouts = [
path: "/jcyjZdrygl",
name: "jcyjZdrygl",
meta: {
title: '重点人员列表'
title: '高危人群'
},
component: () => import("@/views/jcyjzxt/zdry/jcyjZdrygl.vue")
},
{
path: "/xxzasdgl",
name: "xxzasdgl",
meta: {
title: '新型作案手段'
},
component: () => import("@/views/jcyjzxt/zdry/xxzasdgl.vue")
},
{
path: "/queryBsh",
name: "queryBsh",
meta: {
......@@ -97,6 +105,14 @@ const menuLayouts = [
component: () => import("@/views/jcyjzxt/queryBsh.vue")
},
{
path: "/queryYczj",
name: "queryYczj",
meta: {
title: '异常资金列表'
},
component: () => import("@/views/jcyjzxt/yczj/queryYczj.vue")
},
{
path: "/yjmxgl",
name: "yjmxgl",
meta: {
......@@ -104,6 +120,14 @@ const menuLayouts = [
},
component: () => import("@/views/jcyjzxt/yjmxgl/yjmxgl.vue")
},
{
path: "/afqstj",
name: "afqstj",
meta: {
title: '案发趋势统计'
},
component: () => import("@/views/jcyjzxt/afqstj.vue")
},
];
export default [
......@@ -136,4 +160,20 @@ export default [
},
component: () => import("@/views/jcyjzxt/yjmxgl/yjmxInfo.vue")
},
{
path: "/addYczj",
name: "addYczj",
meta: {
title: '新增异常资金'
},
component: () => import("@/views/jcyjzxt/yczj/addYczj.vue")
},
{
path: "/yczjInfo",
name: "yczjInfo",
meta: {
title: '异常资金详情'
},
component: () => import("@/views/jcyjzxt/yczj/yczjInfo.vue")
},
];
......@@ -25,14 +25,6 @@ const menuLayouts = [
},
component: () => import("@/views/xshb/queryXshb/queryXshba.vue")
},
// {
// path: "/djgzxs",
// name: "djgzxs",
// meta: {
// title: '线索核办'
// },
// component: () => import("@/views/xshb/xshb/djgzxs.vue")
// },
{
path: "/xsbk",
name: "xsbk",
......@@ -80,7 +72,15 @@ export default [
path: "/right",
component: menuLayout,
children: [...menuLayouts]
},
},
{
path: "/xsDetail",
name: "xsDetail",
meta: {
title: '工作中的线索详情'
},
component: () => import("@/views/xshb/xshb/gzjlxz/xsDetail.vue")
},
{
path: "/adjustXsbks",
name: "adjustXsbks",
......
......@@ -926,16 +926,7 @@ export default {
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
{
text: "上线以来",
onClick(picker) {
const end = new Date();
let firstDayOfPreMonth = "2021-05-27";
firstDayOfPreMonth = new Date(firstDayOfPreMonth);
picker.$emit("pick", [firstDayOfPreMonth, end]);
},
},
}
],
},
// 城市编号
......
<template>
<div>
<form-compontent
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
>
</form-compontent>
</div>
</template>
<script>
import formCompontent from "@c/form.vue";
import { addYczj, updateYczj, getYczj } from "@/api/jcyjzxt/yczj.js";
export default {
name: "addYczj",
components: {
formCompontent,
},
data() {
return {
title: "新增异常资金",
propFormField: [
//基本信息
{
id: 1,
objStr: "",
index: 0,
data: [
{
name: "姓名:",
id: "ckrxm",
type: "text",
prop: "checkEmpty",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "证件号码:",
id: "ckrzjhm",
type: "text",
prop: "checkEmpty",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "银行卡号:",
id: "ckrkh",
type: "text",
prop: "checkEmpty",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "资金异常原因:",
id: "zjycyy",
type: "textarea",
value: "",
placeholder: "请输入",
col: "18",
},
],
},
],
formLabelAlign: {},
Loading: null,
};
},
methods: {
submit(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) {
debugger;
addYczj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
window.opener.location.reload();
window.close();
},
});
} else {
this.$message.error(res.message);
loading.close();
}
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
updateYczj(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
confirmButtonText: "确定",
type: "success",
callback: () => {
loading.close();
window.opener.location.reload();
window.close();
},
});
} else {
this.$message.error(res.message);
loading.close();
}
});
},
getshuju() {
var self = this;
getYczj({
xxzjbh: this.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
var result = res.data.data;
self.propFormField.forEach((fieldItem) => {
if (fieldItem.data && fieldItem.data.length > 0) {
fieldItem.data.forEach((i) => {
self.$set(self.formLabelAlign, i.id, result[i.id]);
});
}
self.$forceUpdate();
});
self.$forceUpdate();
}
setTimeout(() => {
self.Loading.close();
}, 500);
});
},
},
created() {
if (this.$route.query.xxzjbh) {
this.Loading = this.$loading({
lock: true,
text: "正在获取数据...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.title = "异常资金修改";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
},
watch: {},
};
</script>
<style scoped lang="scss">
</style>
\ No newline at end of file
<template>
<div class="Content" id="queryYczj">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
@toInfor="toInfor"
@add="add"
@edit="edit"
@dele="dele"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteYczj } from "@/api/jcyjzxt/yczj.js";
export default {
name: "queryYczj",
components: {
rightContent,
},
data() {
return {
header: "监测预警",
pageBs: "queryYczj",
cxFormData: {
limit: 10,
page: 1,
ckrxm: "",
ckrzjhm: "",
ckrkh: "",
},
cxQueryField: [
{
name: "持卡人姓名",
id: "ckrxm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "持卡人证件号码",
id: "ckrzjhm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "持卡人银行卡号",
id: "ckrkh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{ label: "持卡人姓名", prop: "ckrxm" },
{ label: "持卡人证件号码", prop: "ckrzjhm" },
{ label: "持卡人银行卡号", prop: "ckrkh" },
{ label: "登记人", prop: "xxdjryXm" },
{ label: "登记时间", prop: "djsj" },
{ label: "资金异常原因", prop: "zjycyy",width:300 },
],
cxUrl: "/yczj/getYczjList",
Menu: [
{
id: "queryYczj",
label: "异常资金管理",
index: "queryYczj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
toInfor(scope) {
debugger;
this.$router.pushToTab({
path: "/yczjInfo",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
dele(scope) {
this.$confirm("此操作将永久删除该用户, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteYczj({
xxzjbh: scope.row.xxzjbh,
}).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.pushToTab({
path: "/addYczj",
query: {
xxzjbh: scope.row.xxzjbh,
},
});
},
add() {
this.$router.pushToTab({
path: "/addYczj",
});
},
},
};
</script>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.hbyp {
font-size: 14px;
font-family: Source Han Sans CN;
font-weight: 400;
line-height: 22px;
color: #007aff;
margin-right: 16px;
cursor: pointer;
}
.btnGroup {
display: flex;
align-items: center;
margin-top: 10px;
.btn {
width: 70px;
text-align: center;
border: 1px solid #dcdfe6;
border-radius: 5px;
height: 30px;
line-height: 30px;
margin-right: 8px;
cursor: pointer;
}
.btnActive {
background: #ecf5ff;
}
}
</style>
<style lang="scss">
#queryYczj .el-checkbox-button,
.el-checkbox-button__inner {
margin-left: 10px;
border-radius: 4px !important;
}
#queryYczj .el-checkbox-button__inner {
border: 1px solid #dcdfe6;
}
</style>
<template>
<div class="Content" id="userDetail">
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="用户详情"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/PersonInfor.vue";
import { getJcyjMxById } from "@/api/jcyjzxt/yjmxgl.js";
export default {
name: "userDetail",
components: {
rightContent,
},
data() {
return {
cxQueryField: [
{
title: "",
id: 1,
objStr: "", //对象中的对应字段
data: [
{
label: "模型名称:",
prop: "mxName",
col: "3",
},
{
label: "预警对象:",
prop: "mxSyfwTxt",
col: "3",
},
{
label: "预警条件:",
prop: "mxTxt",
col: "3",
},
{
label: "预警周期",
col: "3",
prop: "mxYjzq",
},
{
label: "预警方式",
col: "3",
prop: "mxYjfsdmStr",
},
{
label: "预警处置:",
prop: "mxMs",
col: "6",
},
],
},
],
pageFooterProps: [],
pageObject: {},
Loading: null,
};
},
mounted() {},
methods: {
getInfor() {
getJcyjMxById({
xxzjbh: this.$route.query.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
if (res.data.mx.mxYjzq) {
res.data.mx.mxYjzq = res.data.mx.mxYjzq + "分钟";
}
this.pageObject = res.data.mx;
}
this.Loading.close();
});
},
},
created() {
this.Loading = this.$loading({
lock: true,
text: "正在获取数据...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
this.getInfor();
},
};
</script>
<style scoped lang="scss">
</style>
......@@ -649,40 +649,12 @@ export default {
col: 1,
},
],
leftMenus: [
{
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: "yjmxgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.getTree();
},
methods: {
......@@ -757,7 +729,7 @@ export default {
// } else if (scope.row.bkdxLxdm == "05") {
// type = "KyJdc";
// }
debugger
debugger;
var params = {
type: "KyRy",
kybh: scope.row.zjhm,
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteTbStHmdry } from "@/api/jcyjzxt/hmd.js";
import { insertLkyj } from "@/api/jcyjzxt/hmd.js";
export default {
name: "xxzasdgl",
components: { rightContent },
data() {
return {
header: "新型作案手段",
pageBs: "xxzasdgl",
cxFormData: {
limit: 10,
page: 1,
ajmc: "",
asjbh: '',
ladw: '',
larqStart: "",
larqEnd: "",
},
cxQueryField: [
{
name: "案件名称",
id: "ajmc",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "案件编号",
id: "asjbh",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "立案单位",
id: "ladw",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_UNIT",
},
{
name: "立案日期",
id: "larqStart",
id2: "larqEnd",
type: "zdyDate",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "案件编号",
prop: "asjbh",
},
{
label: "案件名称",
prop: "ajmc",
},
{
label: "立案单位",
prop: "ladwGajgmc",
},
{
label: "案件时间",
prop: "ajsjGroup",
width: 200,
},
{
label: "案件类别",
prop: "alllb",
width: 260,
},
{
label: "业务状态",
prop: "zcjddm",
},
{
label: "简要案情",
prop: "jyaq",
width: 300,
},
],
cxUrl: "/jcyj/getXxzasdList",
Menu: [
{
id: "xxzasdgl",
label: "新型作案手段",
index: "xxzasdgl",
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.asjxgrybh);
params.append("sjly", "03");
params.append("yjxx", row.cyzjZjhm);
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: "已取消" });
});
},
add() {
this.$router.push({ path: "/hmdrylistAdd" });
},
edit(scope) {
this.$router.push({
path: "/hmdrylistAdd",
query: { asjxgrybh: scope.row.asjxgrybh },
});
},
dele(scope) {
this.$confirm("是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteTbStHmdry({ asjxgrybh: scope.row.asjxgrybh }).then((res) => {
if (res.success && res.code == 200) {
this.$message({ type: "success", message: "删除成功" });
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({ type: "info", message: "已取消删除" });
});
},
},
};
</script>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
.hbyps {
width: 64px;
height: 24px;
background: #ffffff;
border: 1px solid #007aff;
opacity: 1;
border-radius: 4px;
text-align: center;
align-items: center;
display: inline-block;
font-size: 12px !important;
font-weight: 400 !important;
color: #007aff !important;
cursor: pointer;
}
</style>
......@@ -481,6 +481,70 @@
</div>
</div>
</div>
<div style="margin-top: 20px">
<div class="add">
<div class="contents">
<div>
<div class="title">工作线索管理</div>
<div style="margin: -20px 0 0 38px">
<div class="zczz">
<el-table
v-loading="loadingGzxs"
:data="gzxsList"
border
stripe
style="width: 100%"
>
<el-table-column
v-for="(glgxItem, index) in gzxsxlList"
:key="index"
:label="glgxItem.label"
:width="glgxItem.width"
align="center"
>
<template slot-scope="scope">
<div>
<span v-html="scope.row[glgxItem.prop]"> </span>
</div>
</template>
</el-table-column>
<el-table-column label="操作" width="200" align="center">
<template slot-scope="scope">
<span
style="margin-right: 10px"
class="anList"
@click="goGZxs(scope)"
>查看详情</span
>
<span
style="margin-right: 10px"
class="anList"
@click="editGZxs(scope)"
>修改</span
>
<span class="anList" @click="delGZxs(scope)">删除</span>
</template>
</el-table-column>
</el-table>
<div>
<el-pagination
background
@size-change="handleSizeChangeGz"
@current-change="handleCurrentChangeGz"
:current-page.sync="pageGz"
:page-sizes="[5, 10, 20, 50]"
:page-size="limitGz"
layout="sizes,prev, pager, next"
:total="tableDataLengthGz"
>
</el-pagination>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="margin: 20px">
<div class="add">
<div class="contents" v-loading="loadingGzjl">
......@@ -688,6 +752,8 @@ import {
getHcglasjList,
getWfqdzczlListNew,
rdXsglbsh,
getGzxsList,
deleteGzxs
} from "@/api/xshb/xshb.js";
import { zlToDelete, zlTqsp } from "@/api/zczl/zczl.js";
import { getZdxsByxxzjbh } from "@/api/zdxsxx.js";
......@@ -1384,6 +1450,49 @@ export default {
zczlbh: "",
fpbh: "",
sub: "",
//工作线索
gzxsxlList: [
{
label: "线索名称",
width: "200",
prop: "xsmc",
},
{
width: "200",
label: "线索类别",
prop: "xslbStr",
},
{
width: "200",
label: "涉及地区",
prop: "sjdqStr",
},
{
label: "登记单位",
width: "200",
prop: "xxdjdwGajgmc",
},
{
label: "登记人",
width: "200",
prop: "xxdjryXm",
},
{
label: "登记时间",
width: "200",
prop: "djsj",
},
{
label: "线索详情",
width: "200",
prop: "xsxq",
},
],
gzxsList: [],
loadingGzxs: false,
pageGz: 1,
limitGz: 5,
tableDataLengthGz: 0,
};
},
created() {
......@@ -1396,8 +1505,74 @@ export default {
this.getXsglbshList();
this.getHcxxList();
this.getWfqdzczlListNew();
this.getGzxsListTable();
},
methods: {
goGZxs(row) {
this.$router.pushToTab({
path: "/xsDetail",
query: {
xxzjbh: row.row.xxzjbh,
},
});
},
editGZxs(row) {
debugger
this.$router.pushToTab({
path: "/djgz",
query: {
xxzjbh: row.row.xxzjbh,
},
});
},
delGZxs(row) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteGzxs({
xxzjbh: row.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.getGzxsListTable();
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
this.loadingZC = false;
});
},
handleSizeChangeGz(val) {
this.limitGz = val;
this.getGzxsList();
},
handleCurrentChangeGz(val) {
this.pageGz = val;
this.getGzxsList();
},
getGzxsListTable() {
getGzxsList({
glxxXxzjbh: this.xsbh,
page: this.pageGz,
limit: this.limitGz,
}).then((res) => {
if (res.code == 200) {
this.gzxsList = res.data.rows;
this.tableDataLengthGz = res.data.total;
this.loadingGzxs = false;
}
});
},
submitRd() {
rdXsglbsh({
...this.scopeObj,
......@@ -1583,14 +1758,14 @@ export default {
xxzjbh: this.xsbh,
},
});
} else if (this.xslx== "xshb") {
} else if (this.xslx == "xshb") {
this.$router.pushToTab({
path: "/djgzs",
query: {
xsbh: this.xsbh,
},
});
} else if (this.xslx== "zdqb") {
} else if (this.xslx == "zdqb") {
this.$router.pushToTab({
path: "/adjustZdxsxx",
query: {
......@@ -1602,6 +1777,9 @@ export default {
} else if (item.id == "djgzxs") {
this.$router.pushToTab({
path: "/djgz",
query: {
glxxzjbh: this.xsbh,
},
});
} else if (item.id == "xdzl") {
debugger;
......
......@@ -52,11 +52,11 @@
import {
getAjxxByAsjbh,
getXyrxxByZjhm,
addXs,
updateXs,
getXsByXsbh,
addGzxs,
delXsgljbr,
delXsglxyr,
updateGzxs,
getGzxsByXxzjbh
} from "@/api/xshb/xshb.js";
import FjSc from "@/views/xshb/xshb/gzjlxz/fksc.vue";
export default {
......@@ -101,7 +101,7 @@ export default {
},
{
name: "线索类别:",
id: "xsfldm",
id: "xslbdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XSLY",
......@@ -112,7 +112,7 @@ export default {
},
{
name: "涉及地区:",
id: "sjdq",
id: "sjdqdm",
type: "codeTree",
codeOptions: [],
codeTree: "CODE_XZQH",
......@@ -334,29 +334,6 @@ export default {
},
],
},
// {
// name: '核查报告电子文档:',
// id: 'hcbgDzwd',
// fileId: 'hcbgDzwd',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
// {
// name: '四长签字扫描件:',
// id: 'szqzySmj',
// fileId: 'szqzySmj',
// type: 'file',
// value: '0',
// placeholder: '',
// col: '1',
// requestUrl: 'http://39.99.224.27:8006/xsHcfkSp/xsHcfk',
// fileList: []
// },
{
name: "附件上传:",
id: "qtFj",
......@@ -370,7 +347,7 @@ export default {
},
],
formLabelAlign: {},
st: "xs",
st: "gzxs",
bottonType: "fk",
loading: true,
xszxx: [],
......@@ -379,7 +356,7 @@ export default {
};
},
created() {
if (this.$route.query.xsbh) {
if (this.$route.query.xxzjbh) {
this.getTqHxFksj();
this.headerTitle = "登记工作修改";
}
......@@ -472,17 +449,14 @@ export default {
},
// 提取反馈的回显
getTqHxFksj() {
debugger;
this.loadingFk = true;
var self = this;
getXsByXsbh({
xsbh: this.$route.query.xsbh,
getGzxsByXxzjbh({
xxzjbh : this.$route.query.xxzjbh,
}).then((res) => {
debugger;
// 线索反馈
this.loadingFk = false;
var result = res.data.xsxq.xs;
console.log(result, "1234567890");
var result = res.data.xsxq.gzxs;
self.formField.forEach((item, i) => {
var fieldVale = result[item.id];
......@@ -1289,9 +1263,9 @@ export default {
this.loadingFk = true;
this.loading = true;
let arr = {};
if (this.$route.query.xsbh) {
params.append("xs.xsbh", this.$route.query.xsbh);
updateXs(params).then((res) => {
if (this.$route.query.xxzjbh) {
params.append("gzxs.xxzjbh", this.$route.query.xxzjbh);
updateGzxs(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
......@@ -1309,7 +1283,8 @@ export default {
}
});
} else {
addXs(params).then((res) => {
params.append('gzxs.glxxXxzjbh',this.$route.query.glxxzjbh)
addGzxs(params).then((res) => {
if (res.code == "200") {
this.$alert("提交成功!", "提示", {
confirmButtonText: "确定",
......@@ -1467,51 +1442,7 @@ export default {
},
},
watch: {
// 'formLabelAlign.hcjgdm': {
// handler: function (val, oldval) {
// debugger
// console.log(val)
// if (val == '02' || val == '03') {
// this.rules['hcfkglxyr.xm'] = this.$rules.checkEmpty
// this.rules['hcfkglxyr.gmsfzh'] = this.$rules.checkEmpty
// this.rules['asjbh'] = this.$rules.checkEmpty
// // this.$set(this.rules, 'hcfkglxyr.xm', this.$rules.checkEmpty)
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', this.$rules.checkEmpty)
// // this.rules.hcfkglxyr.xm = this.$rules.checkEmpty
// // this.rules.hcfkglxyr.gmsfzh = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcfkglxyr.xm'] = null
// this.rules['asjbh'] = null
// this.rules['hcfkglxyr.gmsfzh'] = null
// // this.$set(this.rules, 'hcfkglxyr.xm', '')
// // this.$set(this.rules, 'hcfkglxyr.gmsfzh', '')
// this.$forceUpdate()
// }
// },
// deep: true
// },
// formLabelAlign: {
// handler: function (val, oldval) {
// console.log(val)
// if (this.$route.query.fkid) {
// this.rules['hcjgdm'] = this.$rules.checkEmpty
// this.rules['sjhyly'] = this.$rules.checkEmpty
// this.rules['fknrJyqk'] = this.$rules.checkEmpty
// this.initFields()
// } else {
// this.rules['hcjgdm'] = null
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// this.$forceUpdate()
// }
// if (val.hcjgdm == '04') {
// this.rules['sjhyly'] = null
// this.rules['fknrJyqk'] = null
// }
// },
// deep: true
// }
},
};
</script>
......
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