diff --git a/src/index.html b/src/index.html
index c06b67f..39fd742 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/src/js/contractAuthManage.js b/src/js/contractAuthManage.js
index 109fbd2..a95193a 100644
--- a/src/js/contractAuthManage.js
+++ b/src/js/contractAuthManage.js
@@ -1,24 +1,26 @@
-var updateResultDisplay = function (obj) {
+function updateResultDisplay(obj) {
obj_label = document.getElementById("result");
var jsonData = JSON.stringify(obj);// 转成JSON格式
// var result = $.parseJSON(jsonData);// 转成JSON对象
obj_label.innerHTML = jsonData;
-};
-var showDialog = function (title, cb) {
+}
+
+function showDialog(title, cb) {
$("#dialogTitleH5").html(title);
$("#dialogConfimBtn").off("click").on("click", cb);
$("#dialog").modal("show");
-};
+}
-var updateResultDisplayStr = function (str) {
+function updateResultDisplayStr(str) {
obj_label = document.getElementById("result");
obj_label.innerHTML = str;
-};
+}
-var alertNoPermission = function (message, title) {
- if ($("#nopermissionSpan").length > 0) {
+function alertNoPermission(message, title) {
+ const noPermissionSpan = $("#nopermissionSpan");
+ if (noPermissionSpan.length > 0) {
console.log(message + " status:" + $("#dialog")[0].getAttribute("class"));
- $("#nopermissionSpan").append("
" + message);
+ noPermissionSpan.append("
" + message);
} else {
var body = "
";
body += message;
@@ -28,5 +30,4 @@ var alertNoPermission = function (message, title) {
$("#dialogBodyDiv").html("");
});
}
- return;
-};
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/src/queryIdentifier.html b/src/queryIdentifier.html
index 2a7ba2d..c09a4a9 100644
--- a/src/queryIdentifier.html
+++ b/src/queryIdentifier.html
@@ -1,4 +1,4 @@
-
+
@@ -27,7 +27,7 @@
-
+
@@ -59,22 +59,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89,7 +89,6 @@
-