diff --git a/jeecgboot-vue3-master/src/views/anncomgrotop/AnnComGroTopList1.vue b/jeecgboot-vue3-master/src/views/anncomgrotop/AnnComGroTopList1.vue
new file mode 100644
index 00000000..263f02d4
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/anncomgrotop/AnnComGroTopList1.vue
@@ -0,0 +1,241 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ getAreaTextByCode(text) }}
+
+
+ 无文件
+ 下载
+
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/expscore/ExpScore.api.ts b/jeecgboot-vue3-master/src/views/expscore/ExpScore.api.ts
index f6f7b983..72b8cb96 100644
--- a/jeecgboot-vue3-master/src/views/expscore/ExpScore.api.ts
+++ b/jeecgboot-vue3-master/src/views/expscore/ExpScore.api.ts
@@ -11,6 +11,7 @@ enum Api {
deleteBatch = '/expscore/expScore/deleteBatch',
importExcel = '/expscore/expScore/importExcel',
exportXls = '/expscore/expScore/exportXls',
+ xzzf = '/scorestapointd/scoreStaPointD/xzzf',
}
/**
@@ -19,6 +20,8 @@ enum Api {
*/
export const getExportUrl = Api.exportXls;
+export const xzzf = (params) => defHttp.get({ url: Api.xzzf, params }, { successMessageMode: 'none' });
+
/**
* 导入api
*/
diff --git a/jeecgboot-vue3-master/src/views/expscore/ExpScoreList.vue b/jeecgboot-vue3-master/src/views/expscore/ExpScoreList.vue
index b315f2e1..1c2cc453 100644
--- a/jeecgboot-vue3-master/src/views/expscore/ExpScoreList.vue
+++ b/jeecgboot-vue3-master/src/views/expscore/ExpScoreList.vue
@@ -11,11 +11,11 @@
- 新增
+
-
+
-
+
@@ -55,12 +55,16 @@
import { BasicTable, useTable, TableAction } from '/@/components/Table';
import { useListPage } from '/@/hooks/system/useListPage';
import { columns } from './ExpScore.data';
- import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './ExpScore.api';
+ import { list, deleteOne, batchDelete, getImportUrl, getExportUrl,xzzf } from './ExpScore.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import ExpScoreModal from './components/ExpScoreModal.vue'
import JSearchSelect from '/@/components/Form/src/jeecg/components/JSearchSelect.vue';
import JSelectUserByDept from '/@/components/Form/src/jeecg/components/JSelectUserByDept.vue';
+ import { useRoute } from 'vue-router';
+ import {useMessage} from "../../hooks/web/useMessage";
+ const { createMessage } = useMessage();
+ const route = useRoute();
const formRef = ref();
const queryParam = reactive({});
const toggleSearchStatus = ref(false);
@@ -78,7 +82,7 @@
fixed: 'right',
},
beforeFetch: (params) => {
- return Object.assign(params, queryParam);
+ return Object.assign(params, {xmtmid:route.query.id});
},
},
exportConfig: {
@@ -108,7 +112,7 @@
registerModal.value.disableSubmit = false;
registerModal.value.add();
}
-
+
/**
* 编辑事件
*/
@@ -116,7 +120,24 @@
registerModal.value.disableSubmit = false;
registerModal.value.edit(record);
}
-
+
+ /**
+ * 设置细则得分事件
+ */
+ function szxzdf(record: Recordable) {
+ xzzf({zjpfid:record.id}).then((result)=>{
+ console.log(result)
+ if(result=="true"){
+ registerModal.value.disableSubmit = false;
+ registerModal.value.edit(record);
+ }else{
+ createMessage.warning("评分细则总分不足100分,请先添加评分细则");
+ }
+
+ });
+
+ }
+
/**
* 详情
*/
@@ -124,40 +145,40 @@
registerModal.value.disableSubmit = true;
registerModal.value.edit(record);
}
-
+
/**
* 删除事件
*/
async function handleDelete(record) {
await deleteOne({ id: record.id }, handleSuccess);
}
-
+
/**
* 批量删除事件
*/
async function batchHandleDelete() {
await batchDelete({ ids: selectedRowKeys.value }, handleSuccess);
}
-
+
/**
* 成功回调
*/
function handleSuccess() {
(selectedRowKeys.value = []) && reload();
}
-
+
/**
* 操作栏
*/
function getTableAction(record) {
return [
{
- label: '编辑',
- onClick: handleEdit.bind(null, record),
+ label: '设置细则得分',
+ onClick: szxzdf.bind(null, record),
},
];
}
-
+
/**
* 下拉操作栏
*/
@@ -182,7 +203,7 @@
function searchQuery() {
reload();
}
-
+
/**
* 重置
*/
@@ -192,7 +213,7 @@
//刷新数据
reload();
}
-
+
diff --git a/jeecgboot-vue3-master/src/views/expscore/components/ExpScoreModal.vue b/jeecgboot-vue3-master/src/views/expscore/components/ExpScoreModal.vue
index 11d228ef..b59e76de 100644
--- a/jeecgboot-vue3-master/src/views/expscore/components/ExpScoreModal.vue
+++ b/jeecgboot-vue3-master/src/views/expscore/components/ExpScoreModal.vue
@@ -6,8 +6,10 @@
+
+
diff --git a/jeecgboot-vue3-master/src/views/scorestapoint/ScoreStaPoint_menu_insert.sql b/jeecgboot-vue3-master/src/views/scorestapoint/ScoreStaPoint_menu_insert.sql
new file mode 100644
index 00000000..2f549eac
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapoint/ScoreStaPoint_menu_insert.sql
@@ -0,0 +1,26 @@
+-- 注意:该页面对应的前台目录为views/scorestapoint文件夹下
+-- 如果你想更改到其他目录,请修改sql中component字段对应的值
+
+
+INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
+VALUES ('2023110909065450290', NULL, '评分细则', '/scorestapoint/scoreStaPointList', 'scorestapoint/ScoreStaPointList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 0, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0);
+
+-- 权限控制sql
+-- 新增
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450291', '2023110909065450290', '添加评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
+-- 编辑
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450292', '2023110909065450290', '编辑评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
+-- 删除
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450293', '2023110909065450290', '删除评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
+-- 批量删除
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450294', '2023110909065450290', '批量删除评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
+-- 导出excel
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450295', '2023110909065450290', '导出excel_评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
+-- 导入excel
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023110909065450296', '2023110909065450290', '导入excel_评分细则', NULL, NULL, 0, NULL, NULL, 2, 'scorestapoint:score_sta_point:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-09 09:06:29', NULL, NULL, 0, 0, '1', 0);
\ No newline at end of file
diff --git a/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointForm.vue b/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointForm.vue
new file mode 100644
index 00000000..67dbbe79
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointForm.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointModal.vue b/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointModal.vue
new file mode 100644
index 00000000..09ee1078
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapoint/components/ScoreStaPointModal.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.api.ts b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.api.ts
new file mode 100644
index 00000000..3370c3d1
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.api.ts
@@ -0,0 +1,82 @@
+import { defHttp } from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/scorestapointd/scoreStaPointD/list',
+ save='/scorestapointd/scoreStaPointD/add',
+ edit='/scorestapointd/scoreStaPointD/edit',
+ edit1='/scorestapointd/scoreStaPointD/edit1',
+ deleteOne = '/scorestapointd/scoreStaPointD/delete',
+ deleteBatch = '/scorestapointd/scoreStaPointD/deleteBatch',
+ importExcel = '/scorestapointd/scoreStaPointD/importExcel',
+ exportXls = '/scorestapointd/scoreStaPointD/exportXls',
+}
+
+/**
+ * 导出api
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) => defHttp.get({ url: Api.list, params });
+
+/**
+ * 删除单个
+ * @param params
+ * @param handleSuccess
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+
+/**
+ * 批量删除
+ * @param params
+ * @param handleSuccess
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({ url: url, params }, { isTransformResponse: false });
+}
+/**
+ * 保存或者更新
+ * @param params
+ * @param isUpdate
+ */
+export const saveOrUpdate1 = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit1 : Api.edit1;
+ return defHttp.get({ url: url, params }, { isTransformResponse: false });
+}
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.data.ts b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.data.ts
new file mode 100644
index 00000000..53bdebf0
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD.data.ts
@@ -0,0 +1,48 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '评分细则',
+ align: "center",
+ dataIndex: 'scoreStaPoint_dictText'
+ },
+ {
+ title: '细则标准分',
+ align: "center",
+ dataIndex: 'standard'
+ },
+ {
+ title: '得分',
+ align: "center",
+ dataIndex: 'score'
+ },
+];
+
+//查询数据
+export const searchFormSchema: FormSchema[] = [
+];
+
+//表单数据
+export const formSchema: FormSchema[] = [
+ {
+ label: '得分',
+ field: 'score',
+ component: 'InputNumber',
+ dynamicRules: ({model,schema}) => {
+ return [
+ { required: true, message: '请输入得分!'},
+ { pattern: /^-?\d+$/, message: '请输入整数!'},
+ ];
+ },
+ },
+ // TODO 主键隐藏字段,目前写死为ID
+ {
+ label: '',
+ field: 'id',
+ component: 'Input',
+ show: false,
+ },
+];
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointDList.vue b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointDList.vue
new file mode 100644
index 00000000..7839e487
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointDList.vue
@@ -0,0 +1,245 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ getAreaTextByCode(text) }}
+
+
+ 无文件
+ 下载
+
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD_menu_insert.sql b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD_menu_insert.sql
new file mode 100644
index 00000000..53fafba1
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/ScoreStaPointD_menu_insert.sql
@@ -0,0 +1,26 @@
+-- 注意:该页面对应的前台目录为views/scorestapointd文件夹下
+-- 如果你想更改到其他目录,请修改sql中component字段对应的值
+
+
+INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
+VALUES ('2023111003565850450', NULL, '评分细则得分', '/scorestapointd/scoreStaPointDList', 'scorestapointd/ScoreStaPointDList', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 1, 0, 0, 0, 0, NULL, '1', 0, 0, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0);
+
+-- 权限控制sql
+-- 新增
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850451', '2023111003565850450', '添加评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:add', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
+-- 编辑
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850452', '2023111003565850450', '编辑评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:edit', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
+-- 删除
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850453', '2023111003565850450', '删除评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:delete', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
+-- 批量删除
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850454', '2023111003565850450', '批量删除评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:deleteBatch', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
+-- 导出excel
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850455', '2023111003565850450', '导出excel_评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:exportXls', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
+-- 导入excel
+INSERT INTO sys_permission(id, parent_id, name, url, component, is_route, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_leaf, keep_alive, hidden, hide_tab, description, create_by, create_time, update_by, update_time, del_flag, rule_flag, status, internal_or_external)
+VALUES ('2023111003565850456', '2023111003565850450', '导入excel_评分细则得分', NULL, NULL, 0, NULL, NULL, 2, 'scorestapointd:score_sta_point_d:importExcel', '1', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'admin', '2023-11-10 15:56:45', NULL, NULL, 0, 0, '1', 0);
\ No newline at end of file
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDForm.vue b/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDForm.vue
new file mode 100644
index 00000000..6ac07cb4
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDForm.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDModal.vue b/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDModal.vue
new file mode 100644
index 00000000..56e75885
--- /dev/null
+++ b/jeecgboot-vue3-master/src/views/scorestapointd/components/ScoreStaPointDModal.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+