From 4fb6ff08ff5b2690ebdf8c03176b3b32e1e2466b Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 3 Jan 2024 17:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=B5=9B=E6=9D=83=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/comp/CompListRole.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/jeecgboot-vue3-master/src/views/comp/CompListRole.vue b/jeecgboot-vue3-master/src/views/comp/CompListRole.vue index f78c8701..333787e2 100644 --- a/jeecgboot-vue3-master/src/views/comp/CompListRole.vue +++ b/jeecgboot-vue3-master/src/views/comp/CompListRole.vue @@ -84,6 +84,7 @@ + @@ -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({}); const toggleSearchStatus = ref(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), + }, ]; }