修改问题

This commit is contained in:
yangjun 2024-09-06 16:07:04 +08:00
parent e47dd2c79e
commit ab73b84164
6 changed files with 40 additions and 12 deletions

View File

@ -19,9 +19,9 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_GLOB_API_URL=/jeecg-boot
#后台接口全路径地址(必填)
# VITE_GLOB_DOMAIN_URL=https://zxkccx.webvpn.nenu.edu.cn/jeecg-boot
VITE_GLOB_DOMAIN_URL=https://zxkccx.webvpn.nenu.edu.cn/jeecg-boot
# VITE_GLOB_DOMAIN_URL=https://smartedu.nenu.edu.cn/jeecg-boot
VITE_GLOB_DOMAIN_URL=https://kczxcs.nenu.edu.cn/jeecg-boot
# VITE_GLOB_DOMAIN_URL=https://kczxcs.nenu.edu.cn/jeecg-boot
# VITE_GLOB_DOMAIN_URL=http://210.47.29.100/jeecg-boot
#RTC服务器地址
@ -40,5 +40,5 @@ VITE_USE_PWA = false
VITE_LEGACY = false
# 是否开启单点登录
VITE_GLOB_APP_OPEN_SSO = false
VITE_GLOB_APP_OPEN_SSO = true

View File

@ -43,7 +43,7 @@ const zuoyehistory: AppRouteModule = {
name: 'hisdksbl',
component: () => import('/@/views/kc/detection/zyZhjsList.vue'),
meta: {
title: '到课识别率',
title: 'AI识别出勤率',
},
},
{

View File

@ -340,7 +340,7 @@ export const detectionDetailedListColumns: BasicColumn[] = [
dataIndex: 'num'
},
{
title: '到课识别率',
title: 'AI识别出勤率',
align: "center",
dataIndex: 'none3',
slots: { customRender: 'dksbl' },

View File

@ -21,12 +21,12 @@
</template>
<span @click="getGzt('kcjs')">课程简介</span>
</a-menu-item >
<a-menu-item key="sub2">
<!-- <a-menu-item key="sub2">
<template #icon>
<SettingOutlined />
</template>
<span @click="getGzt('jxdg')">教学大纲</span>
</a-menu-item >
</a-menu-item > -->
<a-menu-item key="sub3">
<template #icon>
<SnippetsOutlined />
@ -49,7 +49,7 @@
<template #icon>
<BlockOutlined />
</template>
<span @click="getGzt('gongju')">到课识别</span>
<span @click="getGzt('gongju')">AI识别出勤</span>
</a-menu-item> -->
<!-- <a-sub-menu key="sub3">
<template #icon>
@ -57,7 +57,7 @@
</template>
<template #title>教学工具</template>
<a-menu-item key="6" @click="getGzt('dcwj')">问卷调查</a-menu-item>
<a-menu-item key="7" @click="getGzt('gongju')">到课识别</a-menu-item>
<a-menu-item key="7" @click="getGzt('gongju')">AI识别出勤</a-menu-item>
<a-menu-item key="8" @click="getGzt('zycd')">作业存档</a-menu-item>
</a-sub-menu>
<a-menu-item key="sub4">
@ -104,13 +104,13 @@
<span @click="getGzt('kcjc')">课堂测验</span>
</a-menu-item>
<!-- <a-menu-item key="sub5">
<span @click="getGzt('gongju')">到课识别</span>
<span @click="getGzt('gongju')">AI识别出勤</span>
</a-menu-item> -->
<!-- <a-menu-item key="sub5">
<span @click="getGzt('dcwj')">问卷调查</span>
</a-menu-item> -->
<!-- <a-menu-item key="sub6">
<span @click="getGzt('gongju')">到课识别</span>
<span @click="getGzt('gongju')">AI识别出勤</span>
</a-menu-item>
<a-menu-item key="sub7">
<span @click="getGzt('zycd')">作业存档</span>

View File

@ -371,6 +371,9 @@
<a-button type="primary" preIcon="ant-design:export-outlined" @click="batchHandleFabu" style="margin-left: 8px"
>一键发布评分</a-button
>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="batchHandleKhcl" style="margin-left: 8px"
>上传考核材料</a-button
>
<span class="tishi" style="margin-left: 20px; padding: 10px">温馨提示作业完成后请及时发布评分</span>
</a-col>
</a-row>
@ -584,7 +587,7 @@ import JEditor from '/@/components/Form/src/jeecg/components/JEditor.vue';
import dayjs, { Dayjs } from 'dayjs';
import { useListPage } from '/@/hooks/system/useListPage';
import { newcolumns } from '/@/views/zy/zyInfoStudent/ZyInfoStudent.data';
import { newlist, getExportUrl, batchFabu } from '/@/views/zy/zyInfoStudent/ZyInfoStudent.api';
import { newlist, getExportUrl, batchFabu, batchKhcl } from '/@/views/zy/zyInfoStudent/ZyInfoStudent.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
import { useGlobSetting } from '/@/hooks/setting';
@ -978,6 +981,14 @@ async function batchHandleFabu() {
}
}
function batchHandleKhcl(){
if (selectedRowKeys.value.length == 0) {
createMessage.warn('请勾选要上传的数据!');
return;
}
batchKhcl({ ids: selectedRowKeys.value }, reload);
}
//
//
const validatorRules = {

View File

@ -16,6 +16,7 @@ enum Api {
deleteOne = '/zyInfoStudent/zyInfoStudent/delete',
deleteBatch = '/zyInfoStudent/zyInfoStudent/deleteBatch',
fabuBatch = '/zyInfoStudent/zyInfoStudent/fabuBatch',
batchKhcl = '/zyInfoStudent/zyInfoStudent/batchKhcl',
importExcel = '/zyInfoStudent/zyInfoStudent/importExcel',
exportXls = '/zyInfoStudent/zyInfoStudent/exportXls',
getQuaList = '/zyCcjg/zyCcjg/getQuaList',
@ -89,6 +90,22 @@ export const batchFabu = (params, handleSuccess) => {
}
});
}
export const batchKhcl = (params, handleSuccess) => {
createConfirm({
iconType: 'warning',
title: '确认上传',
content: '是否上传选中数据',
okText: '确认',
cancelText: '取消',
onOk: () => {
return defHttp.post({url: Api.batchKhcl, data: params}, {joinParamsToUrl: true}).then(() => {
handleSuccess();
});
}
});
}
/**
*
* @param params