fix 81753
This commit is contained in:
+18
-3
@@ -123,7 +123,7 @@
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
:loading="tableLoading"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange, getCheckboxProps: getCheckboxProps}"
|
||||
@change="handleTableChange"
|
||||
v-bind="$attrs">
|
||||
|
||||
@@ -336,7 +336,13 @@ import PersonnelInfo from '../../../components/PersonnelInfo'
|
||||
import InternalDetailPage from '../../../components/InternalDetailPage'
|
||||
import ProcessDetailList from '../../../components/ProcessDetailList'
|
||||
import { WorkCenterMixin } from '../../../mixins/WorkCenterMixin'
|
||||
import { EvaluationResultType, ProcessKey, ProjectComplianceEvaluationProcessNode, StandardSource } from '../../../enums/commonEnums'
|
||||
import {
|
||||
EsInspectionPlan,
|
||||
EvaluationResultType,
|
||||
ProcessKey,
|
||||
ProjectComplianceEvaluationProcessNode,
|
||||
StandardSource
|
||||
} from '../../../enums/commonEnums'
|
||||
import JTable from '../../../components/jero/JTable'
|
||||
import ProjectTable from './components/ProjectTable'
|
||||
import UserSelection from '../../../components/selection/UserSelection'
|
||||
@@ -1505,7 +1511,16 @@ export default {
|
||||
},
|
||||
handleCarbonCopyNameChange (name) {
|
||||
this.dispatchInfo.carbonCopyPersonnels_dictText = name
|
||||
}
|
||||
},
|
||||
getCheckboxProps (record) {
|
||||
const obj = { props: { disabled: false } }
|
||||
// 第二个节点,只有自己的才能勾选删除
|
||||
if (record.canAssignFlag + '' !== '1') {
|
||||
obj.props.disabled = true
|
||||
}
|
||||
return obj
|
||||
},
|
||||
|
||||
},
|
||||
beforeRouteLeave (to, form, next) {
|
||||
// 跳转项目详情就不销毁
|
||||
|
||||
Reference in New Issue
Block a user