员工管理、包活派工单页面修改

master
wanglei 7 months ago
parent 3a1adda6d0
commit 3731565ad0

@ -718,13 +718,14 @@ export default {
}, },
/** 修改每日应出勤小时数 */ /** 修改每日应出勤小时数 */
handleEdit() { handleEdit() {
this.reset(); this.resetHour();
this.openHour = true; this.openHour = true;
this.title = "修改每日应出勤小时数"; this.title = "修改每日应出勤小时数";
}, },
submitFormHour() { submitFormHour() {
this.$refs["formHour"].validate(valid => { this.$refs["formHour"].validate(valid => {
if (valid) { if (valid) {
this.formHour.tenantId = this.gsInfo.active_id;
updateHour(this.formHour).then(response => { updateHour(this.formHour).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");

@ -909,7 +909,7 @@ export default {
}, },
/** 查询时员工 */ /** 查询时员工 */
getlistEmployee() { getlistEmployee() {
listEmployeeInfo({ pageSize: 1000000000 }).then(response => { listEmployeeInfo({ pageSize: 1000000000, tenantId: this.gsInfo.active_id }).then(response => {
this.employeeList = response.rows this.employeeList = response.rows
}); });
}, },
@ -1189,7 +1189,8 @@ export default {
} else { } else {
this.queryParams.exportDate = this.queform.date this.queryParams.exportDate = this.queform.date
this.download('pay/workOrderBaohuo/export', { this.download('pay/workOrderBaohuo/export', {
...this.queryParams exportDate: this.queform.date,
tenantId: this.gsInfo.active_id
}, `包活信息_${new Date().getTime()}.xlsx`) }, `包活信息_${new Date().getTime()}.xlsx`)
} }
}, },

Loading…
Cancel
Save