forked from xxhjsb/hbt-prevention-ui
feat:修复只读状态回复
parent
2425733ec9
commit
fa4040e98c
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue