{{ it.kssj }} - {{ it.jssj }}
@@ -152,6 +156,10 @@
+
+
+
+
{{ it.kssj }} - {{ it.jssj }}
@@ -186,10 +194,6 @@ import {
ref,
watch,
getCurrentInstance,
- watchEffect,
- onMounted,
- onUnmounted,
- nextTick
} from "vue";
const { proxy } = getCurrentInstance();
const props = defineProps({
@@ -369,11 +373,26 @@ const handleData = (val, type) => {
];
}
break;
+ case "bxx":
+ title.value = '必巡线'
+ url.value = "/mosty-jmxf/jbldBxx/queryList";
+ pageDataL.tableColumn = [
+ { label: "巡逻路线名称", prop: "bxxMc" },
+ { label: "所属辖区", prop: "ssbm" },
+ { label: "巡逻路线类型", prop: "bxxLx", showSolt: true },
+ ];
+ pageDataR.tableColumn = [
+ { label: "巡逻路线名称", prop: "bxxMc" },
+ { label: "所属辖区", prop: "ssbm" },
+ { label: "巡逻路线类型", prop: "bxxLx", showSolt: true },
+ ];
+ common.searchConfiger = [
+ { showType: "input", prop: "bxxMc", placeholder: "请输入巡逻路线名称", label: "巡逻路线名称"}
+ ];
+ break;
case "xfq":
case "bxd":
- case "bxx":
- title.value =
- val == "xfq" ? "巡防区名称" : val == "bxd" ? "必巡点" : "必巡线";
+ title.value = val == "xfq" ? "巡防区名称" : '必巡点';
url.value = "/mosty-qwzx/tbQwglXfqy/selectPage";
pageDataL.tableColumn = [
{ label: "名称", prop: "xqmc" },
@@ -470,6 +489,24 @@ const handleData = (val, type) => {
];
}
break;
+ case 'jmJz':
+ title.value = "警组";
+ url.value = "/mosty-jmxf/tbJcglJz/queryList";
+ pageDataL.tableColumn = [
+ { label: "警组名称", prop: "jzMc" },
+ { label: "所属部门", prop: "ssbm" }
+ ];
+ if (!type) {
+ common.searchConfiger = [
+ {
+ showType: "input",
+ prop: "jzMc",
+ placeholder: "警组名称",
+ label: "警组名称"
+ }
+ ];
+ }
+ break;
case "jz":
title.value = "警组";
url.value = "/mosty-qwzx/tbQwglJz/selectPage";
@@ -600,8 +637,7 @@ const onSearch = (val) => {
};
// 获取数据
const getData = () => {
- if (getConfiger.lx == "jyqx")
- listQuery.value.pageNo = listQuery.value.pageCurrent;
+ if (getConfiger.lx == "jyqx") listQuery.value.pageNo = listQuery.value.pageCurrent;
if (getConfiger.lx == "mj") listQuery.value.fl = "01";
if (getConfiger.lx == "fj") listQuery.value.fl = "02";
if (getConfiger.lx == "zbbc") listQuery.value.bcQwBbzl = getConfiger.bclx;
@@ -610,7 +646,8 @@ const getData = () => {
if (getConfiger.lx == "zfjly") listQuery.value.sblx = "06";
if (getConfiger.lx == "bxd") listQuery.value.xqlx = "01";
if (getConfiger.lx == "xfq") listQuery.value.xqlx = "03";
- if (getConfiger.lx == "bxx") listQuery.value.xqlx = "02";
+ if (getConfiger.lx == "bxx") listQuery.value.zdxllx = "0";
+ if (getConfiger.lx == "jmJz") listQuery.value.Child = 1;
common.tableConfiger.loading = true;
console.log(listQuery.value);
diff --git a/src/views/backOfficeSystem/qwManagement/qwgl/components/jmqw.vue b/src/views/backOfficeSystem/qwManagement/qwgl/components/jmqw.vue
index 2de3049..eb75d3b 100644
--- a/src/views/backOfficeSystem/qwManagement/qwgl/components/jmqw.vue
+++ b/src/views/backOfficeSystem/qwManagement/qwgl/components/jmqw.vue
@@ -105,7 +105,7 @@
v-model="dialogForm.jwzMc"
>
- {{ itchid.xqmc }}
-
+ -->
{{ itchid.xqmc }}{{ itchid.bxxMc }}
关联点位:
- {{ it.xqmc }}
+ {{ it.bxxMc }}
@@ -182,12 +177,7 @@
@@ -655,44 +645,36 @@ const handleFzr = (val) => {
// 选择警组
const changeJz = (val) => {
- console.log(val);
+ console.log(val,'==========将此');
val.forEach((item) => {
dialogForm.value.jzMc = item.jzMc;
dialogForm.value.jzId = item.id;
dialogForm.value.fzrXm = item.ddMjxm;
dialogForm.value.fzrSfzh = item.ddMjsfzh;
dialogForm.value.fzrLxdh = item.ddDh;
- dialogForm.value.xfzzlx = item.xfzzlx;
- dialogForm.value.xfwzlx = item.xfwzlx;
- dialogForm.value.bcMc = item.bcMc;
- dialogForm.value.bcKtsDict = item.bcKtsDict;
- dialogForm.value.bcId = item.glQwbcId;
- dialogForm.value.bcKssj = item.bcKssj;
- dialogForm.value.bcJssj = item.bcJssj;
+ dialogForm.value.clList = item.clList || [];
+ dialogForm.value.zdList = item.txzbList || [];
- dialogForm.value.clList = item.zbclStr ? JSON.parse(item.zbclStr) : [];
- dialogForm.value.zdList = item.zbzdsbStr ? JSON.parse(item.zbzdsbStr) : [];
+ // let sblist = item.jyqxList || [];
- let sblist = item.tcsbStr ? JSON.parse(item.tcsbStr) : [];
+ // dialogForm.value.tcList = sblist.filter((v) => {
+ // return v.sblx == "06";
+ // });
+ // const zbzbStr = item.zbzbStr ? JSON.parse(item.zbzbStr) : [];
+ // dialogForm.value.qxList = zbzbStr.length>0? zbzbStr: props.dic.D_JCGL_JYQX_QXLX.map((item) =>{return {
+ // ...item,qxsl:0
+ // }} );
+ // dialogForm.value.zbmjStr = item.zbmjStr ? JSON.parse(item.zbmjStr) : [];
+ // dialogForm.value.zbfjStr = item.zbfjStr ? JSON.parse(item.zbfjStr) : [];
+ // dialogForm.value.clList.forEach((item) => {
+ // item.tcryListStr = item.tcryList;
+ // });
- dialogForm.value.tcList = sblist.filter((v) => {
- return v.sblx == "06";
- });
- const zbzbStr = item.zbzbStr ? JSON.parse(item.zbzbStr) : [];
- dialogForm.value.qxList = zbzbStr.length>0? zbzbStr: props.dic.D_JCGL_JYQX_QXLX.map((item) =>{return {
- ...item,qxsl:0
- }} );
- dialogForm.value.zbmjStr = item.zbmjStr ? JSON.parse(item.zbmjStr) : [];
- dialogForm.value.zbfjStr = item.zbfjStr ? JSON.parse(item.zbfjStr) : [];
- dialogForm.value.clList.forEach((item) => {
- item.tcryListStr = item.tcryList;
- });
-
- let xlfs = item.xfxlfs ? item.xfxlfs.split(",") : [];
- baseInfo.xlfs.hasChoose = xlfs.map((it) => {
- return props.dic.D_BZ_XLFS.find((v) => v.value == it).label;
- });
+ // let xlfs = item.xfxlfs ? item.xfxlfs.split(",") : [];
+ // baseInfo.xlfs.hasChoose = xlfs.map((it) => {
+ // return props.dic.D_BZ_XLFS.find((v) => v.value == it).label;
+ // });
});
};
@@ -833,7 +815,7 @@ const saveForm = () => {
}
if (params.bxxList) {
params.bxxList = params.bxxList.map((v) => {
- return { bxxLx: v.xqlx, bxxMc: v.xqmc, bxxid: v.id };
+ return { bxxLx: v.bxxLx, bxxMc: v.bxxMc, bxxid: v.id };
});
}
@@ -902,7 +884,7 @@ const showData = (val) => {
// 必巡线
if (dialogForm.value.bxxList) {
dialogForm.value.bxxList = dialogForm.value.bxxList.map((v) => {
- return { xqlx: v.bxxLx, xqmc: v.bxxMc, id: v.bxxid };
+ return { bxxLx: v.bxxLx, bxxMc: v.bxxMc, bxxid: v.id };
});
}
// 必巡点
diff --git a/src/views/backOfficeSystem/qwManagement/qwgl/index.vue b/src/views/backOfficeSystem/qwManagement/qwgl/index.vue
index 434fe99..b3af95f 100644
--- a/src/views/backOfficeSystem/qwManagement/qwgl/index.vue
+++ b/src/views/backOfficeSystem/qwManagement/qwgl/index.vue
@@ -1,6 +1,6 @@
-
-
+
+