forked from xxhjsb/hbt-prevention-ui
feat:修复只读回滚
parent
fa4040e98c
commit
13add5a58d
|
@ -71,7 +71,7 @@
|
||||||
<el-table-column label="操作" fixed="right" width="100" v-if="!isReadonly">
|
<el-table-column label="操作" fixed="right" width="100" v-if="!isReadonly">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" @click="showSubUpdateModel(scope.row)">修改</el-button>
|
<el-button type="text" @click="showSubUpdateModel(scope.row)">修改</el-button>
|
||||||
<el-button type="text" @click="doSubDelete([scope.row.index])">删除</el-button>
|
<el-button type="text" @click="doSubDelete([scope.row.index - 1])">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
@ -440,6 +440,8 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
|
||||||
if (row) {
|
if (row) {
|
||||||
this.stepUpdateParams = JSON.parse(JSON.stringify(row));
|
this.stepUpdateParams = JSON.parse(JSON.stringify(row));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.buildUpdateForm()
|
||||||
this.showSubUpdate = true;
|
this.showSubUpdate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue