修改bug

This commit is contained in:
yangjun 2025-04-02 08:33:50 +08:00
parent 2e6b19cab7
commit 5b211dbe23
16 changed files with 84 additions and 40 deletions

View File

@ -204,14 +204,14 @@ const site: AppRouteModule = {
// title: '直播rtsp',
// }
// },
// {
// path: 'liveFlvView',
// name: 'LiveFlvBroadcastRoom',
// component: () => import('/@/views/site/common/video/flvjs/index.vue'),
// meta: {
// title: '直播flv.js',
// }
// },
{
path: 'liveFlvView',
name: 'LiveFlvBroadcastRoom',
component: () => import('/@/views/site/common/video/flvjs/index.vue'),
meta: {
title: '直播flv.js',
}
},
{
path: 'livem3u8View',
name: 'Live3u8BroadcastRoom',

View File

@ -12,6 +12,11 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'xnxq'
},
{
title: '开课单位',
align: "center",
dataIndex: ['ketangbiaoInfo', 'kkdw']
},
{
title: '课程名称',
align: "center",

View File

@ -29,7 +29,7 @@
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
<!-- <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd" style="margin-left: 8px"> 新增</a-button> -->
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button> -->
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button>
</a-col>
</span>
</a-col>
@ -92,8 +92,9 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
},
},
exportConfig: {
name: "教室人数检测-主表",
name: "教室人数检测",
url: getExportUrl,
params: queryParam.value,
},
importConfig: {
url: getImportUrl,

View File

@ -28,6 +28,11 @@
<a-select-option :value="`0106`">逸夫教学楼</a-select-option>
<a-select-option :value="`0295`">净月综合教学楼</a-select-option>
<a-select-option :value="`0108`">惟真楼</a-select-option>
<a-select-option :value="`0124`">文学院</a-select-option>
<a-select-option :value="`0119`">地理科学学院</a-select-option>
<a-select-option :value="`0118`">生命科学学院</a-select-option>
<a-select-option :value="`0123`">体育学院</a-select-option>
<a-select-option :value="`0122`">历史文化学院</a-select-option>
</a-select>
</a-form-item>
</a-col>

View File

@ -13,6 +13,11 @@
<a-select-option :value="`0106`">逸夫教学楼</a-select-option>
<a-select-option :value="`0295`">净月综合教学楼</a-select-option>
<a-select-option :value="`0108`">惟真楼</a-select-option>
<a-select-option :value="`0124`">文学院</a-select-option>
<a-select-option :value="`0119`">地理科学学院</a-select-option>
<a-select-option :value="`0118`">生命科学学院</a-select-option>
<a-select-option :value="`0123`">体育学院</a-select-option>
<a-select-option :value="`0122`">历史文化学院</a-select-option>
</a-select>
</a-form-item>
</a-col>

View File

@ -15,6 +15,11 @@
<a-select-option :value="`0106`">逸夫教学楼</a-select-option>
<a-select-option :value="`0295`">净月综合教学楼</a-select-option>
<a-select-option :value="`0108`">惟真楼</a-select-option>
<a-select-option :value="`0124`">文学院</a-select-option>
<a-select-option :value="`0119`">地理科学学院</a-select-option>
<a-select-option :value="`0118`">生命科学学院</a-select-option>
<a-select-option :value="`0123`">体育学院</a-select-option>
<a-select-option :value="`0122`">历史文化学院</a-select-option>
</a-select>
</a-form-item>
</a-col>

View File

@ -280,30 +280,30 @@ async function handleDelete(record) {
}
function openPdf(record) {
var file = baseApiUrl + "/"+record.filePath;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// var file = baseApiUrl + "/"+record.filePath;
// console.log('🤬', file);
// window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// if (record.pdfPath) {
// var url2 = getFileAccessHttpUrl(record.pdfPath);
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
// window.open(url, '_blank');
// } else {
// createMessage.warning('');
// }
if (record.pdfPath) {
var url2 = getFileAccessHttpUrl(record.pdfPath);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
window.open(url, '_blank');
} else {
createMessage.warning('暂无文件或文件上传中');
}
}
function openJxrlPdf(record) {
var file = baseApiUrl + "/"+record.filePath;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// if (record.jxrlPdfPath) {
// var url2 = getFileAccessHttpUrl(record.jxrlPdfPath);
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
// window.open(url, '_blank');
// } else {
// createMessage.warning('');
// }
// var file = baseApiUrl + "/"+record.filePath;
// console.log('🤬', file);
// window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
if (record.jxrlPdfPath) {
var url2 = getFileAccessHttpUrl(record.jxrlPdfPath);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);
window.open(url, '_blank');
} else {
createMessage.warning('暂无文件或文件上传中');
}
}
//

View File

