yf_zd 5 лет назад
Родитель
Сommit
d52485aadd

+ 32 - 23
templates/backstageNet/limit/limit.html

@@ -215,118 +215,126 @@
             },
             {
                 "id": 4,
+                "title": "我的发布",
+                "icon": "",
+                "url": "equipallot",
+                "disabled": "true",
+                "children": []
+            },
+            {
+                "id": 5,
                 "title": "视频监控",
                 "icon": "",
                 "url": "jkview",
                 "children": []
             },
             {
-                "id": 5,
+                "id": 6,
                 "title": "传感及控制",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 5.1,
+                        "id": 6.1,
                         "title": "控制模块",
                         "url": "qxzcontrol",
                     },
                     {
-                        "id": 5.2,
+                        "id": 6.2,
                         "title": "趋势分析",
                         "url": "qxzchart",
                     },
                     {
-                        "id": 5.3,
+                        "id": 6.3,
                         "title": "数据统计",
                         "url": "qxz_status",
                     }
                 ]
             },
             {
-                "id": 6,
+                "id": 7,
                 "title": "预警中心",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 6.1,
+                        "id": 7.1,
                         "title": "阈值设置",
                         "url": "qxz_warning_view",
                     },
                     {
-                        "id": 6.2,
+                        "id": 7.2,
                         "title": "生产方式设置",
                         "url": "productionset",
                     },
                     {
-                        "id": 6.3,
+                        "id": 7.3,
                         "title": "预警记录",
                         "url": "qxz_warning_list",
                     },
                 ]
             },
             {
-                "id": 7,
+                "id": 8,
                 "title": "开心农场",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 7.1,
+                        "id": 8.1,
                         "title": "我的农场",
                         "url": "person_farm_edit",
                     },
                     {
-                        "id": 7.2,
+                        "id": 8.2,
                         "title": "农场管理",
                         "url": "garden_manage_view",
                     },
                     {
-                        "id": 7.3,
+                        "id": 8.3,
                         "title": "人员管理",
                         "url": "garden_user_view",
                     },
                     {
-                        "id": 7.1,
+                        "id": 8.4,
                         "title": "库存管理",
                         "url": "repertory_view",  //物料管理    
                     },
                     {
-                        "id": 7.5,
+                        "id": 8.5,
                         "title": "种植管理",
                         "url": "cropcount",
                     },
                     {
-                        "id": 7.6,
+                        "id": 8.6,
                         "title": "入库管理",
                         "url": "pick",
                     },
                     {
-                        "id": 7.7,
+                        "id": 8.7,
                         "title": "销售管理",
                         "url": "sell_view",
                     }
                 ]
             },
             {
-                "id": 8,
+                "id": 9,
                 "title": "数据中心",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 8.1,
+                        "id": 9.1,
                         "title": "产业数据",
                         "url": "industrydata",
                     },
                     {
-                        "id": 8.2,
+                        "id": 9.2,
                         "title": "类型分析",
                         "url": "type",
                     },
                     {
-                        "id": 8.3,
+                        "id": 9.3,
                         "title": "对比分析",
                         "url": "contrast",
                     },
@@ -435,20 +443,20 @@
                 ]
             },
 			{
-                "id": 13,
+                "id": 14,
                 "title": "专家诊断",
                 "icon": "",
                 "url": "",
                 "disabled": "true",
                 "children": [
                     {
-                        "id": 13.1,
+                        "id": 14.1,
                         "title": "在线专家",
                         "url": "expert",
                         "disabled": "true",
                     },
                     {
-                        "id": 13.2,
+                        "id": 14.2,
                         "title": "知识库",
                         "url": "learning_depot",
                         "disabled": "true",
@@ -456,6 +464,7 @@
                 ]
             },
         ]
+
         $.ajax({
             url: 'limit',
             type: 'post',

+ 31 - 23
templates/backstageNet/limit/limit_user_list.html

@@ -55,118 +55,126 @@
             },
             {
                 "id": 4,
+                "title": "我的发布",
+                "icon": "",
+                "url": "equipallot",
+                "disabled": "true",
+                "children": []
+            },
+            {
+                "id": 5,
                 "title": "视频监控",
                 "icon": "",
                 "url": "jkview",
                 "children": []
             },
             {
-                "id": 5,
+                "id": 6,
                 "title": "传感及控制",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 5.1,
+                        "id": 6.1,
                         "title": "控制模块",
                         "url": "qxzcontrol",
                     },
                     {
-                        "id": 5.2,
+                        "id": 6.2,
                         "title": "趋势分析",
                         "url": "qxzchart",
                     },
                     {
-                        "id": 5.3,
+                        "id": 6.3,
                         "title": "数据统计",
                         "url": "qxz_status",
                     }
                 ]
             },
             {
-                "id": 6,
+                "id": 7,
                 "title": "预警中心",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 6.1,
+                        "id": 7.1,
                         "title": "阈值设置",
                         "url": "qxz_warning_view",
                     },
                     {
-                        "id": 6.2,
+                        "id": 7.2,
                         "title": "生产方式设置",
                         "url": "productionset",
                     },
                     {
-                        "id": 6.3,
+                        "id": 7.3,
                         "title": "预警记录",
                         "url": "qxz_warning_list",
                     },
                 ]
             },
             {
-                "id": 7,
+                "id": 8,
                 "title": "开心农场",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 7.1,
+                        "id": 8.1,
                         "title": "我的农场",
                         "url": "person_farm_edit",
                     },
                     {
-                        "id": 7.2,
+                        "id": 8.2,
                         "title": "农场管理",
                         "url": "garden_manage_view",
                     },
                     {
-                        "id": 7.3,
+                        "id": 8.3,
                         "title": "人员管理",
                         "url": "garden_user_view",
                     },
                     {
-                        "id": 7.1,
+                        "id": 8.4,
                         "title": "库存管理",
                         "url": "repertory_view",  //物料管理    
                     },
                     {
-                        "id": 7.5,
+                        "id": 8.5,
                         "title": "种植管理",
                         "url": "cropcount",
                     },
                     {
-                        "id": 7.6,
+                        "id": 8.6,
                         "title": "入库管理",
                         "url": "pick",
                     },
                     {
-                        "id": 7.7,
+                        "id": 8.7,
                         "title": "销售管理",
                         "url": "sell_view",
                     }
                 ]
             },
             {
-                "id": 8,
+                "id": 9,
                 "title": "数据中心",
                 "icon": "",
                 "url": "",
                 "children": [
                     {
-                        "id": 8.1,
+                        "id": 9.1,
                         "title": "产业数据",
                         "url": "industrydata",
                     },
                     {
-                        "id": 8.2,
+                        "id": 9.2,
                         "title": "类型分析",
                         "url": "type",
                     },
                     {
-                        "id": 8.3,
+                        "id": 9.3,
                         "title": "对比分析",
                         "url": "contrast",
                     },
@@ -275,20 +283,20 @@
                 ]
             },
 			{
-                "id": 13,
+                "id": 14,
                 "title": "专家诊断",
                 "icon": "",
                 "url": "",
                 "disabled": "true",
                 "children": [
                     {
-                        "id": 13.1,
+                        "id": 14.1,
                         "title": "在线专家",
                         "url": "expert",
                         "disabled": "true",
                     },
                     {
-                        "id": 13.2,
+                        "id": 14.2,
                         "title": "知识库",
                         "url": "learning_depot",
                         "disabled": "true",