From 45a1a1ea175b481618547de6a971a8f03831b3c5 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Wed, 17 Dec 2025 20:07:03 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/xxcj.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/api/xxcj.js b/src/api/xxcj.js index aec2618..514fec3 100644 --- a/src/api/xxcj.js +++ b/src/api/xxcj.js @@ -170,3 +170,19 @@ export const xxcjMjjfSelectPage = (params) => { params }) } +// 情报 续报和补充 参数: czlx 操作类型:01 续报、02 补充 ,id, ysnr +export const addEntity = (data) => { + return request({ + url: api + `/xxcj/bc/addEntity`, + method: "post", + data + }) +} +// 转会商 +export const xxcjXxzhs = (data) => { + return request({ + url: api + `/xxcj/xxzhs`, + method: "post", + data + }) +} From 7750f239ec87c2055c6e4ca2c7a2f4ce62c0e719 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Wed, 17 Dec 2025 21:20:41 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=BD=AC?= =?UTF-8?q?=E4=BC=9A=E5=95=86=E7=BB=AD=E6=8A=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/inputCom/inputUser.vue | 147 +++++++++++ src/utils/tools.js | 18 ++ .../infoCollection/components/addForm.vue | 56 ++++- .../components/transferMerchant.vue | 236 ++++++++++++++++++ .../infoCollection/index.vue | 45 +++- 5 files changed, 480 insertions(+), 22 deletions(-) create mode 100644 src/components/inputCom/inputUser.vue create mode 100644 src/views/backOfficeSystem/HumanIntelligence/infoCollection/components/transferMerchant.vue diff --git a/src/components/inputCom/inputUser.vue b/src/components/inputCom/inputUser.vue new file mode 100644 index 0000000..ea574e3 --- /dev/null +++ b/src/components/inputCom/inputUser.vue @@ -0,0 +1,147 @@ + + + + + +::v-depp .treeBox { +margin-top: 10px; +} + + diff --git a/src/utils/tools.js b/src/utils/tools.js index 943c4eb..09d446e 100644 --- a/src/utils/tools.js +++ b/src/utils/tools.js @@ -381,3 +381,21 @@ export function holographicProfileJump(szhm) { if (!szhm) return window.open(`https://tyyy.lz.dsj.xz/profile/people/person-manage?sfzhm=${szhm}&from=portal`) } + +/** + * 获取表单验证错误信息 + * @param fields 表单验证错误信息 + * @param {Object} msgObj 错误信息Ojb,没有就取message + */ +export function getErrMsg(fields, msgObj) { + if (!fields) return; + if (Object.keys(fields).length === 0) return; + /** 第一个错误字段 */ + const firstErrorField = Object.keys(fields)[0]; + if (msgObj && msgObj[firstErrorField]) return msgObj[firstErrorField]; + if (!firstErrorField) return; + /** 第一个错误字段的内容 @type{Object} - [message, field, fieldValue] */ + let firstErrorFieldObj = fields?.[firstErrorField]; + let errMsg = firstErrorFieldObj?.[0]?.message + return errMsg +} diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/components/addForm.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/components/addForm.vue index 31aeedb..df22ae3 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/components/addForm.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/components/addForm.vue @@ -109,7 +109,7 @@ + diff --git a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue index 6b02841..a9da34a 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/infoCollection/index.vue @@ -92,7 +92,8 @@ 转合成 - 转会商 + 转会商 肯定 关注部门 @@ -101,7 +102,9 @@ 删除 - 修改 + 修改 + 续报 详情 @@ -134,6 +137,10 @@ + + + + From dc5e5e5f435119eb806e5f8363686ab567ea3287 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Thu, 18 Dec 2025 09:59:34 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E5=86=85=E9=83=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E5=85=B1=E4=BA=AB=E5=88=97=E8=A1=A8=E5=8F=AA?= =?UTF-8?q?=E6=9C=89=E8=A1=A5=E5=85=85=E4=BF=A1=E6=81=AF=E5=92=8C=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../backOfficeSystem/HumanIntelligence/listView/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/backOfficeSystem/HumanIntelligence/listView/index.vue b/src/views/backOfficeSystem/HumanIntelligence/listView/index.vue index 30f9b62..bbe07a2 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/listView/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/listView/index.vue @@ -40,10 +40,10 @@ From b754de71350597d2672a2772e6dc11a5f6f07c5f Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Thu, 18 Dec 2025 10:23:05 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/auth.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/utils/auth.js b/src/utils/auth.js index 9d49f3c..68a9e19 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -81,3 +81,19 @@ export function isShiQingZhi() { const Jb = deptLevel?.[0] == '2' ? '01' : deptLevel?.[0] == '3' ? '02' : '03' return deptBizType == '23' && Jb == '01' } + + +/** 获取当前角色 */ +export function getRole() { + const { deptBizType, deptLevel } = getItem('deptId')[0] + /** 是否是市情指领导 */ + const isShiQzLeader = getItem('roleList').find(item => item.roleCode == 'JS_666666') != undefined + if (isShiQzLeader) return {label: '市情指领导',value:'01',ename: 'shiQzLeader'} + /** 是否是市情指人员 */ + const isShiQz = getItem('roleList').find(item => item.roleCode == 'JS_777777') != undefined + if (isShiQz) return {label: '市情指挥人员',value:'02', ename: 'shiQz'} + /** 是否是县情指人员 */ + const isXianQz = getItem('roleList').find(item => item.roleCode == 'JS_888888') != undefined + if (isXianQz) return {label: '县情指人员',value:'03', ename: 'xianQz'} + return {label: '普通用户',value:'04', ename: 'common'} +}