Просмотр исходного кода

批量归档审核查询修改&口估优化

wucl 3 месяцев назад
Родитель
Сommit
7899f992ba
2 измененных файлов с 34 добавлено и 7 удалено
  1. 6 6
      src/views/major/todoList.vue
  2. 28 1
      src/views/personal/facePrice.vue

+ 6 - 6
src/views/major/todoList.vue

@@ -131,12 +131,12 @@
     <TransferDialog :transferDialogVisible="visible" @parentFalse="parentFalse()" @getPage="getPage()"
       :recordId="recordId">
     </TransferDialog>
-    <el-dialog :visible.sync="batchCommitDialog" width="70%">
-      <y-page-list-layout :page-list="batchCommitPageData" :page-para="batchCommitListQuery"
-        :get-page-list="selectBatchCommitPage">
+    <el-dialog :visible.sync="batchCommitDialog" width="95%">
+      <y-page-list-layout :page-list="batchCommitPageData" :page-para="batchCommitListQuery" 
+        :get-page-list="selectBatchCommitPage" >
         <template slot="left">
           <el-input style="margin-left: 20px;width: 300px;float: left;" class="filter-item"
-            v-model="batchCommitListQuery.keyWord" placeholder="项目编号/报告号/项目名称/业务来源" clearable>
+            v-model="batchCommitListQuery.keyword" placeholder="项目编号/报告号/项目名称/业务来源" clearable>
           </el-input>
           <el-button class="filter-item" style="margin-left: 10px;float: left;" type="primary"
             @click="searchBatchCommitList()" round>搜索
@@ -146,7 +146,7 @@
           </el-button>
         </template>
         <parentTable :clickRowToPick="true" ref="table" :data="batchCommitPageData.records" slot="table"
-          style="width: 100%;height: 800px;" :selectionChange="handleSelectionChange">
+          style="width: 100%;height: 400px;" :selectionChange="handleSelectionChange">
           <el-table-column align="center" type="selection" claimOrders width="50" border="true">
           </el-table-column>
           <el-table-column label="项目名称" align="center" width="250" v-if="!hiddenLabels.includes('productionName')"
@@ -321,7 +321,7 @@ export default {
         page: 1,
         size: 10,
         current: 1,
-        keyWord: null,
+        keyword: null,
         handlerId: this.$store.getters.userInfo.id,
         getNodeIsBookbindingStamp: false,
         getNodeIsRecheckArchiving: false,

+ 28 - 1
src/views/personal/facePrice.vue

@@ -14,7 +14,7 @@
             </el-tooltip>
 
             <el-tooltip v-if="dyData.length>0" content="点击放大镜前往贝壳查询该小区成交信息(请提前登录贝壳官网)" placement="top-end" effect="light">
-            <el-input style="margin-left: 20px; width: 300px; color: red;" v-model="communityName" >
+            <el-input id="community" style="margin-left: 20px; width: 300px;" v-model="communityName" >
                 <template slot="prepend">贝壳查询</template>
                 <el-button slot="append" icon="el-icon-search"  @click="toke()"></el-button>
             </el-input>
@@ -484,6 +484,7 @@ export default {
         },
         queryFacePrice() {
             let query = this.queryParam;
+            this.communityName = null;
             if (this.queryType === 'location') {
                 if (query.queryTarget!=null && query.queryTarget!='') {
                     this.personalPriceByLocation(query);
@@ -527,6 +528,14 @@ export default {
                 if (res.code === 200) {
                     if (res.data != null) {
                         this.enternalData = res.data;
+                        if (!this.communityName && this.enternalData.deals.length>0){
+                            for (let i in this.enternalData.deals){
+                            if (this.enternalData.deals[i].communityName){
+                                this.communityName = this.enternalData.deals[i].communityName;
+                                break;
+                            }
+                        }
+                        }
                     } else {
                         let emptyObject = new Object();
                         emptyObject.deals = [];
@@ -557,6 +566,14 @@ export default {
                 if (res.code === 200) {
                     if (res.data != null) {
                         this.enternalData = res.data;
+                        if (!this.communityName && this.enternalData.deals.length>0){
+                            for (let i in this.enternalData.deals){
+                            if (this.enternalData.deals[i].communityName){
+                                this.communityName = this.enternalData.deals[i].communityName;
+                                break;
+                            }
+                        }
+                    }
                     } else {
                         let emptyObject = new Object();
                         emptyObject.deals = [];
@@ -626,6 +643,16 @@ export default {
     font-weight: bold;
 }
 
+// /deep/.el-input__inner{
+//     color: red;
+//     font-weight: bold;
+// }
+
+/deep/#community{
+    color: red;
+    font-weight: bold;
+}
+
 .data-class {
     margin-top: 20px;
 }