From 5f6f37a166a1809b7f6281c210bce65972be59e5 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Thu, 10 Jul 2025 12:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../myControl/components/addBkdx.vue | 76 ++++++++++--------- .../IntelligentControl/myControl/index.vue | 4 +- 2 files changed, 44 insertions(+), 36 deletions(-) diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue index 944a21e..5997df9 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue @@ -13,7 +13,7 @@ - +
@@ -49,9 +49,8 @@
布控范围
- - - + + 添加范围模型 @@ -60,7 +59,7 @@
- {{ it }} + {{ it.zdmc }}
@@ -103,10 +102,9 @@
- - - 消息推送 - 短信推送 + + + {{ it.zdmc }} @@ -126,15 +124,17 @@ @@ -161,16 +161,12 @@ const props = defineProps({ }); const roleIds = ref([]); //角色ID const chooseVisible = ref(false); //选择布控人员弹窗 -const activeName = ref('人员信息'); //选中tab -const btns = reactive(['人员信息', '车辆信息', '电信通讯信息', '网络信息', '人像信息']); //按钮组 -const bkdxList = ref([ - { label: "人员", value: "1" }, - { label: "群体", value: "2" }, -]); //布控对象字典 +const bkqyArr = ref([]); //布控区域 const { proxy } = getCurrentInstance(); const dialogForm = ref(false); //弹窗 const loading = ref(false) const listQuery = ref({ + bkYz:'01', ssqy:'全国', dtqy:'+范围选择(地图)', dwlx:'3', @@ -180,21 +176,7 @@ const listQuery = ref({ fqbm:'发起部门:巴宜区公安局城区派出所', shqr:'审核部门:巴宜区公安局', spqr:'审批部门:巴宜区公安局', - bkdxList: [{ - fjZp: "https://via.placeholder.com/50", - xm: "张三", - xb: "男", - mz: "汉族", - sfzh: "123456789012345678", - hjd: "北京市朝阳区", - xjzdz: "北京市海淀区", - sjh: "13800138000", - xnsf: "虚拟身份123", - cph: "京A12345", - cjh: "1234567890", - tzms: "特征描述示例", - rybq: "人员标签示例" - }], + bkdxList: [], }); //表单数据 const tableDate = reactive({ keyCount: 0, @@ -227,7 +209,17 @@ const tableDate = reactive({ // 初始化数据 const init = (type, row) => { dialogForm.value = true; + get_bkqy_list() }; +// 获取布控区域 +const get_bkqy_list = () =>{ + qcckGet({},'/mosty-gsxt/tbGsxtBkQy/selectList').then(res=>{ + let arr = res || []; + bkqyArr.value = arr.map(item=>{ + return {...item,label:item.qymc,value:item.id} + }) + }) +} // 选择重点人 const choosed = (val) => { @@ -281,4 +273,20 @@ defineExpose({ init }); ::v-deep .el-upload--picture-card i{ width: 156px; } +.depBox{ + border: 1px solid #e9e9e9; + width: 305px; + padding: 0 0 0 4px; + border-radius: 4px; + ::v-deep .el-input__inner{ + border: none; + } + ::v-deep .el-cascader .el-input.is-focus .el-input__inner{ + border-color: transparent !important; + } + ::v-deep .el-input__inner:focus { + box-shadow: none; + } + +} diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/index.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/index.vue index d42e0c3..c757484 100644 --- a/src/views/backOfficeSystem/IntelligentControl/myControl/index.vue +++ b/src/views/backOfficeSystem/IntelligentControl/myControl/index.vue @@ -59,7 +59,7 @@
- + @@ -74,7 +74,7 @@ import Search from "@/components/aboutTable/Search.vue"; import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js"; import { reactive, ref, onMounted, getCurrentInstance } from "vue"; const { proxy } = getCurrentInstance(); -const { D_BZ_XB,D_GS_BK_SJLX,D_GS_BK_DJ, D_GS_BK_DX, D_GS_BK_ZT,D_GS_BK_CZYQ,D_GS_BK_CZJSDWLX } = proxy.$dict("D_BZ_XB","D_GS_BK_SJLX","D_GS_BK_DJ","D_GS_BK_DX","D_GS_BK_ZT","D_GS_BK_CZYQ","D_GS_BK_CZJSDWLX"); //获取字典数据 +const { D_GS_BK_BKYS,D_BZ_XB,D_GS_BK_SJLX,D_GS_BK_DJ, D_GS_BK_DX, D_GS_BK_ZT,D_GS_BK_CZYQ,D_GS_BK_CZJSDWLX,D_GS_BK_TJFS } = proxy.$dict("D_GS_BK_BKYS","D_BZ_XB","D_GS_BK_SJLX","D_GS_BK_DJ","D_GS_BK_DX","D_GS_BK_ZT","D_GS_BK_CZYQ","D_GS_BK_CZJSDWLX","D_GS_BK_TJFS"); //获取字典数据 const addBkdxForm = ref(null); //布控对象组件 const warningkdxForm = ref(); //布控对象组件 const searchBox = ref(); //搜索框