| | |
| | | <el-col :span="1.5"> |
| | | <el-button type="warning" icon="Download" :disabled="single" @click="handleExportDef">导出</el-button> |
| | | </el-col> |
| | | <right-toolbar v-model:show-search="showSearch" @query-table="getList"></right-toolbar> |
| | | <right-toolbar v-model:show-search="showSearch" @query-table="handleQuery"></right-toolbar> |
| | | </el-row> |
| | | </template> |
| | | <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick"> |
| | |
| | | v-model:page="queryParams.pageNum" |
| | | v-model:limit="queryParams.pageSize" |
| | | :total="total" |
| | | @pagination="handleQuery" |
| | | @pagination="getPageList" |
| | | /> |
| | | </el-tabs> |
| | | </el-card> |
| | |
| | | formPath: '' |
| | | }); |
| | | onMounted(() => { |
| | | handleQuery(); |
| | | getPageList(); |
| | | getTreeselect(); |
| | | }); |
| | | |
| | |
| | | flowCodeList.value = selection.map((item: any) => item.flowCode); |
| | | single.value = selection.length !== 1; |
| | | multiple.value = !selection.length; |
| | | }; |
| | | //分页 |
| | | const getPageList = async () => { |
| | | console.log(proxy.$route.query.activeName) |
| | | if (proxy.$route.query.activeName) { |
| | | activeName.value = proxy.$route.query.activeName; |
| | | } |
| | | if (activeName.value === '0') { |
| | | getList(); |
| | | } else { |
| | | getUnPublishList(); |
| | | } |
| | | }; |
| | | //分页 |
| | | const getList = async () => { |
| | |
| | | path: `/workflow/design/index`, |
| | | query: { |
| | | definitionId: row.id, |
| | | disabled: false |
| | | disabled: false, |
| | | activeName: activeName.value |
| | | } |
| | | }); |
| | | }; |
| | |
| | | path: `/workflow/design/index`, |
| | | query: { |
| | | definitionId: row.id, |
| | | disabled: true |
| | | disabled: true, |
| | | activeName: activeName.value |
| | | } |
| | | }); |
| | | }; |