Browse Source

1.资产统计报表优化
2.资产评估签字师查询

GouGengquan 10 months ago
parent
commit
21011064cb

+ 4 - 0
src/api/modules/user.js

@@ -72,5 +72,9 @@ export default {
   },
   departUsers(){
     return request.get(`user/depart/users`);
+  },
+  // 获取资产评估师用户
+  byAssetEvaluator(){
+    return request.get(`user/byAssetEvaluator`);
   }
 }

+ 12 - 2
src/views/assets/orderDetail.vue

@@ -999,7 +999,7 @@
       </el-form>
     </el-dialog>
 
-    <el-dialog :visible.sync="productionWriteDialogVisible" @open="clearassetsProductionFormValidate()"
+    <el-dialog :visible.sync="productionWriteDialogVisible" @open="clearassetsProductionFormValidate(),byAssetEvaluator()"
       @close="resetProductionForm()">
       <el-form ref="assetsProductionForm" :model="assetsProductionForm" :rules="assetsProductionFormRules"
         :disabled="productionDisabledStatus">
@@ -1045,7 +1045,7 @@
               <el-col>
                 <el-form-item label="签字人:" prop="signatory" label-width="140px" class="postInfo-container-item">
                   <el-select v-model="assetsProductionForm.signatory" placeholder="请选择" multiple>
-                    <el-option v-for="(u, id) in allUsers" :label="u.name" :value="u.id" :key="u.id"></el-option>
+                    <el-option v-for="(u, id) in assetEvaluator" :label="u.name" :value="u.id" :key="u.id"></el-option>
                   </el-select>
                 </el-form-item>
               </el-col>
@@ -1609,6 +1609,8 @@ export default {
       principals: [],
       // 用户下拉列表
       allUsers: [],
+      // 资产评估师
+      assetEvaluator: [],
       // 资产评估对象信息
       assetsEvaluationTarget: [],
       writeProductionStatementNos: [],
@@ -2190,6 +2192,14 @@ export default {
         }
       })
     },
+    // 获取资产评估师用户
+    byAssetEvaluator(){
+      this.$api.user.byAssetEvaluator().then(res => {
+        if (res.code === 200) {
+          this.assetEvaluator = res.data;
+        }
+      })
+    },
     // 获取流程节点信息
     getCurrentNodeInfo() {
       if (this.pageParams.row.assetsId) {

+ 1 - 1
src/views/statistical/assets/marketEfficiency.vue

@@ -185,7 +185,7 @@
                             :picker-options="pickerOptions" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd"
                             range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right">
                         </el-date-picker>
-                        <el-select v-model="listQueryByManager.departmentId" filterable placeholder="单部门"
+                        <el-select v-model="listQueryByManager.departmentId" filterable placeholder="单部门"
                             style=" width: 200px;margin-left: 10px;float: left;">
                             <el-option v-for="(d, id) in marketDepartment" :label="d.name" :value="d.id"></el-option>
                         </el-select>