Commit 50c41e05 by Lee Munkyeong

作業一覧リスト修正。

parent 9e3e3457
...@@ -257,7 +257,7 @@ CHK.initCommon = function() { ...@@ -257,7 +257,7 @@ CHK.initCommon = function() {
CHK.isCms = urlParam.is_cms; CHK.isCms = urlParam.is_cms;
CHK.isWeb = urlParam.is_web; CHK.isWeb = urlParam.is_web;
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.is_android && urlParam.is_android == "1"; CHK.isAndroid = urlParam.app && urlParam.app == "android";
// ウェブの場合、作業一覧の表示広さを変更 // ウェブの場合、作業一覧の表示広さを変更
if (CHK.isWeb) { if (CHK.isWeb) {
$("#checkList").addClass("web"); $("#checkList").addClass("web");
...@@ -2739,7 +2739,7 @@ CHK.createOperationList = function(operationList) { ...@@ -2739,7 +2739,7 @@ CHK.createOperationList = function(operationList) {
var operationTR = $("<tr/>"); var operationTR = $("<tr/>");
//TODO aタグlist.html 転移処理 //TODO aタグlist.html 転移処理
var operationNameTd var operationNameTd
if (CHK.isAndroid) { if (CHK.isMobile) {
operationNameTd = $("<td class='operationId_" + operationList[i].operationId operationNameTd = $("<td class='operationId_" + operationList[i].operationId
+ "'><a href=\"javascript:CHK_L.sendAppCommand('goOperation', '" + "'><a href=\"javascript:CHK_L.sendAppCommand('goOperation', '"
+ operationList[i].operationId + "', '" + operationList[i].contentId + operationList[i].operationId + "', '" + operationList[i].contentId
...@@ -2761,7 +2761,7 @@ CHK.createOperationList = function(operationList) { ...@@ -2761,7 +2761,7 @@ CHK.createOperationList = function(operationList) {
var iconTd = operationList[i].operationType == CHK.OPERATION_TYPE.VTOUR ? $("<td class='p-2'> <button class='btn btn-outline-primary fs-8 py-2' onclick=\"javascript:CHK_L.sendAppCommand('goPanoramaEdit', '" + operationList[i].operationId + "', '" + operationList[i].contentId + "');\">VR</button> </td>") : $("<td class='p-2' />"); var iconTd = operationList[i].operationType == CHK.OPERATION_TYPE.VTOUR ? $("<td class='p-2'> <button class='btn btn-outline-primary fs-8 py-2' onclick=\"javascript:CHK_L.sendAppCommand('goPanoramaEdit', '" + operationList[i].operationId + "', '" + operationList[i].contentId + "');\">VR</button> </td>") : $("<td class='p-2' />");
operationTR.append(operationNameTd); operationTR.append(operationNameTd);
if (!CHK.isAndroid) { if (!CHK.isMobile) {
operationTR.append(operationStartDateTd); operationTR.append(operationStartDateTd);
operationTR.append(operationEndDateTd); operationTR.append(operationEndDateTd);
} }
......
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