作品分配绑定作品组

main
Gitea 4 months ago
parent 156091695c
commit f25066665d
  1. 14
      jeecgboot-vue3-master/src/views/anncomgrotopp/AnnComGroTopPList.vue

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

Loading…
Cancel
Save