From 9fa073546b758738586a1805c7eaec41f33e61bc Mon Sep 17 00:00:00 2001 From: lcw <1878680531@qq.com> Date: Thu, 23 Apr 2026 09:28:13 +0800 Subject: [PATCH] lcw --- .../infoCollection/infomation.vue | 45 +++++++++++++++---- .../JudgmentHome/judgmentCommand/addForm.vue | 2 +- vue.config.js | 2 +- 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue index 907b3b4..b443f17 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/infomation.vue @@ -22,6 +22,13 @@ 上报 + + + + + 上报区厅 + @@ -69,8 +76,8 @@ @@ -393,7 +400,29 @@ const handleSumbit = () => { proxy.$message({ message: '请选择正确数据', type: 'warning', showClose: true }) } } +// 上报区厅 +const provDepar = () => { + const listDb = tableList.value.filter(item => item.czzt != '10').map(item => item.id) + if (listDb.length > 0) { + proxy.$confirm("确定要上报区厅吗", "提示", { type: "warning" }).then(() => { + xxcjReportGat({ ids: listDb }).then(res => { + proxy.$message({ type: "success", message: "上报区厅成功" }); + getList(); + }) + }).catch(() => { }) + + + // proxy.$confirm("确定要上报", "警告", { type: "warning" }).then(() => { + // xxcjPlsb({ ids: ids.value, lczt: "10" }).then(res => { + // proxy.$message({ type: "success", message: "上报成功" }); + // getList(); + // }) + // }).catch(() => { }); + } else { + proxy.$message({ message: '请选择正确数据', type: 'warning', showClose: true }) + } +} // 打标签 // 采纳 // 回退 diff --git a/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/addForm.vue b/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/addForm.vue index 4f46a3a..d74cdfc 100644 --- a/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/addForm.vue +++ b/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/addForm.vue @@ -118,7 +118,7 @@ const close = () => { listQuery.value = {}; dialogForm.value = false; loading.value = false; - router.replace({ path: '/judgmentCommand' })// 移除id 避免刷新一直带参数 + router.replace({ path: '/judgmentCommand' })// 移除id 避免刷新一直带参数 }; defineExpose({ init }); diff --git a/vue.config.js b/vue.config.js index 5505a79..fff98ee 100644 --- a/vue.config.js +++ b/vue.config.js @@ -8,7 +8,7 @@ function resolve(dir) { // const serverHost = "http://192.168.2.206:8006"//线上 // const serverHost = "http://192.168.191.75:8006"//周 // const serverHost = "http://192.168.212.75:8016"//周 -const serverHost = "http://192.168.1.162:8006"; //毛毛 +const serverHost = "http://10.147.18.75:8006"; //毛毛 // const serverHost = "http:// 192.168.1.45:8006"; //线上 // const serverHost = "http://47.108.232.77:9537"; //线上 module.exports = {