update 企标稽查所有流程调整

This commit is contained in:
danshihao
2023-11-24 14:26:23 +08:00
parent 0c12db10d9
commit d76cafba17
11 changed files with 1076 additions and 356 deletions
@@ -19,7 +19,7 @@
rowKey="id"
:loading="loading"
:pagination="false"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:row-selection="hasTableOperator ? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange, getCheckboxProps } : null"
:scroll="{x: '100%'}"
@change="tableOnChange">
@@ -271,6 +271,14 @@ export default {
this.filters.taskId = this.$route.query.taskId
},
methods: {
getCheckboxProps (record) {
const obj = { props: { disabled: false } }
// 第二个节点,只有自己的才能勾选删除
if (this.currentNode === EsInspectionPlan.fillInComments.value) {
obj.props.disabled = record.createBy !== this.$store.getters.userInfo.username
}
return obj
},
getData () {
return this.dataSource
},