| | |
| | | </ProTableQueryFilterBar> |
| | | <ProTableV2 v-bind="proTableProps" :columns="column" :operationBtns="operationBtns"> |
| | | <template #userCount="{ row }"> |
| | | <el-button link type="primary" @click="goSignList(row)">{{ |
| | | <el-button v-if="!row.isInternal" link type="primary" @click="goSignList(row)">{{ |
| | | row.userCount || 0 |
| | | }}</el-button> |
| | | <span v-else>/</span> |
| | | </template> |
| | | </ProTableV2> |
| | | </AppContainer> |
| | |
| | | onClick: (role) => goAddOrEdit(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetTaskInfosQueryResultItem) => row.status === EnumTaskStatus.Complete, |
| | | hide: (row: API.GetTaskInfosQueryResultItem) => |
| | | row.status === EnumTaskStatus.Complete || !row.isInternal, |
| | | }, |
| | | }, |
| | | detailBtn: { |
| | |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetTaskInfosQueryResultItem) => |
| | | row.releaseStatus === EnumTaskReleaseStatus.InProcess, |
| | | row.releaseStatus === EnumTaskReleaseStatus.InProcess || !row.isInternal, |
| | | }, |
| | | }, |
| | | unPublishBtn: { |
| | |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetTaskInfosQueryResultItem) => |
| | | row.releaseStatus === EnumTaskReleaseStatus.Stopped, |
| | | row.releaseStatus === EnumTaskReleaseStatus.Stopped || !row.isInternal, |
| | | }, |
| | | }, |
| | | arrangeBtn: { |
| | |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetTaskInfosQueryResultItem) => |
| | | row.releaseStatus === EnumTaskReleaseStatus.Stopped, |
| | | row.releaseStatus === EnumTaskReleaseStatus.Stopped || !row.isInternal, |
| | | }, |
| | | }, |
| | | }; |