From cd8b7ff53f570dfe2447028eb2331eb9cbdc00e5 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 25 三月 2025 23:43:38 +0800
Subject: [PATCH] 项目查询条件完善

---
 src/views/projectEngineering/projectLibrary/index.vue  |   32 ++----
 src/views/projectEngineering/abnormalProject/index.vue |   24 ----
 src/views/engineering/index.vue                        |    2 
 src/views/projectProcess/index.vue                     |  203 +++++++++++++++++++---------------------
 4 files changed, 113 insertions(+), 148 deletions(-)

diff --git a/src/views/engineering/index.vue b/src/views/engineering/index.vue
index d8c0f49..71b0f8c 100644
--- a/src/views/engineering/index.vue
+++ b/src/views/engineering/index.vue
@@ -106,6 +106,7 @@
       :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
       :show-overflow-tooltip="true">
       <el-table-column label="椤圭洰鍚嶇О" min-width="250" :show-overflow-tooltip="true" prop="projectName" />
+      <el-table-column label="寤鸿鍐呭" min-width="150" :show-overflow-tooltip="true" prop="buildContent"/>
       <el-table-column label="椤圭洰鎺ㄨ繘绫诲瀷" align="center" prop="projectType">
         <template slot-scope="scope">
           <dict-tag :options="dict.type.sys_project_type" :value="scope.row.projectType"/>
@@ -126,7 +127,6 @@
           <dict-tag :options="dict.type.sys_project_status" :value="scope.row.status"/>
         </template>
       </el-table-column>
-      <el-table-column label="寤鸿鍐呭" align="center" prop="buildContent"/>
       <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button
diff --git a/src/views/projectEngineering/abnormalProject/index.vue b/src/views/projectEngineering/abnormalProject/index.vue
index a5cd255..6a25e6b 100644
--- a/src/views/projectEngineering/abnormalProject/index.vue
+++ b/src/views/projectEngineering/abnormalProject/index.vue
@@ -70,15 +70,6 @@
               </el-row>
               <el-row>
                 <el-col :span="12">
-                  <el-form-item label="椤圭洰鏍囩">
-                    <el-select v-model="queryParams.tag" clearable placeholder="璇烽�夋嫨" class="select-option"
-                               @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_project_tags" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
                   <el-form-item label="椤圭洰鐘舵��">
                     <el-select v-model="queryParams.projectStatus" :disabled="isProjectCategory" clearable
                                @change="handleQuery"
@@ -88,8 +79,6 @@
                     </el-select>
                   </el-form-item>
                 </el-col>
-              </el-row>
-              <el-row>
                 <el-col :span="12">
                   <el-form-item label="椤圭洰鐮�">
                     <el-select v-model="queryParams.coding" clearable placeholder="璇烽�夋嫨" class="select-option"
@@ -99,20 +88,13 @@
                     </el-select>
                   </el-form-item>
                 </el-col>
-                <el-col :span="12">
-                  <el-form-item label="鍏宠仈鐘舵��">
-                    <el-select v-model="queryParams.assignmentStatus" clearable placeholder="璇烽�夋嫨" class="select-option"
-                               @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_association_status" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
+              </el-row>
+              <el-row>
               </el-row>
               <el-row>
                 <el-col :span="12">
                   <el-form-item label="璧勯噾绫诲瀷">
-                    <el-select v-model="queryParams.investmentType" clearable placeholder="璇烽�夋嫨" class="select-option"
+                    <el-select v-model="queryParams.fundType" clearable placeholder="璇烽�夋嫨" class="select-option"
                                @change="handleQuery">
                       <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label"
                                  :value="item.value"/>
diff --git a/src/views/projectEngineering/projectLibrary/index.vue b/src/views/projectEngineering/projectLibrary/index.vue
index 4e15aeb..f92d6b6 100644
--- a/src/views/projectEngineering/projectLibrary/index.vue
+++ b/src/views/projectEngineering/projectLibrary/index.vue
@@ -70,15 +70,6 @@
               </el-row>
               <el-row>
                 <el-col :span="12">
-                  <el-form-item label="椤圭洰鏍囩">
-                    <el-select v-model="queryParams.tag" clearable placeholder="璇烽�夋嫨" class="select-option"
-                               @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_project_tags" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
                   <el-form-item label="椤圭洰鐘舵��">
                     <el-select v-model="queryParams.projectStatus" :disabled="isProjectCategory" clearable
                                @change="handleQuery"
@@ -88,8 +79,6 @@
                     </el-select>
                   </el-form-item>
                 </el-col>
-              </el-row>
-              <el-row>
                 <el-col :span="12">
                   <el-form-item label="椤圭洰鐮�">
                     <el-select v-model="queryParams.coding" clearable placeholder="璇烽�夋嫨" class="select-option"
@@ -99,20 +88,13 @@
                     </el-select>
                   </el-form-item>
                 </el-col>
-                <el-col :span="12">
-                  <el-form-item label="鍏宠仈鐘舵��">
-                    <el-select v-model="queryParams.assignmentStatus" clearable placeholder="璇烽�夋嫨" class="select-option"
-                               @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_association_status" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
+              </el-row>
+              <el-row>
               </el-row>
               <el-row>
                 <el-col :span="12">
                   <el-form-item label="璧勯噾绫诲瀷">
-                    <el-select v-model="queryParams.investmentType" clearable placeholder="璇烽�夋嫨" class="select-option"
+                    <el-select v-model="queryParams.fundType" clearable placeholder="璇烽�夋嫨" class="select-option"
                                @change="handleQuery">
                       <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label"
                                  :value="item.value"/>
@@ -221,6 +203,14 @@
             <template v-if="item.slotName === 'coding'">
               <dict-tag :options="dict.type.sys_project_code" :value="scope.row.coding"/>
             </template>
+            <!-- 琛屾斂鍖哄垝鎻掓Ы -->
+            <template v-if="item.slotName === 'area'">
+              <dict-tag :options="dict.type.sys_administrative_divisions" :value="scope.row.area"/>
+            </template>
+            <!-- 璧勯噾绫诲瀷鎻掓Ы -->
+            <template v-if="item.slotName === 'fundType'">
+              <dict-tag :options="dict.type.sys_funding_type" :value="scope.row.fundType"/>
+            </template>
             <!-- projectType鎻掓Ы -->
             <template v-if="item.slotName === 'projectType'">
               <dict-tag :options="dict.type.sys_project_type" :value="scope.row.projectType"/>
diff --git a/src/views/projectProcess/index.vue b/src/views/projectProcess/index.vue
index 97f8681..09617b5 100644
--- a/src/views/projectProcess/index.vue
+++ b/src/views/projectProcess/index.vue
@@ -44,111 +44,104 @@
             <el-button icon="el-icon-search" size="small" @click="handleQuery">鏌ヨ</el-button>
             <el-button icon="el-icon-refresh" size="small" @click="resetQuery">閲嶇疆</el-button>
           </el-form-item>
