From 29ff2a2919bdf9db0921a12a37d04683626b9eb7 Mon Sep 17 00:00:00 2001 From: dev01 Date: Sat, 7 Jan 2023 12:16:54 +0800 Subject: [PATCH] =?UTF-8?q?[Backend][=E5=8D=80=E5=9F=9F=E9=81=B8=E5=96=AE?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A]=20=E9=81=B8=E5=96=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E9=A1=AF=E7=A4=BA=E8=A9=B3=E7=B4=B0=E8=B3=87=E6=96=99=E5=8F=AA?= =?UTF-8?q?=E6=94=B9=E5=8F=96=E6=8A=938=E6=AE=B5=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=8F=A6=E5=A4=96=E8=A8=AD=E5=AE=9Aurl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/Views/BuildMenu/Index.cshtml | 46 +++++++++++++--------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/Backend/Views/BuildMenu/Index.cshtml b/Backend/Views/BuildMenu/Index.cshtml index b780a8f..c8ff911 100644 --- a/Backend/Views/BuildMenu/Index.cshtml +++ b/Backend/Views/BuildMenu/Index.cshtml @@ -54,11 +54,9 @@ 左邊預設頁面 左邊是否顯示
平面圖 左邊昇位圖
詳細資料設定 - 左邊昇位圖
詳細資料URL 右邊預設頁面 右邊是否顯示
平面圖 右邊昇位圖
詳細資料設定 - 右邊昇位圖
詳細資料URL @*昇位圖URL*@ 功能 @@ -215,12 +213,12 @@
- +
-
+ @*

@@ -229,7 +227,7 @@ -
+
*@

@@ -340,12 +338,12 @@
- +
-
+ @*

@@ -354,7 +352,7 @@ -
+
*@

@@ -478,14 +476,14 @@ str.push("點擊開關") } if (1 & parseInt(data) > 0) { - str.push("顯示詳細資料") + str.push("顯示詳細資料 - (抓取設備八段路徑呈現詳細資料)") } return str.join(";"); } }, - { - "data": "left_icon_click_url" - }, + //{ + // "data": "left_icon_click_url" + //}, { "data": "right_drawing_name" }, @@ -500,14 +498,14 @@ str.push("點擊開關") } if (1 & parseInt(data) > 0) { - str.push("顯示詳細資料") + str.push("顯示詳細資料 - (抓取設備八段路徑呈現詳細資料)") } return str.join(";"); } }, - { - "data": "right_icon_click_url" - }, + //{ + // "data": "right_icon_click_url" + //}, { "data": null, "render": function (data, type, row, meta){ @@ -542,13 +540,13 @@ $.each(this.data, function (k, rel) { rel.sub_system_guid_name = "" + rel.sub_system_guid_name + "" if (rel.left_drawing == 2) { - rel.left_drawing_name = rel.left_drawing_name + "
" + '點擊連結' + rel.left_drawing_name = rel.left_drawing_name + "
" + '點擊連結' } if (rel.left_drawing == 1) { rel.left_drawing_name = rel.left_drawing_name + "
" + '[' + rel.floor_guid_name + ']' } if (rel.right_drawing == 2) { - rel.right_drawing_name = rel.right_drawing_name + "
" + '點擊連結' + rel.right_drawing_name = rel.right_drawing_name + "
" + '點擊連結' } if (rel.right_drawing == 1) { rel.right_drawing_name = rel.right_drawing_name + "
" + '[' + rel.floor_guid_name + ']' @@ -787,20 +785,20 @@ //#endregion $('#build_menu_icon_click_onoff_modal_div').on("click", "input[type=checkbox]", function () { if ($(this).prop("checked") && $(this).val() == 1) { - $('#build_menu_icon_click_url_modal_div').show(); + //$('#build_menu_icon_click_url_modal_div').show(); $('#build_menu_icon_click_url_width_height_modal_div').show(); } else { - $('#build_menu_icon_click_url_modal_div').hide(); + //$('#build_menu_icon_click_url_modal_div').hide(); $('#build_menu_icon_click_url_width_height_modal_div').hide(); } }); $('#build_menu_icon_click_onoff_modal_div_r').on("click", "input[type=checkbox]", function () { if ($(this).prop("checked") && $(this).val() == 1) { - $('#build_menu_icon_click_url_modal_div_r').show(); + //$('#build_menu_icon_click_url_modal_div_r').show(); $('#build_menu_icon_click_url_width_height_modal_div_r').show(); } else { - $('#build_menu_icon_click_url_modal_div_r').hide(); + //$('#build_menu_icon_click_url_modal_div_r').hide(); $('#build_menu_icon_click_url_width_height_modal_div_r').hide(); } }); @@ -977,7 +975,7 @@ let drawingParent = $(value).parents("[id^=build_menu_position]") $(drawingParent).find('[id^=build_menu_icon_click_onoff_modal_div]').hide(); $(drawingParent).find('[id^=build_menu_blankurl_modal_div]').hide(); - $(drawingParent).find('[id^=build_menu_icon_click_url_modal_div]').hide(); + //$(drawingParent).find('[id^=build_menu_icon_click_url_modal_div]').hide(); $(drawingParent).find('[id^=build_menu_icon_click_url_width_height_modal_div]').hide(); $(drawingParent).find('[id^=build_menu_planimetric_floor_modal_div]').hide(); $(drawingParent).find('[id^=build_menu_systemurl_modal_div]').hide(); @@ -989,7 +987,7 @@ $(drawingParent).find('[id^="planimetric_click"]').attr("disabled", false); $(drawingParent).find('[id^=build_menu_icon_click_onoff_modal_div]').show(); if ($(drawingParent).find("[id^=icon_click_url]").prop('checked')) { - $(drawingParent).find('[id^=build_menu_icon_click_url_modal_div]').show(); + //$(drawingParent).find('[id^=build_menu_icon_click_url_modal_div]').show(); $(drawingParent).find('[id^=build_menu_icon_click_url_width_height_modal_div]').show(); } } else if ($(value).val() == 1) {