safecheck-client 3.0.30-3 → 3.0.30-34

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.
Files changed (46) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/components/android/AddPlanItem.vue +5 -2
  4. package/src/components/android/CurrentCreate.vue +3 -1
  5. package/src/components/android/UploadPage.vue +228 -338
  6. package/src/components/paper/PlanChooser.vue +2 -2
  7. package/src/components/pc/Edit.vue +50 -0
  8. package/src/components/pc/NewCheckpaper.vue +9 -5
  9. package/src/components/pc/PaperEdit.vue +148 -0
  10. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  11. package/src/components/querycheckpaper/CheckSearchUser.vue +10 -1
  12. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1377 -1377
  13. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
  14. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
  15. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
  16. package/src/filiale/hanzhong/android.js +5 -1
  17. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2418
  18. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  19. package/src/filiale/jingyang/pc/PaperList.vue +1 -2
  20. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  21. package/src/filiale/kelai/android.js +1 -0
  22. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  23. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  24. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +9 -3
  25. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  26. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -0
  27. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  28. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +600 -598
  29. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  30. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1 -1
  31. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
  32. package/src/filiale/yangchunboneng/pc/PaperList.vue +2 -2
  33. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +230 -0
  34. package/src/filiale/yongzhou/pc/communityDetail.vue +16 -4
  35. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +8 -6
  36. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +8 -6
  37. package/src/filiale/yongzhou/pc/safeDetail.vue +18 -6
  38. package/src/filiale/yongzhou/pc/safeStatistics.vue +10 -0
  39. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +26 -6
  40. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +20 -3
  41. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +10 -0
  42. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  43. package/src/filiale/yongzhou/pc.js +1 -0
  44. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  45. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  46. package/src/safecheck.js +6 -0
@@ -132,6 +132,7 @@
132
132
  </div>
133
133
  <div class="row">
134
134
  <label for="readsafe" class="text-left font">蓝牙状态:{{blueState}}</label>
135
+ <button type="button" @click="initBlueState()">重新连接</button>
135
136
  </div>
136
137
  <div class="form-group col-md-12 col-sm-12 col-xs-12" :class="style__">
137
138
  <div class="form-group col-md-12 col-sm-12 col-xs-12">
@@ -608,6 +609,25 @@
608
609
  Radio
609
610
  },
610
611
  methods: {
612
+ initBlueState(){
613
+ let state = HostApp.getBluetoothState()
614
+ if (state && state.state == 3){
615
+ this.blueState = '连接完成'
616
+ }else {
617
+ if (state && state.state == -1){
618
+ this.$showMessage('蓝牙连接未打开,打开后重新尝试')
619
+ return
620
+ }
621
+ this.blueState = '连接失败,请重试'
622
+ this.$androidUtil.print(JSON.stringify([{ type: 4, value: 2, unit: 'line' }]))
623
+ let state2 = HostApp.getBluetoothState()
624
+ if (state2 && state2.state == 3){
625
+ this.blueState = '连接完成'
626
+ }else {
627
+ this.blueState = '连接失败,请重试'
628
+ }
629
+ }
630
+ },
611
631
  timeSet(val) {
612
632
  //////tag
613
633
  if (!val) {
@@ -10,7 +10,7 @@
10
10
  <input style="width: 60%" type="text" class="input_search" v-model="model.f_userinfo"
11
11
  id="f_userinfo"
12
12
  placeholder="编号 名称 电话 地址"
13
- condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_address like '%{}%')">
13
+ condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_address like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%')">
14
14
  </div>
15
15
  <div :class="$parent.$parent.style">
16
16
  <label class="font_normal_body">安检计划</label>
@@ -9,7 +9,7 @@
9
9
  <label class="font_normal_body">模糊查询</label>
10
10
  <input type="text" class="input_search" v-model="model.f_userinfo"
11
11
  style="width: 60%" placeholder="编号 名称 电话 地址"
12
- condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_address like '%{}%')">
12
+ condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_address like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%')">
13
13
  </div>
14
14
  <div class="form-group col-sm-2" >
15
15
  <label class="font_normal_body">客户编号</label>
@@ -24,7 +24,7 @@
24
24
  <div class="form-group col-sm-2" >
25
25
  <label class="font_normal_body">客户电话</label>
26
26
  <input type="text" class="input_search" v-model="model.f_user_phone"
27
- style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
27
+ style="width: 60%" placeholder="客户电话" condition=" ( f_user_phone like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%' )">
28
28
  </div>
29
29
  <div class="form-group col-sm-4" style="display: flex; gap: 15px">
30
30
  <export-excel-safe :data="$parent.$parent.searchData"
@@ -9,7 +9,7 @@
9
9
  <label class="font_normal_body">模糊查询</label>
10
10
  <input type="text" class="input_search" v-model="model.f_userinfo"
11
11
  style="width: 60%" placeholder="编号 名称 电话 表号 地址"
12
- condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_meternumber like '%{}%' or f_address like '%{}%')">
12
+ condition="(f_userinfo_code like '%{}%' or f_user_name like '%{}%' or f_user_phone like '%{}%' or f_meternumber like '%{}%' or f_address like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%')">
13
13
  </div>
