yf_zd 5 лет назад
Родитель
Сommit
2713389020
30 измененных файлов с 555 добавлено и 188 удалено
  1. 13 1
      templates/backstageNet/annunciate/policyListView.html
  2. 13 1
      templates/backstageNet/annunciate/policyPub.html
  3. 13 0
      templates/backstageNet/datacenter/contrast.html
  4. 13 0
      templates/backstageNet/datacenter/cropdata.html
  5. 13 0
      templates/backstageNet/datacenter/industrydata.html
  6. 13 1
      templates/backstageNet/info/dormPub.html
  7. 13 1
      templates/backstageNet/info/gardenPub.html
  8. 13 1
      templates/backstageNet/info/newsPub.html
  9. 13 1
      templates/backstageNet/info/productPub.html
  10. 13 1
      templates/backstageNet/info/videoPub.html
  11. 13 1
      templates/backstageNet/limit/limit.html
  12. 13 0
      templates/backstageNet/production/cropcount.html
  13. 190 174
      templates/backstageNet/production/gardenManage.html
  14. 1 1
      templates/backstageNet/production/gardenNew.html
  15. 13 0
      templates/backstageNet/production/limit.1.html
  16. 13 1
      templates/backstageNet/production/person_farm_edit.html
  17. 13 0
      templates/backstageNet/production/pick.html
  18. 13 0
      templates/backstageNet/production/repertoryManage.html
  19. 13 0
      templates/backstageNet/production/sellManage.html
  20. 13 0
      templates/backstageNet/production/workerManage.html
  21. 13 0
      templates/backstageNet/qxzctrl/qxzData.html
  22. 13 0
      templates/backstageNet/qxzctrl/qxzchart.html
  23. 13 0
      templates/backstageNet/qxzctrl/qxzctrl.html
  24. 13 1
      templates/backstageNet/systemSet/changePwd.html
  25. 13 1
      templates/backstageNet/systemSet/creatUser.html
  26. 13 1
      templates/backstageNet/systemSet/onlineSplit.html
  27. 13 1
      templates/backstageNet/systemSet/systemSet.html
  28. 13 0
      templates/backstageNet/warn/productionset.html
  29. 13 0
      templates/backstageNet/warn/warnRecord.html
  30. 13 0
      templates/backstageNet/warn/warnSet.html

+ 13 - 1
templates/backstageNet/annunciate/policyListView.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/annunciate/policyPub.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/datacenter/contrast.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/datacenter/cropdata.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/datacenter/industrydata.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/info/dormPub.html

@@ -34,15 +34,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/info/gardenPub.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/info/newsPub.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/info/productPub.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/info/videoPub.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/limit/limit.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/production/cropcount.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 190 - 174
templates/backstageNet/production/gardenManage.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {
@@ -117,9 +130,9 @@
             padding: 10px 10px 0 10px;
         }
 
-         /* 图片预览 */
+        /* 图片预览 */
 
