From 47ca453401b854d05ebb344237e08fcd630d0f9a Mon Sep 17 00:00:00 2001 From: huababa1 <2037205722@qq.com> Date: Sat, 8 Nov 2025 18:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/tranparam/index.ts | 19 ++ src/api/system/user/index.ts | 5 + src/config/axios/index.ts | 3 +- src/locales/zh-CN.ts | 4 +- src/utils/dict.ts | 1 + src/views/exam/specialty/index.vue | 6 +- src/views/monitor/monitor/index.vue | 14 +- src/views/paper/question/BrowerForm.vue | 9 +- src/views/paper/question/ChoiceForm.vue | 13 +- src/views/paper/question/EmailForm.vue | 16 +- src/views/paper/question/FileForm.vue | 7 +- src/views/paper/question/MysqlForm.vue | 12 +- src/views/paper/question/PsForm.vue | 28 +- src/views/paper/question/SettingForm.vue | 16 +- .../question/WindowsSystemSettingForm.vue | 6 + src/views/paper/question/WpsPptxForm.vue | 16 +- src/views/paper/question/WpsWordForm.vue | 16 +- src/views/paper/question/WpsXlsxForm.vue | 16 +- src/views/paper/question/index.vue | 71 +++-- src/views/system/set/examset/index.vue | 58 ++++ src/views/system/set/param/SpecialtyForm.vue | 150 ++++++++++ src/views/system/set/param/index.vue | 260 ++++++++++++++++++ src/views/system/{ => set}/white/index.vue | 120 ++++---- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 5 +- .../exam/components/steps/step5/index.vue | 25 +- .../steps/step2/components/step-edit.vue | 4 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../steps/step2/components/step-edit.vue | 4 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 3 +- .../components/steps/step5/index.vue | 25 +- .../steps/step2/components/step-edit.vue | 4 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 3 +- .../module/components/steps/step5/index.vue | 25 +- .../steps/step2/components/step-edit.vue | 4 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 4 +- .../random/components/steps/step5/index.vue | 26 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 3 +- .../sprint/components/steps/step5/index.vue | 25 +- .../steps/step2/components/step-look.vue | 4 +- .../steps/step2/components/step-set.vue | 1 + .../step5/components/StudentImportForm.vue | 142 ++++++++++ .../steps/step5/components/person-edit.vue | 4 +- .../trans/components/steps/step5/index.vue | 28 +- 59 files changed, 1724 insertions(+), 221 deletions(-) create mode 100644 src/api/system/tranparam/index.ts create mode 100644 src/views/system/set/examset/index.vue create mode 100644 src/views/system/set/param/SpecialtyForm.vue create mode 100644 src/views/system/set/param/index.vue rename src/views/system/{ => set}/white/index.vue (56%) create mode 100644 src/views/task/exam/components/steps/step5/components/StudentImportForm.vue create mode 100644 src/views/task/selftrans/collegeexam/components/steps/step5/components/StudentImportForm.vue create mode 100644 src/views/task/selftrans/module/components/steps/step5/components/StudentImportForm.vue create mode 100644 src/views/task/selftrans/random/components/steps/step5/components/StudentImportForm.vue create mode 100644 src/views/task/sprint/components/steps/step5/components/StudentImportForm.vue create mode 100644 src/views/task/trans/components/steps/step5/components/StudentImportForm.vue diff --git a/src/api/system/tranparam/index.ts b/src/api/system/tranparam/index.ts new file mode 100644 index 0000000..7713528 --- /dev/null +++ b/src/api/system/tranparam/index.ts @@ -0,0 +1,19 @@ +import request from '@/config/axios' +// 通用参数实体 +export interface TranParam { + id?: number + examSet: string // 0 是开启,1 否关闭 +} + + + +// 获取列表 +export const getSet = () => { + return request.get({ url: '/exam/tranparam/getSetList' }) +} + + +// 修改 +export const updateSet = (data) => { + return request.put({ url: '/exam/tranparam/updateSet', data }) +} \ No newline at end of file diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index 60881f8..0f54f56 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -87,6 +87,11 @@ export const importUserTemplate = () => { export const importUserTemplateStu = () => { return request.download({ url: '/system/user/get-import-template-stu' }) } +// 下载学生试卷任务导入模板 +export const importUserTaskStu = () => { + return request.download({ url: '/system/user/get-import-task-stu' }) +} + // 下载教师导入模板 export const importUserTemplateTeacher = () => { return request.download({ url: '/system/user/get-import-template-teacher' }) diff --git a/src/config/axios/index.ts b/src/config/axios/index.ts index 07719a2..0080029 100644 --- a/src/config/axios/index.ts +++ b/src/config/axios/index.ts @@ -1,6 +1,7 @@ import { service } from './service' import { config } from './config' +import { TranParam } from '@/api/tranparam' const { default_headers } = config @@ -31,7 +32,7 @@ export default { const res = await request({ method: 'DELETE', ...option }) return res.data as unknown as T }, - put: async (option: any) => { + put: async (option: any, data: TranParam) => { const res = await request({ method: 'PUT', ...option }) return res.data as unknown as T }, diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 1b82e85..47d70ca 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -114,7 +114,7 @@ export default { small: '小' }, login: { - welcome: '湖北省技能高考万维考试平台', + welcome: '万维智能实训平台', message: '', tenantname: '租户名称', username: '用户名', @@ -128,7 +128,7 @@ export default { remember: '记住我', hasUser: '已有账号?去登录', forgetPassword: '忘记密码?', - tenantNamePlaceholder: '请输入租户名称', + tenantNamePlaceholder: '请输入学校名称', usernamePlaceholder: '请输入用户名', passwordPlaceholder: '请输入密码', codePlaceholder: '请输入验证码', diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 49513ff..1b62244 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -110,6 +110,7 @@ export const getDictLabel = (dictType: string, value: any): string => { export enum DICT_TYPE { USER_TYPE = 'user_type', COMMON_STATUS = 'common_status', + C = 'c', TERMINAL = 'terminal', // 终端 DATE_INTERVAL = 'date_interval', // 数据间隔 diff --git a/src/views/exam/specialty/index.vue b/src/views/exam/specialty/index.vue index dfe9dc0..b124042 100644 --- a/src/views/exam/specialty/index.vue +++ b/src/views/exam/specialty/index.vue @@ -56,7 +56,7 @@ v-if="refreshTable" > - + diff --git a/src/views/monitor/monitor/index.vue b/src/views/monitor/monitor/index.vue index 081f0d3..59c1ab4 100644 --- a/src/views/monitor/monitor/index.vue +++ b/src/views/monitor/monitor/index.vue @@ -119,7 +119,15 @@ /> - + + + 搜索 重置 @@ -171,6 +179,7 @@ + - - + + + + + +
@@ -446,6 +450,7 @@ const formData = ref({ pointNamesVo:'', chapteridDictTextVo:'', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/ChoiceForm.vue b/src/views/paper/question/ChoiceForm.vue index 405a8fa..4f57767 100644 --- a/src/views/paper/question/ChoiceForm.vue +++ b/src/views/paper/question/ChoiceForm.vue @@ -106,13 +106,11 @@ - + + + + +
@@ -326,6 +324,7 @@ const formData = ref({ pointNamesVo:'', chapteridDictTextVo:'', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/EmailForm.vue b/src/views/paper/question/EmailForm.vue index a23dde6..fc9dfd5 100644 --- a/src/views/paper/question/EmailForm.vue +++ b/src/views/paper/question/EmailForm.vue @@ -84,18 +84,11 @@ - +
@@ -381,6 +374,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/FileForm.vue b/src/views/paper/question/FileForm.vue index 9d25bf3..88ab6ed 100644 --- a/src/views/paper/question/FileForm.vue +++ b/src/views/paper/question/FileForm.vue @@ -96,7 +96,11 @@ - + + + + + @@ -506,6 +510,7 @@ const formData = ref({ pointNamesVo:'', chapteridDictTextVo:'', content: '

---------------------------------------------------------------------

请在打开的窗口中,进行下列操作,完成所有操作后,请关闭窗口。

---------------------------------------------------------------------

', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/MysqlForm.vue b/src/views/paper/question/MysqlForm.vue index f287f29..3734e37 100644 --- a/src/views/paper/question/MysqlForm.vue +++ b/src/views/paper/question/MysqlForm.vue @@ -99,7 +99,13 @@ - + + + + + + +

@@ -451,6 +457,7 @@ const formData = ref({ pointNamesVo:'', chapteridDictTextVo:'', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', @@ -961,7 +968,8 @@ const submitForm = async () => { /** 重置表单 */ const resetForm = () => { formData.value = { - content: `

---------------------------------------------------------------------------

注意事项:

请利用图形化管理界面或者MySQL命令行工具,在指定的试题数据库中进行答题。

请先点击答题作答,否则所有试题不得分!

MySQL连接地址为localhost

MySQL登录用户名为root

MySQL端口号为48086

MySQL密码为空

---------------------------------------------------------------------------

无人商超系统数据库db_smartmart包含了product商品表、device设备表、orders订单表和order_detail订单详情表,以及t_user用户表。

product包含字段 product_id(商品编号),rfid_tag(RFID电子标签),name(商品名称),category(类别),weight(重量),current_stock(当前库存),position(货架位置)。

device包含字段 device_id(设备编号),type(设备),status(实时状态),last_check(最后检测时间),location(部署位置)。

orders包含字段 order_id(订单编号),user_id(用户编号),payment_method(支付方式),total_amount(订单金额),create_time(下单时间),checkout_device_id(结算设备ID)。

order_detail包含字段 detail_id(订单详情编号),order_id(订单编号),product_id(商品编号),quantity(购买数量),scan_time(扫描时间)。

t_user包含字段 user_id(用户编号),username(用户姓名)。

1、在数据库中已经存在了一个用户表,但缺少其他相关字段,请补全此表,其他字段如下

字段名称 类型 长度 需求
password(密码)VARCHAR255非空
phone(联系方式)VARCHAR15唯一
real_name(用户姓名)VARCHAR20
status(状态)INT默认为1


2、添加一条商品记录,('RFID_NSN001',  '蒜鸟-樱花限定版', '日用品',0.35, 100, 'D05-1')。

3、在device设备表中,修改"出口通道1号"的"自助结算机1-1"的状态为"维护中"。

4、在order_detail订单详情表中,删除订单号为"cs001"的测试数据。

5、在orders订单表中,删除订单号为"cs001"的测试数据。

6、使用sql语句查询所有处于正常状态的自助结算机的订单数和总订单金额;要求显示字段名分别为:机器编号,位置,订单数,总金额。

(注意: 请将该查询语句以cx11.txt为文件名保存在试题文件夹中,否则没有成绩)

7、使用sql语句查询查询库存量低于平均库存的所有商品信息。

(注意: 请将该查询语句以cx12.txt为文件名保存在试题文件夹中,否则没有成绩)

8、创建视图名称为v_smartmart。要求显示类别为"日用品"的相关信息,要求显示:订单编号、商品名称、购买数量、订单金额、下单时间,按照订单金额升序排序。

9、创建一个名称为tri_food_reset 的触发器,在device设备表中,温度传感器每天会定时更新数据,当数据更新之后,将商品类别为"鲜食"的商品库存数量清零。

(在试题文件夹中"触发器.txt"已经给出部分程序,但是程序不完整,请考生在"【】"标记处填上适当的内容后并把"【】"标记删除,使程序补充完整,并按照原文件名保存在试题文件夹下或在数据库里创建,否则没有成绩。禁止修改"标记"以外的代码,否则没有成绩。)

10、创建一个名称为pro_getproduct的存储过程,输入设备in_device_type VARCHAR(100),根据设备的部署位置查询该设备监控的商品信息。

(在试题文件夹中"存储过程.txt"已经给出部分程序,但是程序不完整,请考生在"【】"标记处填上适当的内容后并把"【】"标记删除,使程序补充完整,并按照原文件名保存在试题文件夹下或在数据库里创建,否则没有成绩。禁止修改"标记"以外的代码,否则没有成绩。)

`, + content: `

---------------------------------------------------------------------------

注意事项:

请利用图形化管理界面或者MySQL命令行工具,在指定的试题数据库中进行答题。

请先点击答题作答,否则所有试题不得分!

MySQL连接地址为localhost

MySQL登录用户名为root

MySQL端口号为48086

MySQL密码为空

--------------------------------------------------------------------------- +

`, specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/PsForm.vue b/src/views/paper/question/PsForm.vue index d2cd2ee..5a23d27 100644 --- a/src/views/paper/question/PsForm.vue +++ b/src/views/paper/question/PsForm.vue @@ -96,9 +96,12 @@ - + + + + + -
@@ -487,6 +490,7 @@ const formData = ref({ pointNamesVo:'', chapteridDictTextVo:'', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', @@ -671,7 +675,7 @@ function flattenPsVoList(list, parentPath = '') { if (item.children && item.children.length > 0) { result.push(...flattenPsVoList(item.children, currentPath)); } else { - const symbol = item.value === 'true' ? '✅' : item.value === 'false' ? '❌' : item.value; + const symbol = item.value ; result.push({ key: item.key, // 一定要有 key label: `${currentPath}: ${symbol}`, @@ -697,11 +701,7 @@ function flattenPsVoListOther(list, parentPath = '') { : item.key; // 处理值显示(类似原函数的symbol逻辑) - const valueDisplay = item.value === 'true' - ? '✅' - : item.value === 'false' - ? '❌' - : item.value ; + const valueDisplay = item.value ; // 只有叶子节点(没有children属性)才添加到结果 // 根据您的数据结构,type=1可能是叶子节点的标识 @@ -765,7 +765,7 @@ console.log(formData.value.fileUploads+"formData.value.fileUploads") const formRules = reactive({ - // specialtyName: [{ required: true, message: '用户名称不能为空', trigger: 'blur' }] + status: [{ required: true, message: '启用状态必填', trigger: 'blur' }] }) const formRef = ref() // 表单 Ref // 左侧试题描述 @@ -1113,7 +1113,7 @@ const handleNodeClick = (data, node) => { } // 构造一个 label,用 key 和 value 显示 - const symbol = data.value === true ? '✅' : data.value === false ? '❌' : data.value; + const symbol = data.value ; const label = `${data.key}: ${symbol}`; // 判断是否已存在,避免重复添加 @@ -1154,8 +1154,12 @@ const updateSort = () => { item.sort = index + 1 }) } -const removePoint = (index: number) => { - flatPointList.value.splice(index, 1); +const removePoint = (row) => { + for (let i = 0; i < flatPointList.value.length; i++) { + if (row.label == flatPointList.value[i].label) { + flatPointList.value.splice(i, 1) + } + } }; diff --git a/src/views/paper/question/SettingForm.vue b/src/views/paper/question/SettingForm.vue index 1a7a0b8..6749189 100644 --- a/src/views/paper/question/SettingForm.vue +++ b/src/views/paper/question/SettingForm.vue @@ -84,18 +84,11 @@ - +
@@ -313,6 +306,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/WindowsSystemSettingForm.vue b/src/views/paper/question/WindowsSystemSettingForm.vue index 836eeaa..c809bcf 100644 --- a/src/views/paper/question/WindowsSystemSettingForm.vue +++ b/src/views/paper/question/WindowsSystemSettingForm.vue @@ -84,6 +84,11 @@ + + + + +
@@ -252,6 +257,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/WpsPptxForm.vue b/src/views/paper/question/WpsPptxForm.vue index 5ebec0b..c56ce6d 100644 --- a/src/views/paper/question/WpsPptxForm.vue +++ b/src/views/paper/question/WpsPptxForm.vue @@ -84,18 +84,11 @@ - +
@@ -394,6 +387,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/WpsWordForm.vue b/src/views/paper/question/WpsWordForm.vue index 862b21f..21d001b 100644 --- a/src/views/paper/question/WpsWordForm.vue +++ b/src/views/paper/question/WpsWordForm.vue @@ -84,18 +84,11 @@ - +
@@ -406,6 +399,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText: '', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/WpsXlsxForm.vue b/src/views/paper/question/WpsXlsxForm.vue index fb85fa5..6373c5a 100644 --- a/src/views/paper/question/WpsXlsxForm.vue +++ b/src/views/paper/question/WpsXlsxForm.vue @@ -84,18 +84,11 @@ - +
@@ -487,6 +480,7 @@ const formData = ref({ pointNamesVo: '', chapteridDictTextVo: '', content: '', + contentText:'', specialtyName: '', courseName: '', quBankName: '', diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index 1c7578b..c566ce2 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -50,15 +50,15 @@ - - - - - - - - - + + + + + + + + + + + + + + + + 搜索 + 重置 + + + 展开/折叠 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/system/white/index.vue b/src/views/system/set/white/index.vue similarity index 56% rename from src/views/system/white/index.vue rename to src/views/system/set/white/index.vue index b8f881d..b50cc42 100644 --- a/src/views/system/white/index.vue +++ b/src/views/system/set/white/index.vue @@ -33,32 +33,34 @@ - + - - - - - - - - - - + + + + + + + + + + - \ No newline at end of file diff --git a/src/views/task/exam/components/steps/step2/components/step-look.vue b/src/views/task/exam/components/steps/step2/components/step-look.vue index b4bf2e1..7991014 100644 --- a/src/views/task/exam/components/steps/step2/components/step-look.vue +++ b/src/views/task/exam/components/steps/step2/components/step-look.vue @@ -81,7 +81,7 @@ diff --git a/src/views/task/exam/components/steps/step5/components/person-edit.vue b/src/views/task/exam/components/steps/step5/components/person-edit.vue index ca05733..a9f71f8 100644 --- a/src/views/task/exam/components/steps/step5/components/person-edit.vue +++ b/src/views/task/exam/components/steps/step5/components/person-edit.vue @@ -205,14 +205,13 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) - + message.success('删除成功') }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); + }; const exportData = () => { diff --git a/src/views/task/exam/components/steps/step5/index.vue b/src/views/task/exam/components/steps/step5/index.vue index 10f2f26..df2fa5d 100644 --- a/src/views/task/exam/components/steps/step5/index.vue +++ b/src/views/task/exam/components/steps/step5/index.vue @@ -8,10 +8,25 @@ :inline="true" label-width="68px" > - + + + 搜索 重置 + + 导入 + + diff --git a/src/views/task/selftrans/collegeexam/components/steps/step5/components/person-edit.vue b/src/views/task/selftrans/collegeexam/components/steps/step5/components/person-edit.vue index ca05733..fd02999 100644 --- a/src/views/task/selftrans/collegeexam/components/steps/step5/components/person-edit.vue +++ b/src/views/task/selftrans/collegeexam/components/steps/step5/components/person-edit.vue @@ -205,14 +205,13 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) + message.success('删除成功'); }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); }; const exportData = () => { diff --git a/src/views/task/selftrans/collegeexam/components/steps/step5/index.vue b/src/views/task/selftrans/collegeexam/components/steps/step5/index.vue index 10f2f26..ef536f0 100644 --- a/src/views/task/selftrans/collegeexam/components/steps/step5/index.vue +++ b/src/views/task/selftrans/collegeexam/components/steps/step5/index.vue @@ -8,10 +8,25 @@ :inline="true" label-width="68px" > - + + + 搜索 重置 + + 导入 + + diff --git a/src/views/task/selftrans/module/components/steps/step5/components/person-edit.vue b/src/views/task/selftrans/module/components/steps/step5/components/person-edit.vue index ca05733..fd02999 100644 --- a/src/views/task/selftrans/module/components/steps/step5/components/person-edit.vue +++ b/src/views/task/selftrans/module/components/steps/step5/components/person-edit.vue @@ -205,14 +205,13 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) + message.success('删除成功'); }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); }; const exportData = () => { diff --git a/src/views/task/selftrans/module/components/steps/step5/index.vue b/src/views/task/selftrans/module/components/steps/step5/index.vue index 10f2f26..df2fa5d 100644 --- a/src/views/task/selftrans/module/components/steps/step5/index.vue +++ b/src/views/task/selftrans/module/components/steps/step5/index.vue @@ -8,10 +8,25 @@ :inline="true" label-width="68px" > - + + + 搜索 重置 + + 导入 + + diff --git a/src/views/task/selftrans/random/components/steps/step5/components/person-edit.vue b/src/views/task/selftrans/random/components/steps/step5/components/person-edit.vue index ca05733..b35a312 100644 --- a/src/views/task/selftrans/random/components/steps/step5/components/person-edit.vue +++ b/src/views/task/selftrans/random/components/steps/step5/components/person-edit.vue @@ -205,14 +205,12 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) - + message.success('删除成功'); }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); }; const exportData = () => { diff --git a/src/views/task/selftrans/random/components/steps/step5/index.vue b/src/views/task/selftrans/random/components/steps/step5/index.vue index 10f2f26..4b7c50d 100644 --- a/src/views/task/selftrans/random/components/steps/step5/index.vue +++ b/src/views/task/selftrans/random/components/steps/step5/index.vue @@ -8,10 +8,25 @@ :inline="true" label-width="68px" > - + + + 搜索 重置 + + 导入 + + diff --git a/src/views/task/sprint/components/steps/step5/components/person-edit.vue b/src/views/task/sprint/components/steps/step5/components/person-edit.vue index ca05733..fd02999 100644 --- a/src/views/task/sprint/components/steps/step5/components/person-edit.vue +++ b/src/views/task/sprint/components/steps/step5/components/person-edit.vue @@ -205,14 +205,13 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) + message.success('删除成功'); }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); }; const exportData = () => { diff --git a/src/views/task/sprint/components/steps/step5/index.vue b/src/views/task/sprint/components/steps/step5/index.vue index 10f2f26..d209b64 100644 --- a/src/views/task/sprint/components/steps/step5/index.vue +++ b/src/views/task/sprint/components/steps/step5/index.vue @@ -8,10 +8,25 @@ :inline="true" label-width="68px" > - + + + 搜索 重置 + + 导入 + + diff --git a/src/views/task/trans/components/steps/step5/components/person-edit.vue b/src/views/task/trans/components/steps/step5/components/person-edit.vue index ca05733..b35a312 100644 --- a/src/views/task/trans/components/steps/step5/components/person-edit.vue +++ b/src/views/task/trans/components/steps/step5/components/person-edit.vue @@ -205,14 +205,12 @@ const removeBatch = async () => { const res=await PersonApi.removeSessionStu(data); if(res =='删除成功'){ - message.success(t('common.delSuccess')) - + message.success('删除成功'); }else{ message.error(res) } await getPersonList(); // 删除后刷新右侧列表 emit('done'); - ElMessage.success('删除成功'); }; const exportData = () => { diff --git a/src/views/task/trans/components/steps/step5/index.vue b/src/views/task/trans/components/steps/step5/index.vue index 10f2f26..ea32bb8 100644 --- a/src/views/task/trans/components/steps/step5/index.vue +++ b/src/views/task/trans/components/steps/step5/index.vue @@ -8,10 +8,26 @@ :inline="true" label-width="68px" > - + + + + 搜索 重置 + + 导入 + +