safecheck-client 3.0.32-24 → 3.0.32-25
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 +133 -133
- package/src/App.vue +2 -2
- package/src/components/rongcheng/DefectPaper.vue +673 -676
- package/src/components/rongcheng/SafecheckUserInfo.vue +1004 -1005
- package/src/filiale/dexin/android/SafecheckDevices.vue +4 -13
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2353 -2375
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +194 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +634 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/PlanManage.vue +951 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +368 -0
- package/src/filiale/fugou/pc/checkUserList.vue +7 -107
- package/src/filiale/fugou/pc.js +57 -5
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +0 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +0 -4
- package/src/filiale/wensu/pc/CheckSearchUser.vue +7 -2
- package/src/main.js +1 -1
@@ -0,0 +1,368 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
5
|
+
<div partial>
|
6
|
+
<div class="row">
|
7
|
+
<label class="form-group font_normal_body"><b>计划信息</b></label>
|
8
|
+
<div class="form-group col-sm-1" v-show="false">
|
9
|
+
<!--隐藏条件-->
|
10
|
+
<input type="text" class="input_search" v-model="model.f_plan_id"
|
11
|
+
style="width: 95%" placeholder="计划id" condition=" i.f_plan_id='{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-1" >
|
14
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
15
|
+
style="width: 95%" placeholder="客户编号" condition="i.f_userinfo_code='{}'">
|
16
|
+
</div>
|
17
|
+
<div class="form-group col-sm-1" >
|
18
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
19
|
+
style="width: 95%" placeholder="客户名称" condition="i.f_user_name like '%{}%'">
|
20
|
+
</div>
|
21
|
+
<div class="form-group col-sm-1" >
|
22
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
23
|
+
style="width: 95%" placeholder="客户地址" condition="i.f_address like '%{}%'">
|
24
|
+
</div>
|
25
|
+
<!--<div class="form-group col-sm-1" >
|
26
|
+
<v-select :width="'95%'"
|
27
|
+
class="select select_list"
|
28
|
+
:value.sync="$parent.$parent.f_state"
|
29
|
+
v-model="$parent.$parent.f_state"
|
30
|
+
:options='$parent.$parent.checkState'
|
31
|
+
placeholder='安检状态'
|
32
|
+
close-on-select
|
33
|
+
value-single
|
34
|
+
>
|
35
|
+
</v-select>
|
36
|
+
</div>-->
|
37
|
+
<div class="form-group col-sm-3" >
|
38
|
+
<button class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUserCondition()">更多条件</button>
|
39
|
+
<button class="button_search" style="margin-right: 10px" @click="search()">查询</button>
|
40
|
+
<!-- <button class="button_search" style="margin-right: 10px" @click="clear()">清除</button>-->
|
41
|
+
<export-excel-safe :data="$parent.$parent.exportParameter"
|
42
|
+
:field="$parent.$parent.exportExcelField"
|
43
|
+
style="margin-left: 0px"
|
44
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"
|
45
|
+
:template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'" :choose-col="true">
|
46
|
+
</export-excel-safe>
|
47
|
+
</div>
|
48
|
+
<div class="form-group col-sm-2 safe_p">
|
49
|
+
<label class="font_normal_body" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
|
50
|
+
</div>
|
51
|
+
<div class="form-group col-sm-2" style="float: right">
|
52
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
|
53
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
|
54
|
+
</div>
|
55
|
+
<modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
|
56
|
+
<div slot="modal-header" class="modal-header">
|
57
|
+
<h4 class="modal-title">
|
58
|
+
计划内用户查询条件
|
59
|
+
</h4>
|
60
|
+
</div>
|
61
|
+
<div slot="modal-body" class="modal-body">
|
62
|
+
<div class="row">
|
63
|
+
<div class="form-group col-sm-4" >
|
64
|
+
<label class="font_normal_body">是否已检:</label>
|
65
|
+
<v-select
|
66
|
+
class="select select_list"
|
67
|
+
:value.sync="model.f_state"
|
68
|
+
v-model="model.f_state"
|
69
|
+
:options='$parent.$parent.checkState'
|
70
|
+
@change="$parent.$parent.checkStateChange(model.f_state)"
|
71
|
+
placeholder='请选择'
|
72
|
+
condition="i.f_state='{}'"
|
73
|
+
close-on-select
|
74
|
+
value-single
|
75
|
+
>
|
76
|
+
</v-select>
|
77
|
+
</div>
|
78
|
+
<div class="form-group col-sm-4" >
|
79
|
+
<label class="font_normal_body">安检结果:</label>
|
80
|
+
<v-select
|
81
|
+
class="select select_list"
|
82
|
+
:value.sync="model.f_check_state"
|
83
|
+
v-model="model.f_check_state"
|
84
|
+
:options='$parent.$parent.checkResults'
|
85
|
+
placeholder='请选择'
|
86
|
+
condition="i.f_last_check_state='{}'"
|
87
|
+
close-on-select
|
88
|
+
value-single
|
89
|
+
>
|
90
|
+
</v-select>
|
91
|
+
</div>
|
92
|
+
<div class="form-group col-sm-4" >
|
93
|
+
<label class="font_normal_body">安检起始:</label>
|
94
|
+
<datepicker
|
95
|
+
placeholder='请选择'
|
96
|
+
style="width:60%"
|
97
|
+
:disabled-days-of-week="[]"
|
98
|
+
:format="'yyyy-MM-dd'"
|
99
|
+
:show-rest-button="reset"
|
100
|
+
:value.sync="model.f_startfile_time"
|
101
|
+
v-model="model.f_startfile_time"
|
102
|
+
condition="i.f_last_check_date >='{} 00:00:00'">
|
103
|
+
</datepicker>
|
104
|
+
</div>
|
105
|
+
<div class="form-group col-sm-4" >
|
106
|
+
<label class="font_normal_body">安检截止:</label>
|
107
|
+
<datepicker
|
108
|
+
placeholder='请选择'
|
109
|
+
:disabled-days-of-week="[]"
|
110
|
+
style="width:60%"
|
111
|
+
:format="'yyyy-MM-dd'"
|
112
|
+
:show-rest-button="reset"
|
113
|
+
:value.sync="model.f_endfile_time"
|
114
|
+
v-model="model.f_endfile_time"
|
115
|
+
condition="i.f_last_check_date <='{} 00:00:00'">
|
116
|
+
</datepicker>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
121
|
+
<button class="button_search" style="margin-right: 15px" @click="search()">查询</button>
|
122
|
+
<button class="button_search" @click="$parent.$parent.cancel">取消</button>
|
123
|
+
</div>
|
124
|
+
</modal>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</criteria>
|
128
|
+
<data-grid :model="model" partial='list' class="table_sy">
|
129
|
+
|
130
|
+
<template partial='head'>
|
131
|
+
<tr>
|
132
|
+
<th><nobr><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.checkAll" @change="$parent.$parent.$parent.setCheckAll()"/> 全选</nobr></th>
|
133
|
+
<th><nobr>用户编号</nobr></th>
|
134
|
+
<th><nobr>用户名称</nobr></th>
|
135
|
+
<th><nobr>用户电话</nobr></th>
|
136
|
+
<th><nobr>用户类型</nobr></th>
|
137
|
+
<th><nobr>小区名称</nobr></th>
|
138
|
+
<th><nobr>安检状态</nobr></th>
|
139
|
+
<th><nobr>地址</nobr></th>
|
140
|
+
</tr>
|
141
|
+
</template>
|
142
|
+
<template partial='body'>
|
143
|
+
<td style="text-align: center;white-space:nowrap;"><input type="checkbox" onClick="event.cancelBubble = true" :checked="$parent.$parent.$parent.isChecked(row.f_check_item_id)" @change="$parent.$parent.$parent.setCheckes(row.f_check_item_id)" /></td>
|
144
|
+
<td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
145
|
+
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
146
|
+
<td style="text-align: center"><nobr>{{row.f_user_phone}}</nobr></td>
|
147
|
+
<td style="text-align: center"><nobr>{{row.f_user_type}}</nobr></td>
|
148
|
+
<td style="text-align: center"><nobr>{{row.f_residential_area}}</nobr></td>
|
149
|
+
<td style="text-align: center"><nobr>{{row.f_state==='已检'?row.f_last_check_state:'未检'}}</nobr></td>
|
150
|
+
<td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
|
151
|
+
</template>
|
152
|
+
</data-grid>
|
153
|
+
</criteria-paged>
|
154
|
+
<modal :show.sync="showPlanModal" v-ref:modalp>
|
155
|
+
<div slot="modal-header" class="modal-header">
|
156
|
+
<h4 class="modal-title">
|
157
|
+
计划内用户调整
|
158
|
+
</h4>
|
159
|
+
</div>
|
160
|
+
<div slot="modal-body" class="modal-body">
|
161
|
+
<plan-chooser :f.sync="userlogin.orgid" v-ref:chooser></plan-chooser>
|
162
|
+
</div>
|
163
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
164
|
+
<button class="button_search" style="margin-right: 15px" @click="dragtoOtherPlanIteem">确认</button>
|
165
|
+
<button class="button_search" @click="cancel">取消</button>
|
166
|
+
</div>
|
167
|
+
</modal>
|
168
|
+
</div>
|
169
|
+
</template>
|
170
|
+
|
171
|
+
<script>
|
172
|
+
import {HttpResetClass, PagedList} from "vue-client";
|
173
|
+
import Vue from "vue";
|
174
|
+
|
175
|
+
export default {
|
176
|
+
name: "PlanManage",
|
177
|
+
title: '计划管理',
|
178
|
+
data() {
|
179
|
+
return {
|
180
|
+
model:new PagedList('/rs/sql/planItem', 100, {}),
|
181
|
+
a:'1',
|
182
|
+
opt:[{label:"测试",value:"测试"}],
|
183
|
+
showCondtion:false,
|
184
|
+
checkAll:false,
|
185
|
+
checkes:[],
|
186
|
+
checkResults:[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}],
|
187
|
+
checkState:[{label:'全部',value:''},{label:'未检',value:'未检'},{label:'已检',value:'已检'}],
|
188
|
+
showPlanModal:false,
|
189
|
+
exportExcelField: {
|
190
|
+
'f_userinfo_code':'用户编号',
|
191
|
+
'f_user_name':'用户名称',
|
192
|
+
'f_user_type':'用户类型',
|
193
|
+
'f_residential_area':'小区名称',
|
194
|
+
'f_state':'安检状态',
|
195
|
+
'f_address':'地址',
|
196
|
+
'f_user_phone':'用户电话',
|
197
|
+
'f_newfile_date':'建档日期'
|
198
|
+
}
|
199
|
+
}
|
200
|
+
},
|
201
|
+
props:["selectplan","userlogin"],
|
202
|
+
ready(){
|
203
|
+
|
204
|
+
},
|
205
|
+
computed:{
|
206
|
+
exportParameter(){
|
207
|
+
// excel 导出条件拼接
|
208
|
+
return {
|
209
|
+
condition: this.$refs.paged.model.condition,
|
210
|
+
groupName: this.groupNameForSql
|
211
|
+
}
|
212
|
+
}
|
213
|
+
},
|
214
|
+
methods:{
|
215
|
+
clear(){
|
216
|
+
this.model.f_plan_id = '';
|
217
|
+
this.model.f_userinfo_code = '';
|
218
|
+
this.model.f_user_name = '';
|
219
|
+
this.model.f_address='';
|
220
|
+
|
221
|
+
},
|
222
|
+
//将某个计划下的一项拖到另一个计划
|
223
|
+
async dragtoOtherPlanIteem() {
|
224
|
+
//tag)
|
225
|
+
|
226
|
+
if (!this.$refs.modalp.$children[0].selectedRow.id) {
|
227
|
+
this.$showMessage("请选择需要调整到那个计划中!")
|
228
|
+
return
|
229
|
+
}
|
230
|
+
this.$parent.isSend=true
|
231
|
+
try{
|
232
|
+
let res=await new HttpResetClass().load("POST", "/rs/logic/UpCheckPlanItem", {
|
233
|
+
data:{
|
234
|
+
f_operator:this.userlogin.name,
|
235
|
+
f_plan_id:this.$refs.modalp.$children[0].selectedRow.id,
|
236
|
+
condition:this.model.condition,
|
237
|
+
switchCheckAll:true,
|
238
|
+
checkAll:this.checkAll,
|
239
|
+
param:this.checkes,
|
240
|
+
columnName: "i.id"
|
241
|
+
}
|
242
|
+
}, {resolveMsg: null, rejectMsg: null})
|
243
|
+
this.$parent.isSend=false
|
244
|
+
if(res.data.code==200){
|
245
|
+
this.$showMessage("更换安检计划成功!")
|
246
|
+
this.$parent.refreshPlan()
|
247
|
+
}else{
|
248
|
+
this.$showMessage("更换安检计划失败!")
|
249
|
+
}
|
250
|
+
}catch (e) {
|
251
|
+
this.$parent.isSend=false
|
252
|
+
this.$showMessage("更换安检计划失败!")
|
253
|
+
}
|
254
|
+
},
|
255
|
+
showplanModal(){
|
256
|
+
if(!this.selectplan || !this.selectplan.id){
|
257
|
+
this.$showMessage("请先打开一个计划再进行操作")
|
258
|
+
return
|
259
|
+
}
|
260
|
+
if(!this.checkAll && this.checkes.length==0){
|
261
|
+
this.$showMessage("请先在计划中勾选你要调整的用户!")
|
262
|
+
return
|
263
|
+
}
|
264
|
+
this.showPlanModal=true
|
265
|
+
},
|
266
|
+
showUserCondition(){
|
267
|
+
this.showCondtion=true
|
268
|
+
},
|
269
|
+
isChecked(v) {
|
270
|
+
// 如果全选,不在的按选中算,否则,在的按选中算
|
271
|
+
if (this.checkAll) {
|
272
|
+
return this.checkes.indexOf(v) == -1
|
273
|
+
} else {
|
274
|
+
return this.checkes.indexOf(v) != -1
|
275
|
+
}
|
276
|
+
},
|
277
|
+
setCheckAll() {
|
278
|
+
this.checkAll=this.checkAll?false:true;
|
279
|
+
// 全选改变后,清空选中数据
|
280
|
+
this.checkes = []
|
281
|
+
},
|
282
|
+
setCheckes(id) {
|
283
|
+
let index=this.checkes.indexOf(id)
|
284
|
+
if(index<0){
|
285
|
+
this.checkes.push(id)
|
286
|
+
}else{
|
287
|
+
this.checkes.splice(index,1)
|
288
|
+
}
|
289
|
+
},
|
290
|
+
cancel(){
|
291
|
+
this.showCondtion=false
|
292
|
+
this.showPlanModal=false
|
293
|
+
},
|
294
|
+
selfSearch (args) {
|
295
|
+
if(!this.selectplan.id){
|
296
|
+
this.$showMessage("请先选择一个计划!")
|
297
|
+
return
|
298
|
+
}
|
299
|
+
this.cancel()
|
300
|
+
this.checkes=[]
|
301
|
+
this.checkAll=false
|
302
|
+
args.condition+= ` and i.f_state!= '作废'`
|
303
|
+
this.model.search(args.condition, args.model, args.condValue)
|
304
|
+
},
|
305
|
+
checkStateChange(val){
|
306
|
+
if(val=='未检'){
|
307
|
+
this.checkResults=[]
|
308
|
+
this.$refs.paged.$refs.criteria.model.f_check_state=''
|
309
|
+
}else{
|
310
|
+
this.checkResults=[{label:'到访不遇',value:'到访不遇'},{label:'拒检',value:'拒检'},{label:'入户',value:'入户'}]
|
311
|
+
}
|
312
|
+
},
|
313
|
+
//修改计划项状态为作废
|
314
|
+
async delPlanItem() {
|
315
|
+
if(!this.selectplan || !this.selectplan.id){
|
316
|
+
this.$showMessage("请先打开一个计划再进行操作")
|
317
|
+
return
|
318
|
+
}
|
319
|
+
if(!this.checkAll && this.checkes.length==0){
|
320
|
+
this.$showMessage("请先在计划中勾选你要作废的用户!")
|
321
|
+
return
|
322
|
+
}
|
323
|
+
this.$showMessage("此操作无法撤回,确定要执行作废安检单操作吗?",['confirm','cancel']).then((button)=>{
|
324
|
+
if(button=='confirm'){
|
325
|
+
let resu=new HttpResetClass().load("POST", "/rs/logic/UpCheckPlanItemState", {
|
326
|
+
data: {
|
327
|
+
f_operator:this.userlogin.name,
|
328
|
+
condition:this.model.condition,
|
329
|
+
switchCheckAll:true,
|
330
|
+
checkAll:this.checkAll,
|
331
|
+
param:this.checkes,
|
332
|
+
columnName: "i.id"
|
333
|
+
}
|
334
|
+
}, {resolveMsg: null, rejectMsg: null}).then((resu)=>{
|
335
|
+
|
336
|
+
//tag)
|
337
|
+
if(resu.data.code==200){
|
338
|
+
this.$showMessage("移除安检单成功! 成功移除:"+resu.data.res.up+"条"+(resu.data.res.noup>0?"有"+resu.data.res.noup+"条已经不是 ‘未检’ 状态!":""))
|
339
|
+
//this.checkes=[]
|
340
|
+
//this.checkAll=false
|
341
|
+
this.$parent.refresh()
|
342
|
+
}else{
|
343
|
+
this.$showMessage("取消安检计划失败!")
|
344
|
+
}
|
345
|
+
})
|
346
|
+
}
|
347
|
+
})
|
348
|
+
}
|
349
|
+
},
|
350
|
+
watch:{
|
351
|
+
'selectplan.id' (){
|
352
|
+
//tag
|
353
|
+
if(this.selectplan.id){
|
354
|
+
this.$refs.paged.$refs.criteria.model.f_plan_id=this.selectplan.id
|
355
|
+
this.$refs.paged.$refs.criteria.search()
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}
|
359
|
+
}
|
360
|
+
</script>
|
361
|
+
|
362
|
+
<style scoped>
|
363
|
+
.safe_p{
|
364
|
+
white-space: nowrap;
|
365
|
+
overflow: hidden;
|
366
|
+
text-overflow: ellipsis;
|
367
|
+
}
|
368
|
+
</style>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
:options='$parent.$parent.areaList'
|
28
28
|
:timeout="500"
|
29
29
|
@select-search="$parent.$parent.select_search"
|
30
|
-
placeholder='
|
30
|
+
placeholder='安检册筛选'
|
31
31
|
condition="ua.f_residential_area = '{}'"
|
32
32
|
close-on-select
|
33
33
|
value-single
|
@@ -51,21 +51,6 @@
|
|
51
51
|
</div>
|
52
52
|
<div slot="modal-body" class="modal-body">
|
53
53
|
<div class="row">
|
54
|
-
<div class="form-group col-sm-4" >
|
55
|
-
<label class="font_normal_body">用户类型:</label>
|
56
|
-
<v-select
|
57
|
-
class="select select_list"
|
58
|
-
:value.sync="model.f_user_type"
|
59
|
-
v-model="model.f_user_type"
|
60
|
-
:options='$parent.$parent.userTypes'
|
61
|
-
placeholder='请选择'
|
62
|
-
condition="uf.f_user_type='{}'"
|
63
|
-
:search="false"
|
64
|
-
close-on-select
|
65
|
-
value-single
|
66
|
-
>
|
67
|
-
</v-select>
|
68
|
-
</div>
|
69
54
|
<div class="form-group col-sm-4" >
|
70
55
|
<label class="font_normal_body">用户类型:</label>
|
71
56
|
<v-select
|
@@ -111,77 +96,6 @@
|
|
111
96
|
>
|
112
97
|
</v-select>
|
113
98
|
</div>
|
114
|
-
<div class="form-group col-sm-4" >
|
115
|
-
<label class="font_normal_body">气表类型:</label>
|
116
|
-
<v-select
|
117
|
-
class="select select_list"
|
118
|
-
:value.sync="model.meter_classify"
|
119
|
-
v-model="model.meter_classify"
|
120
|
-
:options='$parent.$parent.meter_classifys'
|
121
|
-
placeholder='请选择'
|
122
|
-
condition="uf.F_METER_CLASSIFY='{}'"
|
123
|
-
:search="false"
|
124
|
-
close-on-select
|
125
|
-
value-single
|
126
|
-
>
|
127
|
-
</v-select>
|
128
|
-
</div>
|
129
|
-
<!--<div class="form-group col-sm-4" >
|
130
|
-
<label class="font_normal_body">小区名称:</label>
|
131
|
-
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
132
|
-
style="width: 60%" placeholder="请选择" condition="ua.f_residential_area = '{}'">
|
133
|
-
</div>-->
|
134
|
-
<div class="form-group col-sm-4" >
|
135
|
-
<label class="font_normal_body">楼 栋 号:</label>
|
136
|
-
<input type="text" class="input_search" v-model="model.f_building"
|
137
|
-
style="width: 60%" placeholder="请选择" condition="ua.f_building='{}'">
|
138
|
-
</div>
|
139
|
-
<div class="form-group col-sm-4" >
|
140
|
-
<label class="font_normal_body">单 元 号:</label>
|
141
|
-
<input type="text" class="input_search" v-model="model.f_unit"
|
142
|
-
style="width: 60%" placeholder="请选择" condition="ua.f_unit='{}'">
|
143
|
-
</div>
|
144
|
-
<div class="form-group col-sm-4" >
|
145
|
-
<label class="font_normal_body">楼 层 号:</label>
|
146
|
-
<input type="text" class="input_search" v-model="model.f_floor"
|
147
|
-
style="width: 60%" placeholder="请选择" condition="ua.f_floor='{}'">
|
148
|
-
</div>
|
149
|
-
<div class="form-group col-sm-4" >
|
150
|
-
<label class="font_normal_body">开户起始:</label>
|
151
|
-
<datepicker
|
152
|
-
placeholder='请选择'
|
153
|
-
style="width:60%"
|
154
|
-
:disabled-days-of-week="[]"
|
155
|
-
:format="'yyyy-MM-dd'"
|
156
|
-
:show-rest-button="reset"
|
157
|
-
:value.sync="model.f_startfile_time"
|
158
|
-
v-model="model.f_startfile_time"
|
159
|
-
condition="ui.f_createfile_date >= '{} 00:00:00'">
|
160
|
-
</datepicker>
|
161
|
-
</div>
|
162
|
-
<div class="form-group col-sm-4" >
|
163
|
-
<label class="font_normal_body">开户截止:</label>
|
164
|
-
<datepicker
|
165
|
-
placeholder='请选择'
|
166
|
-
:disabled-days-of-week="[]"
|
167
|
-
style="width:60%"
|
168
|
-
:format="'yyyy-MM-dd'"
|
169
|
-
:show-rest-button="reset"
|
170
|
-
:value.sync="model.f_endfile_time"
|
171
|
-
v-model="model.f_endfile_time"
|
172
|
-
condition="ui.f_createfile_date <= '{} 23:59:59'">
|
173
|
-
</datepicker>
|
174
|
-
</div>
|
175
|
-
<div class="form-group col-sm-4" >
|
176
|
-
<label class="font_normal_body">表 箱 号:</label>
|
177
|
-
<input type="text" class="input_search" v-model="model.f_metertitles"
|
178
|
-
style="width: 60%" placeholder="请输入" condition="uf.f_metertitles='{}'">
|
179
|
-
</div>
|
180
|
-
<div class="form-group col-sm-4" >
|
181
|
-
<label class="font_normal_body">用户电话:</label>
|
182
|
-
<input type="text" class="input_search" v-model="model.f_user_phone"
|
183
|
-
style="width: 60%" placeholder="请输入" condition="ui.f_user_phone='{}'">
|
184
|
-
</div>
|
185
99
|
<div class="form-group col-sm-4" >
|
186
100
|
<label class="font_normal_body">片    区:</label>
|
187
101
|
<v-select
|
@@ -197,20 +111,6 @@
|
|
197
111
|
>
|
198
112
|
</v-select>
|
199
113
|
</div>
|
200
|
-
<div class="form-group col-sm-4" >
|
201
|
-
<label class="font_normal_body">抄 表 册:</label>
|
202
|
-
<v-select
|
203
|
-
class="select select_list"
|
204
|
-
:value.sync="model.f_meter_book_num"
|
205
|
-
v-model="model.f_meter_book_num"
|
206
|
-
:options='$parent.$parent.cbc'
|
207
|
-
placeholder='请选择'
|
208
|
-
condition="uf.f_meter_book_num='{}'"
|
209
|
-
close-on-select
|
210
|
-
value-single
|
211
|
-
>
|
212
|
-
</v-select>
|
213
|
-
</div>
|
214
114
|
<div class="form-group col-sm-4" >
|
215
115
|
<label class="font_normal_body">派发情况:</label>
|
216
116
|
<v-select
|
@@ -281,29 +181,29 @@
|
|
281
181
|
</v-select>
|
282
182
|
</div>
|
283
183
|
<div class="form-group col-sm-4" >
|
284
|
-
<label class="font_normal_body"
|
184
|
+
<label class="font_normal_body">建档开始时间:</label>
|
285
185
|
<datepicker
|
286
|
-
placeholder='
|
186
|
+
placeholder='建档开始时间'
|
287
187
|
style="width:60%"
|
288
188
|
:disabled-days-of-week="[]"
|
289
189
|
:format="'yyyy-MM-dd'"
|
290
190
|
:show-rest-button="reset"
|
291
191
|
:value.sync="model.f_startgas_time"
|
292
192
|
v-model="model.f_startgas_time"
|
293
|
-
condition="ui.
|
193
|
+
condition="ui.f_createfile_date >= '{} 00:00:00'">
|
294
194
|
</datepicker>
|
295
195
|
</div>
|
296
196
|
<div class="form-group col-sm-4" >
|
297
|
-
<label class="font_normal_body"
|
197
|
+
<label class="font_normal_body">建档结束时间:</label>
|
298
198
|
<datepicker
|
299
|
-
placeholder='
|
199
|
+
placeholder='建档结束时间'
|
300
200
|
:disabled-days-of-week="[]"
|
301
201
|
style="width:60%"
|
302
202
|
:format="'yyyy-MM-dd'"
|
303
203
|
:show-rest-button="reset"
|
304
204
|
:value.sync="model.f_endgas_time"
|
305
205
|
v-model="model.f_endgas_time"
|
306
|
-
condition="ui.
|
206
|
+
condition="ui.f_createfile_date <= '{} 23:59:59'">
|
307
207
|
</datepicker>
|
308
208
|
</div>
|
309
209
|
<div class="form-group col-sm-4" >
|
package/src/filiale/fugou/pc.js
CHANGED
@@ -4,11 +4,63 @@ import Vue from "vue";
|
|
4
4
|
//手机特殊目录注册到该文件中
|
5
5
|
let specialComp = {
|
6
6
|
// 安检汇总-列表
|
7
|
-
'paper-main': (resolve) => {
|
8
|
-
|
9
|
-
|
10
|
-
'
|
11
|
-
|
7
|
+
'paper-main': (resolve) => {
|
8
|
+
require(['./pc/PaperList'], resolve)
|
9
|
+
},
|
10
|
+
'check-user-list': (resolve) => {
|
11
|
+
require(['./pc/checkUserList'], resolve)
|
12
|
+
},
|
13
|
+
'check-plan-list': (resolve) => {
|
14
|
+
require(['./pc/checkPlanList'], resolve)
|
15
|
+
},
|
16
|
+
'plan-manage': (resolve) => {
|
17
|
+
require(['./pc/PlanManage.vue'], resolve)
|
18
|
+
},
|
19
|
+
'safe-defect-paper-new': (resolve) => {
|
20
|
+
require(['./pc/DefectPaperNew'], resolve)
|
21
|
+
},
|
22
|
+
'defect-main-new2': (resolve) => {
|
23
|
+
require(['./pc/DefectMainNew'], resolve)
|
24
|
+
},
|
25
|
+
'paper-defect-main': (resolve) => {
|
26
|
+
require(['./pc/PaperDefectMain'], resolve)
|
27
|
+
},
|
28
|
+
'check-book-all': (resolve) => {
|
29
|
+
require(['./pc/CheckBookAll'], resolve)
|
30
|
+
},
|
31
|
+
'check-book': (resolve) => {
|
32
|
+
require(['./pc/CheckBook'], resolve)
|
33
|
+
},
|
34
|
+
'check-book-list': (resolve) => {
|
35
|
+
require(['./pc/CheckBookList'], resolve)
|
36
|
+
},
|
37
|
+
'check-book-user': (resolve) => {
|
38
|
+
require(['./pc/CheckBookUser'], resolve)
|
39
|
+
},
|
40
|
+
'check-book-area': (resolve) => {
|
41
|
+
require(['./pc/CheckBookArea'], resolve)
|
42
|
+
},
|
43
|
+
'check-book-company': (resolve) => {
|
44
|
+
require(['./pc/CheckBookCompany'], resolve)
|
45
|
+
},
|
46
|
+
'check-book-entry': (resolve) => {
|
47
|
+
require(['./pc/CheckBookEntry'], resolve)
|
48
|
+
},
|
49
|
+
'add-to-check-book': (resolve) => {
|
50
|
+
require(['./pc/AddToCheckBook'], resolve)
|
51
|
+
},
|
52
|
+
'check-book-search-user': (resolve) => {
|
53
|
+
require(['./pc/CheckBookSearchUser'], resolve)
|
54
|
+
},
|
55
|
+
'check-book-search-area': (resolve) => {
|
56
|
+
require(['./pc/CheckBookSearchArea'], resolve)
|
57
|
+
},
|
58
|
+
'check-book-search-unit': (resolve) => {
|
59
|
+
require(['./pc/CheckBookSearchUnit'], resolve)
|
60
|
+
},
|
61
|
+
'check-book-search-user-list': (resolve) => {
|
62
|
+
require(['./pc/CheckBookSearchUserList'], resolve)
|
63
|
+
}
|
12
64
|
}
|
13
65
|
exports.specialComp = specialComp
|
14
66
|
|
@@ -1961,7 +1961,6 @@ export default {
|
|
1961
1961
|
this.$set('data.f_residential_area' , this.item.f_residential_area)
|
1962
1962
|
this.$set('data.f_idnumber', this.item.f_idnumber)
|
1963
1963
|
this.$set('data.f_comments', this.item.f_comments)
|
1964
|
-
this.$set('data.f_userinfo_comments', this.item.f_plan_meters[0].f_userinfo_comments)
|
1965
1964
|
this.$set('data.f_userproperties', this.item.f_userproperties)
|
1966
1965
|
this.$set('data.f_client_evaluation', '满意')
|
1967
1966
|
this.$set('data.f_userfiles_id', this.item.f_plan_meters[0].f_userfiles_id)
|
@@ -45,10 +45,6 @@
|
|
45
45
|
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>安检状态:</b></p>
|
46
46
|
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_state }}</p>
|
47
47
|
</div>
|
48
|
-
<div class="col-xs-12" style="padding: 2px 0">
|
49
|
-
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>备注:</b></p>
|
50
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_userinfo_comments}}</p>
|
51
|
-
</div>
|
52
48
|
<div class="col-xs-12">
|
53
49
|
<button type="button" style="width: 45%;float: left" class="btn btn-primary" v-if="updateuserphone"
|
54
50
|
@click="updatePhone(userinfo.f_user_phone,userinfo.f_userinfoid)">电话修改
|
@@ -201,7 +201,7 @@
|
|
201
201
|
:value.sync="model.f_outlets" v-model="model.f_outlets"
|
202
202
|
:options='$parent.$parent.userareas'
|
203
203
|
close-on-select clear-button
|
204
|
-
condition="
|
204
|
+
condition=" f_khwd = '{}'"
|
205
205
|
:value-single="true">
|
206
206
|
</v-select>
|
207
207
|
</div>
|
@@ -364,6 +364,9 @@
|
|
364
364
|
<th>
|
365
365
|
<nobr>用气类型</nobr>
|
366
366
|
</th>
|
367
|
+
<th>
|
368
|
+
<nobr>f_khwd</nobr>
|
369
|
+
</th>
|
367
370
|
<!-- <th>-->
|
368
371
|
<!-- <nobr>壁挂炉</nobr>-->
|
369
372
|
<!-- </th>-->
|
@@ -403,7 +406,8 @@
|
|
403
406
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
|
404
407
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
|
405
408
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
|
406
|
-
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.
|
409
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gasproperties }}</td>
|
410
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_khwd }}</td>
|
407
411
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
|
408
412
|
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
|
409
413
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
|
@@ -590,6 +594,7 @@ export default {
|
|
590
594
|
'f_user_phone': '用户电话',
|
591
595
|
'f_meternumber': '用户表号',
|
592
596
|
'f_gasproperties': '用气类型',
|
597
|
+
'f_khwd': '开户网点',
|
593
598
|
'f_checker_name': '安检员',
|
594
599
|
'f_residential_area': '小区名称',
|
595
600
|
'f_address': '地址',
|