日工工时页面修改

master
wanglei 7 months ago
parent 99502e235f
commit 2a6b0546cc

@ -21,8 +21,8 @@
<el-form-item label="部门" prop="deptId"> <el-form-item label="部门" prop="deptId">
<treeselect v-model="queryParams.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" style="width: 220px"/> <treeselect v-model="queryParams.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" style="width: 220px"/>
</el-form-item> </el-form-item>
<el-form-item label="员工" prop="empId"> <el-form-item label="员工" prop="employeeId">
<el-select v-model="queryParams.empId" filterable clearable placeholder="请选择"> <el-select v-model="queryParams.employeeId" filterable clearable placeholder="请选择">
<el-option <el-option
v-for="item in employeeList" v-for="item in employeeList"
:key="item.id" :key="item.id"
@ -680,7 +680,7 @@ export default {
/** 查询日工工时列表 */ /** 查询日工工时列表 */
getList() { getList() {
this.loading = true; this.loading = true;
// this.queryParams.tenantId = this.gsInfo.active_id; this.queryParams.tenantId = this.gsInfo.active_id;
listDayWorkHours(this.queryParams).then(response => { listDayWorkHours(this.queryParams).then(response => {
this.dayWorkHoursList = response.rows; this.dayWorkHoursList = response.rows;
this.total = response.total; this.total = response.total;

Loading…
Cancel
Save