-         .layui-upload-img {
+        .layui-upload-img {
             width: 92px;
             height: 92px;
             margin: 0 10px 10px 0;
@@ -129,11 +142,11 @@
             display: none;
         }
 
-         /* 表单样式 */
+        /* 表单样式 */
 
-         .layui-form-item .layui-input-inline {
+        .layui-form-item .layui-input-inline {
             width: 50%;
-            margin: 10px 0 0 0;
+            /* margin: 10px 0 0 0; */
         }
 
         .uploadImg {
@@ -150,10 +163,6 @@
             background: url(../../static/imgs/uploadImgIcon.png) no-repeat center;
             background-size: 80% 80%;
         }
-
-        .xiala {
-            margin: -35px 0 0 100px;
-        }
     </style>
 </head>
 
@@ -172,22 +181,24 @@
         <div class="mainContent">
             <div class="widget-title">
                 <h2>农场管理
-                </h2>
-                <form class="layui-form" action="" id="formID" style="display:inline-block;vertical-align: middle;">
-                    <div class="layui-form-item xiala" style="margin-bottom: 0;">
-                        <label class="layui-form-label" style="color:#029eef">选择园区:</label>
-                        <div class="layui-input-inline" >
-                            <select name="identity" id="farmSelect">
-                            </select>
+                    <form class="layui-form" action="" id="formID" style="display:inline-block;vertical-align: middle;">
+                        <div class="layui-form-item" style="margin-bottom: 0;">
+                            <label class="layui-form-label" style="color:#029eef">选择园区:</label>
+                            <div class="layui-input-inline">
+                                <select name="identity" id="farmSelect">
+                                </select>
+                            </div>
                         </div>
-                    </div>
-                </form>
-                <button type="button" class="layui-btn  layui-btn-normal layui-btn-sm fr" onclick="selectModelFun()">新增</button>
+                    </form>
+                </h2>
+                
+                <button type="button" class="layui-btn  layui-btn-normal layui-btn-sm fr"
+                    onclick="selectModelFun()">新增</button>
             </div>
             <div class="">
                 <div class="layui-row" id="box">
                     <div id="chunk">
-                        
+
                     </div>
                 </div>
                 <div class="fenpei-bottom">
@@ -205,21 +216,24 @@
                 <div class="layui-form-item">
                     <label class="layui-form-label">农场:</label>
                     <div class="layui-input-inline">
-                        <input type="text" name="name" required lay-verify="required" placeholder="请输入农场名称" autocomplete="off" class="layui-input">
+                        <input type="text" name="name" required lay-verify="required" placeholder="请输入农场名称"
+                            autocomplete="off" class="layui-input">
                     </div>
                 </div>
 
                 <div class="layui-form-item">
                     <label class="layui-form-label">基地面积(亩):</label>
                     <div class="layui-input-inline">
-                        <input type="text" name="area" required lay-verify="required" placeholder="请输入基地面积" autocomplete="off" class="layui-input">
+                        <input type="text" name="area" required lay-verify="required" placeholder="请输入基地面积"
+                            autocomplete="off" class="layui-input">
                     </div>
                 </div>
 
                 <div class="layui-form-item">
                     <label class="layui-form-label">当前品种:</label>
                     <div class="layui-input-inline">
-                        <input type="text" name="curr_var" required lay-verify="required" placeholder="请输入品种名称" autocomplete="off" class="layui-input">
+                        <input type="text" name="curr_var" required lay-verify="required" placeholder="请输入品种名称"
+                            autocomplete="off" class="layui-input">
                     </div>
                 </div>
 
@@ -239,10 +253,11 @@
                 <div class="layui-form-item layui-form-text">
                     <label class="layui-form-label">农场介绍:</label>
                     <div class="layui-input-inline">
-                        <textarea name="content" id="editor1" lay-verify="required" placeholder="请输入介绍" class="layui-textarea"></textarea>
+                        <textarea name="content" id="editor1" lay-verify="required" placeholder="请输入介绍"
+                            class="layui-textarea"></textarea>
                     </div>
                 </div>
-                
+
                 <div class="layui-form-item">
                     <div class="layui-input-block">
                         <button class="layui-btn  layui-btn-normal" lay-submit lay-filter="formDemo">立即提交</button>
@@ -276,12 +291,12 @@
 
             //园区下拉列表数据渲染
             gedataA('park_land')
-             function gedataA(url) {
+            function gedataA(url) {
                 $.ajax({
                     url: 'park_land',
                     type: 'get',
                     data: {
-                        
+
                     },
                     dataType: 'json',
                     success: function (data) {
@@ -289,55 +304,56 @@
                         for (var i = 0; i < d.length; i++) {
                             var name = data[i].name
                             var id = data[i].id
-                            var opt = "<option value='" + id + "'>" + name + "</option>" 
+                            var opt = "<option value='" + id + "'>" + name + "</option>"
                             $('#farmSelect').append(opt);
                             form.render('select'); //刷新select选择框渲染
                         }
-                        
-                        
-                         //页面数据渲染
-                         gedata('garden_manage_new', 1)
-                            function gedata(url, page) {
-                                $.ajax({
-                                    url: 'garden_manage_new',
-                                    type: 'get',
-                                    data: {
-                                        page: page,
-                                        ids: $('#farmSelect option:eq(0)').val(),
-                                    },
-                                    dataType: 'html',
-                                    success: function (data) {
-                                        $('#box').children('#chunk').html(data);
-                                        laypage.render({
-                                            elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
-                                            , count: $('#totalPage').val()
-                                            , theme: '#2ca9f9'
-                                            ,limit: '9'
-                                            , layout: ['prev', 'page', 'next', 'skip']
-                                            , jump: function (obj, first) {
-                                                if (!first) {
-                                                    $.ajax({
-                                                        url: 'garden_manage_new',
-                                                        type: 'get',
-                                                        data: { page: obj.curr, ids: $('#farmSelect option:eq(0)').val()},
-                                                        dataType: 'html',
-                                                        success: function (data) {
-                                                            $('#box').children('#chunk').html(data);
-                                                        },
-                                                        error: function (type) {
-                                                            console.log(type)
-                                                        }
-                                                    })
-                                                    
-                                                }
+
+
+                        //页面数据渲染
+                        gedata('garden_manage_new', 1)
+                        function gedata(url, page) {
+                            sessionStorage.setItem('seelectID', $('#farmSelect option:eq(0)').val())
+                            $.ajax({
+                                url: 'garden_manage_new',
+                                type: 'get',
+                                data: {
+                                    page: page,
+                                    ids: $('#farmSelect option:eq(0)').val(),
+                                },
+                                dataType: 'html',
+                                success: function (data) {
+                                    $('#box').children('#chunk').html(data);
+                                    laypage.render({
+                                        elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
+                                        , count: $('#totalPage').val()
+                                        , theme: '#2ca9f9'
+                                        , limit: '9'
+                                        , layout: ['prev', 'page', 'next', 'skip']
+                                        , jump: function (obj, first) {
+                                            if (!first) {
+                                                $.ajax({
+                                                    url: 'garden_manage_new',
+                                                    type: 'get',
+                                                    data: { page: obj.curr, ids: $('#farmSelect option:eq(0)').val() },
+                                                    dataType: 'html',
+                                                    success: function (data) {
+                                                        $('#box').children('#chunk').html(data);
+                                                    },
+                                                    error: function (type) {
+                                                        console.log(type)
+                                                    }
+                                                })
+
                                             }
-                                        });
-                                    },
-                                    error: function (type) {
-                                        console.log(type)
-                                    }
-                                })
-                            }
+                                        }
+                                    });
+                                },
+                                error: function (type) {
+                                    console.log(type)
+                                }
+                            })
+                        }
                     },
                     error: function (type) {
                         console.log(type)
@@ -347,52 +363,52 @@
 
 
             //选择农场的下拉框监听回调
-            form.on('select()', function(data){
-            sessionStorage.setItem('seelectID', data.value)
-            gedata('garden_manage_new', 1 )
-            function gedata(url, page) {
-                $.ajax({
-                    url: 'garden_manage_new',
-                    type: 'get',
-                    data: {
-                        page: page,
-                        ids: data.value,
-                    },
-                    dataType: 'html',
-                    success: function (data) {
-                        $('#box').children('#chunk').html(data);
-                        laypage.render({
-                            elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
-                            , count: $('#totalPage').val()
-                            ,limit: 9
-                            , theme: '#2ca9f9'
-                            , layout: ['prev', 'page', 'next', 'skip']
-                            , jump: function (obj, first) {
-                                console.log(obj.curr); //得到当前页,以便向服务端请求对应页的数据。
-                                console.log(obj.limit); //得到每页显示的条数
-                                if (!first) {
-                                    $.ajax({
-                                        url: 'garden_manage_new',
-                                        type: 'get',
-                                        data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
-                                        dataType: 'html',
-                                        success: function (data) {
-                                            $('#box').children('#chunk').html(data);
-                                            console.log($('#totalPage').val());
-                                        },
-                                        error: function (type) {
-                                            console.log(type)
-                                        }
-                                    })
+            form.on('select()', function (data) {
+                sessionStorage.setItem('seelectID', data.value)
+                gedata('garden_manage_new', 1)
+                function gedata(url, page) {
+                    $.ajax({
+                        url: 'garden_manage_new',
+                        type: 'get',
+                        data: {
+                            page: page,
+                            ids: data.value,
+                        },
+                        dataType: 'html',
+                        success: function (data) {
+                            $('#box').children('#chunk').html(data);
+                            laypage.render({
+                                elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号
+                                , count: $('#totalPage').val()
+                                , limit: 9
+                                , theme: '#2ca9f9'
+                                , layout: ['prev', 'page', 'next', 'skip']
+                                , jump: function (obj, first) {
+                                    console.log(obj.curr); //得到当前页,以便向服务端请求对应页的数据。
+                                    console.log(obj.limit); //得到每页显示的条数
+                                    if (!first) {
+                                        $.ajax({
+                                            url: 'garden_manage_new',
+                                            type: 'get',
+                                            data: { page: obj.curr, ids: sessionStorage.getItem('seelectID') },
+                                            dataType: 'html',
+                                            success: function (data) {
+                                                $('#box').children('#chunk').html(data);
+                                                console.log($('#totalPage').val());
+                                            },
+                                            error: function (type) {
+                                                console.log(type)
+                                            }
+                                        })
+                                    }
                                 }
-                            }
-                        });
-                    },
-                    error: function (type) {
-                        console.log(type)
-                    }
-                })
-             }
+                            });
+                        },
+                        error: function (type) {
+                            console.log(type)
+                        }
+                    })
+                }
             });
 
 
@@ -430,7 +446,7 @@
                 }
             });
 
-            
+
 
 
             //监听提交
@@ -466,73 +482,73 @@
                 return false;
             });
 
-             //监听用户是否刷新,刷新页面删除本地存储的ID
-             $(function() {  
-                $(window).on('beforeunload', function() {  
+            //监听用户是否刷新,刷新页面删除本地存储的ID
+            $(function () {
+                $(window).on('beforeunload', function () {
                     sessionStorage.removeItem('seelectID')
-                });  
-            });  
-            
+                });
+            });
+
         })
 
         //修改
-        function amend (id) {
-            if ( sessionStorage.getItem('seelectID') !== null) {
-                $.ajax({
-                url: 'garden_manage_new',
-                type: 'post',
-                async: false,
-                data: {
-                    id: id,
-                    req: 'edit'
-                },
-                dataType: 'json',
-                success: function (data) {
-                    selectModelFun ()
-                    $('input[name="name"]').val(data[0].name) //名称
-                    $('input[name="area"]').val(data[0].area) //面积
-                    $('input[name="manage_user"]').val(data[0].manage_user) //管理者
-                    $('input[name="curr_var"]').val(data[0].curr_var) //品种
-                    $('textarea[name="content"]').val(data[0].farm_desc) //介绍
-                    $('input[name="id"]').val(data[0].id) //id
-
-                },
-                error: function (type) {
-                    console.log(type)
-                }
-            })
-            } else {
-                layer.msg("请先选择园区!", { time: 1000, icon: 5 })
-            }
-        }
-
-
-        //删除
-        function del (id) {
-            if (sessionStorage.getItem('seelectID') !== null ) {
-                layer.confirm('真的删除行么',{title:'删除'}, function (index) {
+        function amend(id) {
+            if (sessionStorage.getItem('seelectID') !== null) {
                 $.ajax({
                     url: 'garden_manage_new',
                     type: 'post',
+                    async: false,
                     data: {
                         id: id,
-                        req: 'del',
+                        req: 'edit'
                     },
                     dataType: 'json',
                     success: function (data) {
-                        if (data) {
-                            layer.close(index);
-                            location.reload();
-                            parent.layer.msg("操作成功!", {time: 1000, icon: 1})
-                        }
+                        selectModelFun()
+                        $('input[name="name"]').val(data[0].name) //名称
+                        $('input[name="area"]').val(data[0].area) //面积
+                        $('input[name="manage_user"]').val(data[0].manage_user) //管理者
+                        $('input[name="curr_var"]').val(data[0].curr_var) //品种
+                        $('textarea[name="content"]').val(data[0].farm_desc) //介绍
+                        $('input[name="id"]').val(data[0].id) //id
+
+                    },
+                    error: function (type) {
+                        console.log(type)
                     }
                 })
-            });
             } else {
                 layer.msg("请先选择园区!", { time: 1000, icon: 5 })
             }
         }
-        
+
+
+        //删除
+        function del(id) {
+            if (sessionStorage.getItem('seelectID') !== null) {
+                layer.confirm('真的删除行么', { title: '删除' }, function (index) {
+                    $.ajax({
+                        url: 'garden_manage_new',
+                        type: 'post',
+                        data: {
+                            id: id,
+                            req: 'del',
+                        },
+                        dataType: 'json',
+                        success: function (data) {
+                            if (data) {
+                                layer.close(index);
+                                location.reload();
+                                parent.layer.msg("操作成功!", { time: 1000, icon: 1 })
+                            }
+                        }
+                    })
+                });
+            } else {
+                layer.msg("请先选择园区!", { time: 1000, icon: 5 })
+            }
+        }
+
         function clearForm() {
             form.val('newsFormDiv', {
                 "name": "",
@@ -551,16 +567,16 @@
 
         function selectModelFun() {
             if (sessionStorage.getItem('seelectID') !== null) {
-                    layui.use(['layer'], function () {
+                layui.use(['layer'], function () {
                     layer = layui.layer;
                     var index = layer.open({
                         type: 1,
                         title: '园区筛选',
                         content: $('#selectModel'),
-                        area: ['550px', '700px'],
-                        cancel: function(){
+                        area: ['550px', '570px'],
+                        cancel: function () {
                             // 右上角关闭事件的逻辑
-                            clearForm ()
+                            clearForm()
                             sessionStorage.removeItem('seelectID')
                         }
                     })
@@ -568,10 +584,10 @@
             } else {
                 layer.msg("请先选择园区!", { time: 1000, icon: 5 })
             }
-           
-        
+
+
         }
-        
+
     </script>
 </body>
 

+ 1 - 1
templates/backstageNet/production/gardenNew.html

@@ -4,7 +4,7 @@
         <!-- <p class="username">{{ msg.art }}</p> -->
         <p class="username">{{ msg.name }}</p>
         <div class="userMsg">
-            <img :src= {{ msg.farm_img }} class="fl" alt="">
+            <img :src='http://127.0.0.1:8000/{{ msg.farm_img }}' class="fl" alt="">
             <div class="userInfo">
                 <p>基地面积(亩): {{ msg.area }}</p>
                 <p>管理者: {{ msg.manage_user.name }}</p>

+ 13 - 0
templates/backstageNet/production/limit.1.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/production/person_farm_edit.html

@@ -33,15 +33,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/production/pick.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/production/repertoryManage.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/production/sellManage.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/production/workerManage.html

@@ -30,6 +30,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -38,6 +50,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/qxzctrl/qxzData.html

@@ -169,6 +169,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -177,6 +189,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/qxzctrl/qxzchart.html

@@ -161,6 +161,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -169,6 +181,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/qxzctrl/qxzctrl.html

@@ -251,6 +251,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -259,6 +271,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/systemSet/changePwd.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/systemSet/creatUser.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/systemSet/onlineSplit.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 1
templates/backstageNet/systemSet/systemSet.html

@@ -30,15 +30,27 @@
         /* 发布类型 */
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
             padding: 5px 0 5px 10px;
-            margin-bottom: 20px;
         }
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/warn/productionset.html

@@ -121,6 +121,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -129,6 +141,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/warn/warnRecord.html

@@ -31,6 +31,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -39,6 +51,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {

+ 13 - 0
templates/backstageNet/warn/warnSet.html

@@ -31,6 +31,18 @@
         }
 
         .widget-title {
+            position: relative;
+            padding-left: 10px;
+            font-size: 16px;
+            padding: 5px 0 5px 10px;
+        }
+
+        .widget-title::after {
+            position: absolute;
+            content: '';
+            left: 0;
+            top: 9px;
+            height: 15px;
             border-left: 5px solid #23a3ee;
             padding-left: 10px;
             font-size: 16px;
@@ -39,6 +51,7 @@
 
         .widget-title h2 {
             font-weight: 700;
+            line-height: 33px;
         }
 
         .widget-title h2 span {