14
14
  <div class="form-group col-sm-2" >
15
15
  <label class="font_normal_body">客户编号</label>
@@ -24,7 +24,7 @@
24
24
  <div class="form-group col-sm-2" >
25
25
  <label class="font_normal_body">客户电话</label>
26
26
  <input type="text" class="input_search" v-model="model.f_user_phone"
27
- style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
27
+ style="width: 60%" placeholder="客户电话" condition=" ( f_user_phone like '%{}%' or f_zuhu_phone like '%${}%' or f_rent_phone like '%${}%' )">
28
28
  </div>
29
29
  <div class="form-group col-sm-2" >
30
30
  <label class="font_normal_body">客户表号</label>
@@ -0,0 +1,230 @@
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="安&nbsp;检&nbsp;员&nbsp;"
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="form-group col-sm-3 form-input-group" style="width: 20%;">
48
+ <label class="font_normal_body">用户类型</label>
49
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
50
+ :value-single="true" style="width: 60%"
51
+ class="select_list select"
52
+ :options='$parent.$parent.user_types' placeholder='用户类型'
53
+ close-on-select
54
+ condition="f_check_type = '{}'"></v-select>
55
+ </div>
56
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%;float: right;">
57
+ <!-- <report-print class="button_export button_spacing" style="width:28%" id='tongchuan'></report-print>-->
58
+ <export-excel-safe :data="$parent.$parent.searchData"
59
+ :field="$parent.$parent.excelHeaders"
60
+ sqlurl="rs/logic/SafeExportExcel"
61
+ sql-name="SafecheckSummary"
62
+ :template-name="$parent.$parent.excelTitle">
63
+ </export-excel-safe>
64
+ <button type="button" name="button" class="button_search" style="margin-left: 9px" @click="search">查询</button>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </criteria>
69
+ <data-grid :model="model" partial='list' class="list_area table_sy" id="tongchuan" v-ref:grid >
70
+ <template partial='head'>
71
+ <tr>
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
+ <th>
88
+ <nobr>到访不遇</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>拒检</nobr>
92
+ </th>
93
+ <!-- <th>-->
94
+ <!-- <nobr>隐患数</nobr>-->
95
+ <!-- </th>-->
96
+ <th>
97
+ <nobr>入户率</nobr>
98
+ </th>
99
+ </tr>
100
+ </template>
101
+ <template partial='body'>
102
+ <tr>
103
+ <!-- <td style="text-align:center">{{$index + 1}}</td>-->
104
+ <!-- <td style="text-align:center">-->
105
+ <!-- <nobr>{{ row.yuefeng }}</nobr>-->
106
+ <!-- </td>-->
107
+ <td style="text-align:center">
108
+ <nobr>{{ row.f_checker_name }}</nobr>
109
+ </td>
110
+ <td style="text-align:center">
111
+ <nobr>{{ row.yijian }}</nobr>
112
+ </td>
113
+ <td style="text-align:center">
114
+ <nobr>{{ row.ruhu }}</nobr>
115
+ </td>
116
+ <td style="text-align:center">
117
+ <nobr>{{ row.daofang }}</nobr>
118
+ </td>
119
+ <td style="text-align:center">
120
+ <nobr>{{ row.jujian }}</nobr>
121
+ </td>
122
+ <!-- <td style="text-align:center">-->
123
+ <!-- <nobr>{{ row.yinhuan }}</nobr>-->
124
+ <!-- </td>-->
125
+ <td style="text-align:center">
126
+ <nobr>{{ row.ruhu_bv }}</nobr>
127
+ </td>
128
+ </tr>
129
+ </template>
130
+ <template partial="foot">
131
+ <td style="text-align: center"><span><b>合计:</b></span></td>
132
+ <!-- <td style="text-align: center"><span><b> </b></span></td>-->
133
+ <!-- <td style="text-align: center"><span><b> </b></span></td>-->
134
+ <td style="text-align: center">{{model.sums.yijian}}</td>
135
+ <td style="text-align: center">{{model.sums.ruhu}}</td>
136
+ <td style="text-align: center">{{model.sums.daofang}}</td>
137
+ <td style="text-align: center">{{model.sums.jujian}}</td>
138
+ <!-- <td style="text-align: center">{{model.sums.yinhuan}}</td>-->
139
+ <td style="text-align: center">{{ (model.sums.ruhu && model.sums.yijian) ? (model.sums.ruhu / model.sums.yijian * 100.0).toFixed(2) : 0.00}}%</td>
140
+ </template>
141
+ </data-grid>
142
+ </criteria-paged>
143
+ </div>
144
+ </section>
145
+ </div>
146
+ </template>
147
+ <script>
148
+ import {PagedList, HttpResetClass} from 'vue-client'
149
+ import * as Util from '../../Util'
150
+
151
+ export default {
152
+ title: '无计划安检汇总',
153
+ data () {
154
+ let model = new PagedList('rs/sql/SafecheckSummary', 20, {
155
+ f_filiale_id: 'this.f_filiale_id'
156
+ },{yijian:'',ruhu:'',daofang:'',jujian:'',yinhuan:''})
157
+ model.f_filiale_id = `('${this.$login.f.orgid}')`
158
+ return {
159
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
160
+ f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
161
+ model: model,
162
+ source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
163
+ userid: this.$login.f.id,
164
+ orgname: '',
165
+ // checker:{},
166
+ searchData: {
167
+ condition: '',
168
+ f_filiale_id: ''
169
+ },
170
+ excelHeaders: {
171
+ 'yuefeng': '安检月份',
172
+ 'f_checker_name': '安检员',
173
+ 'yijian': '已检',
174
+ 'ruhu': '入户',
175
+ 'daofang': '到访不遇',
176
+ 'jujian': '拒检',
177
+ 'ruhu_bv': '入户率'
178
+ }
179
+ }
180
+ },
181
+ methods: {
182
+ getRes (obj) {
183
+ this.f_filiale_id = this.$login.convertToIn(obj.resids)
184
+ this.orgname = obj.res[0]
185
+ this.$set('orgname', obj.res[0])
186
+ console.log(
187
+ `%c 无计划安检汇总公司名 %c 呼叫模块 %c`,
188
+ 'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
189
+ 'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
190
+ 'background:transparent',
191
+ this.orgname
192
+ )
193
+ },
194
+ selfSearch (args) {
195
+ if (!this.f_filiale_id) {
196
+ return this.$showMessage("请选择公司进行查询!!!")
197
+ }
198
+ this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
199
+ this.searchData.f_filiale_id = this.f_filiale_id //导出
200
+ this.searchData.condition=args.condition //导出
201
+ this.model.search(args.condition, args.model)
202
+ }
203
+ },
204
+ computed: {
205
+ excelTitle() {
206
+ return `${this.orgname }无计划安检汇总`
207
+ },
208
+ },
209
+ watch: {
210
+ },
211
+ ready () {
212
+ this.orgname = this.$login.f.orgs
213
+ //tag)
214
+ //tag
215
+ this.$refs.paged.$refs.cri.model.startDate=Util.toStartDateString() +' 00:00:00'
216
+ this.$refs.paged.$refs.cri.model.endDate=Util.toEndDateString() +' 23:59:59'
217
+
218
+ }
219
+
220
+ }
221
+ </script>
222
+
223
+ <style lang="less" >
224
+ .tableinfo {
225
+ text-align: center;
226
+ background-color: #00A3F0;
227
+ color: #0c2e4d;
228
+ font-size: 26px;
229
+ }
230
+ </style>
@@ -36,6 +36,15 @@
36
36
  <input style="width: 60%" class="input_search" v-model="model.f_residential_area"
