From 04fff31b3a3318c528945b06194505cf4f20de16 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 5 Aug 2024 17:22:23 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix=20:=20=E4=BF=AE=E6=94=B9'=E7=BB=8F?= =?UTF-8?q?=E8=B4=B9=E9=A2=84=E7=AE=97'=E6=96=87=E5=AD=97=E5=8F=8A?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetailComponent/CollectionDetail.vue | 7 ++++--- src/components/DetailComponent/SummaryDetail.vue | 16 ++++++++-------- src/views/plan/detail.vue | 2 +- src/views/project-demand/summary/add.vue | 4 ++-- src/views/project-management/filing/index.vue | 2 +- .../project-management/implementation/index.vue | 2 +- .../project-management/initiation/index.vue | 2 +- .../mobledetail/SummaryDetailMoblie.vue | 2 +- 8 files changed, 19 insertions(+), 18 deletions(-) diff --git a/src/components/DetailComponent/CollectionDetail.vue b/src/components/DetailComponent/CollectionDetail.vue index 40b2074..1c91b1c 100644 --- a/src/components/DetailComponent/CollectionDetail.vue +++ b/src/components/DetailComponent/CollectionDetail.vue @@ -1,9 +1,10 @@ - + diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index db9d68c..cc3a0cb 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -120,7 +120,7 @@ - + @@ -374,7 +374,7 @@ const rules = reactive({ softwareCopyright: [{required: true, message: '请输入软件著作权', trigger: 'blur'}], copyright: [{required: true, message: '请输入著作权', trigger: 'blur'}], other: [{required: true, message: '请输入其他', trigger: 'blur'}], - economicEstimate: [{required: true, message: '请输入经济预算', trigger: 'blur'}], + economicEstimate: [{required: true, message: '请输入经费预算', trigger: 'blur'}], specialFundAmount: [{required: true, message: '请输入专项资金', trigger: 'blur'}], serviceDescription: [{required: true, message: '请输入现有业务描述', trigger: 'blur'}], contentDescription: [{required: true, message: '请输入研发项目关键内容描述', trigger: 'blur'}] diff --git a/src/views/project-management/filing/index.vue b/src/views/project-management/filing/index.vue index 601d794..b74d541 100644 --- a/src/views/project-management/filing/index.vue +++ b/src/views/project-management/filing/index.vue @@ -213,7 +213,7 @@ const tableConfig = reactive({ }, { prop: 'economicEstimate', - label: '经济预算(元)', + label: '经费预算(元)', align: 'center', currentRender:({row})=>{ return {toThousands(row.economicEstimate)} diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue index 0938ac3..7cfd10e 100644 --- a/src/views/project-management/implementation/index.vue +++ b/src/views/project-management/implementation/index.vue @@ -229,7 +229,7 @@ const tableConfig = reactive({ }, { prop: 'economicEstimate', - label: '经济预算(元)', + label: '经费预算(元)', align: 'center', currentRender:({row})=>{ return {toThousands(row.economicEstimate)} diff --git a/src/views/project-management/initiation/index.vue b/src/views/project-management/initiation/index.vue index d40c7f7..ced95f4 100644 --- a/src/views/project-management/initiation/index.vue +++ b/src/views/project-management/initiation/index.vue @@ -211,7 +211,7 @@ const tableConfig = reactive({ }, { prop: 'economicEstimate', - label: '经济预算(元)', + label: '经费预算(元)', align: 'center', currentRender:({row})=>{ return {toThousands(row.economicEstimate)} diff --git a/src/views/project-management/mobledetail/SummaryDetailMoblie.vue b/src/views/project-management/mobledetail/SummaryDetailMoblie.vue index 6aa1fd0..adc7502 100644 --- a/src/views/project-management/mobledetail/SummaryDetailMoblie.vue +++ b/src/views/project-management/mobledetail/SummaryDetailMoblie.vue @@ -50,7 +50,7 @@ - + {{ toThousands(localFormData.economicEstimate) }} From 147d66c756ace7a91d4fdbae5355cfb6f9134b5b Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 5 Aug 2024 17:26:20 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E6=9B=BF=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/user.js | 4 ++-- src/views/system/user/add.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/user/user.js b/src/api/user/user.js index a8d54c2..be57ca7 100644 --- a/src/api/user/user.js +++ b/src/api/user/user.js @@ -21,9 +21,9 @@ export const getUserAccount = () => { method: 'get' }) } -export const judgeIsSameRole = () => { +export const judgeIsSameRole = (userId) => { return request({ - url: '/admin/mosr/user/company/same', + url: `/admin/mosr/user/company/same/${userId}`, method: 'get' }) } diff --git a/src/views/system/user/add.vue b/src/views/system/user/add.vue index f7332db..68b31a2 100644 --- a/src/views/system/user/add.vue +++ b/src/views/system/user/add.vue @@ -122,9 +122,9 @@ const schame = computed(() => { }, on: { change: async (val) => { - const {code, data} = await judgeIsSameRole() + const {code, data} = await judgeIsSameRole(form.value.getValues().userId) if (code === 1000) { - console.log('currentRoleArray.value', currentRoleArray.value) + console.log('currentRoleArray.value',data) if (currentRoleArray.value.length !== 0) { val.forEach(selectItem => { currentRoleArray.value.forEach(currentItem => { From 63d8feb712f1588c9942cf69cfd35b061169b594 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 5 Aug 2024 19:10:29 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetailComponent/ApprovalDetail.vue | 4 +- src/components/steps/index.vue | 258 +++++++++++- .../project-management/filing/attachment.vue | 223 ++++++++++- .../project-management/filing/upload.vue | 223 ++++++++++- .../implementation/account.vue | 371 ++++++++++++++---- .../implementation/attachment.vue | 224 ++++++++++- .../implementation/phase.vue | 220 ++++++++++- .../implementation/phaseDetail.vue | 222 ++++++++++- .../implementation/share.vue | 239 +++++++++-- .../implementation/updateTable.vue | 148 +++---- .../implementation/upload.vue | 221 ++++++++++- .../implementation/uploadFee.vue | 251 +++++++++++- .../mobledetail/ApprovalDetailMoblie.vue | 13 +- .../mobledetail/StepsMoblie.vue | 222 ++++++++++- .../mobledetail/SummaryDetailMoblie.vue | 4 +- .../phaseDetailMoblie/index.vue | 216 +++++++++- 16 files changed, 2741 insertions(+), 318 deletions(-) diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue index 97138fb..addf3a8 100644 --- a/src/components/DetailComponent/ApprovalDetail.vue +++ b/src/components/DetailComponent/ApprovalDetail.vue @@ -304,7 +304,7 @@ const schema = computed(() => { component: () => (
{ - props.formData.optionalChargeLeadership ? props.formData.optionalChargeLeadership.map(item => { + props.formData.optionalChargeLeadership?.length>0 ? props.formData.optionalChargeLeadership.map(item => { return {item.name} }) : {'--'} } @@ -377,7 +377,7 @@ const schema = computed(() => { component: () => (
{ - props.formData.optionalChargeLeadership ? props.formData.optionalChargeLeadership.map(item => { + props.formData.optionalChargeLeadership?.length>0 ? props.formData.optionalChargeLeadership.map(item => { return {item.name} }) : {'--'} } diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index 9737dcf..2ec288b 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -1,6 +1,6 @@