diff --git a/htmlweb/web/backstage/system/department/add.html b/htmlweb/web/backstage/system/department/add.html index 6af1894b..f53da652 100644 --- a/htmlweb/web/backstage/system/department/add.html +++ b/htmlweb/web/backstage/system/department/add.html @@ -3,7 +3,7 @@ - 部门主表 + 公司主表 @@ -25,9 +25,9 @@
- +
- +
@@ -45,9 +45,9 @@
- +
- +
@@ -81,9 +81,9 @@
- +
- +
@@ -91,20 +91,47 @@
- +
- +
+ +
+ +
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
+
diff --git a/htmlweb/web/backstage/system/department/edit.html b/htmlweb/web/backstage/system/department/edit.html index 86d92802..745b6ea7 100644 --- a/htmlweb/web/backstage/system/department/edit.html +++ b/htmlweb/web/backstage/system/department/edit.html @@ -3,7 +3,7 @@ - 部门主表 + 公司主表 @@ -27,9 +27,9 @@
- +
- +
@@ -47,9 +47,9 @@
- +
- +
@@ -84,9 +84,9 @@
- +
- +
@@ -94,13 +94,41 @@
- +
- +
+
+
+ +
+ + +
+
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
@@ -180,8 +208,8 @@ $(document).ready(function () { - parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree" ,null,false,function (data) { - _deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, data); + parent.axgetXiaoyao("${ctx}/backstage/admin/department/showDeptJsTree" ,null,false,function (datatree) { + _deptTree = $.fn.zTree.init($("#departZtreeUl"),setting, datatree); _deptTree.expandAll(true); @@ -194,6 +222,8 @@ $("#departdesc").val(data.data.departdesc); $("#deptno").val(data.data.deptno); + $("#description").val(data.data.description); + var node = _deptTree.getNodesByParam("id",String(data.data.parentid)); @@ -209,6 +239,12 @@ $("input:radio[name='enabled']").eq(1).attr('checked',true); } + if(data.data.typedept == 1){ + $("input:radio[name='typedept']").eq(0).attr('checked',true); + }else if(data.data.typedept == 0){ + $("input:radio[name='typedept']").eq(1).attr('checked',true); + } + checkeradio(); $("#sorting").val(data.data.sorting); diff --git a/htmlweb/web/backstage/system/department/list.html b/htmlweb/web/backstage/system/department/list.html index 3f0d4f7c..2e56de05 100644 --- a/htmlweb/web/backstage/system/department/list.html +++ b/htmlweb/web/backstage/system/department/list.html @@ -3,7 +3,7 @@ - 部门主表 + 公司主表 @@ -53,7 +53,7 @@
- +
+ +
+
+
+ + +
+ + +
+
+
<#include "/head/footlist.html" />