| | |
| | | } |
| | | }, |
| | | requiredAdd: [], |
| | | requiredUp: [] |
| | | requiredUp: [], |
| | | needSort: ['createTime', 'name'] |
| | | }, |
| | | entityCopy: {}, |
| | | upIndex: 0, |
| | |
| | | if (power[i].menuMethod == 'insertAuxiliaryWorkingHoursDay') { |
| | | add = true |
| | | } |
| | | console.log(add) |
| | | if (power[i].menuMethod == 'updateAuxiliaryWorkingHoursDay') { |
| | | up = true |
| | | } |
| | |
| | | this.title = '审核' |
| | | this.formData0 = row; |
| | | this.checkVisible = true |
| | | this.formData0.reviewerNumber = this.formData0.amount |
| | | }, |
| | | handleRatify(row){ |
| | | this.title = '批准' |
| | | this.formData0 = row; |
| | | this.checkVisible = true |
| | | this.formData0.reviewerNumber = this.formData0.amount |
| | | }, |
| | | handleChangeTask (row) { |
| | | this.ValueTable0Selected = JSON.parse(JSON.stringify(row)) |
| | |
| | | } |
| | | this.formData0.state = e==0?this.formData0.state:'已审核' |
| | | this.$axios.post(this.$api.auxiliaryWorkingHoursDay.check, { |
| | | ...this.formData0 |
| | | auxiliaryWorkingHoursDays:[this.formData0] |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | |
| | | this.checkLoadY = true |
| | | } |
| | | this.$axios.post(this.$api.auxiliaryWorkingHoursDay.approve, { |
| | | id:this.formData0.id, |
| | | state:e==0?'已提交':'已批准' |
| | | auxiliaryWorkingHoursDays:[{ |
| | | id:this.formData0.id, |
| | | state:e==0?'已提交':'已批准' |
| | | }] |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |