|
|
|
@ -1007,18 +1007,12 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 切换等级 |
|
|
|
// 切换等级 |
|
|
|
async leavelChange(newVal) { |
|
|
|
async leavelChange(newVal) { |
|
|
|
// this.$message.success('保存成功'); |
|
|
|
|
|
|
|
// this.getDetails(); |
|
|
|
|
|
|
|
// this.form1.deleteIds = []; |
|
|
|
|
|
|
|
// this.form2.deleteIds = []; |
|
|
|
|
|
|
|
// this.form3.deleteIds = []; |
|
|
|
|
|
|
|
// this.form4.deleteIds = []; |
|
|
|
|
|
|
|
// 弹出确认框 |
|
|
|
// 弹出确认框 |
|
|
|
try { |
|
|
|
try { |
|
|
|
await this.$confirm('确定要切换工艺级别吗?切换后当前编辑内容将丢失。', '提示', { |
|
|
|
await this.$confirm('确定要切换工艺级别吗?切换后当前编辑内容将丢失。', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
type: 'warning', |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// 用户确认:更新已确认的值,并加载数据 |
|
|
|
// 用户确认:更新已确认的值,并加载数据 |
|
|
|
@ -1034,7 +1028,6 @@ export default { |
|
|
|
this.form3.tableData3 = []; |
|
|
|
this.form3.tableData3 = []; |
|
|
|
this.form4.tableData4 = []; |
|
|
|
this.form4.tableData4 = []; |
|
|
|
this.getDetails(); |
|
|
|
this.getDetails(); |
|
|
|
|
|
|
|
|
|
|
|
} catch (error) { |
|
|
|
} catch (error) { |
|
|
|
// 用户取消:恢复为上一次确认的值 |
|
|
|
// 用户取消:恢复为上一次确认的值 |
|
|
|
this.rank = this.lastConfirmedRank; |
|
|
|
this.rank = this.lastConfirmedRank; |
|
|
|
|