wyh 1 年之前
父节点
当前提交
0c4c7dee2b

+ 8 - 4
itdmWeb/src/views/module-iTDM/weituo/ItdmWeituoInfoList.vue

@@ -16,7 +16,7 @@
           </a-col>
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
             <a-form-item label="委托编号">
-              <j-search-select-tag placeholder="请选择委托编号" v-model="queryParam.weituo_no" :dictOptions="weituoNoOptions"/>
+              <j-search-select-tag placeholder="请选择委托编号" v-model="queryParam.weituoNo" :dictOptions="weituoNoOptions"/>
             </a-form-item>
           </a-col>
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
@@ -257,8 +257,13 @@ export default {
         }
       })
     },
-
-
+    // 重置
+    searchReset() {
+      this.queryParam = {}
+      console.log(11111)
+      this.weituoNoOptions = []
+      this.loadData(1);
+    },
     initDictConfig(){
       ajaxGetDictItems('weituo.bgyz').then((res) => {
         if (res.success) {
@@ -289,7 +294,6 @@ export default {
     },
     // 监听选中委托单位,获取该单位的委托编号
     handlewcChange(data){
-      console.log(data)
       this.weituoNoOptions = []
       this.queryParam.weituoNo = undefined
       getWeituoInfoListByClient(this.queryParam).then((res) =>{

+ 2 - 2
itdmWeb/src/views/module-iTDM/weituoshenhe/ItdmWeituoshenheInfoList.vue

@@ -18,10 +18,10 @@
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
               <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
-              <a @click="handleToggleSearch" style="margin-left: 8px">
+              <!-- <a @click="handleToggleSearch" style="margin-left: 8px">
                 {{ toggleSearchStatus ? '收起' : '展开' }}
                 <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
-              </a>
+              </a> -->
             </span>
           </a-col>
         </a-row>