xbot
This commit is contained in:
		| @@ -5,7 +5,7 @@ | ||||
|         <template #rightBtn> | ||||
|           <el-row type="flex" align="middle"> | ||||
|             <el-cascader ref="cascader1" clearable v-model="totalDeptList" :options="deptOptions" placeholder="所属部门" size="small" | ||||
|               :props="defaultProps" :show-all-levels="false" @visible-change="totalDeptSelect"></el-cascader> | ||||
|               :props="defaultProps" :show-all-levels="false" @change="totalDeptSelect"></el-cascader> | ||||
|           </el-row> | ||||
|         </template> | ||||
|       </ai-title> | ||||
| @@ -359,15 +359,12 @@ export default { | ||||
|       this.isTypeInit = true | ||||
|       this.getStatistics() | ||||
|     }, | ||||
|     totalDeptSelect(val) { | ||||
|       if(!val) { | ||||
|         this.getTotal() | ||||
|       } | ||||
|     totalDeptSelect() { | ||||
|       this.getTotal() | ||||
|        | ||||
|     }, | ||||
|     deptSelect(val) { | ||||
|       if(!val) { | ||||
|         this.getStatistics() | ||||
|       } | ||||
|     deptSelect() { | ||||
|       this.getStatistics() | ||||
|     }, | ||||
|     timeChange(index) { | ||||
|       this.type = index | ||||
|   | ||||
		Reference in New Issue
	
	Block a user