diff --git a/jeecgboot-vue3-master/src/views/comp/Comp.data.ts b/jeecgboot-vue3-master/src/views/comp/Comp.data.ts
index 4eb0b032..4d4ed48e 100644
--- a/jeecgboot-vue3-master/src/views/comp/Comp.data.ts
+++ b/jeecgboot-vue3-master/src/views/comp/Comp.data.ts
@@ -52,6 +52,11 @@ export const columns: BasicColumn[] = [
align: 'center',
dataIndex: 'compOrder',
},
+ {
+ title: '比赛权重',
+ align: 'center',
+ dataIndex: 'compweight',
+ },
{
title: '负责部门',
align: 'center',
diff --git a/jeecgboot-vue3-master/src/views/comp/CompList.vue b/jeecgboot-vue3-master/src/views/comp/CompList.vue
index cad003ce..9a25328b 100644
--- a/jeecgboot-vue3-master/src/views/comp/CompList.vue
+++ b/jeecgboot-vue3-master/src/views/comp/CompList.vue
@@ -84,6 +84,7 @@
+
@@ -95,6 +96,7 @@
import { listSTU, 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: {
@@ -157,11 +160,18 @@
* 编辑事件
*/
function handleEdit(record: Recordable) {
- console.log(123,record)
registerModal.value.disableSubmit = false;
registerModal.value.edit(record);
}
+ /**
+ * 修改权重事件
+ */
+ function handleEditqz(record: Recordable) {
+ registerModalqz.value.disableSubmit = false;
+ registerModalqz.value.edit(record);
+ }
+
/**
* 详情
*/
@@ -200,6 +210,10 @@
label: '编辑',
onClick: handleEdit.bind(null, record),
},
+ {
+ label: '修改权重',
+ onClick: handleEditqz.bind(null, record),
+ },
{
label: '删除',
popConfirm: {
diff --git a/jeecgboot-vue3-master/src/views/comp/components/CompFormqz.vue b/jeecgboot-vue3-master/src/views/comp/components/CompFormqz.vue
new file mode 100644
index 00000000..edd0aad4
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/comp/components/CompFormqz.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/comp/components/CompModalqz.vue b/jeecgboot-vue3-master/src/views/comp/components/CompModalqz.vue
new file mode 100644
index 00000000..cdf1d741
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/comp/components/CompModalqz.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+