| | |
| | | param = { ...entity, ...this.page }; |
| | | } else { |
| | | param = { ...this.entity, ...this.page }; |
| | | param.dateTime = JSON.stringify(param.dateTime); |
| | | param.dateTime = param.dateTime?.length > 0 ? JSON.stringify(param.dateTime) : null; |
| | | } |
| | | delete param.total; |
| | | console.log('11111111111111111') |
| | | selectAuxiliaryWorkingHoursDay({ ...param }) |
| | | .then((res) => { |
| | | this.tableLoading = false; |
| | |
| | | }) |
| | | .then(() => { |
| | | deleteAuxiliaryWorkingHoursDay({ id: row.id }).then((res) => { |
| | | if (res.code == 201) return; |
| | | this.$message.success("删除成功"); |
| | | this.refreshTable("page"); |
| | | }); |