比赛权重

dev
Gitea 11 months ago
parent 4059e72702
commit 4fb6ff08ff
  1. 15
      jeecgboot-vue3-master/src/views/comp/CompListRole.vue

@ -84,6 +84,7 @@
</BasicTable>
<!-- 表单区域 -->
<CompModal ref="registerModal" @success="handleSuccess" :comp-types="compType" />
<CompModalqz ref="registerModalqz" @success="handleSuccess" :comp-types="compType" />
</div>
</template>
@ -95,6 +96,7 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl, getCompType } from './Comp.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import CompModal from './components/CompModal.vue';
import CompModalqz from './components/CompModalqz.vue';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import JPopup from '/@/components/Form/src/jeecg/components/JPopup.vue';
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
@ -104,6 +106,7 @@
const queryParam = reactive<any>({});
const toggleSearchStatus = ref<boolean>(false);
const registerModal = ref();
const registerModalqz = ref();
//table
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
tableProps: {
@ -161,6 +164,14 @@
registerModal.value.edit(record);
}
/**
* 修改权重事件
*/
function handleEditqz(record: Recordable) {
registerModalqz.value.disableSubmit = false;
registerModalqz.value.edit(record);
}
/**
* 详情
*/
@ -199,6 +210,10 @@
label: '编辑',
onClick: handleEdit.bind(null, record),
},
{
label: '修改权重',
onClick: handleEditqz.bind(null, record),
},
];
}

Loading…
Cancel
Save