|
|
@ -11,7 +11,8 @@ |
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection"> |
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection"> |
|
|
|
<!--插槽:table标题--> |
|
|
|
<!--插槽:table标题--> |
|
|
|
<template #tableTitle> |
|
|
|
<template #tableTitle> |
|
|
|
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> |
|
|
|
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined">绑定作品</a-button> |
|
|
|
|
|
|
|
<a-button type="primary" @click="handleAddzpz" preIcon="ant-design:plus-outlined">绑定作品组</a-button> |
|
|
|
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button> |
|
|
|
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button> |
|
|
|
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>--> |
|
|
|
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>--> |
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
|
@ -47,6 +48,7 @@ |
|
|
|
</BasicTable> |
|
|
|
</BasicTable> |
|
|
|
<!-- 表单区域 --> |
|
|
|
<!-- 表单区域 --> |
|
|
|
<AnnComGroTopPModal ref="registerModal" @success="handleSuccess"></AnnComGroTopPModal> |
|
|
|
<AnnComGroTopPModal ref="registerModal" @success="handleSuccess"></AnnComGroTopPModal> |
|
|
|
|
|
|
|
<AnnComGroTopPModal1 ref="registerModal1" @success="handleSuccess"></AnnComGroTopPModal1> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -58,6 +60,7 @@ |
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './AnnComGroTopP.api'; |
|
|
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './AnnComGroTopP.api'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import { downloadFile } from '/@/utils/common/renderUtils'; |
|
|
|
import AnnComGroTopPModal from './components/AnnComGroTopPModal.vue' |
|
|
|
import AnnComGroTopPModal from './components/AnnComGroTopPModal.vue' |
|
|
|
|
|
|
|
import AnnComGroTopPModal1 from './components/AnnComGroTopPModal1.vue' |
|
|
|
import { useRoute } from 'vue-router'; |
|
|
|
import { useRoute } from 'vue-router'; |
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute(); |
|
|
|
const route = useRoute(); |
|
|
@ -65,6 +68,7 @@ |
|
|
|
const queryParam = reactive<any>({}); |
|
|
|
const queryParam = reactive<any>({}); |
|
|
|
const toggleSearchStatus = ref<boolean>(false); |
|
|
|
const toggleSearchStatus = ref<boolean>(false); |
|
|
|
const registerModal = ref(); |
|
|
|
const registerModal = ref(); |
|
|
|
|
|
|
|
const registerModal1 = ref(); |
|
|
|
//注册table数据 |
|
|
|
//注册table数据 |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ |
|
|
|
tableProps: { |
|
|
|
tableProps: { |
|
|
@ -109,6 +113,14 @@ |
|
|
|
registerModal.value.add(); |
|
|
|
registerModal.value.add(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 新增事件 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
function handleAddzpz() { |
|
|
|
|
|
|
|
registerModal1.value.disableSubmit = false; |
|
|
|
|
|
|
|
registerModal1.value.add(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 编辑事件 |
|
|
|
* 编辑事件 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|