safecheck-client 3.0.33-61 → 3.0.33-62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,125 +1,127 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='search' class="search_area">
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-4 form-group">
8
- <role-selector-safe
9
- role-name="安检员"
10
- role-lable="安&ensp;检&ensp;员"
11
- @re-res="$parent.$parent.getRes"
12
- :value.sync="model.f_checker_id"
13
- v-model="model.f_checker_id"
14
- condition="tcp.f_checker = '{}'">
15
- </role-selector-safe>
16
- </div>
17
- <div class="col-sm-2 form-group">
18
- <label for="startDate" class="font_normal_body">开始日期:</label>
19
- <datepicker id="startDate" placeholder="开始日期"
20
- v-model="model.startDate"
21
- :value.sync="model.startDate"
22
- style="width: 60%;"
23
- :disabled-days-of-Week="[]"
24
- :format="'yyyy-MM-dd 00:00:00'"
25
- condition="tcp.f_create_time >= '{}'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label for="endDate" class="font_normal_body">结束日期:</label>
31
- <datepicker id="endDate" placeholder="结束日期"
32
- v-model="model.endDate"
33
- :value.sync="model.endDate"
34
- :disabled-days-of-Week="[]"
35
- style="width: 60%;"
36
- condition="tcp.f_create_time <= '{}'"
37
- :format="'yyyy-MM-dd 23:59:59'"
38
- :show-reset-button="reset">
39
- </datepicker>
40
- </div>
41
- <div class="form-group col-sm-2">
42
- <label class="font_normal_body">用户类型</label>
43
- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
44
- :value-single="true" style="width: 60%"
45
- class="select_list select"
46
- :options='$parent.$parent.user_types' placeholder='用户类型'
47
- close-on-select
48
- condition="tcpi.f_user_type = '{}'"></v-select>
49
- </div>
50
- <div class="form-group col-sm-2" >
51
- <label class="font_normal_body">小&emsp;&emsp;区</label>
52
- <input type="text" class="input_search" v-model="model.f_residential_area"
53
- style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
54
- </div>
55
- <div class="col-sm-4 form-group" style="margin-top: 8px">
56
- <button class="button_search button_spacing" @click="search()">查询</button>
57
- <report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
58
- <report-excel id='checkerPrint'></report-excel>
59
- </div>
60
- </div>
61
- </div>
62
- </criteria>
63
- <div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
64
- <table class='tableprint' style="margin: 0px auto">
65
- <thead>
66
- <tr>
67
- <th colspan='9' style="font-weight: normal; text-align: left;">
68
- <h3 style="text-align: center">安检员明细报表</h3>
69
- </th>
70
- </tr>
71
- <tr>
72
- <th colspan='9' style="font-weight: normal; text-align: center;">
73
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
74
- 结束时间:{{ model.model.endDate }}
75
- </th>
76
- </tr>
77
- </thead>
78
- <tr>
79
- <th colspan='9' style="font-weight: normal;">
80
- {{{ model.data.substring(26,model.data.length-8) }}}
81
- </th>
82
- </tr>
83
- <tr style="height: 100px"></tr>
84
- </table>
85
- </div>
86
- </criteria-paged>
87
- </div>
88
-
89
- </template>
90
-
91
- <script>
92
- import {DataModel, HttpResetClass} from 'vue-client'
93
-
94
- export default {
95
- title: '隐患报表',
96
- data () {
97
- let model = new DataModel('rs/report/checkerReport', {})
98
- // model.f_filialeid = '(' + this.$login.f.orgid + ')'
99
- return {
100
- user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
101
- userid: this.$login.f.id,
102
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
103
- model: model
104
- }
105
- },
106
- methods: {
107
- getRes (obj) {
108
- this.model.f_filialeid = this.$login.convertToIn(obj.resids)
109
- },
110
- },
111
- ready () {
112
- },
113
- computed: {
114
- selected () {
115
- return this.$refs.grid.selected
116
- }
117
- // outlets () {
118
- // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
119
- // },
120
- // operator () {
121
- // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
122
- // }
123
- }
124
- }
125
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false'>
4
+ <criteria partial='criteria' @condition-changed='search' class="search_area">
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-4 form-group">
8
+ <role-selector-safe
9
+ role-name="安检员"
10
+ role-lable="安&ensp;检&ensp;员"
11
+ @re-res="$parent.$parent.getRes"
12
+ :value.sync="model.f_checker_id"
13
+ v-model="model.f_checker_id"
14
+ condition="tcp.f_checker = '{}'">
15
+ </role-selector-safe>
16
+ </div>
17
+ <div class="form-group col-sm-4">
18
+ <label class="font_normal_body">用户类型</label>
19
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
20
+ :value-single="true" style="width: 60%"
21
+ class="select_list select"
22
+ :options='$parent.$parent.user_types' placeholder='用户类型'
23
+ close-on-select
24
+ condition="tcpi.f_user_type = '{}'"></v-select>
25
+ </div>
26
+ <div class="form-group col-sm-4" >
27
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
28
+ <input type="text" class="input_search" v-model="model.f_residential_area"
29
+ style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
30
+ </div>
31
+ </div>
32
+ <div class="row">
33
+ <div class="col-sm-4 form-group">
34
+ <label for="startDate" class="font_normal_body">计划创建开始日期:</label>
35
+ <datepicker id="startDate" placeholder="计划创建开始日期"
36
+ v-model="model.startDate"
37
+ :value.sync="model.startDate"
38
+ style="width: 60%;"
39
+ :disabled-days-of-Week="[]"
40
+ :format="'yyyy-MM-dd 00:00:00'"
41
+ condition="tcp.f_create_time >= '{}'"
42
+ :show-reset-button="reset">
43
+ </datepicker>
44
+ </div>
45
+ <div class="col-sm-4 form-group">
46
+ <label for="endDate" class="font_normal_body">计划创建结束日期:</label>
47
+ <datepicker id="endDate" placeholder="计划创建结束日期"
48
+ v-model="model.endDate"
49
+ :value.sync="model.endDate"
50
+ :disabled-days-of-Week="[]"
51
+ style="width: 60%;"
52
+ condition="tcp.f_create_time <= '{}'"
53
+ :format="'yyyy-MM-dd 23:59:59'"
54
+ :show-reset-button="reset">
55
+ </datepicker>
56
+ </div>
57
+ <div class="col-sm-4 form-group" style="margin-top: 8px">
58
+ <button class="button_search button_spacing" @click="search()">查询</button>
59
+ <report-print id='checkerPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
60
+ <report-excel id='checkerPrint'></report-excel>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </criteria>
65
+ <div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
66
+ <table class='tableprint' style="margin: 0px auto">
67
+ <thead>
68
+ <tr>
69
+ <th colspan='9' style="font-weight: normal; text-align: left;">
70
+ <h3 style="text-align: center">安检员明细报表</h3>
71
+ </th>
72
+ </tr>
73
+ <tr>
74
+ <th colspan='9' style="font-weight: normal; text-align: center;">
75
+ 计划创建开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
76
+ 计划创建结束日期:{{ model.model.endDate }}
77
+ </th>
78
+ </tr>
79
+ </thead>
80
+ <tr>
81
+ <th colspan='9' style="font-weight: normal;">
82
+ {{{ model.data.substring(26,model.data.length-8) }}}
83
+ </th>
84
+ </tr>
85
+ <tr style="height: 100px"></tr>
86
+ </table>
87
+ </div>
88
+ </criteria-paged>
89
+ </div>
90
+
91
+ </template>
92
+
93
+ <script>
94
+ import {DataModel, HttpResetClass} from 'vue-client'
95
+
96
+ export default {
97
+ title: '隐患报表',
98
+ data () {
99
+ let model = new DataModel('rs/report/checkerReport', {})
100
+ // model.f_filialeid = '(' + this.$login.f.orgid + ')'
101
+ return {
102
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
103
+ userid: this.$login.f.id,
104
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
105
+ model: model
106
+ }
107
+ },
108
+ methods: {
109
+ getRes (obj) {
110
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
111
+ },
112
+ },
113
+ ready () {
114
+ },
115
+ computed: {
116
+ selected () {
117
+ return this.$refs.grid.selected
118
+ }
119
+ // outlets () {
120
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
121
+ // },
122
+ // operator () {
123
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
124
+ // }
125
+ }
126
+ }
127
+ </script>
@@ -1,111 +1,113 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='search' class="search_area">
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label for="startDate" class="font_normal_body">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- style="width: 60%;"
13
- :select-year="true"
14
- :disabled-days-of-Week="[]"
15
- :format="'yyyy-01-01 00:00:00'"
16
- condition="tcp.f_create_time >= '{}'"
17
- :show-reset-button="reset">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期:</label>
22
- <datepicker id="endDate" placeholder="结束日期"
23
- v-model="model.endDate"
24
- :select-year="true"
25
- :value.sync="model.endDate"
26
- :disabled-days-of-Week="[]"
27
- style="width: 60%;"
28
- condition="tcp.f_create_time <= '{}'"
29
- :format="'yyyy-12-31 23:59:59'"
30
- :show-reset-button="reset">
31
- </datepicker>
32
- </div>
33
- <div class="form-group col-sm-2" >
34
- <label class="font_normal_body">小&emsp;&emsp;区</label>
35
- <input type="text" class="input_search" v-model="model.f_residential_area"
36
- style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
37
- </div>
38
- <div class="form-group col-sm-2">
39
- <label class="font_normal_body">用户类型</label>
40
- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
41
- :value-single="true" style="width: 60%"
42
- class="select_list select"
43
- :options='$parent.$parent.user_types' placeholder='用户类型'
44
- close-on-select
45
- condition="tcpi.f_user_type = '{}'"></v-select>
46
- </div>
47
- <div class="col-sm-4 form-group" style="margin-top: 8px">
48
- <button class="button_search button_spacing" @click="search()">查询</button>
49
- <report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
50
- <report-excel id='yearPrint'></report-excel>
51
- </div>
52
- </div>
53
- </div>
54
- </criteria>
55
- <div partial='list' id='yearPrint' class="list_area" style="overflow-y: scroll">
56
- <table class='tableprint' style="margin: 0px auto">
57
- <thead>
58
- <tr>
59
- <th colspan='12' style="font-weight: normal; text-align: left;">
60
- <h3 style="text-align: center">安检年报表</h3>
61
- </th>
62
- </tr>
63
- <tr>
64
- <th colspan='12' style="font-weight: normal; text-align: center;">
65
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
66
- 结束时间:{{ model.model.endDate }}
67
- </th>
68
- </tr>
69
- </thead>
70
- <tr>
71
- <th colspan='12' style="font-weight: normal;">
72
- {{{ model.data.substring(26,model.data.length-8) }}}
73
- </th>
74
- </tr>
75
- <tr style="height: 100px"></tr>
76
- </table>
77
- </div>
78
- </criteria-paged>
79
- </div>
80
-
81
- </template>
82
-
83
- <script>
84
- import {DataModel, HttpResetClass} from 'vue-client'
85
-
86
- export default {
87
- title: '安检年报表',
88
- data () {
89
- let model = new DataModel('rs/report/safeStatisticsYear', {})
90
- // model.f_filialeid = '(' + this.$login.f.orgid + ')'
91
- return {
92
- user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
93
- userid: this.$login.f.id,
94
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
95
- model: model
96
- }
97
- },
98
- methods: {
99
- getRes (obj) {
100
- this.model.f_filialeid = this.$login.convertToIn(obj.resids)
101
- },
102
- },
103
- ready () {
104
- },
105
- computed: {
106
- selected () {
107
- return this.$refs.grid.selected
108
- }
109
- }
110
- }
111
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false'>
4
+ <criteria partial='criteria' @condition-changed='search' class="search_area">
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
9
+ <input type="text" class="input_search" v-model="model.f_residential_area"
10
+ style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
11
+ </div>
12
+ <div class="form-group col-sm-4">
13
+ <label class="font_normal_body">用户类型</label>
14
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
15
+ :value-single="true" style="width: 60%"
16
+ class="select_list select"
17
+ :options='$parent.$parent.user_types' placeholder='用户类型'
18
+ close-on-select
19
+ condition="tcpi.f_user_type = '{}'"></v-select>
20
+ </div>
21
+ </div>
22
+ <div class="row">
23
+ <div class="col-sm-4 form-group">
24
+ <label for="startDate" class="font_normal_body">计划创建开始日期:</label>
25
+ <datepicker id="startDate" placeholder="计划创建开始日期"
26
+ v-model="model.startDate"
27
+ :value.sync="model.startDate"
28
+ style="width: 60%;"
29
+ :select-year="true"
30
+ :disabled-days-of-Week="[]"
31
+ :format="'yyyy-01-01 00:00:00'"
32
+ condition="tcp.f_create_time >= '{}'"
33
+ :show-reset-button="reset">
34
+ </datepicker>
35
+ </div>
36
+ <div class="col-sm-4 form-group">
37
+ <label for="endDate" class="font_normal_body">计划创建结束日期:</label>
38
+ <datepicker id="endDate" placeholder="计划创建结束日期"
39
+ v-model="model.endDate"
40
+ :select-year="true"
41
+ :value.sync="model.endDate"
42
+ :disabled-days-of-Week="[]"
43
+ style="width: 60%;"
44
+ condition="tcp.f_create_time <= '{}'"
45
+ :format="'yyyy-12-31 23:59:59'"
46
+ :show-reset-button="reset">
47
+ </datepicker>
48
+ </div>
49
+ <div class="col-sm-4 form-group" style="margin-top: 8px">
50
+ <button class="button_search button_spacing" @click="search()">查询</button>
51
+ <report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
52
+ <report-excel id='yearPrint'></report-excel>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </criteria>
57
+ <div partial='list' id='yearPrint' class="list_area" style="overflow-y: scroll">
58
+ <table class='tableprint' style="margin: 0px auto">
59
+ <thead>
60
+ <tr>
61
+ <th colspan='12' style="font-weight: normal; text-align: left;">
62
+ <h3 style="text-align: center">安检年报表</h3>
63
+ </th>
64
+ </tr>
65
+ <tr>
66
+ <th colspan='12' style="font-weight: normal; text-align: center;">
67
+ 计划创建开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
68
+ 计划创建结束日期:{{ model.model.endDate }}
69
+ </th>
70
+ </tr>
71
+ </thead>
72
+ <tr>
73
+ <th colspan='12' style="font-weight: normal;">
74
+ {{{ model.data.substring(26,model.data.length-8) }}}
75
+ </th>
76
+ </tr>
77
+ <tr style="height: 100px"></tr>
78
+ </table>
79
+ </div>
80
+ </criteria-paged>
81
+ </div>
82
+
83
+ </template>
84
+
85
+ <script>
86
+ import {DataModel, HttpResetClass} from 'vue-client'
87
+
88
+ export default {
89
+ title: '安检年报表',
90
+ data () {
91
+ let model = new DataModel('rs/report/safeStatisticsYear', {})
92
+ // model.f_filialeid = '(' + this.$login.f.orgid + ')'
93
+ return {
94
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
95
+ userid: this.$login.f.id,
96
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
97
+ model: model
98
+ }
99
+ },
100
+ methods: {
101
+ getRes (obj) {
102
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
103
+ },
104
+ },
105
+ ready () {
106
+ },
107
+ computed: {
108
+ selected () {
109
+ return this.$refs.grid.selected
110
+ }
111
+ }
112
+ }
113
+ </script>