29165
This commit is contained in:
		| @@ -6,7 +6,7 @@ | ||||
|       <template #content> | ||||
|         <ai-search-bar> | ||||
|           <template #left> | ||||
|             <ai-select v-model="search.status" placeholder="状态" :selectList="dict.getDict('financingDemandStatus')" | ||||
|             <ai-select v-model="search.status" placeholder="状态" :selectList="dict.getDict('financingDemandSearchStatus')" | ||||
|                        @change="page.current=1,getTableData()"/> | ||||
|             <ai-search label="申请时间"> | ||||
|               <el-date-picker size="small" placeholder="请选择" type="daterange" | ||||
| @@ -29,7 +29,7 @@ | ||||
|                   @getList="getTableData" :col-configs="colConfigs" :dict="dict"> | ||||
|           <el-table-column slot="options" label="状态" fixed="right" width="100" align="center"> | ||||
|             <template slot-scope="{row}"> | ||||
|               <span :class="`status${row.status}`">{{ dict.getLabel('financingDemandStatus', row.status) }}</span> | ||||
|               <span :class="`status${row.status}`">{{ dict.getLabel('financingDemandSearchStatus', row.status) }}</span> | ||||
|             </template> | ||||
|           </el-table-column> | ||||
|         </ai-table> | ||||
| @@ -54,7 +54,7 @@ export default { | ||||
|   }, | ||||
|   data() { | ||||
|     return { | ||||
|       search: {status: "1"}, | ||||
|       search: {status: ""}, | ||||
|       page: {current: 1, size: 10, total: 0}, | ||||
|       tableData: [], | ||||
|       colConfigs: [ | ||||
| @@ -74,7 +74,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 999 | ||||
|       let status = this.search.status || 888 | ||||
|       this.instance.post("/appfinancingdemand/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
| @@ -92,7 +92,7 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|     this.dict.load('financingDemandStatus') | ||||
|     this.dict.load('financingDemandSearchStatus') | ||||
|     this.search.areaId = this.user.info.areaId | ||||
|     this.getTableData() | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user