Commit 283b0001 by gao_yingdong

线索布控

parent f369765c
......@@ -51,6 +51,16 @@
"id":"05",
"isParent":false,
"children":[]
},
{
"ids":"112006",
"label":"布控完成",
"codeType":"CODE_BKZTDM",
"text":"布控完成",
"pId":null,
"id":"06",
"isParent":false,
"children":[]
}
]
},
......
......@@ -93,4 +93,8 @@ export const update = params =>
// 1.5查询布控模型列表
export const getBkxxMxByXxzjbh = params =>
post(`${base.alyIP}/xsbk/getBkxxMxByXxzjbh`, params);
\ No newline at end of file
post(`${base.alyIP}/xsbk/getBkxxMxByXxzjbh`, params);
// 1.布控结果描述
export const bkxxDjjg = params =>
post(`${base.alyIP}/xsbk/bkxxDjjg`, params);
\ No newline at end of file
......@@ -1706,7 +1706,11 @@
<el-table-column
align="center"
label="操作"
:width="pageBs == 'gzrygl' || pageBs == 'queryHbyp' ? '460' : '200'"
:width="
pageBs == 'gzrygl' || pageBs == 'queryHbyp' || pageBs == 'xsbk'
? '400'
: '200'
"
fixed="left"
v-if="
!(
......@@ -1740,6 +1744,7 @@
pageBs == 'shrzList' ||
pageBs == 'queryZjcljcqk' ||
pageASs == 'queryZjcljcqk' ||
pageASs == 'bxqdxsbk' ||
pageBs == 'gnsyrzList' ||
pageBs == 'yhzyh' ||
pageBs == 'queryLklzG' ||
......
......@@ -65,6 +65,14 @@ const menuLayouts = [
},
component: () => import("@/views/xshb/xsbk/xsbkck.vue")
},
{
path: "/bxqdxsbk",
name: "bxqdxsbk",
meta: {
title: '本辖区的线索布控'
},
component: () => import("@/views/xshb/xsbk/bxqdxsbk.vue")
},
];
export default [
......
......@@ -281,7 +281,7 @@ export default {
let self = this;
debugger
let isEqualN = JSON.stringify(newVal) === JSON.stringify(oldVal);
if (!isEqualN) {
if (!isEqualN && oldVal.length > 0 ) {
self.$set(self.formLabelAlign, 'bkmxMxCode' , [])
}
if (newVal.length > 1) {
......
......@@ -309,13 +309,15 @@ export default {
},
//修改保存
editSubmit(params, loading) {
debugger
let isEqualN = JSON.stringify(this.xxzjbhList) === JSON.stringify( this.formLabelAlign.mxList);
let sfxgmx = ''
debugger;
let isEqualN =
JSON.stringify(this.xxzjbhList) ===
JSON.stringify(this.formLabelAlign.mxList);
let sfxgmx = "";
if (isEqualN) {
sfxgmx = '0'
sfxgmx = "0";
} else {
sfxgmx = '1'
sfxgmx = "1";
}
params.append("sfxgmx", sfxgmx);
params.append("xxzjbh", this.xxzjbh);
......@@ -356,8 +358,8 @@ export default {
}).then((res) => {
if (res.success && res.code == 200) {
res.data.rows.forEach((item) => {
this.formLabelAlign.mxList.push(item.xxzjbh)
this.xxzjbhList.push(item.xxzjbh)
this.formLabelAlign.mxList.push(item.xxzjbh);
this.xxzjbhList.push(item.xxzjbh);
});
}
});
......@@ -402,7 +404,7 @@ export default {
});
}
});
self.getBkxxMxByXxzjbhList()
self.getBkxxMxByXxzjbhList();
self.$forceUpdate();
setTimeout(() => {
loading.close();
......@@ -444,13 +446,23 @@ export default {
}
},
watch: {
'formLabelAlign.bkdxLxdm': {
handler(newVal,oldVal) {
this.listList(newVal)
debugger
"formLabelAlign.bkdxLxdm": {
handler(newVal, oldVal) {
let self = this;
if (newVal) {
this.listList(newVal);
} else {
self.$set(self.formLabelAlign, "mxList", []);
}
let isEqualN = JSON.stringify(newVal) === JSON.stringify(oldVal);
if (!isEqualN && oldVal) {
self.$set(self.formLabelAlign, "mxList", []);
}
debugger;
},
deep:true
}
deep: true,
},
},
};
</script>
......
......@@ -95,6 +95,11 @@ export default {
prop: "bkyj",
col: "10",
},
{
label: "布控结果描述:",
prop: "bkjgms",
col: "10",
},
],
},
{
......
......@@ -40,6 +40,30 @@
@click="toqxCk(scope.scope)"
>取消撤控</span
>
<span
v-if="scope.scope.row.bkzt == '03' || scope.scope.row.bkzt == '06'"
class="hbyp"
@click="toYp(scope.scope)"
>研判</span
>
<span
v-if="scope.scope.row.bkzt == '03' || scope.scope.row.bkzt == '06'"
class="hbyp"
@click="toGzzl(scope.scope)"
>工作指令</span
>
<span
v-if="scope.scope.row.bkzt == '03' || scope.scope.row.bkzt == '06'"
class="hbyp"
@click="toHcyp(scope.scope)"
>合成研判</span
>
<span
v-if="scope.scope.row.bkzt == '06'"
class="hbyp"
@click="toBkjgdj(scope.scope)"
>结果登记</span
>
<!-- <span
v-if="scope.scope.row.bkzt == '0' && scope.scope.row.spjgPdbz == '0'"
class="hbyp"
......@@ -50,6 +74,7 @@
v-if="
scope.scope.row.bkzt == '03' ||
scope.scope.row.bkzt == '04' ||
scope.scope.row.bkzt == '06' ||
scope.scope.row.bkzt == '05'
"
class="hbyp"
......@@ -80,6 +105,19 @@
</el-form-item>
</el-form>
</el-dialog>
<!-- 布控结果登记 -->
<el-dialog title="布控结果登记" :visible.sync="dialogJgdj">
<div class="bljg">
<el-form ref="formJgdj" :model="formJgdj" label-width="80px">
<el-form-item label="结果描述:">
<el-input type="textarea" v-model="formJgdj.bkjgms"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmitBkjgms">保存</el-button>
</el-form-item>
</el-form>
</div>
</el-dialog>
</div>
</template>
......@@ -91,6 +129,7 @@ import {
getTaskResult,
deleteBkxx,
bkxxTqsp,
bkxxDjjg,
bkxxChsp,
qxBackBkxx,
} from "@/api/xshb/xsbk.js";
......@@ -105,7 +144,12 @@ export default {
xxzjbh: "",
ckyy: "",
},
formJgdj: {
xxzjbh: "",
bkjgms: "",
},
dialogTableVisible: false,
dialogJgdj: false,
header: "线索布控",
pageBs: "xsbk",
cxFormData: {
......@@ -118,7 +162,7 @@ export default {
sqrXm: "",
djsjStart: "",
djsjEnd: "",
queryType: 'myBkxx',
queryType: "myBkxx",
},
cxQueryField: [
{
......@@ -255,6 +299,14 @@ export default {
hasChildren: false,
},
{
id: "bxqdxsbk",
label: "本辖区的线索布控",
index: "bxqdxsbk",
auth: "M01",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "xsbkMxgl",
label: "布控模型管理",
index: "xsbkMxgl",
......@@ -284,11 +336,32 @@ export default {
type: "success",
message: "撤控成功",
});
this.form.xxzjbh = "";
this.form.ckyy = "";
this.dialogTableVisible = false;
this.$refs.rightContent.doQuery("yes");
}
});
},
onSubmitBkjgms() {
bkxxDjjg(this.formJgdj).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "结果登记成功",
});
this.formJgdj.xxzjbh = "";
this.formJgdj.bkjgms = "";
this.dialogJgdj = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message({
type: "error",
message: "结果登记失败",
});
}
});
},
// 提请审批
tqsp(scope) {
this.$confirm("是否提请审批, 是否继续?", "提示", {
......@@ -459,6 +532,83 @@ export default {
});
},
/**
* @description 研判
*/
toYp(scope) {
debugger;
var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard;
let type = "";
if (scope.row.bkdxLxdm == "01") {
type = "KySj";
} else if (scope.row.bkdxLxdm == "02") {
type = "KyQq";
} else if (scope.row.bkdxLxdm == "03") {
type = "KyWx";
} else if (scope.row.bkdxLxdm == "04") {
type = "KyRy";
} else if (scope.row.bkdxLxdm == "05") {
type = "KyJdc";
}
var params = {
type: type,
kybh: scope.row.bkdxHm,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
},
toDetail(url, PARAMS) {
var temp_form = document.createElement("form");
temp_form.action = url;
temp_form.target = "_blank";
temp_form.method = "post";
temp_form.style.display = "none";
for (var x in PARAMS) {
var opt = document.createElement("textarea");
opt.name = x;
opt.value = PARAMS[x];
temp_form.appendChild(opt);
}
document.body.appendChild(temp_form);
temp_form.submit();
},
/**
* @description 工作指令
*/
toGzzl(scope) {
debugger;
this.$router.pushToTab({
path: "/addsqfbzl",
query: {
type: "xdzl",
xsbh: scope.row.xxzjbh,
module: "xsbk",
xsType: "01",
},
});
},
/**
* @description 合成研判
*/
toHcyp(scope) {
debugger;
this.$router.pushToTab({
path: "/queryAdd",
});
},
/**
* @description 布控结果登记
*/
toBkjgdj(scope) {
this.$set(this.formJgdj, "xxzjbh", scope.row.xxzjbh);
this.dialogJgdj = true;
},
/**
* @description 审批
*/
toXXSP(scope) {
......
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