37
37
  placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
38
38
  </div>
39
+ <div class="form-group col-sm-4">
40
+ <label class="font_normal_body">用户类型</label>
41
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
42
+ :value-single="true" style="width: 60%"
43
+ class="select_list select"
44
+ :options='$parent.$parent.user_types' placeholder='用户类型'
45
+ close-on-select
46
+ condition="tcp.f_check_type = '{}'"></v-select>
47
+ </div>
39
48
  <div class="col-sm-4 form-group" style="margin: 0">
40
49
  <role-selector-safe
41
50
  role-name="安检员"
@@ -92,14 +101,14 @@
92
101
  <td style="text-align: center">{{ row.yhhs }}</td>
93
102
  <td style="text-align: center">{{ row.yclyh }}</td>
94
103
  <td style="text-align: center">{{ row.clzyh }}</td>
95
- <td style="text-align: center">{{ row.yhhs - row.yclyh }}</td>
104
+ <td style="text-align: center">{{ row.wcl }}</td>
96
105
  </template>
97
106
  <template partial="foot">
98
107
  <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
99
108
  <td style="text-align: center">{{ model.sums.yhhs }}</td>
100
109
  <td style="text-align: center">{{ model.sums.yclyh }}</td>
101
110
  <td style="text-align: center">{{ model.sums.clzyh }}</td>
