| | |
| | | ...this.dataForm.operations.slice(obj.index - 1) |
| | | ] |
| | | } |
| | | this.dataForm.operations.forEach((e, idx) => { |
| | | e.index = idx + 1 |
| | | }) |
| | | this.$forceUpdate() |
| | | this.$refs.operationTable.sort('index') |
| | | Promise.all([this.save()]).then((res) => { |
| | | this.selectByIndex(obj.index) |
| | | }) |
| | | }) |
| | | }) |
| | | this.dataForm.operations.forEach((e, idx) => { |
| | | e.index = idx + 1 |
| | | }) |
| | | this.$forceUpdate() |
| | | this.$refs.operationTable.sort('index') |
| | | Promise.all([this.save()]).then((res) => { |
| | | this.selectByIndex(obj.index) |
| | | }) |
| | | }else{ |
| | | operation.operationName = operation.name |
| | | operation.operationId = operation.id |