From a8feed2d7fc5d7699b3f333b3afcb42fc9dd63ca Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Thu, 24 Oct 2024 22:04:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat=20:=20=E9=9C=80=E6=B1=82=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=E5=92=8C=E8=AF=A6=E6=83=85=E6=96=B0=E5=A2=9E=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=9C=A8=E9=A2=84=E7=AE=97=E5=86=85=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/steps/index.vue | 37 +++++------------------- src/views/project-demand/summary/add.vue | 13 ++++++++- 2 files changed, 20 insertions(+), 30 deletions(-) diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index b4c82e8..444a893 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -153,27 +153,6 @@ const baseForm = ref() const baseFormData = ref([]) const schema = computed(() => { return [ - // { - // label: '征集公司', - // prop: 'affiliatedCompany', - // colProps: { - // span: 6 - // } - // }, - // { - // label: '征集名称', - // prop: 'requirementName', - // colProps: { - // span: 6 - // } - // }, - // { - // label: '征集说明', - // prop: 'collectExplain', - // colProps: { - // span: 24 - // } - // }, { label: '承办单位', prop: 'affiliatedCompany', @@ -347,13 +326,6 @@ const schema = computed(() => { ) }, - // { - // label: '是否专项资金项目', - // prop: 'isSpecialFund', - // colProps: { - // span: 6 - // } - // }, { label: '所属专项资金', prop: 'specialFund', @@ -377,6 +349,13 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + } + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', @@ -393,7 +372,7 @@ const handlePrint = (print) => { } // 格式化详情步骤条 const formatProcedure = (data) => { - console.info("🚀 ~method:formatProcedure -----", data) + // console.info("🚀 ~method:formatProcedure -----", data) let arr = [] if (data instanceof Array) { data.forEach(item => { diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index 1f099ff..ffb3aa4 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -184,7 +184,15 @@ - + + + + + + + + + {{ optionalChargeLeadershipList.length !== 0 ? '更改' : '请选择' }} @@ -197,6 +205,7 @@ v-model:value="optionalChargeLeadershipList" @ok="optionalChargeLeaderPickerOkOrCancel"/> + Date: Thu, 24 Oct 2024 23:01:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat=20:=20=E9=A1=B9=E7=9B=AE=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=8A=A0=E4=B8=8A=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=9C=A8=E9=A2=84=E7=AE=97=E5=86=85=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/steps/index.vue | 11 ++++++++- .../project-management/filing/attachment.vue | 24 ++++++++++++++++++- .../project-management/filing/upload.vue | 16 +++++++++++++ .../implementation/account.vue | 16 +++++++++++++ .../implementation/attachment.vue | 16 +++++++++++++ .../implementation/phaseDetail.vue | 16 +++++++++++++ .../implementation/share.vue | 16 +++++++++++++ .../implementation/upload.vue | 16 +++++++++++++ .../implementation/uploadFee.vue | 16 +++++++++++++ 9 files changed, 145 insertions(+), 2 deletions(-) diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index 444a893..f8dc544 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -354,7 +354,16 @@ const schema = computed(() => { prop: 'isWithinBudget', colProps: { span: 6 - } + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) }, { label: '部门分管领导', diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue index 4eb3820..d625065 100644 --- a/src/views/project-management/filing/attachment.vue +++ b/src/views/project-management/filing/attachment.vue @@ -230,6 +230,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', @@ -242,6 +258,10 @@ const schema = computed(() => { const baseForm = ref() const paneList = ref([ + { + label: '全部', + name: '111' + }, { label: '需求征集', name: '00' @@ -353,7 +373,9 @@ const upload = () => { } watchEffect(() => { if (requirementId.value === '-1') { - paneList.value = paneList.value.slice(1) + console.info("🚀 ~method: -----", paneList.value.filter(item=>item.name!=='00')) + paneList.value = paneList.value.filter(item=>item.name!=='00') + } }) search({}) diff --git a/src/views/project-management/filing/upload.vue b/src/views/project-management/filing/upload.vue index 8586118..1f2da2a 100644 --- a/src/views/project-management/filing/upload.vue +++ b/src/views/project-management/filing/upload.vue @@ -238,6 +238,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue index df7a35b..003e941 100644 --- a/src/views/project-management/implementation/account.vue +++ b/src/views/project-management/implementation/account.vue @@ -233,6 +233,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + basicData.value?.isWithinBudget!=null ? basicData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/attachment.vue b/src/views/project-management/implementation/attachment.vue index 7cf0c41..466f3d7 100644 --- a/src/views/project-management/implementation/attachment.vue +++ b/src/views/project-management/implementation/attachment.vue @@ -247,6 +247,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/phaseDetail.vue b/src/views/project-management/implementation/phaseDetail.vue index fa34678..969cc80 100644 --- a/src/views/project-management/implementation/phaseDetail.vue +++ b/src/views/project-management/implementation/phaseDetail.vue @@ -234,6 +234,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/share.vue b/src/views/project-management/implementation/share.vue index 27d73a8..5b5856d 100644 --- a/src/views/project-management/implementation/share.vue +++ b/src/views/project-management/implementation/share.vue @@ -215,6 +215,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/upload.vue b/src/views/project-management/implementation/upload.vue index b864d3b..9914e30 100644 --- a/src/views/project-management/implementation/upload.vue +++ b/src/views/project-management/implementation/upload.vue @@ -252,6 +252,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership', diff --git a/src/views/project-management/implementation/uploadFee.vue b/src/views/project-management/implementation/uploadFee.vue index 7bd830b..8ef07cc 100644 --- a/src/views/project-management/implementation/uploadFee.vue +++ b/src/views/project-management/implementation/uploadFee.vue @@ -330,6 +330,22 @@ const schema = computed(() => { ) }, + { + label: '是否在预算内', + prop: 'isWithinBudget', + colProps: { + span: 6 + }, + component: () => ( +
+ { + baseFormData.value?.isWithinBudget!=null ? baseFormData.value?.isWithinBudget? + {'预算内'} + : {'预算外'}:'--' + } +
+ ) + }, { label: '部门分管领导', prop: 'optionalChargeLeadership',