safecheck-client 3.0.30-44 → 3.0.30-46
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.
- package/package.json +1 -1
- package/src/components/android/CurrentCreate_new.vue +1021 -1021
- package/src/components/paper/PlanChooser.vue +1 -1
- package/src/components/report/NoCheckplanSafecheck.vue +212 -212
- package/src/filiale/huatong/android/CurrentCreate.vue +1023 -1023
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -798
- package/src/filiale/yongzhou/pc/communityDetail.vue +198 -198
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +195 -195
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +195 -195
- package/src/filiale/yongzhou/pc/safeDetail.vue +232 -232
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +416 -416
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +248 -248
- package/src/filiale/yongzhou/pc.js +25 -25
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +994 -994
- package/src/main.js +33 -33
- package/hs_err_pid23784.log +0 -225
@@ -111,7 +111,7 @@
|
|
111
111
|
{f_subcompany:'this.f_subcompany',f_plan_name:'this.f_plan_name',f_checker_id: 'this.f_checker_id', f_plan_year: 'this.f_plan_year', f_plan_month: 'this.f_plan_month', f_is_share: 'this.f_is_share',f_filialeid:'this.f_filialeid'})
|
112
112
|
model.f_checker_id = ''
|
113
113
|
model.f_plan_name=''
|
114
|
-
model.f_filialeid = this.f.orgid
|
114
|
+
model.f_filialeid = this.$login.f.orgid
|
115
115
|
return {
|
116
116
|
checker:'',
|
117
117
|
checkers:[],
|
@@ -1,212 +1,212 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="flex">
|
3
|
-
<section>
|
4
|
-
<div class="basic-main row" style="height: 100%">
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
6
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
7
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
8
|
-
<div class="row">
|
9
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 30%;">
|
10
|
-
<role-selector-safe
|
11
|
-
role-name="安检员"
|
12
|
-
role-lable="安 检 员 "
|
13
|
-
@re-res="$parent.$parent.getRes"
|
14
|
-
:value.sync="model.f_checker_id"
|
15
|
-
v-model="model.f_checker_id"
|
16
|
-
condition="f_checker_name = '{}'">
|
17
|
-
</role-selector-safe>
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
20
|
-
<label for="startDate" class="font_normal_body">起始时间</label>
|
21
|
-
<datepicker
|
22
|
-
class="select_list select"
|
23
|
-
:value.sync="model.startDate"
|
24
|
-
id="startDate"
|
25
|
-
placeholder='开始时间' style="width: 60%"
|
26
|
-
:disabled-days-of-week="[]"
|
27
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
28
|
-
:show-rest-button="reset"
|
29
|
-
v-model="model.startDate"
|
30
|
-
condition="f_upload_date > ='{} '">
|
31
|
-
</datepicker>
|
32
|
-
</div>
|
33
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
34
|
-
<label for="endDate" class="font_normal_body">结束时间</label>
|
35
|
-
<datepicker
|
36
|
-
class="select_list select"
|
37
|
-
:value.sync="model.endDate"
|
38
|
-
id="endDate"
|
39
|
-
placeholder='结束日期' style="width: 60%"
|
40
|
-
:disabled-days-of-week="[]"
|
41
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
42
|
-
:show-rest-button="reset"
|
43
|
-
v-model="model.endDate"
|
44
|
-
condition="f_upload_date <='{} '">
|
45
|
-
</datepicker>
|
46
|
-
</div>
|
47
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%;float: right;">
|
48
|
-
<report-print class="button_export button_spacing" style="width:28%" id='tongchuan'></report-print>
|
49
|
-
<export-excel-safe :data="$parent.$parent.searchData"
|
50
|
-
:field="$parent.$parent.excelHeaders"
|
51
|
-
sqlurl="rs/logic/SafeExportExcel"
|
52
|
-
sql-name="SafecheckSummary"
|
53
|
-
:template-name="$parent.$parent.excelTitle">
|
54
|
-
</export-excel-safe>
|
55
|
-
<button type="button" name="button" class="button_search" style="margin-left: 9px" @click="search">查询</button>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</criteria>
|
60
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" id="tongchuan" v-ref:grid >
|
61
|
-
<template partial='head'>
|
62
|
-
<tr>
|
63
|
-
<th>
|
64
|
-
<nobr>序号</nobr>
|
65
|
-
</th>
|
66
|
-
<th>
|
67
|
-
<nobr>安检月份</nobr>
|
68
|
-
</th>
|
69
|
-
<th>
|
70
|
-
<nobr>安检员</nobr>
|
71
|
-
</th>
|
72
|
-
<th>
|
73
|
-
<nobr>已检</nobr>
|
74
|
-
</th>
|
75
|
-
<th>
|
76
|
-
<nobr>入户</nobr>
|
77
|
-
</th>
|
78
|
-
<th>
|
79
|
-
<nobr>到访不遇</nobr>
|
80
|
-
</th>
|
81
|
-
<th>
|
82
|
-
<nobr>拒检</nobr>
|
83
|
-
</th>
|
84
|
-
<th>
|
85
|
-
<nobr>隐患数</nobr>
|
86
|
-
</th>
|
87
|
-
</tr>
|
88
|
-
</template>
|
89
|
-
<template partial='body'>
|
90
|
-
<tr>
|
91
|
-
<td style="text-align:center">{{$index + 1}}</td>
|
92
|
-
<td style="text-align:center">
|
93
|
-
<nobr>{{ row.yuefeng }}</nobr>
|
94
|
-
</td>
|
95
|
-
<td style="text-align:center">
|
96
|
-
<nobr>{{ row.f_checker_name }}</nobr>
|
97
|
-
</td>
|
98
|
-
<td style="text-align:center">
|
99
|
-
<nobr>{{ row.yijian }}</nobr>
|
100
|
-
</td>
|
101
|
-
<td style="text-align:center">
|
102
|
-
<nobr>{{ row.ruhu }}</nobr>
|
103
|
-
</td>
|
104
|
-
<td style="text-align:center">
|
105
|
-
<nobr>{{ row.daofang }}</nobr>
|
106
|
-
</td>
|
107
|
-
<td style="text-align:center">
|
108
|
-
<nobr>{{ row.jujian }}</nobr>
|
109
|
-
</td>
|
110
|
-
<td style="text-align:center">
|
111
|
-
<nobr>{{ row.yinhuan }}</nobr>
|
112
|
-
</td>
|
113
|
-
</tr>
|
114
|
-
</template>
|
115
|
-
<template partial="foot">
|
116
|
-
<td style="text-align: center"><span><b>合计:</b></span></td>
|
117
|
-
<td style="text-align: center"><span><b> </b></span></td>
|
118
|
-
<td style="text-align: center"><span><b> </b></span></td>
|
119
|
-
<td style="text-align: center">{{model.sums.yijian}}</td>
|
120
|
-
<td style="text-align: center">{{model.sums.ruhu}}</td>
|
121
|
-
<td style="text-align: center">{{model.sums.daofang}}</td>
|
122
|
-
<td style="text-align: center">{{model.sums.jujian}}</td>
|
123
|
-
<td style="text-align: center">{{model.sums.yinhuan}}</td>
|
124
|
-
</template>
|
125
|
-
</data-grid>
|
126
|
-
</criteria-paged>
|
127
|
-
</div>
|
128
|
-
</section>
|
129
|
-
</div>
|
130
|
-
</template>
|
131
|
-
<script>
|
132
|
-
import {PagedList, HttpResetClass} from 'vue-client'
|
133
|
-
import * as Util from '../Util'
|
134
|
-
import {toEndDateString, toStartDateString} from '../Util'
|
135
|
-
|
136
|
-
export default {
|
137
|
-
title: '无计划安检汇总',
|
138
|
-
data () {
|
139
|
-
let model = new PagedList('rs/sql/SafecheckSummary', 20, {
|
140
|
-
f_filiale_id: 'this.f_filiale_id'
|
141
|
-
},{yijian:'',ruhu:'',daofang:'',jujian:'',yinhuan:''})
|
142
|
-
model.f_filiale_id = `('${this.$login.f.orgid}')`
|
143
|
-
return {
|
144
|
-
f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
|
145
|
-
model: model,
|
146
|
-
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
147
|
-
userid: this.$login.f.id,
|
148
|
-
orgname: '',
|
149
|
-
// checker:{},
|
150
|
-
searchData: {
|
151
|
-
condition: '',
|
152
|
-
f_filiale_id: ''
|
153
|
-
},
|
154
|
-
excelHeaders: {
|
155
|
-
'yuefeng': '安检月份',
|
156
|
-
'f_checker_name': '安检员',
|
157
|
-
'yijian': '已检',
|
158
|
-
'ruhu': '入户',
|
159
|
-
'daofang': '到访不遇',
|
160
|
-
'jujian': '拒检',
|
161
|
-
'yinhuan': '隐患数'
|
162
|
-
}
|
163
|
-
}
|
164
|
-
},
|
165
|
-
methods: {
|
166
|
-
getRes (obj) {
|
167
|
-
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
168
|
-
this.orgname = obj.res[0]
|
169
|
-
this.$set('orgname', obj.res[0])
|
170
|
-
console.log(
|
171
|
-
`%c 无计划安检汇总公司名 %c 呼叫模块 %c`,
|
172
|
-
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
|
173
|
-
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
|
174
|
-
'background:transparent',
|
175
|
-
this.orgname
|
176
|
-
)
|
177
|
-
},
|
178
|
-
selfSearch (args) {
|
179
|
-
if (!this.f_filiale_id) {
|
180
|
-
return this.$showMessage("请选择公司进行查询!!!")
|
181
|
-
}
|
182
|
-
this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
|
183
|
-
this.searchData.f_filiale_id = this.f_filiale_id //导出
|
184
|
-
this.searchData.condition=args.condition //导出
|
185
|
-
this.model.search(args.condition, args.model)
|
186
|
-
}
|
187
|
-
},
|
188
|
-
computed: {
|
189
|
-
excelTitle() {
|
190
|
-
return `${this.orgname }无计划安检汇总`
|
191
|
-
},
|
192
|
-
},
|
193
|
-
watch: {
|
194
|
-
},
|
195
|
-
ready () {
|
196
|
-
this.orgname = this.$login.f.orgs
|
197
|
-
this.$refs.paged.$refs.cri.model.startDate=Util.toStartDateString() +' 00:00:00'
|
198
|
-
this.$refs.paged.$refs.cri.model.endDate=Util.toEndDateString() +' 23:59:59'
|
199
|
-
|
200
|
-
}
|
201
|
-
|
202
|
-
}
|
203
|
-
</script>
|
204
|
-
|
205
|
-
<style lang="less" >
|
206
|
-
.tableinfo {
|
207
|
-
text-align: center;
|
208
|
-
background-color: #00A3F0;
|
209
|
-
color: #0c2e4d;
|
210
|
-
font-size: 26px;
|
211
|
-
}
|
212
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<section>
|
4
|
+
<div class="basic-main row" style="height: 100%">
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 30%;">
|
10
|
+
<role-selector-safe
|
11
|
+
role-name="安检员"
|
12
|
+
role-lable="安 检 员 "
|
13
|
+
@re-res="$parent.$parent.getRes"
|
14
|
+
:value.sync="model.f_checker_id"
|
15
|
+
v-model="model.f_checker_id"
|
16
|
+
condition="f_checker_name = '{}'">
|
17
|
+
</role-selector-safe>
|
18
|
+
</div>
|
19
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
20
|
+
<label for="startDate" class="font_normal_body">起始时间</label>
|
21
|
+
<datepicker
|
22
|
+
class="select_list select"
|
23
|
+
:value.sync="model.startDate"
|
24
|
+
id="startDate"
|
25
|
+
placeholder='开始时间' style="width: 60%"
|
26
|
+
:disabled-days-of-week="[]"
|
27
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
28
|
+
:show-rest-button="reset"
|
29
|
+
v-model="model.startDate"
|
30
|
+
condition="f_upload_date > ='{} '">
|
31
|
+
</datepicker>
|
32
|
+
</div>
|
33
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
34
|
+
<label for="endDate" class="font_normal_body">结束时间</label>
|
35
|
+
<datepicker
|
36
|
+
class="select_list select"
|
37
|
+
:value.sync="model.endDate"
|
38
|
+
id="endDate"
|
39
|
+
placeholder='结束日期' style="width: 60%"
|
40
|
+
:disabled-days-of-week="[]"
|
41
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
42
|
+
:show-rest-button="reset"
|
43
|
+
v-model="model.endDate"
|
44
|
+
condition="f_upload_date <='{} '">
|
45
|
+
</datepicker>
|
46
|
+
</div>
|
47
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%;float: right;">
|
48
|
+
<report-print class="button_export button_spacing" style="width:28%" id='tongchuan'></report-print>
|
49
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
50
|
+
:field="$parent.$parent.excelHeaders"
|
51
|
+
sqlurl="rs/logic/SafeExportExcel"
|
52
|
+
sql-name="SafecheckSummary"
|
53
|
+
:template-name="$parent.$parent.excelTitle">
|
54
|
+
</export-excel-safe>
|
55
|
+
<button type="button" name="button" class="button_search" style="margin-left: 9px" @click="search">查询</button>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</criteria>
|
60
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" id="tongchuan" v-ref:grid >
|
61
|
+
<template partial='head'>
|
62
|
+
<tr>
|
63
|
+
<th>
|
64
|
+
<nobr>序号</nobr>
|
65
|
+
</th>
|
66
|
+
<th>
|
67
|
+
<nobr>安检月份</nobr>
|
68
|
+
</th>
|
69
|
+
<th>
|
70
|
+
<nobr>安检员</nobr>
|
71
|
+
</th>
|
72
|
+
<th>
|
73
|
+
<nobr>已检</nobr>
|
74
|
+
</th>
|
75
|
+
<th>
|
76
|
+
<nobr>入户</nobr>
|
77
|
+
</th>
|
78
|
+
<th>
|
79
|
+
<nobr>到访不遇</nobr>
|
80
|
+
</th>
|
81
|
+
<th>
|
82
|
+
<nobr>拒检</nobr>
|
83
|
+
</th>
|
84
|
+
<th>
|
85
|
+
<nobr>隐患数</nobr>
|
86
|
+
</th>
|
87
|
+
</tr>
|
88
|
+
</template>
|
89
|
+
<template partial='body'>
|
90
|
+
<tr>
|
91
|
+
<td style="text-align:center">{{$index + 1}}</td>
|
92
|
+
<td style="text-align:center">
|
93
|
+
<nobr>{{ row.yuefeng }}</nobr>
|
94
|
+
</td>
|
95
|
+
<td style="text-align:center">
|
96
|
+
<nobr>{{ row.f_checker_name }}</nobr>
|
97
|
+
</td>
|
98
|
+
<td style="text-align:center">
|
99
|
+
<nobr>{{ row.yijian }}</nobr>
|
100
|
+
</td>
|
101
|
+
<td style="text-align:center">
|
102
|
+
<nobr>{{ row.ruhu }}</nobr>
|
103
|
+
</td>
|
104
|
+
<td style="text-align:center">
|
105
|
+
<nobr>{{ row.daofang }}</nobr>
|
106
|
+
</td>
|
107
|
+
<td style="text-align:center">
|
108
|
+
<nobr>{{ row.jujian }}</nobr>
|
109
|
+
</td>
|
110
|
+
<td style="text-align:center">
|
111
|
+
<nobr>{{ row.yinhuan }}</nobr>
|
112
|
+
</td>
|
113
|
+
</tr>
|
114
|
+
</template>
|
115
|
+
<template partial="foot">
|
116
|
+
<td style="text-align: center"><span><b>合计:</b></span></td>
|
117
|
+
<td style="text-align: center"><span><b> </b></span></td>
|
118
|
+
<td style="text-align: center"><span><b> </b></span></td>
|
119
|
+
<td style="text-align: center">{{model.sums.yijian}}</td>
|
120
|
+
<td style="text-align: center">{{model.sums.ruhu}}</td>
|
121
|
+
<td style="text-align: center">{{model.sums.daofang}}</td>
|
122
|
+
<td style="text-align: center">{{model.sums.jujian}}</td>
|
123
|
+
<td style="text-align: center">{{model.sums.yinhuan}}</td>
|
124
|
+
</template>
|
125
|
+
</data-grid>
|
126
|
+
</criteria-paged>
|
127
|
+
</div>
|
128
|
+
</section>
|
129
|
+
</div>
|
130
|
+
</template>
|
131
|
+
<script>
|
132
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
133
|
+
import * as Util from '../Util'
|
134
|
+
import {toEndDateString, toStartDateString} from '../Util'
|
135
|
+
|
136
|
+
export default {
|
137
|
+
title: '无计划安检汇总',
|
138
|
+
data () {
|
139
|
+
let model = new PagedList('rs/sql/SafecheckSummary', 20, {
|
140
|
+
f_filiale_id: 'this.f_filiale_id'
|
141
|
+
},{yijian:'',ruhu:'',daofang:'',jujian:'',yinhuan:''})
|
142
|
+
model.f_filiale_id = `('${this.$login.f.orgid}')`
|
143
|
+
return {
|
144
|
+
f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
|
145
|
+
model: model,
|
146
|
+
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
147
|
+
userid: this.$login.f.id,
|
148
|
+
orgname: '',
|
149
|
+
// checker:{},
|
150
|
+
searchData: {
|
151
|
+
condition: '',
|
152
|
+
f_filiale_id: ''
|
153
|
+
},
|
154
|
+
excelHeaders: {
|
155
|
+
'yuefeng': '安检月份',
|
156
|
+
'f_checker_name': '安检员',
|
157
|
+
'yijian': '已检',
|
158
|
+
'ruhu': '入户',
|
159
|
+
'daofang': '到访不遇',
|
160
|
+
'jujian': '拒检',
|
161
|
+
'yinhuan': '隐患数'
|
162
|
+
}
|
163
|
+
}
|
164
|
+
},
|
165
|
+
methods: {
|
166
|
+
getRes (obj) {
|
167
|
+
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
168
|
+
this.orgname = obj.res[0]
|
169
|
+
this.$set('orgname', obj.res[0])
|
170
|
+
console.log(
|
171
|
+
`%c 无计划安检汇总公司名 %c 呼叫模块 %c`,
|
172
|
+
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
|
173
|
+
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
|
174
|
+
'background:transparent',
|
175
|
+
this.orgname
|
176
|
+
)
|
177
|
+
},
|
178
|
+
selfSearch (args) {
|
179
|
+
if (!this.f_filiale_id) {
|
180
|
+
return this.$showMessage("请选择公司进行查询!!!")
|
181
|
+
}
|
182
|
+
this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
|
183
|
+
this.searchData.f_filiale_id = this.f_filiale_id //导出
|
184
|
+
this.searchData.condition=args.condition //导出
|
185
|
+
this.model.search(args.condition, args.model)
|
186
|
+
}
|
187
|
+
},
|
188
|
+
computed: {
|
189
|
+
excelTitle() {
|
190
|
+
return `${this.orgname }无计划安检汇总`
|
191
|
+
},
|
192
|
+
},
|
193
|
+
watch: {
|
194
|
+
},
|
195
|
+
ready () {
|
196
|
+
this.orgname = this.$login.f.orgs
|
197
|
+
this.$refs.paged.$refs.cri.model.startDate=Util.toStartDateString() +' 00:00:00'
|
198
|
+
this.$refs.paged.$refs.cri.model.endDate=Util.toEndDateString() +' 23:59:59'
|
199
|
+
|
200
|
+
}
|
201
|
+
|
202
|
+
}
|
203
|
+
</script>
|
204
|
+
|
205
|
+
<style lang="less" >
|
206
|
+
.tableinfo {
|
207
|
+
text-align: center;
|
208
|
+
background-color: #00A3F0;
|
209
|
+
color: #0c2e4d;
|
210
|
+
font-size: 26px;
|
211
|
+
}
|
212
|
+
</style>
|