From a01cede9c0067c9c84d772fd3cbb9725404862e9 Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Thu, 24 Oct 2024 23:01:54 +0800
Subject: [PATCH] =?UTF-8?q?feat=20:=20=E9=A1=B9=E7=9B=AE=E5=9F=BA=E6=9C=AC?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=8A=A0=E4=B8=8A=E6=98=AF=E5=90=A6=E5=9C=A8?=
=?UTF-8?q?=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',