提交 566df552 authored 作者: 钟是志's avatar 钟是志

26947 宿舍管理-》学生入住查询中的更多条件新增辅导员姓名和联系电话查询字段

上级 5081c3a3
......@@ -43,7 +43,7 @@ const queryConfig = (key) => {
const dynamicConfig = typeof globalThis !== 'undefined' ? globalThis.CONFIG : window.CONFIG;
// console.log(dynamicConfig);
if (typeof key === 'undefined') return dynamicConfig;
return typeof dynamicConfig[key] === 'undefined' ? dynamicConfig : dynamicConfig[key];
return dynamicConfig[key];
};
/**
......
......@@ -158,7 +158,7 @@ export const getChineseName = (item) => { // 获取菜单名字
export const insertDetailPath = (res = []) => { // 插入详情路由
for(let item of res){
if(item.from === 'onestopApp' && (item.component === 'Apply' || item.component === 'Audit')){ // 插入详情路由
if(item.from === 'onestopApp' && (['BatchAudit', 'Apply', 'Audit'].includes(item.component))){ // 插入详情路由
const pathSplit = item.path.split('/');
pathSplit[pathSplit.length -1] = 'Detail';
const pathDetail = pathSplit.join('/');
......
......@@ -43,7 +43,6 @@ export default class PdfMenu extends BtnMenu {
if (res && res.length > 10) {
let url = queryApiActionPath() + res;
window.message.success('上传文件成功');
console.log(this);
this.editor.txt.append(`
<p class='wangEditor-pdfReader'>
<embed width='100%'
......
......@@ -42,7 +42,6 @@ export default class VideoMenu extends BtnMenu {
if (res && res.length > 10) {
let url = queryApiActionPath() + res;
window.message.success('上传文件成功');
console.log(this);
this.editor.txt.append(`
<p class='wangEditor-videoReader' style='text-align: center;'>
<video
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论