src/views/function/leaveApply.vue
@@ -100,7 +100,7 @@ <el-form-item label="部门领导"> <el-select v-model="form.deptleader"> <el-option v-for="(user, i) in userList" v-for="(user, i) in userList" :key="i" :label="user.userName" :value="user.userName" @@ -170,7 +170,6 @@ mounted() { this.getLeaveApplyListAndRender(this.searchParams) listUser().then(res => { console.log("获取用户", res); this.userList = res.rows; }); }, @@ -184,7 +183,7 @@ const ids = this.selectionIds.join(","); this.deleteByIdsAndRender(ids); }); }, handleExport() { this.$confirm('确定导出所有数据吗?', {