From a94ec296a44c19d59d12c33542c158d45241ece8 Mon Sep 17 00:00:00 2001
From: yxhc <825210484@qq.com>
Date: Wed, 28 Aug 2024 09:27:47 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8F=E4=BA=8C=E6=9C=9F?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 14 +++++
src/main.js | 1 +
.../purchaseResults/fillPurchasingResult/index.vue | 18 ++++---
src/pages/toDoCenter/components/auditDialog.vue | 53 +++++++++---------
src/pages/toDoCenter/handleDuringExamine/index.vue | 1 +
src/utils/updater.js | 62 ++++++++++++++++++++++
6 files changed, 117 insertions(+), 32 deletions(-)
create mode 100644 src/utils/updater.js
diff --git a/src/App.vue b/src/App.vue
index 7f5ec42..cf3138e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,6 +1,20 @@
diff --git a/src/main.js b/src/main.js
index 45e33dc..42ea68c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -43,3 +43,4 @@ instance
}
})
.mount('#app')
+
diff --git a/src/pages/declareManage/purchaseResults/fillPurchasingResult/index.vue b/src/pages/declareManage/purchaseResults/fillPurchasingResult/index.vue
index 8225a2d..6ee9ffc 100644
--- a/src/pages/declareManage/purchaseResults/fillPurchasingResult/index.vue
+++ b/src/pages/declareManage/purchaseResults/fillPurchasingResult/index.vue
@@ -5,6 +5,7 @@ import store from '@/store'
import { useRouter, useRoute } from 'vue-router'
import { submitResult } from '@/http/apis/declareMange/purchaseResults'
import { dictionary } from '@/http/apis/projectCollection/projectCollectionEnter'
+import { getProjectDetail } from '@/http/apis/declareMange'
const uploadUrl = store.dictStore.uploadUrl,
{ proxy } = getCurrentInstance(),
@@ -46,7 +47,7 @@ const formRef = ref(),
bidDoc: [],
acceptanceLetter: []
}],
- devChangeCode: ''
+ developCode: ''
}),
submitLoading = ref(false),
submit = async (formEl) => {
@@ -66,7 +67,7 @@ const formRef = ref(),
acceptanceLetter: i.acceptanceLetter && JSON.stringify(changFilesParam(i.acceptanceLetter))
}
}),
- devChangeCode: formData.value.devChangeCode
+ developCode: formData.value.developCode
}
try {
await submitResult(postData)
@@ -98,7 +99,10 @@ const formRef = ref(),
dictionaryList = ref([])
onMounted(async () => {
dictionaryList.value = (await dictionary()).data
+ const data = await getProjectDetail({ id: route.query.id })
+ formData.value.developCode = data.data.developCode
})
+