From be935300089c97ea7477edd6e888a43ab244c44f Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 10 十二月 2024 09:35:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/projectEngineering/projectLibrary/component/BasicInfo.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue b/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
index cd47875..0dade99 100644
--- a/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
@@ -304,6 +304,7 @@
 import {approvalList} from "@/api/system/dept";
 
 export default {
+  name: 'BasicInfo',
   dicts: ['sys_funding_type', 'sys_investment_type', 'sys_project_type', 'sys_project_status', 'sys_competent_department'
     , 'sys_administrative_divisions', 'sys_centralized_management', 'sys_approval_type', 'sys_key_categories', 'sys_annual_plan'],
   components: {
@@ -428,9 +429,10 @@
         this.approvalList = res.data;
       });
     },
-    submit() {
+    submit(usedStatus) {
       this.$refs["projectForm"].validate(valid => {
         if (valid) {
+          this.projectForm.usedStatus = usedStatus;
           if (this.projectForm.id) {
             updateProject(this.projectForm).then(response => {
               this.$modal.msgSuccess("淇敼鎴愬姛");
@@ -508,7 +510,7 @@
         this.$message.success('鑾峰彇鍦板潃鎴愬姛');
         this.dialogMap = false;
       } else {
-        this.$message.error('鑾峰彇鍧愭爣澶辫触');
+        this.$message.error('璇峰厛鐐瑰嚮鍦板浘閫夋嫨鍦板潃');
       }
     },
 

--
Gitblit v1.8.0