xbot变更需求
This commit is contained in:
		| @@ -19,7 +19,7 @@ | ||||
|             v-model="search.type" | ||||
|             clearable | ||||
|             placeholder="事件类型" | ||||
|             :selectList="dict.getDict('xbotReportEventType')" | ||||
|             :selectList="typeList" | ||||
|             @change="search.current = 1, getList()"> | ||||
|           </ai-select> | ||||
|           <el-date-picker size="small" v-model="searchDotime" type="daterange" range-separator="至" @change="timeChange" | ||||
| @@ -135,6 +135,7 @@ export default { | ||||
|   created() { | ||||
|     this.dict.load('clapEventStatus', 'residentEventSource', 'xbotReportEventType').then(() => { | ||||
|       this.getList() | ||||
|       this.getTypeList() | ||||
|     }) | ||||
|   }, | ||||
|  | ||||
| @@ -162,6 +163,18 @@ export default { | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|     getTypeList() { | ||||
|       this.instance.post(`/app/appsessionarchivefeaturelibrary/eventTypeList`).then(res => { | ||||
|         if (res.code == 0) { | ||||
|           res.data.map((item) => { | ||||
|             var i = {distName: item, dictValue: item} | ||||
|             this.typeList.push(i) | ||||
|           }) | ||||
|           // this.tableData = res.data.records | ||||
|           // this.total = res.data.total | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|     toDetail(id) { | ||||
|       this.$emit('change', { | ||||
|         type: 'Detail', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user