From a6d94a53f25d181a21c732cee0d695a2f0990d12 Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Mon, 16 Mar 2026 08:49:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=BA=E6=9E=84=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E5=A4=B4=E5=83=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/orgapplyinfo/OrgModifyInfo.data.ts | 1 + .../orgapplyinfo/components/OrgApplyInfoForm.vue | 14 ++++++++++++++ .../orgapplyinfo/components/OrgHistoryForm.vue | 6 +++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/admin/orgapplyinfo/OrgModifyInfo.data.ts b/src/views/admin/orgapplyinfo/OrgModifyInfo.data.ts index 48c971c..abcb610 100644 --- a/src/views/admin/orgapplyinfo/OrgModifyInfo.data.ts +++ b/src/views/admin/orgapplyinfo/OrgModifyInfo.data.ts @@ -94,4 +94,5 @@ export const applyObj = { orgProvince: '机构省份', orgCity: '机构城市', orgDistrict: '机构区域', + headPath: '头像', }; diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue index 0cac270..7f27e73 100644 --- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue +++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue @@ -200,6 +200,12 @@ + + + + + @@ -429,6 +435,7 @@ const formData = reactive>({ netUrl: '', accountNo: '', passwordText: '', + headPath: '', }); const tempNullVal = ref(''); const sfsh = ref('0'); @@ -519,6 +526,13 @@ function edit(record) { cityViewValue.value = record.orgProvince_dictText + (!!record.orgCity_dictText ? record.orgCity_dictText : '') + (!!record.orgDistrict_dictText ? record.orgDistrict_dictText : '') + if(!tmpData.headPath){ + if(tmpData.sex == '女'){ + tmpData.headPath = 'https://www.focusnu.com/media/directive/index/nv.png'; + }else{ + tmpData.headPath = 'https://www.focusnu.com/media/directive/index/nan.png'; + } + } //赋值 Object.assign(formData, tmpData); if (lsbl == '1') { diff --git a/src/views/admin/orgapplyinfo/components/OrgHistoryForm.vue b/src/views/admin/orgapplyinfo/components/OrgHistoryForm.vue index 668bb9d..61f0f6b 100644 --- a/src/views/admin/orgapplyinfo/components/OrgHistoryForm.vue +++ b/src/views/admin/orgapplyinfo/components/OrgHistoryForm.vue @@ -9,10 +9,10 @@ {{ applyObj[record.d1] }}