| | |
| | | if (this.currentStep === 0) { |
| | | addEquipSuperviseDetailAccording(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('提交成功') |
| | | this.closeProcessingDia() |
| | | }).catch(err => { |
| | |
| | | } else { |
| | | approverEquipSuperviseDetailAccording(this.form).then(res => { |
| | | this.editLoad = false |
| | | if (res.code === 201) return |
| | | this.$message.success('批准成功') |
| | | this.closeProcessingDia() |
| | | }).catch(err => { |
| | |
| | | this.$emit('closeProcessingDia') |
| | | }, |
| | | getAuthorizedPerson() { |
| | | selectUserCondition({ type: 1 }).then((res) => { |
| | | selectUserCondition({ type: 2 }).then((res) => { |
| | | let data = []; |
| | | res.data.forEach((a) => { |
| | | data.push({ |