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

范龄童写的bug

上级 bb6fffb0
......@@ -4,11 +4,10 @@ import styles from './index.less';
import { Button } from 'antd';
import IframeForRenderForm from './IframeForRenderForm';
import { setToken } from '@/utils/authority';
import { getIsSnny } from '@/utils/utils';
import { getIsNengYuan } from "@/webPublic/zyd_public/utils/getSchoolType";
const idsConfig = getIsNengYuan() ? [
const idsConfig = getIsSnny() ? [
{
id: '1427570690688548864',
name: '新生入学报到单',
......@@ -36,7 +35,7 @@ export default function PrintQnmz(props) {
setShowPrint(true);
}, 2000);
}, []);
// function printDom() {
// document.getElementById('showButtonDiv').style.display = 'none';
// window.print();
......
......@@ -24,5 +24,7 @@ export function getIsGong_Mao() { // 判断当前环境是不是成都工贸
export function getIsYsgz() { // 判断当前环境是不是云上贵州
return window.specialImportantSystemConfig?.ysgz === true;
// return window.specialImportantSystemConfig?.schoolName && window.specialImportantSystemConfig?.schoolName.indexOf('知用科技有限公司') > -1;
}
export function getIsNengYuan() { // 判断当前环境是不是成都工贸
return window.specialImportantSystemConfig?.schoolName && window.specialImportantSystemConfig?.schoolName.indexOf('能源') > -1;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论