init
BIN
src/assets/401_images/401.gif
Normal file
|
After Width: | Height: | Size: 160 KiB |
BIN
src/assets/404_images/404.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
src/assets/404_images/404_cloud.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
src/assets/custom-theme/fonts/element-icons.ttf
Normal file
BIN
src/assets/custom-theme/fonts/element-icons.woff
Normal file
1
src/assets/custom-theme/index.css
Normal file
BIN
src/assets/excels/staff_template.xlsx
Normal file
BIN
src/assets/img/1.jpg
Normal file
|
After Width: | Height: | Size: 370 KiB |
BIN
src/assets/img/OperationalOverview/back.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
src/assets/img/OperationalOverview/title.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/img/Toughenedfurnace.png
Normal file
|
After Width: | Height: | Size: 310 KiB |
BIN
src/assets/img/back.jpg
Normal file
|
After Width: | Height: | Size: 349 KiB |
BIN
src/assets/img/back.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
src/assets/img/back1.png
Normal file
|
After Width: | Height: | Size: 198 KiB |
BIN
src/assets/img/choicepart/ArtManager.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
src/assets/img/choicepart/ArticleManager.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
src/assets/img/choicepart/DataAnalysis.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
src/assets/img/choicepart/EquipmentManager.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
src/assets/img/choicepart/MaterialsManage.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/img/choicepart/OperationalOverview.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
src/assets/img/choicepart/WarehouseManager.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
src/assets/img/choicepart/basicData.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/img/choicepart/choice-item-back.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
src/assets/img/choicepart/choicepart-back.jpg
Normal file
|
After Width: | Height: | Size: 301 KiB |
BIN
src/assets/img/choicepart/choicepart-back.png
Normal file
|
After Width: | Height: | Size: 3.5 MiB |
BIN
src/assets/img/choicepart/choicepart-back.png.bak
Normal file
|
After Width: | Height: | Size: 3.5 MiB |
BIN
src/assets/img/choicepart/factoryManage.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
src/assets/img/choicepart/formManage.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
src/assets/img/choicepart/orderManage.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
src/assets/img/choicepart/packingManage.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
src/assets/img/choicepart/qualityManage.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
src/assets/img/cnbm.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
src/assets/img/cockpit/bom.png
Normal file
|
After Width: | Height: | Size: 157 KiB |
BIN
src/assets/img/cockpit/cockpit-back.png
Normal file
|
After Width: | Height: | Size: 4.0 MiB |
BIN
src/assets/img/cockpit/module-back.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/img/cockpit/title.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
src/assets/img/empty.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
src/assets/img/head-w.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/head.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
18
src/assets/img/jiantou.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="30px" height="26px" viewBox="0 0 30 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 60 (88103) - https://sketch.com -->
|
||||
<title>icon/流程箭头备份 5</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<g id="3_工艺流程" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="3-自定义工艺流程" transform="translate(-633.000000, -397.000000)">
|
||||
<g id="icon/流程箭头" transform="translate(630.000000, 392.000000)">
|
||||
<g id="编组-2" opacity="0.50218564" stroke-width="1" fill-rule="evenodd" transform="translate(3.000000, 5.000000)">
|
||||
<ellipse id="椭圆形" fill="#404040" cx="2.12742382" cy="13.0763435" rx="2.12742382" ry="2.21252078"></ellipse>
|
||||
<ellipse id="椭圆形备份" fill="#404040" cx="8.51227147" cy="13.0763435" rx="2.12742382" ry="2.21252078"></ellipse>
|
||||
<path d="M19.4593901,1.4429655 L21.8675258,3.61583195 C26.9580675,8.25644103 29.2570896,10.731031 29.7057398,12.459385 C29.748906,12.6160198 29.7763246,12.7796115 29.7855806,12.9482608 L29.7881771,13.0128311 L29.7890859,13.0763435 C29.7890859,13.2480738 29.7702733,13.4152344 29.7346744,13.5757179 C29.3077404,15.5566713 26.3837971,18.5124849 19.4593901,24.7097215 C18.5688126,25.5067745 17.2255693,25.4020797 16.4591722,24.4758791 C15.6927751,23.5496785 15.7934432,22.1527055 16.6840207,21.3556525 L18.3602818,19.843801 C20.3525013,18.0317598 21.9577562,16.511737 23.1725229,15.2878856 L14.8971191,15.2888643 C13.7221754,15.2888643 12.7696953,14.298285 12.7696953,13.0763435 C12.7696953,11.9075299 13.6411516,10.9503974 14.7451872,10.869378 L14.8971191,10.8638227 L23.171515,10.8637859 L22.3958746,10.0940454 C20.9337911,8.66258056 19.0284153,6.89523125 16.6840207,4.7970345 C15.7934432,3.9999815 15.6927751,2.60300846 16.4591722,1.67680788 C17.2255693,0.750607307 18.5688126,0.645912508 19.4593901,1.4429655 Z" id="形状结合" fill="#545454" fill-rule="nonzero"></path>
|
||||
</g>
|
||||
<rect id="矩形" x="0" y="0" width="36" height="36"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
BIN
src/assets/img/login-back.jpg
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
src/assets/img/login-back.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
src/assets/img/login-new.jpg
Normal file
|
After Width: | Height: | Size: 340 KiB |
BIN
src/assets/img/login.gif
Normal file
|
After Width: | Height: | Size: 4.6 MiB |
BIN
src/assets/img/login1.gif
Normal file
|
After Width: | Height: | Size: 5.3 MiB |
BIN
src/assets/img/logo.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
src/assets/img/medal/champion.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
src/assets/img/medal/secondPlace.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
src/assets/img/medal/thirdPlace.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
src/assets/img/status.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
src/assets/img/uploadIcon.png
Normal file
|
After Width: | Height: | Size: 237 B |
155
src/assets/libs/LodopFuncs.js
Normal file
@@ -0,0 +1,155 @@
|
||||
|
||||
/* eslint-disable */
|
||||
let CreatedOKLodop7766 = null;
|
||||
let CLodopIsLocal;
|
||||
|
||||
//= ===判断是否需要 Web打印服务CLodop:===
|
||||
//= ==(不支持插件的浏览器版本需要用它)===
|
||||
export function needCLodop() {
|
||||
try {
|
||||
const ua = navigator.userAgent;
|
||||
if (ua.match(/Windows\sPhone/i))
|
||||
{ return true; }
|
||||
if (ua.match(/iPhone|iPod|iPad/i))
|
||||
{ return true; }
|
||||
if (ua.match(/Android/i))
|
||||
{ return true; }
|
||||
if (ua.match(/Edge\D?\d+/i))
|
||||
{ return true; }
|
||||
|
||||
const verTrident = ua.match(/Trident\D?\d+/i);
|
||||
const verIE = ua.match(/MSIE\D?\d+/i);
|
||||
let verOPR = ua.match(/OPR\D?\d+/i);
|
||||
let verFF = ua.match(/Firefox\D?\d+/i);
|
||||
const x64 = ua.match(/x64/i);
|
||||
if ((!verTrident) && (!verIE) && (x64))
|
||||
{ return true; }
|
||||
if (verFF) {
|
||||
verFF = verFF[0].match(/\d+/);
|
||||
if ((verFF[0] >= 41) || (x64))
|
||||
{ return true; }
|
||||
} else if (verOPR) {
|
||||
verOPR = verOPR[0].match(/\d+/);
|
||||
if (verOPR[0] >= 32)
|
||||
{ return true; }
|
||||
} else if ((!verTrident) && (!verIE)) {
|
||||
let verChrome = ua.match(/Chrome\D?\d+/i);
|
||||
if (verChrome) {
|
||||
verChrome = verChrome[0].match(/\d+/);
|
||||
if (verChrome[0] >= 41)
|
||||
{ return true; }
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} catch (err) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//= ===页面引用CLodop云打印必须的JS文件,用双端口(8000和18000)避免其中某个被占用:====
|
||||
if (needCLodop()) {
|
||||
const src1 = 'http://localhost:8000/CLodopfuncs.js?priority=1';
|
||||
const src2 = 'http://localhost:18000/CLodopfuncs.js?priority=0';
|
||||
|
||||
const head = document.head || document.getElementsByTagName('head')[0] || document.documentElement;
|
||||
let oscript = document.createElement('script');
|
||||
oscript.src = src1;
|
||||
head.insertBefore(oscript, head.firstChild);
|
||||
oscript = document.createElement('script');
|
||||
oscript.src = src2;
|
||||
head.insertBefore(oscript, head.firstChild);
|
||||
CLodopIsLocal = !!((src1 + src2).match(/\/\/localho|\/\/127.0.0./i));
|
||||
}
|
||||
|
||||
//= ===获取LODOP对象的主过程:====
|
||||
export function getLodop(oOBJECT, oEMBED) {
|
||||
// const strHtmInstall = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://www.lodop.net/demolist/install_lodop32.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>";
|
||||
// const strHtmUpdate = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://www.lodop.net/demolist/install_lodop32.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>";
|
||||
// const strHtm64_Install = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='http://www.lodop.net/demolist/install_lodop64.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>";
|
||||
// const strHtm64_Update = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='http://www.lodop.net/demolist/install_lodop64.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>";
|
||||
const strHtmInstall = "";
|
||||
const strHtmUpdate = "";
|
||||
const strHtm64_Install = "";
|
||||
const strHtm64_Update = "";
|
||||
const strHtmFireFox = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>";
|
||||
const strHtmChrome = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>";
|
||||
// const strCLodopInstall_1 = "<br><font color='#FF00FF'>Web打印服务CLodop未安装启动,点击这里<a href='http://www.lodop.net/demolist/CLodop_Setup_for_Win32NT.exe' target='_self'>下载执行安装</a>";
|
||||
const strCLodopInstall_1 = "";
|
||||
const strCLodopInstall_2 = "<br>(若此前已安装过,可<a href='CLodop.protocol:setup' target='_self'>点这里直接再次启动</a>)";
|
||||
const strCLodopInstall_3 = ',成功后请刷新本页面。</font>';
|
||||
// const strCLodopUpdate = "<br><font color='#FF00FF'>Web打印服务CLodop需升级!点击这里<a href='http://www.lodop.net/download/Lodop6.226_Clodop3.075.zip' target='_self'>执行升级</a>,升级后请刷新页面。</font>";
|
||||
// const strCLodopUpdate = "<br><font color='#FF00FF'>Web打印服务需下载驱动!点击这里<a href='http://www.lodop.net/download/Lodop6.226_Clodop3.075.zip' target='_self'>下载安装</a>,升级后请刷新页面。</font>";
|
||||
const strCLodopUpdate = "";
|
||||
let LODOP;
|
||||
try {
|
||||
const ua = navigator.userAgent;
|
||||
const isIE = !!(ua.match(/MSIE/i)) || !!(ua.match(/Trident/i));
|
||||
if (needCLodop()) {
|
||||
try {
|
||||
LODOP = getCLodop();
|
||||
} catch (err) {}
|
||||
if (!LODOP && document.readyState !== 'complete') {
|
||||
alert('网页还没下载完毕,请稍等一下再操作.');
|
||||
return;
|
||||
}
|
||||
if (!LODOP) {
|
||||
document.getElementById('lodopPrintTips').innerHTML = strCLodopUpdate + (CLodopIsLocal ? strCLodopInstall_2 : '')
|
||||
+ strCLodopInstall_3;
|
||||
return;
|
||||
}
|
||||
if (CLODOP.CVERSION < '3.0.7.5') {
|
||||
document.getElementById('lodopPrintTips').innerHTML = strCLodopUpdate;
|
||||
}
|
||||
if (oEMBED && oEMBED.parentNode)
|
||||
{ oEMBED.parentNode.removeChild(oEMBED); }
|
||||
if (oOBJECT && oOBJECT.parentNode)
|
||||
{ oOBJECT.parentNode.removeChild(oOBJECT); }
|
||||
|
||||
} else {
|
||||
var is64IE = isIE && !!(ua.match(/x64/i));
|
||||
//= ====如果页面有Lodop就直接使用,没有则新建:==========
|
||||
if (oOBJECT || oEMBED) {
|
||||
if (isIE)
|
||||
{ LODOP = oOBJECT; }
|
||||
else
|
||||
{ LODOP = oEMBED; }
|
||||
} else if (!CreatedOKLodop7766) {
|
||||
LODOP = document.createElement('object');
|
||||
LODOP.setAttribute('width', 0);
|
||||
LODOP.setAttribute('height', 0);
|
||||
LODOP.setAttribute('style', 'position:absolute;left:0px;top:-100px;width:0px;height:0px;');
|
||||
if (isIE)
|
||||
{ LODOP.setAttribute('classid', 'clsid:2105C259-1E0C-4534-8141-A753534CB4CA'); }
|
||||
else
|
||||
{ LODOP.setAttribute('type', 'application/x-print-lodop'); }
|
||||
document.documentElement.appendChild(LODOP);
|
||||
CreatedOKLodop7766 = LODOP;
|
||||
} else
|
||||
{ LODOP = CreatedOKLodop7766; }
|
||||
//= ====Lodop插件未安装时提示下载地址:==========
|
||||
if ((!LODOP) || (!LODOP.VERSION)) {
|
||||
if (ua.indexOf('Chrome') >= 0)
|
||||
{ document.getElementById('lodopPrintTips').innerHTML = strHtmChrome;}
|
||||
if (ua.indexOf('Firefox') >= 0)
|
||||
{ document.getElementById('lodopPrintTips').innerHTML = strHtmFireFox; }
|
||||
document.getElementById('lodopPrintTips').innerHTML = (is64IE ? strHtm64_Install : strHtmInstall);
|
||||
return LODOP;
|
||||
}
|
||||
}
|
||||
if (LODOP.VERSION < '6.2.2.6') {
|
||||
if (!needCLodop())
|
||||
{ document.getElementById('lodopPrintTips').innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate); }
|
||||
return LODOP;
|
||||
}
|
||||
//= ==如下空白位置适合调用统一功能(如注册语句、语言选择等):==
|
||||
|
||||
//LODOP.SET_LICENSES("","13528A153BAEE3A0254B9507DCDE2839","","");
|
||||
LODOP.SET_LICENSES("中建材轻工业自动化研究所有限公司","9475EC59D4A0EDFD94E4CABC35371EF0962","中建材輕工業自動化研究所有限公司","BAE54D29718D6641CC2BB8B3517DE30BA31");
|
||||
LODOP.SET_LICENSES("THIRD LICENSE","","China Building Materials Light Industry Automation Research Institute Co., Ltd.","D5EE28A4D38B9A43824992DBBAE2749494A");
|
||||
//= ======================================================
|
||||
return LODOP;
|
||||
} catch (err) {
|
||||
alert(`getLodop出错:${err}`);
|
||||
}
|
||||
}
|
||||
|
||||