Commit fc809f5e by Lee Munkyeong

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

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