@ -819,14 +819,14 @@ async function viewThreePage(three) {
// console.log('🤬', file);
// let url = getFileAccessHttpUrl(encodeURIComponent(file));
// var t2 = encryptByBase64(url);
// window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(t2));
// window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(t2));
// var file = 'https://kczxcs.nenu.edu.cn/jeecg-boot/temp/ylhpsf.pdf';
var file = baseApiUrl + "/"+three.filePath;
console.log('🤬', file);
// let url = getFileAccessHttpUrl(encodeURIComponent(file));
// var t2 = encryptByBase64(url);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
} else if (three.type == 'richText') {

View File

@ -368,7 +368,7 @@ function handlePreview(record) {
if(filetype=='jpg' || filetype=='png' || filetype=='jpeg' || filetype=='xls' || filetype=='xlsx' || filetype=='text' || filetype=='doc' || filetype=='docx' || filetype=='pdf'){
var file = baseApiUrl + "/"+record.stuFilePath;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// }else if(filetype=='doc' || filetype=='docx' || filetype=='pdf'){
// var url2 = getFileAccessHttpUrl(record.stuPdfPath);
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -355,7 +355,7 @@ function handlePreview(record) {
if(filetype=='jpg' || filetype=='png' || filetype=='jpeg' || filetype=='xls' || filetype=='xlsx' || filetype=='text' ){
var file = baseApiUrl + "/"+record.stuFilePath;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
}else if(filetype=='doc' || filetype=='docx' || filetype=='pdf'){
var url2 = getFileAccessHttpUrl(record.stuPdfPath);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -331,6 +331,7 @@
@click="onExportXls" style="margin-left: 8px">导出</a-button>
<a-button type="primary" :preIcon="isSmallScreen ? '' : 'ant-design:export-outlined'"
@click="batchHandleFabu" style="margin-left: 8px">发布成绩</a-button>
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="handleZip" style="margin-left: 8px"> 一键下载</a-button> -->
</a-col>
<a-col :span="24" :lg="{ span: 8 }">
<span class="tishi" style="padding: 10px">温馨提示作业完成后请及时发布评分</span>
@ -712,6 +713,17 @@ const xzxstjzyOptions = ref([
{ label: '关闭', value: 'N' },
{ label: '开启', value: 'Y' },
])
//
function handleZip(){
defHttp.get({url:'/zyInfoStudent/zyInfoStudent/downStudentZip',params:{mainId:zyInfo.value.id}}).then(res=>{
console.log(res);
if(res.status=="1"){
downloadFile(res.downPath);
}
})
}
//
function handleYyzy() {
var params = { xqxn, rwbh };
@ -941,7 +953,7 @@ function yulanFile(record) {
ylimgurl.value = url2;
// var file = baseApiUrl + "/"+record.filePath;
// console.log('🤬', file);
// window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// var url2 = getFileAccessHttpUrl(record.filePath);
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -392,6 +392,7 @@
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQueryZyxq">查询</a-button>
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls" style="margin-left: 8px"> 导出</a-button>
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="handleZip" style="margin-left: 8px"> 一键下载</a-button> -->
<!-- <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> -->
@ -753,6 +754,16 @@ const disabledDate = (current: Dayjs) => {
};
const useForm = Form.useForm;
//
function handleZip(){
defHttp.get({url:'/zyInfoStudent/zyInfoStudent/downStudentZip',params:{mainId:zyInfo.value.id}}).then(res=>{
console.log(res);
if(res.status=="1"){
downloadFile(res.downPath);
}
})
}
//
function handleYyzy() {
var params = { xqxn, rwbh };
@ -981,7 +992,7 @@ function yulanFile(record) {
ylimgurl.value = url2;
// var file = baseApiUrl + "/"+record.filePath;
// console.log('🤬', file);
// window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
// var url2 = getFileAccessHttpUrl(record.filePath);
// let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -203,7 +203,7 @@ function rotateImage2() {
// // var file2 = getFileAccessHttpUrl(record.pdfPath);
// // let url2 = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(file2);
// var file3 = baseApiUrl + "/"+record.filePath;
// let url3 = 'https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file3));
// let url3 = 'https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file3));
// ylurl.value = url3;

View File

@ -238,7 +238,7 @@ function handlePreview(record) {
if(filetype=='jpg' || filetype=='png' || filetype=='jpeg' || filetype=='xls' || filetype=='xlsx' || filetype=='text' ){
var file = baseApiUrl + "/"+record;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
}else if(filetype=='doc' || filetype=='docx' || filetype=='pdf'){
var url2 = getFileAccessHttpUrl(record);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -238,7 +238,7 @@ function handlePreview(record) {
if(filetype=='jpg' || filetype=='png' || filetype=='jpeg' || filetype=='xls' || filetype=='xlsx' || filetype=='text' ){
var file = baseApiUrl + "/"+record;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
}else if(filetype=='doc' || filetype=='docx' || filetype=='pdf'){
var url2 = getFileAccessHttpUrl(record);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);

View File

@ -229,7 +229,7 @@ function handlePreview(record) {
if(filetype=='jpg' || filetype=='png' || filetype=='jpeg' || filetype=='xls' || filetype=='xlsx' || filetype=='text' ){
var file = baseApiUrl + "/"+record;
console.log('🤬', file);
window.open('https://jxdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
window.open('https://zjdd.nenu.edu.cn/onlinePreview/onlinePreview?url=' + encodeURIComponent(encryptByBase64(file)));
}else if(filetype=='doc' || filetype=='docx' || filetype=='pdf'){
var url2 = getFileAccessHttpUrl(record);
let url = baseApiUrl + '/generic/web/viewer.html?file=' + encodeURIComponent(url2);