|
@@ -76,6 +76,34 @@ $(function () {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 智能POS终端管理按钮点击事件
|
|
|
+ */
|
|
|
+ $("#posClientManager").on("click", function (t) {
|
|
|
+ window.open("http://172.16.32.201:8080/ccbmis/#");
|
|
|
+
|
|
|
+ // const iframeEle = document.getElementById("posClientManagerDiv");
|
|
|
+ // const loadingEle = document.getElementById("posClientManagerLoading");
|
|
|
+ // //设置ififrame透明
|
|
|
+ // iframeEle.style.opacity = 0;
|
|
|
+ // loadingEle.style.display = 'block';
|
|
|
+ // $("#posClientManagerDiv").attr("src", "http://172.16.32.201:8080/ccbmis/#");
|
|
|
+ // iframeEle.addEventListener('load', function () {
|
|
|
+ // // Hide the loading indicator
|
|
|
+ // loadingEle.style.display = 'none';
|
|
|
+ // // Bring the iframe back
|
|
|
+ // iframeEle.style.opacity = 1;
|
|
|
+ // });
|
|
|
+ // setTimeout(function () {
|
|
|
+ // // iframe 重复加载不会触发上述事件
|
|
|
+ // loadingEle.style.display = 'none';
|
|
|
+ // iframeEle.style.opacity = 1;
|
|
|
+ // }, 1000);
|
|
|
+ // $("#posClientManagerModal").modal();
|
|
|
+ });
|
|
|
+
|
|
|
});
|
|
|
|
|
|
|