lufeng 2 years ago
parent
commit
a28f931202

+ 0 - 6
src/main/resources/static/app/layout/partials/navigation.tpl.html

@@ -912,12 +912,6 @@
912 912
                                         <a data-ui-sref="app.storage.safeproduce.safeAccidentManageList">安全生产事故管理</a>
913 913
                                     </li>
914 914
                                     <li data-ui-sref-active="active">
915
-                                        <a data-ui-sref="app.storage.safeproduce.safelevel">安全风险分级管控</a>
916
-                                    </li>
917
-                                    <li data-ui-sref-active="active">
918
-                                        <a data-ui-sref="app.storage.safeproduce.dangerHandel">安全隐患跟踪处理</a>
919
-                                    </li>
920
-                                    <li data-ui-sref-active="active">
921 915
                                         <a data-ui-sref="app.storage.safeproduce.rulelibrary">法律规章信息库</a>
922 916
                                     </li>
923 917
                                     <!--备案及实施情况的管理-->

+ 0 - 119
src/main/resources/static/app/storage/controller/dangerHandelCtrl.js

@@ -1,119 +0,0 @@
1
-"use strict";
2
-
3
-angular.module('app.storage').controller("dangerHandelCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4
-    //安全生产通告列表
5
-    $scope.pageInfo = {pageNum : 1, pageSize : 10};
6
-    $scope.search = {fileName:""};
7
-    $scope.loadData = function() {
8
-        safeProduceNotifyService.getPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize,$scope.search.fileName)
9
-            .then(function(data){
10
-            $scope.pageInfo = data;
11
-        },function(data){
12
-            console.log(data);
13
-        });
14
-    };
15
-
16
-    $scope.loadData();
17
-
18
-    // 翻页
19
-    $scope.goPage = function(pageNum) {
20
-        $scope.pageInfo.pageNum = pageNum;
21
-        $scope.loadData();
22
-    };
23
-
24
-    // 显示增加页面
25
-    $scope.showAddNotify=function () {
26
-        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27
-    };
28
-    //修改编辑页面
29
-    $scope.showEditNotify = function (id) {
30
-        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:id,isNotEdit:false});
31
-    };
32
-    // 查看页面
33
-    $scope.showViewNotify = function(id) {
34
-        $state.go('app.storage.safeproduce.dangerHandelEdit', {id:id,isNotEdit:true});
35
-    };
36
-
37
-    // 根据id删除信息
38
-    $scope.removeNotify = function(id) {
39
-        if (!confirm("确定要删除吗?")) {
40
-            return;
41
-        }
42
-        safeProduceNotifyService.removeById(id).then(function (data) {
43
-            if(data.status == "success"){
44
-                alert("删除成功");
45
-                $scope.loadData();
46
-            }else{
47
-                alert("删除失败");
48
-            }
49
-        });
50
-    }
51
-    
52
-})
53
-    .controller("dangerHandelSaveCtrl", function($scope,$rootScope, $state,$http,$stateParams,$filter,safeProduceNotifyService) {
54
-        $scope.safeProduceNotify={};
55
-        //下面的判断用于查看页面只读状态
56
-        if($stateParams.isNotEdit != null){
57
-            if ($stateParams.isNotEdit == "false") { // 修改
58
-                $scope.isNotEdit = false;
59
-            } else if ($stateParams.isNotEdit == "true") { // 查看
60
-                $scope.isNotEdit = true;
61
-            }
62
-        }else{
63
-            $scope.isNotEdit = false;
64
-        }
65
-
66
-        if ($stateParams.topRow != null) {
67
-            $scope.safeProduceNotify.notify=$stateParams.topRow;
68
-        }
69
-
70
-        $scope.loadDataById = function(id) {
71
-            safeProduceNotifyService.edit(id).then(function(data){
72
-                // console.log(data);
73
-                if (id==0){
74
-                    // 通告人
75
-                    $scope.safeProduceNotify.operator = $rootScope.userInfo.realName;
76
-                    // 通告来源
77
-                    $scope.safeProduceNotify.source = $rootScope.orgInfo.orgName;
78
-                    // 通告事件
79
-                    $scope.safeProduceNotify.operationTime = $filter('date')(new Date(), "yyyy-MM-dd");
80
-                }else{
81
-                    $scope.safeProduceNotify = data;
82
-                    $scope.safeProduceNotify.operationTime = $filter('date')($scope.safeProduceNotify.operationTime, "yyyy-MM-dd");
83
-                }
84
-            },function(data){
85
-                // console.log(data);
86
-            });
87
-        };
88
-
89
-        $scope.loadDataById($stateParams.id);
90
-
91
-        // 提交表单
92
-        var validator = $("#safeProduceNotify-form").validate();
93
-        $scope.saveData = function () {
94
-            if (validator.form()) {
95
-                $scope.safeProduceNotify.operationTime = $("input[name='operationTime']").val(); // 时间控件获取值
96
-                $scope.safeProduceNotify.orgId = $rootScope.orgInfo.orgId;
97
-                safeProduceNotifyService.save($scope.safeProduceNotify)
98
-                    .then(function(data){
99
-                    if (data.status == 'success') {
100
-                        alert("保存成功!");
101
-                        //$scope.back();
102
-                        $scope.backLayer();
103
-                    } else {
104
-                        alert("保存失败!");
105
-                    }
106
-                },function(data) {
107
-                    console.log(data);
108
-                });
109
-            }
110
-        }
111
-        
112
-        //返回
113
-	    $scope.backLayer = function(){
114
-	    	$state.go('app.storage.safeproduce.dangerHandel');
115
-	    }
116
-
117
-    });
118
-
119
-

+ 0 - 119
src/main/resources/static/app/storage/controller/safelevelCtrl.js

@@ -1,119 +0,0 @@
1
-"use strict";
2
-
3
-angular.module('app.storage').controller("safelevelCtrl", function($scope,safeProduceNotifyService,$state, $http,$rootScope, $stateParams, APP_CONFIG) {
4
-    //安全生产通告列表
5
-    $scope.pageInfo = {pageNum : 1, pageSize : 10};
6
-    $scope.search = {fileName:""};
7
-    $scope.loadData = function() {
8
-        safeProduceNotifyService.getPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize,$scope.search.fileName)
9
-            .then(function(data){
10
-            $scope.pageInfo = data;
11
-        },function(data){
12
-            console.log(data);
13
-        });
14
-    };
15
-
16
-    $scope.loadData();
17
-
18
-    // 翻页
19
-    $scope.goPage = function(pageNum) {
20
-        $scope.pageInfo.pageNum = pageNum;
21
-        $scope.loadData();
22
-    };
23
-
24
-    // 显示增加页面
25
-    $scope.showAddNotify=function () {
26
-        $state.go('app.storage.safeproduce.safeleveledit', {id:0,isNotEdit:false,topRow:$rootScope.orgInfo.orgName+"通告:\n"});
27
-    };
28
-    //修改编辑页面
29
-    $scope.showEditNotify = function (id) {
30
-        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:false});
31
-    };
32
-    // 查看页面
33
-    $scope.showViewNotify = function(id) {
34
-        $state.go('app.storage.safeproduce.safeleveledit', {id:id,isNotEdit:true});
35
-    };
36
-
37
-    // 根据id删除信息
38
-    $scope.removeNotify = function(id) {
39
-        if (!confirm("确定要删除吗?")) {
40
-            return;
41
-        }
42
-        safeProduceNotifyService.removeById(id).then(function (data) {
43
-            if(data.status == "success"){
44
-                alert("删除成功");
45
-                $scope.loadData();
46
-            }else{
47
-                alert("删除失败");
48
-            }
49
-        });
50
-    }
51
-    
52
-})
53
-    .controller("safelevelSaveCtrl", function($scope,$rootScope, $state,$http,$stateParams,$filter,safeProduceNotifyService) {
54
-        $scope.safeProduceNotify={};
55
-        //下面的判断用于查看页面只读状态
56
-        if($stateParams.isNotEdit != null){
57
-            if ($stateParams.isNotEdit == "false") { // 修改
58
-                $scope.isNotEdit = false;
59
-            } else if ($stateParams.isNotEdit == "true") { // 查看
60
-                $scope.isNotEdit = true;
61
-            }
62
-        }else{
63
-            $scope.isNotEdit = false;
64
-        }
65
-
66
-        if ($stateParams.topRow != null) {
67
-            $scope.safeProduceNotify.notify=$stateParams.topRow;
68
-        }
69
-
70
-        $scope.loadDataById = function(id) {
71
-            safeProduceNotifyService.edit(id).then(function(data){
72
-                // console.log(data);
73
-                if (id==0){
74
-                    // 通告人
75
-                    $scope.safeProduceNotify.operator = $rootScope.userInfo.realName;
76
-                    // 通告来源
77
-                    $scope.safeProduceNotify.source = $rootScope.orgInfo.orgName;
78
-                    // 通告事件
79
-                    $scope.safeProduceNotify.operationTime = $filter('date')(new Date(), "yyyy-MM-dd");
80
-                }else{
81
-                    $scope.safeProduceNotify = data;
82
-                    $scope.safeProduceNotify.operationTime = $filter('date')($scope.safeProduceNotify.operationTime, "yyyy-MM-dd");
83
-                }
84
-            },function(data){
85
-                // console.log(data);
86
-            });
87
-        };
88
-
89
-        $scope.loadDataById($stateParams.id);
90
-
91
-        // 提交表单
92
-        var validator = $("#safeProduceNotify-form").validate();
93
-        $scope.saveData = function () {
94
-            if (validator.form()) {
95
-                $scope.safeProduceNotify.operationTime = $("input[name='operationTime']").val(); // 时间控件获取值
96
-                $scope.safeProduceNotify.orgId = $rootScope.orgInfo.orgId;
97
-                safeProduceNotifyService.save($scope.safeProduceNotify)
98
-                    .then(function(data){
99
-                    if (data.status == 'success') {
100
-                        alert("保存成功!");
101
-                        //$scope.back();
102
-                        $scope.backLayer();
103
-                    } else {
104
-                        alert("保存失败!");
105
-                    }
106
-                },function(data) {
107
-                    console.log(data);
108
-                });
109
-            }
110
-        }
111
-        
112
-        //返回
113
-	    $scope.backLayer = function(){
114
-	    	$state.go('app.storage.safeproduce.safelevel');
115
-	    }
116
-
117
-    });
118
-
119
-

+ 0 - 50
src/main/resources/static/app/storage/module.js

@@ -743,56 +743,6 @@ angular.module('app.storage', ['ui.router', 'datatables', 'datatables.bootstrap'
743 743
                     }
744 744
                 }
745 745
             })
746
-            /*--------------安全风险分级管控---------------*/
747
-            .state('app.storage.safeproduce.safelevel', {
748
-                url: '/safelevel/list',
749
-                data: {
750
-                    title: '安全风险分级管控'
751
-                },
752
-                views: {
753
-                    "content@app": {
754
-                        controller: 'safelevelCtrl',
755
-                        templateUrl: 'app/storage/views/safeproduce/safelevel-list.html'
756
-                    }
757
-                }
758
-            })
759
-            .state('app.storage.safeproduce.safeleveledit', {
760
-                url: '/safeleveledit/:id/:isNotEdit/:topRow',
761
-                data: {
762
-                    title: '安全风险分级管控编辑'
763
-                },
764
-                views: {
765
-                    "content@app": {
766
-                        controller: 'safelevelSaveCtrl',
767
-                        templateUrl: 'app/storage/views/safeproduce/safelevel-edit.html'
768
-                    }
769
-                }
770
-            })
771
-            /*--------------安全隐患跟踪处理---------------*/
772
-            .state('app.storage.safeproduce.dangerHandel', {
773
-                url: '/dangerHandel/list',
774
-                data: {
775
-                    title: '安全隐患跟踪处理'
776
-                },
777
-                views: {
778
-                    "content@app": {
779
-                        controller: 'dangerHandelCtrl',
780
-                        templateUrl: 'app/storage/views/safeproduce/dangerHandel-list.html'
781
-                    }
782
-                }
783
-            })
784
-            .state('app.storage.safeproduce.dangerHandelEdit', {
785
-                url: '/dangerHandeledit/:id/:isNotEdit/:topRow',
786
-                data: {
787
-                    title: '安全隐患跟踪处理编辑'
788
-                },
789
-                views: {
790
-                    "content@app": {
791
-                        controller: 'dangerHandelSaveCtrl',
792
-                        templateUrl: 'app/storage/views/safeproduce/dangerHandel-edit.html'
793
-                    }
794
-                }
795
-            })
796 746
             /*--------------法律规章信息库---------------*/
