操作
diff --git a/src/main/webapp/WEB-INF/views/cfg/sysDictForm.jsp b/src/main/webapp/WEB-INF/views/basics/sysDictForm.jsp
similarity index 87%
rename from src/main/webapp/WEB-INF/views/cfg/sysDictForm.jsp
rename to src/main/webapp/WEB-INF/views/basics/sysDictForm.jsp
index 18f257834..617b1d100 100644
--- a/src/main/webapp/WEB-INF/views/cfg/sysDictForm.jsp
+++ b/src/main/webapp/WEB-INF/views/basics/sysDictForm.jsp
@@ -13,7 +13,7 @@
type:'post',
async:true,
cache:false,
- url:'${ctx}/configuration/sysDictInfo/ajaxItemType',
+ url:'${ctx}/basics/sysDictInfo/ajaxItemType',
data:{parent:parent},
success:function(data){
$("#itemType option").each(function(){
@@ -32,7 +32,7 @@
$.ajax({
type:'post',
async:false,
- url:'${ctx}/configuration/sysDictInfo/ajaxType',
+ url:'${ctx}/basics/sysDictInfo/ajaxType',
data:{parent:$("#sysDictInfoId").val(),child:$("#itemType option:selected").val()},
success:function(data){
flag=data;
@@ -46,7 +46,7 @@
$.ajax({
type:'post',
async:false,
- url:'${ctx}/configuration/sysDictInfo/ajaxChildrenType',
+ url:'${ctx}/basics/sysDictInfo/ajaxChildrenType',
data:{parent:"${sysDictInfo.sysDictId}",newItemType:$("#itemType option:selected").val()},
success:function(data){
flag=data;
@@ -60,7 +60,7 @@
$.ajax({
type:'post',
async:false,
- url:'${ctx}/configuration/sysDictInfo/ajaxLeafChange',
+ url:'${ctx}/basics/sysDictInfo/ajaxLeafChange',
data:{parent:"${sysDictInfo.sysDictId}",newIsLeaf:$("#isLeaf option:selected").val()},
success:function(data){
flag=data;
@@ -75,14 +75,14 @@
$.ajax({
type:'post',
async:false,
- url:'${ctx}/configuration/sysDictInfo/ajaxLeafHasTree',
+ url:'${ctx}/basics/sysDictInfo/ajaxLeafHasTree',
data:{sysDictId:"${sysDictInfo.sysDictId}",newIsLeaf:$("#isLeaf option:selected").val(),parentId:$("#sysDictInfoId").val()},
success:function(data){
flag=data;
}
});
return flag;
- },"该配置无上级,不得设为叶子节点");
+ },"该配置上级为根节点,不得设为叶子节点");
@@ -90,12 +90,6 @@
$("#inputForm").validate({
//需验证 item_code item_value
rules: {
- 'itemCode':{
- required:true,
- digits:true,
- codeNumber:true,
- remote:"${ctx}/configuration/sysDictInfo/isItemCodeRepeat?oldItemCode=${sysDictInfo.itemCode}"
- },
'itemValue':{
required:true
},
@@ -110,12 +104,6 @@
},
messages: {
- 'itemCode':{
- required:'编码必须填写',
- digits:'请填写整数值',
- codeNumber:'请填写合适的数值(0~200000000)',
- remote:"该配置编码已存在"
- },
'itemValue':{
required:'编码对应值必须填写'
},
@@ -125,7 +113,7 @@
},
'isLeaf':{
leafChange:'该配置包含下级配置,不得改为叶子节点',
- leafHasTree:'该配置无上级,不得设为叶子节点'
+ leafHasTree:'该配置上级为根节点,不得设为叶子节点'
}
},
@@ -182,14 +170,14 @@
-
+
@@ -208,12 +196,12 @@
-
--%>