From 0a379b1772ea76fe6a7a53396a3c9a614b29df1b Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 14 六月 2024 17:00:13 +0800
Subject: [PATCH] 1
---
HTML_09/views/SystemSettings/Dictionary.html | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/HTML_09/views/SystemSettings/Dictionary.html b/HTML_09/views/SystemSettings/Dictionary.html
index 1b4c80d..7af85bf 100644
--- a/HTML_09/views/SystemSettings/Dictionary.html
+++ b/HTML_09/views/SystemSettings/Dictionary.html
@@ -377,6 +377,31 @@
}
}
}
+ else if(field.Level == '0'){
+ if(doing){
+ doing = false;
+ sendData(IP + "/sys/AddDic", param, 'post',function(res) {
+ console.log(res);
+ if (res.code == 0) { //鎴愬姛
+ layer.msg(res.msg, {
+ icon: 1,
+ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ }, function() {
+ layer.close(index); //鍏抽棴寮瑰眰
+ refreshTable($("#DictName").val(),$("#ParentNo").val(),$("#Level").val(), $("#IsEdit").val(), $("#IsAdd").val());
+ doing = true;
+ });
+ }
+ else
+ { //涓嶆垚鍔�
+ layer.msg(res.msg, {
+ icon: 2,
+ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ }, function() {doing = true;});
+ }
+ });
+ }
+ }
});
submit.trigger('click');
--
Gitblit v1.8.0