From 93c9715e787485c7d6aa8b4b892f23ae510ef5ca Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Sat, 13 Dec 2025 16:26:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../warningControl/scoreRanking/index.vue | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/scoreRanking/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/scoreRanking/index.vue index 6838fd9..cdc85fd 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/scoreRanking/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/scoreRanking/index.vue @@ -12,22 +12,6 @@
- -
@@ -46,6 +30,7 @@ + @@ -105,15 +90,20 @@ const searchBox = ref(); const { D_BZ_YJLX, D_BZ_HPZL, D_BZ_YJJB, D_GS_ZDQT_YJLB } = proxy.$dict("D_BZ_YJLX", "D_BZ_HPZL", "D_BZ_YJJB", "D_GS_ZDQT_YJLB") // 搜索配置 const searchConfiger = ref([ - { label: "姓名", prop: 'ryxm', placeholder: "请输入姓名", showType: "input" }, - { label: "身份证号码", prop: 'rysfzh', placeholder: "请输入身份证号码", showType: "input" }, - { label: "车牌号", prop: 'cph', placeholder: "请输入车牌号", showType: "input" },//yjClcph - { label: "预警类型", prop: 'yjlb', placeholder: "请选择预警类型", showType: "select", options: [] }, - { label: "号牌类型", prop: 'hplx', placeholder: "请选择号牌类型", showType: "select", options: [] }, + // { label: "姓名", prop: 'ryxm', placeholder: "请输入姓名", showType: "input" }, + // { label: "身份证号码", prop: 'rysfzh', placeholder: "请输入身份证号码", showType: "input" }, + // { label: "车牌号", prop: 'cph', placeholder: "请输入车牌号", showType: "input" },//yjClcph + { label: "预警类型", prop: 'yjlxList', placeholder: "请选择预警类型", showType: "select", options: [],multiple:true }, + { label: "预警级别", prop: 'yjjbList', placeholder: "请选择预警级别", showType: "select", options: [],multiple:true }, + { label: "预警类别", prop: 'yjlbList', placeholder: "请选择预警级别", showType: "select", options: [],multiple:true }, + // { label: "号牌类型", prop: 'hplx', placeholder: "请选择号牌类型", showType: "select", options: [] }, ]); const queryFrom = ref({}); const bqLbData = ref({}); +const listQuery = reactive({ + yjlx: [] +}) const pageData = reactive({ tableData: [], //表格数据 keyCount: 0, @@ -141,18 +131,22 @@ const pageData = reactive({ // { label: "预警地址", prop: "yjdz", showOverflowTooltip: true }, { label: "预警标签", prop: "yjbq", showOverflowTooltip: true }, { label: "预警级别", prop: "yjjb", showSolt: true, showOverflowTooltip: true }, - { label: "预警类型", prop: "yjlb", showSolt: true }, + { label: "预警类别", prop: "yjlb", showSolt: true }, + { label: "预警类型", prop: "yjlx", showSolt: true }, // { label: "身份次数", prop: "sfcs", showSlot: true }, { label: "身份分值", prop: "sffz" }, { label: "预警内容", prop: "yjnr", showOverflowTooltip: true }, ] }); - +// yjlb // 预警类别 D_BZ_YJLX 1人像 2车辆。。 +// yjjb // 预警级别 D_BZ_YJJB 01红 02绿03蓝 。。 +// yjlx 预警类型 D_GS_ZDQT_YJLB 01布控 02 身份预警 .。。 onMounted(() => { tabHeightFn(); // 初始化搜索配置的选项 - searchConfiger.value[3].options = D_BZ_YJLX; - searchConfiger.value[4].options = D_BZ_HPZL; + searchConfiger.value[0].options = D_GS_ZDQT_YJLB; + searchConfiger.value[1].options = D_BZ_YJJB; + searchConfiger.value[2].options = D_BZ_YJLX; getList() }); @@ -181,6 +175,9 @@ const getList = (val) => { pageCurrent: pageData.pageConfiger.pageCurrent, pageSize: pageData.pageConfiger.pageSize } + if(listQuery.yjlxList?.length) promes.yjlxList = listQuery.yjlxList; + if(listQuery.yjjbList?.length) promes.yjjbList = listQuery.yjjbList; + if(listQuery.yjlbList?.length) promes.yjlbList = listQuery.yjlbList; qcckPost(promes, '/mosty-gsxt/tbYjxx/selectYjxxFzPage').then((res) => { pageData.tableData = res.records || []; pageData.total = res.total; @@ -193,10 +190,10 @@ const getList = (val) => { // 处理签收 const handleToImportantMan = (val, type) => { proxy.$confirm("是否确定转重点人?", "警告", { type: "warning" }).then(() => { - // qcckPost({ id: val.id }, "/mosty-gsxt/jfpm/yjqs").then(() => { - // proxy.$message({ type: "success", message: "转重点人成功" }); - // getList() - // }); + qcckGet({}, `/mosty-gsxt/tbYjxx/yjToZdry/${val.id}`).then(() => { + proxy.$message({ type: "success", message: "转重点人成功" }); + getList() + }); }) } @@ -221,7 +218,7 @@ const openAddFrom = (row) => { } const handleClick = (row) => { - console.log('点击了身份:', row); + } // 根据身份分值设置行样式 @@ -256,7 +253,10 @@ const tabHeightFn = () => { }; // 搜索 -const onSearch = () => { +const onSearch = (obj) => { + listQuery.yjlxList = obj.yjlxList || null + listQuery.yjjbList = obj.yjjbList || null + listQuery.yjlbList = obj.yjlbList || null getList() }