Commit fc809f5e by Lee Munkyeong

RFIDサービスオプション関連修正

parent e625e830
......@@ -28,8 +28,8 @@
<i class="fa fa-redo fs-12 p-1" id="updateButton"></i>
<span class="d-none d-md-inline fs-10">更新</span>
</a>
<a class="navbar-brand lht-0 d-none" href="javascript:CHK.startScan();" style="margin: 0 10px 0 10px;float: right;">
<i class="fa fa-wifi fs-12 p-1" id="rfidScanButton"></i>
<a class="navbar-brand lht-0 d-none" id="rfidScanButton" href="javascript:CHK.startScan();" style="margin: 0 10px 0 10px;float: right;">
<i class="fa fa-wifi fs-12 p-1"></i>
<span class="d-none d-md-inline fs-10">スキャン</span>
</a>
</nav>
......
......@@ -9,6 +9,7 @@ CHK.isIOS = false;
CHK.reportMode = "1"; //報告モード default1で、定期点検で変更される
CHK.debug; //1:デバッグモード
CHK.isMobile; //1:モバイル対応で表示
CHK.isRFIDBarcodeScan; //1:RFID,バーコードスキャン使用
CHK.reportType; //0:報告(Type1) 1:定期点検(Type2) 2:報告・回答(Type3) 3:複数工程(Type4)
CHK.useKrpano = true; //true:krpanoを使用 false:krpanoを使用しない
CHK.lookHotspot; //移動先ホットスポット保持用
......@@ -276,6 +277,7 @@ CHK.initCommon = function() {
CHK.isWindows = urlParam.app && urlParam.app == "windows"; // windowsアプリの対応追加 v1.1.0
CHK.isAndroid = urlParam.app && urlParam.app == "android";
CHK.isIOS = urlParam.app && urlParam.app == "ios";
CHK.isRFIDBarcodeScan = urlParam.isRFIDBarcodeScan && urlParam.isRFIDBarcodeScan == "1";
CHK.sortIndex = urlParam.sortIndex;
// ウェブの場合、作業一覧の表示広さを変更
if (CHK.isWeb) {
......@@ -283,8 +285,14 @@ CHK.initCommon = function() {
}
// Windowsの場合、RFID未使用
if (CHK.isWindows) {
$("#rfidScanButton").parent().hide();
$("#rfidScanButton").hide();
}
// アンドロイド・IOSの場合スキャンオプションによってスキャン表示
if ((CHK.isIOS || CHK.isAndroid) && CHK.isRFIDBarcodeScan) {
$("#rfidScanButton").removeClass("d-none");
}
CHK.debug = urlParam.debug;
CHK.isMobile = urlParam.mobile_flg && urlParam.mobile_flg == "1";
if (CHK.isCms) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment