safecheck-client 3.0.33-66 → 3.0.33-68

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,153 +1,153 @@
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 class="row">
64
- <div class="col-sm-4 form-group">
65
- <label for="startDate" class="font_normal_body">安检日期开始:</label>
66
- <datepicker id="startDate" placeholder="安检日期开始"
67
- v-model="model.checkstart"
68
- :value.sync="model.checkstart"
69
- style="width: 60%;"
70
- :disabled-days-of-Week="[]"
71
- :format="'yyyy-MM-dd 00:00:00'"
72
- condition="tcpi.f_last_check_date >= '{}'"
73
- :show-reset-button="reset">
74
- </datepicker>
75
- </div>
76
- <div class="col-sm-4 form-group">
77
- <label for="endDate" class="font_normal_body">安检日期结束:</label>
78
- <datepicker id="endDate" placeholder="安检日期结束"
79
- v-model="model.checkend"
80
- :value.sync="model.checkend"
81
- :disabled-days-of-Week="[]"
82
- style="width: 60%;"
83
- condition="tcpi.f_last_check_date <= '{}'"
84
- :format="'yyyy-MM-dd 23:59:59'"
85
- :show-reset-button="reset">
86
- </datepicker>
87
- </div>
88
- </div>
89
- </div>
90
- </criteria>
91
- <div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
92
- <table class='tableprint' style="margin: 0px auto">
93
- <thead>
94
- <tr>
95
- <th colspan='9' style="font-weight: normal; text-align: left;">
96
- <h3 style="text-align: center">安检员明细报表</h3>
97
- </th>
98
- </tr>
99
- <tr>
100
- <th colspan='9' style="font-weight: normal; text-align: center;">
101
- 计划创建开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
102
- 计划创建结束日期:{{ model.model.endDate }}
103
- </th>
104
- </tr>
105
- </thead>
106
- <tr>
107
- <th colspan='9' style="font-weight: normal;">
108
- {{{ model.data.substring(26,model.data.length-8) }}}
109
- </th>
110
- </tr>
111
- <tr style="height: 100px"></tr>
112
- </table>
113
- </div>
114
- </criteria-paged>
115
- </div>
116
-
117
- </template>
118
-
119
- <script>
120
- import {DataModel, HttpResetClass} from 'vue-client'
121
-
122
- export default {
123
- title: '安检员明细报表',
124
- data () {
125
- let model = new DataModel('rs/report/checkerReport', {})
126
- // model.f_filialeid = '(' + this.$login.f.orgid + ')'
127
- return {
128
- user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
129
- userid: this.$login.f.id,
130
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
131
- model: model
132
- }
133
- },
134
- methods: {
135
- getRes (obj) {
136
- this.model.f_filialeid = this.$login.convertToIn(obj.resids)
137
- },
138
- },
139
- ready () {
140
- },
141
- computed: {
142
- selected () {
143
- return this.$refs.grid.selected
144
- }
145
- // outlets () {
146
- // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
147
- // },
148
- // operator () {
149
- // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
150
- // }
151
- }
152
- }
153
- </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 class="row">
64
+ <div class="col-sm-4 form-group">
65
+ <label for="startDate" class="font_normal_body">安检日期开始:</label>
66
+ <datepicker id="startDate" placeholder="安检日期开始"
67
+ v-model="model.checkstart"
68
+ :value.sync="model.checkstart"
69
+ style="width: 60%;"
70
+ :disabled-days-of-Week="[]"
71
+ :format="'yyyy-MM-dd 00:00:00'"
72
+ condition="tcpi.f_last_check_date >= '{}'"
73
+ :show-reset-button="reset">
74
+ </datepicker>
75
+ </div>
76
+ <div class="col-sm-4 form-group">
77
+ <label for="endDate" class="font_normal_body">安检日期结束:</label>
78
+ <datepicker id="endDate" placeholder="安检日期结束"
79
+ v-model="model.checkend"
80
+ :value.sync="model.checkend"
81
+ :disabled-days-of-Week="[]"
82
+ style="width: 60%;"
83
+ condition="tcpi.f_last_check_date <= '{}'"
84
+ :format="'yyyy-MM-dd 23:59:59'"
85
+ :show-reset-button="reset">
86
+ </datepicker>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </criteria>
91
+ <div partial='list' id='checkerPrint' class="list_area" style="overflow-y: scroll">
92
+ <table class='tableprint' style="margin: 0px auto">
93
+ <thead>
94
+ <tr>
95
+ <th colspan='9' style="font-weight: normal; text-align: left;">
96
+ <h3 style="text-align: center">安检员明细报表</h3>
97
+ </th>
98
+ </tr>
99
+ <tr>
100
+ <th colspan='9' style="font-weight: normal; text-align: center;">
101
+ 计划创建开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
102
+ 计划创建结束日期:{{ model.model.endDate }}
103
+ </th>
104
+ </tr>
105
+ </thead>
106
+ <tr>
107
+ <th colspan='9' style="font-weight: normal;">
108
+ {{{ model.data.substring(26,model.data.length-8) }}}
109
+ </th>
110
+ </tr>
111
+ <tr style="height: 100px"></tr>
112
+ </table>
113
+ </div>
114
+ </criteria-paged>
115
+ </div>
116
+
117
+ </template>
118
+
119
+ <script>
120
+ import {DataModel, HttpResetClass} from 'vue-client'
121
+
122
+ export default {
123
+ title: '安检员明细报表',
124
+ data () {
125
+ let model = new DataModel('rs/report/checkerReport', {})
126
+ // model.f_filialeid = '(' + this.$login.f.orgid + ')'
127
+ return {
128
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
129
+ userid: this.$login.f.id,
130
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
131
+ model: model
132
+ }
133
+ },
134
+ methods: {
135
+ getRes (obj) {
136
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
137
+ },
138
+ },
139
+ ready () {
140
+ },
141
+ computed: {
142
+ selected () {
143
+ return this.$refs.grid.selected
144
+ }
145
+ // outlets () {
146
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
147
+ // },
148
+ // operator () {
149
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
150
+ // }
151
+ }
152
+ }
153
+ </script>