feat:修复只读状态回复

wuyanfu
吴延福 2023-07-03 11:44:08 +08:00
parent 2425733ec9
commit fa4040e98c
2 changed files with 2 additions and 1 deletions

View File

@ -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])">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@ -537,6 +537,7 @@ export default class WorkManagerComponent extends BaseRecordComponent<any> {
return return
} }
this.showSteptable = false; this.showSteptable = false;
this.isReadonly = false;
this.showUpdate = false; this.showUpdate = false;
this.updateParams = {} as any; this.updateParams = {} as any;
} }