102
- <td style="text-align: center">{{ model.sums.yhhs - model.sums.yclyh }}</td>
111
+ <td style="text-align: center">{{ model.sums.wcl }}</td>
103
112
  </template>
104
113
  </data-grid>
105
114
  </criteria-paged>
@@ -118,21 +127,24 @@ export default {
118
127
  model: new PagedList("/rs/sql/communityDetail", 999, {orgid: this.$login.f.orgid}, {
119
128
  yhhs: '',
120
129
  yclyh: '',
121
- clzyh: ''
130
+ clzyh: '',
131
+ wcl:''
122
132
  }),
123
133
  resids: {},
124
134
  searchData: {
125
135
  condition: "1=1",
126
136
  orgid: this.$login.f.orgid
127
137
  },
138
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
128
139
  excelHeaders: {
129
140
  'f_residential_area': '小区名称',
130
141
  'yhhs': '存在隐患户数',
142
+ 'wcl': '未处理户数',
131
143
  'yclyh': '已处理户数',
132
144
  'clzyh': '处理中户数',
133
145
  },
134
146
  printshow: false,
135
- defaultPrint: ['f_residential_area','yhhs','yclyh','clzyh'],
147
+ defaultPrint: ['f_residential_area','yhhs','yclyh','clzyh','wcl'],
136
148
  sumsmodel: {},
137
149
  };
138
150
  },
@@ -52,12 +52,12 @@
52
52
  :field="$parent.$parent.excelHeaders"
53
53
  progress="safeGetExportProgress"
54
54
  sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailG"
55
- template-name='居民隐患类型明细' :choose-col="true"></export-excel-safe>
55
+ template-name='工商隐患类型明细' :choose-col="true"></export-excel-safe>
56
56
  </div>
57
57
  <print-data :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.model"
58
58
  :field="$parent.$parent.excelHeaders"
59
59
  :defaultfield="$parent.$parent.defaultPrint"
60
- titletable="居民隐患类型明细" :starthead="$parent.$parent.getstart"
60
+ titletable="工商隐患类型明细" :starthead="$parent.$parent.getstart"
61
61
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
62
62
  <button class="button_spacing button_search" @click="search()">查询</button>
63
63
  </div>
@@ -105,7 +105,7 @@
105
105
  <td style="text-align: center">{{ row.yhhs }}</td>
106
106
  <td style="text-align: center">{{ row.yclyh }}</td>
107
107
  <td style="text-align: center">{{ row.clzyh }}</td>
108
- <td style="text-align: center">{{ row.yhhs - row.yclyh }}</td>
108
+ <td style="text-align: center">{{ row.wcl }}</td>
109
109
  </template>
110
110
  <template partial="foot">
111
111
  <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
@@ -115,7 +115,7 @@
115
115
  <td style="text-align: center">{{ model.sums.rqjcount }}</td>
116
116
  <td style="text-align: center">{{ model.sums.yclyh }}</td>
117
117
  <td style="text-align: center">{{ model.sums.clzyh }}</td>
118
- <td style="text-align: center">{{ model.sums.yhhs - model.sums.yclyh }}</td>
118
+ <td style="text-align: center">{{ model.sums.wcl }}</td>
119
119
  </template>
120
120
  </data-grid>
121
121
  </criteria-paged>
@@ -128,7 +128,7 @@ import {PagedList} from "vue-client";
128
128
 
129
129
  export default {
130
130
  name: "communityTypeDetailG",
131
- title: "居民隐患类型明细",
131
+ title: "工商隐患类型明细",
132
132
  data() {
133
133
  return {
134
134
  model: new PagedList("/rs/sql/communityTypeDetailG", 999, {orgid: this.$login.f.orgid}, {
@@ -137,6 +137,7 @@ export default {
137
137
  clzyh: '',
138
138
  rqjcount: '',
139
139
  ljcount: '',
140
+ wcl:'',
140
141
  jgcount: ''
141
142
  }),
142
143
  resids: {},
@@ -152,9 +153,10 @@ export default {
152
153
  'yhhs': '存在隐患户数',
153
154
  'yclyh': '已处理户数',
154
155
  'clzyh': '处理中户数',
156
+ 'wcl' : '未处理户数'
155
157
  },
156
158
  printshow: false,
157
- defaultPrint:['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh'],
159
+ defaultPrint:['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh','wcl'],
158
160
  sumsmodel: {},
159
161
  }
160
162
  },
@@ -52,12 +52,12 @@
52
52
  :field="$parent.$parent.excelHeaders"
53
53
  progress="safeGetExportProgress"
54
54
  sqlurl="rs/logic/SafeExportExcel" sql-name="communityTypeDetailM"
55
- template-name='工商隐患类型明细' :choose-col="true"></export-excel-safe>
55
+ template-name='居民隐患类型明细' :choose-col="true"></export-excel-safe>
56
56
  </div>
57
57
  <print-data :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.model"
58
58
  :field="$parent.$parent.excelHeaders"
59
59
  :defaultfield="$parent.$parent.defaultPrint"
60
- titletable="工商隐患类型明细" :starthead="$parent.$parent.getstart"
60
+ titletable="居民隐患类型明细" :starthead="$parent.$parent.getstart"
61
61
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
62
62
  <button class="button_spacing button_search" @click="search()">查询</button>
63
63
  </div>
@@ -105,7 +105,7 @@
105
105
  <td style="text-align: center">{{ row.yhhs }}</td>
106
106
  <td style="text-align: center">{{ row.yclyh }}</td>
107
107
  <td style="text-align: center">{{ row.clzyh }}</td>
108
- <td style="text-align: center">{{ row.yhhs - row.yclyh }}</td>
108
+ <td style="text-align: center">{{ row.wcl }}</td>
109
109
  </template>
110
110
  <template partial="foot">
111
111
  <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
@@ -115,7 +115,7 @@
115
115
  <td style="text-align: center">{{ model.sums.rqjcount }}</td>
116
116
  <td style="text-align: center">{{ model.sums.yclyh }}</td>
117
117
  <td style="text-align: center">{{ model.sums.clzyh }}</td>
118
- <td style="text-align: center">{{ model.sums.yhhs - model.sums.yclyh }}</td>
118
+ <td style="text-align: center">{{ model.sums.wcl }}</td>
119
119
  </template>
120
120
  </data-grid>
121
121
  </criteria-paged>
@@ -128,7 +128,7 @@ import {PagedList} from "vue-client";
128
128
 
129
129
  export default {
130
130
  name: "communityTypeDetailM",
131
- title: "工商隐患类型明细",
131
+ title: "居民隐患类型明细",
132
132
  data() {
133
133
  return {
134
134
  model: new PagedList("/rs/sql/communityTypeDetailM", 999, {orgid: this.$login.f.orgid}, {
@@ -137,6 +137,7 @@ export default {
137
137
  clzyh: '',
138
138
  rqjcount: '',
139
139
  ljcount: '',
140
+ wcl:'',
140
141
  jgcount: ''
141
142
  }),
142
143
  resids: {},
@@ -152,9 +153,10 @@ export default {
152
153
  'yhhs': '存在隐患户数',
153
154
  'yclyh': '已处理户数',
154
155
  'clzyh': '处理中户数',
156
+ 'wcl' : '未处理户数'
155
157
  },
156
158
  printshow: false,
157
- defaultPrint: ['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh'],
159
+ defaultPrint: ['f_residential_area', 'ljcount','jgcount','rqjcount','yhhs', 'yclyh', 'clzyh','wcl'],
158
160
  sumsmodel: {},
159
161
  }
160
162
  },
@@ -34,7 +34,16 @@
34
34
  <div class="col-sm-4 form-group">
35
35
  <label class="font_normal_body">小区名称:</label>
36
36
  <input style="width: 60%" class="input_search" v-model="model.f_residential_area"
37
- placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
37
+ placeholder="请输入小区(可模糊查询)" condition="tcpi.f_residential_area like '%{}%'">
38
+ </div>
39
+ <div class="form-group col-sm-4">
40
+ <label class="font_normal_body">用户类型</label>
41
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
42
+ :value-single="true" style="width: 60%"
43
+ class="select_list select"
44
+ :options='$parent.$parent.user_types' placeholder='用户类型'
45
+ close-on-select
46
+ condition="tcpi.f_user_type = '{}'"></v-select>
38
47
  </div>
39
48
  <div class="col-sm-4 form-group" style="margin: 0">
40
49
  <role-selector-safe
@@ -110,14 +119,14 @@
110
119
  <td style="text-align: center">{{ row.f_residential_area }}</td>
111
120
  <td style="text-align: center">{{ row.totalcount }}</td>
112
121
  <td style="text-align: center">{{ row.wjcount }}</td>
113
- <td style="text-align: center">{{ row.rhcount + row.dfbycount3 }}</td>
122
+ <td style="text-align: center">{{ row.yjcount }}</td>
114
123
  <td style="text-align: center">{{ row.rhcount }}</td>
115
124
  <td style="text-align: center">{{ row.dfbycount1 }}</td>
116
125
  <td style="text-align: center">{{ row.dfbycount2 }}</td>
117
126
  <td style="text-align: center">{{ row.dfbycount3 }}</td>
118
127
  <td style="text-align: center">{{ row.unique_dfby_count }}</td>
119
128
  <td style="text-align: center">{{ row.jjcount }}</td>
120
- <td style="text-align: center">{{ ((row.rhcount + row.dfbycount3) / row.totalcount).toFixed(2) }}%</td>
129
+ <td style="text-align: center">{{ row.check_bv }}</td>
121
130
  </template>
122
131
  <template partial="foot">
123
132
  <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
@@ -125,7 +134,7 @@
125
134
 
126
135
  <td style="text-align: center">{{ model.sums.wjcount }}</td>
127
136
 
128
- <td style="text-align: center">{{ model.sums.rhcount + model.sums.dfbycount3 }}</td>
137
+ <td style="text-align: center">{{ model.sums.yjcount }}</td>
129
138
 
130
139
  <td style="text-align: center">{{ model.sums.rhcount }}</td>
131
140
 
@@ -135,7 +144,7 @@
135
144
  <td style="text-align: center">{{ model.sums.unique_dfby_count }}</td>
136
145
  <td style="text-align: center">{{ model.sums.jjcount }}</td>
137
146
  <td style="text-align: center">
138
- {{ ((model.sums.rhcount + model.sums.dfbycount3) / model.sums.totalcount).toFixed(2) }}%
147
+ {{ ((model.sums.yjcount / model.sums.totalcount)*100.0).toFixed(2) }}%
139
148
  </td>
140
149
 
141
150
  </template>
@@ -157,6 +166,7 @@ export default {
157
166
  model: new PagedList("/rs/sql/safeDetail", 999, {orgid: this.$login.f.orgid}, {
158
167
  totalcount: '',
159
168
  wjcount: '',
169
+ yjcount: '',
160
170
  rhcount: '',
161
171
  dfbycount1: '',
162
172
  dfbycount2: '',
@@ -169,10 +179,12 @@ export default {
169
179
  condition: "1=1",
170
180
  orgid: this.$login.f.orgid
171
181
  },
182
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
172
183
  excelHeaders: {
173
184
  'f_residential_area': '小区名称',
174
185
  'totalcount': '计划安检总户数',
175
186
  'wjcount': '未检户数',
187
+ 'yjcount': '已检户数',
176
188
  'rhcount': '入户户数',
177
189
  'dfbycount1': '到访不遇-1次',
178
190
  'dfbycount2': '到访不遇-2次',
@@ -181,7 +193,7 @@ export default {
181
193
  'jjcount': '拒检户数',
182
194
  },
183
195
  printshow: false,
184
- defaultPrint: ['f_residential_area', 'totalcount', 'wjcount', 'rhcount','dfbycount1','dfbycount2','dfbycount3','unique_dfby_count','jjcount'],
196
+ defaultPrint: ['f_residential_area', 'totalcount', 'wjcount', 'rhcount','dfbycount1','dfbycount2','dfbycount3','unique_dfby_count','jjcount','check_bv'],
185
197
  sumsmodel: {},
186
198
  }
187
199
  },
@@ -38,6 +38,15 @@
38
38
  :show-reset-button="reset">
39
39
  </datepicker>
40
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>
41
50
  <div class="form-group col-sm-2" >
42
51
  <label class="font_normal_body">小&emsp;&emsp;区</label>
43
52
  <input type="text" class="input_search" v-model="model.f_residential_area"
@@ -87,6 +96,7 @@
87
96
  let model = new DataModel('rs/report/checkerReport', {})
88
97
  // model.f_filialeid = '(' + this.$login.f.orgid + ')'
89
98
  return {
99
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
90
100
  userid: this.$login.f.id,
91
101
  source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
92
102
  model: model