From d7cd1f0f06b0de974a787025ad6909d252e09752 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 18 二月 2025 23:34:00 +0800
Subject: [PATCH] 项目增加建设性质字段

---
 src/views/projectEngineering/projectLibrary/index.vue               |    6 +++++-
 src/views/projectEngineering/projectLibrary/component/BasicInfo.vue |   16 +++++++++++++++-
 src/views/projectEngineering/projectLibrary/list.js                 |    4 ++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue b/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
index 5256d81..22b8c0f 100644
--- a/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
+++ b/src/views/projectEngineering/projectLibrary/component/BasicInfo.vue
@@ -269,6 +269,19 @@
             <span style="margin-left: 2px">鍏�</span>
           </el-form-item>
         </el-col>
+        <el-col :span="6">
+          <el-form-item label="寤鸿鎬ц川" label-width="100px" prop="constructionNature" style="width: 100%; min-width: 260px">
+            <el-select
+              v-model="projectForm.constructionNature"
+              clearable
+              placeholder="璇烽�夋嫨"
+              style="width: 100%"
+            >
+              <el-option v-for="item in dict.type.construction_nature" :key="item.value" :label="item.label"
+                         :value="item.value"/>
+            </el-select>
+          </el-form-item>
+        </el-col>
       </el-row>
       <el-row :gutter="0">
         <el-col :span="18">
@@ -324,7 +337,7 @@
 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'],
+    , 'sys_administrative_divisions', 'sys_centralized_management', 'sys_approval_type', 'sys_key_categories', 'sys_annual_plan', 'construction_nature'],
   components: {
     Map,
     TagList,
@@ -373,6 +386,7 @@
         projectAddress: '',
         engineeringIdList: [],
         content: '',
+        constructionNature: '',
         contact: '',
         projectOwnerUnit: null,
         planStartTime: '',
diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue
index c3e2492..5a355a4 100644
--- a/src/views/projectEngineering/projectLibrary/index.vue
+++ b/src/views/projectEngineering/projectLibrary/index.vue
@@ -224,6 +224,10 @@
             <template v-if="item.slotName === 'projectType'">
               <dict-tag :options="dict.type.sys_project_type" :value="scope.row.projectType"/>
             </template>
+            <!-- constructionNature鎻掓Ы -->
+            <template v-if="item.slotName === 'constructionNature'">
+              <dict-tag :options="dict.type.construction_nature" :value="scope.row.constructionNature"/>
+            </template>
             <!-- investType鎻掓Ы -->
             <template v-if="item.slotName === 'investType'">
               <dict-tag :options="dict.type.sys_investment_type" :value="scope.row.investType"/>
@@ -321,7 +325,7 @@
 export default {
   dicts: ['sys_administrative_divisions', 'sys_investment_type', 'sys_project_phases',
     'sys_funding_type', 'sys_association_status', 'sys_project_status', 'sys_project_code',
-    'sys_project_tags', 'sys_key_categories', 'sys_project_type','sys_used_status'],
+    'sys_project_tags', 'sys_key_categories', 'sys_project_type','sys_used_status', 'construction_nature'],
   name: "ProjectInfo",
   components: {
     FileDialog
diff --git a/src/views/projectEngineering/projectLibrary/list.js b/src/views/projectEngineering/projectLibrary/list.js
index c5fb86e..9300780 100644
--- a/src/views/projectEngineering/projectLibrary/list.js
+++ b/src/views/projectEngineering/projectLibrary/list.js
@@ -5,6 +5,7 @@
   {id: 'projectCode', label: '椤圭洰浠g爜', visible: true},
   {id: 'projectType', label: '椤圭洰绫诲瀷', slotName: 'projectType', visible: true},
   {id: 'projectPhase', label: '椤圭洰闃舵', visible: true},
+  {id: 'constructionNature', label: '寤鸿鎬ц川', slotName: 'constructionNature', visible: true},
   {id: 'totalInvestment', label: '鎬绘姇璧勯', visible: true},
   {id: 'yearInvestAmount', label: '鏈勾璁″垝鎶曡祫', visible: true},
   {id: 'planStartTime', label: '椤圭洰骞翠唤', slotName: 'planStartTime', visible: true},
@@ -94,6 +95,7 @@
   {id: 'projectCode', label: '椤圭洰浠g爜', visible: true},
   {id: 'projectType', label: '椤圭洰绫诲瀷', slotName: 'projectType', visible: true},
   {id: 'projectPhase', label: '椤圭洰闃舵', visible: true},
+  {id: 'constructionNature', label: '寤鸿鎬ц川', slotName: 'constructionNature', visible: true},
   {id: 'totalInvestment', label: '鎬绘姇璧勯', visible: true},
   {id: 'yearInvestAmount', label: '鏈勾璁″垝鎶曡祫', visible: true},
   {id: 'planStartTime', label: '椤圭洰骞翠唤', slotName: 'planStartTime', visible: true},
@@ -188,6 +190,7 @@
   {id: 'projectCode', label: '椤圭洰浠g爜', visible: true},
   {id: 'projectType', label: '椤圭洰绫诲瀷', slotName: 'projectType', visible: true},
   {id: 'projectPhase', label: '椤圭洰闃舵', visible: true},
+  {id: 'constructionNature', label: '寤鸿鎬ц川', slotName: 'constructionNature', visible: true},
   {id: 'totalInvestment', label: '鎬绘姇璧勯', visible: true},
   {id: 'yearInvestAmount', label: '鏈勾璁″垝鎶曡祫', visible: true},
   {id: 'planStartTime', label: '椤圭洰骞翠唤', slotName: 'planStartTime', visible: true},
@@ -277,6 +280,7 @@
   {id: 'projectCode', label: '椤圭洰浠g爜', visible: true},
   {id: 'projectType', label: '椤圭洰绫诲瀷', slotName: 'projectType', visible: true},
   {id: 'projectPhase', label: '椤圭洰闃舵', visible: true},
+  {id: 'constructionNature', label: '寤鸿鎬ц川', slotName: 'constructionNature', visible: true},
   {id: 'totalInvestment', label: '鎬绘姇璧勯', visible: true},
   {id: 'yearInvestAmount', label: '鏈勾璁″垝鎶曡祫', visible: true},
   {id: 'planStartTime', label: '椤圭洰骞翠唤', slotName: 'planStartTime', visible: true},

--
Gitblit v1.8.0