update 企标稽查所有流程调整
This commit is contained in:
+9
-1
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user