-          <el-popover :value="popoverValue" trigger="click" :width="500" placement="bottom">
-            <span>绛涢�夋潯浠�</span>
-            <el-form ref="moreQueryParamsRef" label-width="68px" label-position="right" :model="queryParams">
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item label="椤圭洰绫诲瀷">
-                    <el-select v-model="queryParams.projectType" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery"
-                               size="small">
-                      <el-option v-for="item in dict.type.sys_project_type" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item label="閲嶇偣鍒嗙被">
-                    <el-select v-model="queryParams.importanceType" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_key_categories" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item label="椤圭洰鏍囩">
-                    <el-select v-model="queryParams.tag" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_project_tags" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item label="椤圭洰鐘舵��">
-                    <el-select v-model="queryParams.projectStatus" :disabled="isProjectCategory" clearable @change="handleQuery"
-                               placeholder="璇烽�夋嫨" class="select-option">
-                      <el-option v-for="item in dict.type.sys_project_status" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item label="椤圭洰鐮�">
-                    <el-select v-model="queryParams.coding" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_project_code" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item label="鍏宠仈鐘舵��">
-                    <el-select v-model="queryParams.assignmentStatus" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_association_status" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item label="璧勯噾绫诲瀷">
-                    <el-select v-model="queryParams.investmentType" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item label="椤圭洰闃舵">
-                    <el-select v-model="queryParams.projectPhase" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_project_phases" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-              <el-row>
-                <el-col :span="12">
-                  <el-form-item label="鎶曡祫绫诲埆">
-                    <el-select v-model="queryParams.investType" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_investment_type" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-                <el-col :span="12">
-                  <el-form-item label="琛屾斂鍖哄垝">
-                    <el-select v-model="queryParams.area" clearable placeholder="璇烽�夋嫨" class="select-option" @change="handleQuery">
-                      <el-option v-for="item in dict.type.sys_administrative_divisions" :key="item.value" :label="item.label"
-                                 :value="item.value"/>
-                    </el-select>
-                  </el-form-item>
-                </el-col>
-              </el-row>
-            </el-form>
-            <el-button style="margin-right: 16px; margin-top: 1px; color: #3369ff"  slot="reference"
-                       size="small">
-              鏇村绛涙煡鏉′欢
-              <span style="margin-left: 5px">
-                  <el-icon v-if="!popoverValue" class="el-icon-arrow-down"></el-icon>
-                  <el-icon v-else-if="popoverValue" class="el-icon-arrow-up"></el-icon>
-                </span>
-            </el-button>
-          </el-popover>
+<!--          <el-popover :value="popoverValue" trigger="click" :width="500" placement="bottom">-->
+<!--            <span>绛涢�夋潯浠�</span>-->
+<!--            <el-form ref="moreQueryParamsRef" label-width="68px" label-position="right" :model="queryParams">-->
+<!--              <el-row>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="椤圭洰绫诲瀷">-->
+<!--                    <el-select v-model="queryParams.projectType" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery"-->
+<!--                               size="small">-->
+<!--                      <el-option v-for="item in dict.type.sys_project_type" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="閲嶇偣鍒嗙被">-->
+<!--                    <el-select v-model="queryParams.importanceType" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_key_categories" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--              <el-row>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="椤圭洰鐘舵��">-->
+<!--                    <el-select v-model="queryParams.projectStatus" :disabled="isProjectCategory" clearable-->
+<!--                               @change="handleQuery"-->
+<!--                               placeholder="璇烽�夋嫨" class="select-option">-->
+<!--                      <el-option v-for="item in dict.type.sys_project_status" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="椤圭洰鐮�">-->
+<!--                    <el-select v-model="queryParams.coding" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_project_code" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--              <el-row>-->
+<!--              </el-row>-->
+<!--              <el-row>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="璧勯噾绫诲瀷">-->
+<!--                    <el-select v-model="queryParams.fundType" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_funding_type" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="椤圭洰闃舵">-->
+<!--                    <el-select v-model="queryParams.projectPhase" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_project_phases" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--              <el-row>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="鎶曡祫绫诲埆">-->
+<!--                    <el-select v-model="queryParams.investType" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_investment_type" :key="item.value" :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--                <el-col :span="12">-->
+<!--                  <el-form-item label="琛屾斂鍖哄垝">-->
+<!--                    <el-select v-model="queryParams.area" clearable placeholder="璇烽�夋嫨" class="select-option"-->
+<!--                               @change="handleQuery">-->
+<!--                      <el-option v-for="item in dict.type.sys_administrative_divisions" :key="item.value"-->
+<!--                                 :label="item.label"-->
+<!--                                 :value="item.value"/>-->
+<!--                    </el-select>-->
+<!--                  </el-form-item>-->
+<!--                </el-col>-->
+<!--              </el-row>-->
+<!--            </el-form>-->
+<!--            <el-button style="margin-right: 16px; margin-top: 1px; color: #3369ff"  slot="reference"-->
+<!--                       size="small">-->
+<!--              鏇村绛涙煡鏉′欢-->
+<!--              <span style="margin-left: 5px">-->
+<!--                  <el-icon v-if="!popoverValue" class="el-icon-arrow-down"></el-icon>-->
+<!--                  <el-icon v-else-if="popoverValue" class="el-icon-arrow-up"></el-icon>-->
+<!--                </span>-->
+<!--            </el-button>-->
+<!--          </el-popover>-->
         </div>
         <div class="right-section">
           <div>

--
Gitblit v1.8.0