797 747
             .state('app.storage.safeproduce.rulelibrary', {
798 748
                 url: '/rulelibrary/list',

+ 0 - 98
src/main/resources/static/app/storage/views/safeproduce/dangerHandel-edit.html

@@ -1,98 +0,0 @@
1
-<div id="content">
2
-    <section id="widget-grid" widget-grid>
3
-        <div class="row">
4
-            <article class="col-sm-12 col-md-12 col-lg-12">
5
-                <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
6
-                     data-widget-custombutton="false">
7
-                    <div>
8
-                        <div class="widget-body no-padding">
9
-                            <form id="safeProduceNotify-form" class="smart-form" data-validator-option="validateOptions" novalidate="novalidate">
10
-                                <button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
11
-                                <header>
12
-                                    <a href-void class="btn btn-default btn-xs" ng-click="backLayer()">
13
-                                        <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
14
-                                    </a>
15
-                                    &nbsp;<strong>安全生产通告编辑</strong>
16
-                                </header>
17
-                                <fieldset>
18
-                                    <div class="row">
19
-                                        <section class="col col-3">
20
-                                            <label class="label">单位名称:<span style="color: red;">*</span></label>
21
-                                            <label class="input">
22
-                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
23
-                                            </label>
24
-                                        </section>
25
-                                        <section class="col col-3">
26
-                                            <label class="label">整改时限:<span style="color: red;">*</span></label>
27
-                                            
28
-                                            <label class="input">
29
-                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
30
-                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
31
-                                            </label>
32
-                                        </section>
33
-                                        <section class="col col-3">
34
-                                            <label class="label">责任单位:</label>
35
-                                            <label class="input">
36
-                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
37
-                                            </label>
38
-                                        </section>
39
-                                        <section class="col col-3">
40
-                                            <label class="label">责任人:</label>
41
-                                            <label class="select">
42
-                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
43
-                                            </label>
44
-                                        </section>
45
-                                    </div>
46
-                                    <div class="row">
47
-                                        <section class="col col-12">
48
-                                            <label class="label">隐患信息<span style="color: red;">*</span></label>
49
-                                            <label class="textarea textarea-resizable">
50
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
51
-                                            </label>
52
-                                        </section>
53
-                                    </div>
54
-                                    <div class="row">
55
-                                        <section class="col col-12">
56
-                                            <label class="label">隐患排查信息<span style="color: red;">*</span></label>
57
-                                            <label class="textarea textarea-resizable">
58
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
59
-                                            </label>
60
-                                        </section>
61
-                                    </div>
62
-                                    <div class="row">
63
-                                        <section class="col col-12">
64
-                                            <label class="label">隐患整改信息<span style="color: red;">*</span></label>
65
-                                            <label class="textarea textarea-resizable">
66
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
67
-                                            </label>
68
-                                        </section>
69
-                                    </div>
70
-                                    <div class="row">
71
-                                        <section class="col col-12">
72
-                                            <label class="label">事故基本信息<span style="color: red;">*</span></label>
73
-                                            <label class="textarea textarea-resizable">
74
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
75
-                                            </label>
76
-                                        </section>
77
-                                    </div>
78
-                                    <div class="row">
79
-                                        <section class="col col-12">
80
-                                            <label class="label">隐患整改验收信息<span style="color: red;">*</span></label>
81
-                                            <label class="textarea textarea-resizable">
82
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
83
-                                            </label>
84
-                                        </section>
85
-                                    </div>
86
-                                </fieldset>
87
-                                <footer class="modal-footer text-align-center">
88
-                                    <button ng-click="back()" class="btn btn-default btn-lg" data-dismiss="modal">取消</button>
89
-                                    <button ng-click="saveData()" type="button" class="btn btn-primary btn-lg" ng-hide="isNotEdit">提交</button>
90
-                                </footer>
91
-                            </form>
92
-                        </div>
93
-                    </div>
94
-                </div>
95
-            </article>
96
-        </div>
97
-    </section>
98
-</div>

+ 0 - 91
src/main/resources/static/app/storage/views/safeproduce/dangerHandel-list.html

@@ -1,91 +0,0 @@
1
-<!-- MAIN CONTENT -->
2
-<div id="content">
3
-    <!-- widget grid -->
4
-    <section widget-grid id="widget-grid">
5
-        <div class="row">
6
-            <article class="col-sm-12">
7
-
8
-                <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken" data-widget-editbutton="false">
9
-                    <header>
10
-                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
11
-                        <h2>安全风险分级管控</h2>
12
-                    </header>
13
-                    <div>
14
-                        <div class="widget-body no-padding">
15
-                            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
16
-                                <div class="dt-toolbar">
17
-                                    <div class="col-xs-3 col-sm-1">
18
-                                        <a has-permission="578" href-void class="btn btn-primary btn-sm" ng-click="showAddNotify()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
19
-                                    </div>
20
-                                    <div class="col-xs-12 col-sm-6">
21
-                                        <div class="form-group">
22
-                                            <label> 
23
-                                                出入库日期:
24
-                                                <input style="width: 100px;" class="form-control" type="text"
25
-                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
26
-                                                           onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
27
-                                            --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
28
-                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
29
-                                                           onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
30
-                                                <!-- <input type="text" class="form-control" ng-model="search.beginDate" size="10" data-smart-datepicker> - 
31
-                                                <input type="text" class="form-control" ng-model="search.endDate" size="10" data-smart-datepicker> -->
32
-                                            </label>
33
-                                            
34
-                                            <a class="btn btn-default btn-sm" ng-click="loadData()">
35
-                                                <i class="fa fa-search"></i>&nbsp;查&nbsp;询</a>
36
-                                        </div>
37
-                                    </div>
38
-                                    <div class="col-sm-5 col-xs-6 hidden-xs">
39
-                                        <div class="dataTables_length" id="DataTables_Table_8_length">
40
-                                            <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData(pageInfo.pageNum=1)"
41
-                                                                ng-options="num as num for num in [10,25,50,100]"
42
-                                                                class="form-control input-sm"></select> 条
43
-                                            </label>
44
-                                        </div>
45
-                                    </div>
46
-                                </div>
47
-
48
-                                <table class="table table-striped table-bordered table-hover" width="100%">
49
-                                    <thead>
50
-                                    <tr>
51
-                                        <th data-hide="expand">序号</th>
52
-                                        <th data-class="expand">库区名称</th>
53
-                                        <th data-class="expand">隐患信息</th>
54
-                                        <th data-hide="expand">隐患排查信息</th>
55
-                                        <th data-hide="expand">隐患整改信息</th>
56
-                                        <th data-hide="expand">隐患责任人</th>
57
-                                        <th data-hide="expand">操作</th>
58
-                                    </tr>
59
-                                    </thead>
60
-
61
-                                    <tbody>
62
-                                    <tr ng-repeat="safeProduceNotify in pageInfo.list">
63
-                                        <td align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
64
-                                        <td>{{safeProduceNotify.fileName}}</td>
65
-                                        <td>{{safeProduceNotify.operationTime | date:'yyyy-MM-dd'}}</td>
66
-                                        <td>{{safeProduceNotify.operator}}</td>
67
-                                        <td>{{safeProduceNotify.source}}</td>
68
-                                        <td>{{safeProduceNotify.source}}</td>
69
-                                        <td>
70
-                                            <a has-permission="579" href-void ng-click="showViewNotify(safeProduceNotify.id)"><i class="fa fa-info-circle"></i>查看</a>
71
-                                            <a has-permission="580" href-void ng-click="showEditNotify(safeProduceNotify.id)"><i class="fa fa-edit"></i>修改</a>
72
-                                            <a has-permission="581" href-void ng-click="removeNotify(safeProduceNotify.id)"><i class="fa fa-trash-o"></i>删除</a>
73
-                                        </td>
74
-                                    </tr>
75
-                                    </tbody>
76
-
77
-                                </table>
78
-
79
-                                <div smart-include="app/layout/partials/page.tpl.html"></div>
80
-                            </div>
81
-                        </div>
82
-                    </div>
83
-                </div>
84
-            </article>
85
-        </div>
86
-    </section>
87
-    <!--<form id="download-form" method="post" target="_blank">
88
-        <input type="hidden" name="fileName" id="fileName">
89
-        <input type="hidden" name="filePaths" id="filePaths">
90
-    </form>-->
91
-</div>

+ 0 - 121
src/main/resources/static/app/storage/views/safeproduce/safelevel-edit.html

@@ -1,121 +0,0 @@
1
-<div id="content">
2
-    <section id="widget-grid" widget-grid>
3
-        <div class="row">
4
-            <article class="col-sm-12 col-md-12 col-lg-12">
5
-                <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
6
-                     data-widget-custombutton="false">
7
-                    <div>
8
-                        <div class="widget-body no-padding">
9
-                            <form id="safeProduceNotify-form" class="smart-form" data-validator-option="validateOptions" novalidate="novalidate">
10
-                                <button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
11
-                                <header>
12
-                                    <a href-void class="btn btn-default btn-xs" ng-click="backLayer()">
13
-                                        <i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;
14
-                                    </a>
15
-                                    &nbsp;<strong>安全生产通告编辑</strong>
16
-                                </header>
17
-                                <fieldset>
18
-                                    <div class="row">
19
-                                        <section class="col col-3">
20
-                                            <label class="label">库点名称:<span style="color: red;">*</span></label>
21
-                                            <label class="input">
22
-                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
23
-                                            </label>
24
-                                        </section>
25
-                                        <section class="col col-3">
26
-                                            <label class="label">识别人:<span style="color: red;">*</span></label>
27
-                                            <label class="input">
28
-                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
29
-                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
30
-                                            </label>
31
-                                        </section>
32
-                                        <section class="col col-3">
33
-                                            <label class="label">环节/部位:</label>
34
-                                            <label class="input">
35
-                                                <input type="text" ng-model="safeProduceNotify.operator" name="operator" ng-disabled="true">
36
-                                            </label>
37
-                                        </section>
38
-                                        <section class="col col-3">
39
-                                            <label class="label">风险等级:</label>
40
-                                            <label class="select">
41
-                                                <select ng-model="threetempcheck.checkSign" name="checkSign" required class="form-control" ng-disabled="isNotEdit">
42
-                                                    <option value="">--请选择--</option>
43
-                                                    <option value="1">A级-重大风险</option>
44
-                                                    <option value="1">B级-较大风险</option>
45
-                                                    <option value="1">C级-一般风险</option>
46
-                                                    <option value="1">D级-低风险</option>
47
-                                                </select>
48
-                                            </label>
49
-                                        </section>
50
-                                    </div>
51
-                                    <div class="row">
52
-                                        <section class="col col-3">
53
-                                            <label class="label">风险类型:</label>
54
-                                            <label class="select">
55
-                                                <select ng-model="threetempcheck.checkSign" name="checkSign" required class="form-control" ng-disabled="isNotEdit">
56
-                                                    <option value="">--请选择--</option>
57
-                                                    <option value="1">基础设施</option>
58
-                                                    <option value="2">网络安全</option>
59
-                                                    <option value="3">消防安全</option>
60
-                                                    <option value="4">用电安全</option>
61
-                                                    <option value="5">作业安全</option>
62
-                                                    <option value="6">用药安全</option>
63
-                                                    <option value="7">管理风险</option>
64
-                                                    <option value="8">其他风险</option>
65
-                                                </select>
66
-                                            </label>
67
-                                        </section>
68
-                                    </div>
69
-
70
-                                    <div class="row">
71
-                                        <section class="col col-12">
72
-                                            <label class="label">风险辨识</label>
73
-                                            <label class="textarea textarea-resizable">
74
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
75
-                                            </label>
76
-                                        </section>
77
-                                    </div>
78
-                                    <div class="row">
79
-                                        <section class="col col-12">
80
-                                            <label class="label">可能导致事故类型</label>
81
-                                            <label class="textarea textarea-resizable">
82
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify"></textarea>
83
-                                            </label>
84
-                                        </section>
85
-                                    </div>
86
-                                    <div class="row">
87
-                                        <section class="col col-12">
88
-                                            <label class="label">风险管控措施<span style="color: red;">*</span></label>
89
-                                            <label class="textarea textarea-resizable">
90
-                                                <textarea rows="5" cols="147" class="custom-scroll"  ng-model="safeProduceNotify.notify"  ng-disabled="isNotEdit" name="notify" required></textarea>
91
-                                            </label>
92
-                                        </section>
93
-                                    </div>
94
-                                    <div class="row">
95
-                                        <section class="col col-3">
96
-                                            <label class="label">责任部门
97
-                                            <label class="input">
98
-                                                <input type="text" ng-model="safeProduceNotify.fileName" name="fileName"  ng-disabled="isNotEdit" required>
99
-                                            </label>
100
-                                        </section>
101
-                                        <section class="col col-3">
102
-                                            <label class="label">责任人:
103
-                                            <label class="input">
104
-                                                <input type="text" ng-model="safeProduceNotify.operationTime" name="operationTime" ng-readonly="true" ng-disabled="isNotEdit"
105
-                                                       onClick="WdatePicker({lang:'zh-cn'})" required>
106
-                                            </label>
107
-                                        </section>
108
-                                    </div>
109
-                                </fieldset>
110
-                                <footer class="modal-footer text-align-center">
111
-                                    <button ng-click="back()" class="btn btn-default btn-lg" data-dismiss="modal">取消</button>
112
-                                    <button ng-click="saveData()" type="button" class="btn btn-primary btn-lg" ng-hide="isNotEdit">提交</button>
113
-                                </footer>
114
-                            </form>
115
-                        </div>
116
-                    </div>
117
-                </div>
118
-            </article>
119
-        </div>
120
-    </section>
121
-</div>

+ 0 - 95
src/main/resources/static/app/storage/views/safeproduce/safelevel-list.html

@@ -1,95 +0,0 @@
1
-<!-- MAIN CONTENT -->
2
-<div id="content">
3
-    <!-- widget grid -->
4
-    <section widget-grid id="widget-grid">
5
-        <div class="row">
6
-            <article class="col-sm-12">
7
-
8
-                <div jarvis-widget id="standard-datatable-widget" data-widget-color="darken" data-widget-editbutton="false">
9
-                    <header>
10
-                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
11
-                        <h2>安全风险分级管控</h2>
12
-                    </header>
13
-                    <div>
14
-                        <div class="widget-body no-padding">
15
-                            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper form-inline no-footer">
16
-                                <div class="dt-toolbar">
17
-                                    <div class="col-xs-3 col-sm-1">
18
-                                        <a has-permission="578" href-void class="btn btn-primary btn-sm" ng-click="showAddNotify()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
19
-                                    </div>
20
-                                    <div class="col-xs-12 col-sm-6">
21
-                                        <div class="form-group">
22
-                                            <label> 
23
-                                                出入库日期:
24
-                                                <input style="width: 100px;" class="form-control" type="text"
25
-                                                           ng-model="search.searchStartDate" name="searchStartDate" id="startDate"
26
-                                                           onClick="WdatePicker({lang:'zh-cn',maxDate:'#F{$dp.$D(\'endDate\')}'})">
27
-                                            --&nbsp;<input style="width: 100px;" class="form-control" type="text" ng-disabled="isArchive"
28
-                                                           ng-model="search.searchEndDate" name="searchEndDate" id="endDate"
29
-                                                           onClick="WdatePicker({lang:'zh-cn',minDate:'#F{$dp.$D(\'startDate\')}'})">
30
-                                                <!-- <input type="text" class="form-control" ng-model="search.beginDate" size="10" data-smart-datepicker> - 
31
-                                                <input type="text" class="form-control" ng-model="search.endDate" size="10" data-smart-datepicker> -->
32
-                                            </label>
33
-                                            
34
-                                            <a class="btn btn-default btn-sm" ng-click="loadData()">
35
-                                                <i class="fa fa-search"></i>&nbsp;查&nbsp;询</a>
36
-                                        </div>
37
-                                    </div>
38
-                                    <div class="col-sm-5 col-xs-6 hidden-xs">
39
-                                        <div class="dataTables_length" id="DataTables_Table_8_length">
40
-                                            <label>每页显示 <select ng-model="pageInfo.pageSize" ng-change="loadData(pageInfo.pageNum=1)"
41
-                                                                ng-options="num as num for num in [10,25,50,100]"
42
-                                                                class="form-control input-sm"></select> 条
43
-                                            </label>
44
-                                        </div>
45
-                                    </div>
46
-                                </div>
47
-
48
-                                <table class="table table-striped table-bordered table-hover" width="100%">
49
-                                    <thead>
50
-                                    <tr>
51
-                                        <th data-hide="expand">序号</th>
52
-                                        <th data-class="expand">环节/部位</th>
53
-                                        <th data-class="expand">风险辨识</th>
54
-                                        <th data-hide="expand"> 风险等级</th>
55
-                                        <th data-hide="expand">可能导致事故类型</th>
56
-                                        <th data-hide="expand">风险管控措施</th>
57
-                                        <th data-hide="expand">责任部门</th>
58
-                                        <th data-hide="expand">责任人</th>
59
-                                        <th data-hide="expand">操作</th>
60
-                                    </tr>
61
-                                    </thead>
62
-
63
-                                    <tbody>
64
-                                    <tr ng-repeat="safeProduceNotify in pageInfo.list">
65
-                                        <td align="center">{{$index + 1 + (pageInfo.pageNum-1) * pageInfo.pageSize}}</th>
66
-                                        <td>{{safeProduceNotify.fileName}}</td>
67
-                                        <td>{{safeProduceNotify.operationTime | date:'yyyy-MM-dd'}}</td>
68
-                                        <td>{{safeProduceNotify.operator}}</td>
69
-                                        <td>{{safeProduceNotify.source}}</td>
70
-                                        <td>{{safeProduceNotify.source}}</td>
71
-                                        <td>{{safeProduceNotify.source}}</td>
72
-                                        <td>{{safeProduceNotify.source}}</td>
73
-                                        <td>
74
-                                            <a has-permission="579" href-void ng-click="showViewNotify(safeProduceNotify.id)"><i class="fa fa-info-circle"></i>查看</a>
75
-                                            <a has-permission="580" href-void ng-click="showEditNotify(safeProduceNotify.id)"><i class="fa fa-edit"></i>修改</a>
76
-                                            <a has-permission="581" href-void ng-click="removeNotify(safeProduceNotify.id)"><i class="fa fa-trash-o"></i>删除</a>
77
-                                        </td>
78
-                                    </tr>
79
-                                    </tbody>
80
-
81
-                                </table>
82
-
83
-                                <div smart-include="app/layout/partials/page.tpl.html"></div>
84
-                            </div>
85
-                        </div>
86
-                    </div>
87
-                </div>
88
-            </article>
89
-        </div>
90
-    </section>
91
-    <!--<form id="download-form" method="post" target="_blank">
92
-        <input type="hidden" name="fileName" id="fileName">
93
-        <input type="hidden" name="filePaths" id="filePaths">
94
-    </form>-->
95
-</div>