safecheck-client 4.0.0-11 → 4.0.0-110
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 +3 -3
- package/src/components/NewDefectList/DefectListNew.vue +11 -14
- package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
- package/src/components/Util/ImgSelfSafePlus.vue +13 -3
- package/src/components/android/AndroidDefectDeal.vue +1 -1
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
- package/src/components/android/AndroidDefectDetails.vue +769 -0
- package/src/components/android/BlackUserOnLine.vue +2 -2
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +5 -5
- package/src/components/android/NewCheckpaperAndroid.vue +28 -21
- package/src/components/android/PaperFeedback.vue +15 -13
- package/src/components/android/PaperFeedbackTemp.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +20 -0
- package/src/components/android/RelieveRestrict.vue +1 -1
- package/src/components/android/Restriction.vue +1 -1
- package/src/components/android/SafeRightTree.vue +217 -0
- package/src/components/android/SafecheckDevices.vue +47 -2
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/android/SealBind.vue +392 -0
- package/src/components/android/SealManage.vue +250 -0
- package/src/components/inspections/inspectionFeedback.vue +2 -2
- package/src/components/map/PersonTrack.vue +3 -1
- package/src/components/map/checkScreen.vue +47 -13
- package/src/components/paper/PaperList.vue +349 -332
- package/src/components/paper/RegionalList.vue +217 -0
- package/src/components/pc/AddToCheckBook.vue +101 -24
- package/src/components/pc/CheckBook.vue +2 -0
- package/src/components/pc/CheckBookDetails.vue +6 -39
- package/src/components/pc/CheckBookEntry.vue +6 -7
- package/src/components/pc/CheckBookList.vue +61 -72
- package/src/components/pc/CheckBookSearchArea.vue +20 -24
- package/src/components/pc/CheckBookSearchUser.vue +139 -84
- package/src/components/pc/CheckBookSearchUserList.vue +1 -2
- package/src/components/pc/CheckBookUser.vue +276 -44
- package/src/components/pc/DefectDeal.vue +1 -1
- package/src/components/pc/NewCheckpaper.vue +16 -10
- package/src/components/pc/NewCheckpaperTemp.vue +5 -5
- package/src/components/pc/PaperDefectMain.vue +1 -0
- package/src/components/pc/RoleSelectorDep.vue +2 -1
- package/src/components/planmanage/PlanManage.vue +825 -821
- package/src/components/planmanage/checkPlanList.vue +28 -0
- package/src/components/planmanage/checkUserList.vue +346 -346
- package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
- package/src/components/report/CheckPlanAreaList.vue +266 -266
- package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
- package/src/components/rongcheng/PaperFeedback.vue +2 -2
- package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
- package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
- package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
- package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -401
- package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
- package/src/filiale/jinhong/android.js +3 -1
- package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
- package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
- package/src/filiale/jinhong/pc/PaperList.vue +844 -0
- package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
- package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
- package/src/filiale/jinhong/pc.js +13 -0
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
- package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
- package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
- package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
- package/src/filiale/meihekou/android/CurrentCreate.vue +1041 -0
- package/src/filiale/meihekou/android/MeterReading.vue +106 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -0
- package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1340 -0
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +2421 -0
- package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
- package/src/filiale/meihekou/android.js +22 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
- package/src/filiale/meihekou/pc.js +13 -0
- package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
- package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
- package/src/filiale/qingjian/pc/checkUserList.vue +835 -0
- package/src/filiale/qingjian/pc.js +1 -1
- package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
- package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
- package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
- package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
- package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
- package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/xiangyuanzhongai/android.js +4 -0
- package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
- package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
- package/src/filiale/xiangyuanzhongai/pc.js +2 -0
- package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/xinkang/android.js +1 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yunchengminsheng/android.js +1 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +13 -5
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
- package/src/main.js +1 -1
- package/src/safecheck-android.js +4 -0
- package/src/safecheck.js +3 -1
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div partial>
|
|
6
|
+
<form>
|
|
7
|
+
<div class="row app-row">
|
|
8
|
+
<div class="col-xs-4">
|
|
9
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
10
|
+
<label class="font text-left">用户编号:</label>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-8" >
|
|
13
|
+
<input class="search_input input-font"
|
|
14
|
+
v-model=model.f_userinfo_code condition="f_userinfo_code = '{}'" placeholder="请输入用户编号" />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row app-row">
|
|
18
|
+
<div class="col-xs-4">
|
|
19
|
+
<img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
20
|
+
<label class="font text-left">表 号:</label>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-xs-8" >
|
|
23
|
+
<input class="search_input input-font"
|
|
24
|
+
v-model=model.f_meternumber condition="f_meternumber = '{}'" style="width: 70%" placeholder="请输入表号" />
|
|
25
|
+
<button type="button" name="button" class="btn btn-primary" style="width: 25%" @click="$parent.$parent.scan">扫码</button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="row app-row">
|
|
29
|
+
<div class="col-xs-4">
|
|
30
|
+
<img src="../../../assets/用户姓名.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
31
|
+
<label class="font text-left">用户名称:</label>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-xs-8" >
|
|
34
|
+
<input class="search_input input-font" v-model="model.f_username" placeholder="请输入用户名称(可模糊查询)">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row app-row">
|
|
38
|
+
<div class="col-xs-4">
|
|
39
|
+
<img src="../../../assets/用户类型.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
40
|
+
<label class="font text-left">用户类型:</label>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="col-xs-8" >
|
|
43
|
+
<v-select :value.sync="$parent.$parent.model.f_user_type" class="input-font"
|
|
44
|
+
:options='$parent.$parent.user_types' placeholder='请选择用户类型' :value-single="true"
|
|
45
|
+
v-model="$parent.$parent.model.f_user_type" close-on-select clear-button></v-select>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row app-row">
|
|
49
|
+
<div class="col-xs-4">
|
|
50
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
51
|
+
<label class="font text-left">小区名称:</label>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-xs-8" >
|
|
54
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_districtname" placeholder="请输入用户小区(可模糊查询)">
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row app-row">
|
|
58
|
+
<div class="col-xs-4">
|
|
59
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
60
|
+
<label class="font text-left">楼 号:</label>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-xs-8" >
|
|
63
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_building" placeholder="请输入用户楼号">
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="row app-row">
|
|
67
|
+
<div class="col-xs-4">
|
|
68
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
69
|
+
<label class="font text-left">单 元:</label>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-xs-8" >
|
|
72
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_unit" placeholder="请输入用户单元">
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="row app-row">
|
|
76
|
+
<div class="col-xs-4">
|
|
77
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
78
|
+
<label class="font text-left">用户地址:</label>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="col-xs-8" >
|
|
81
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_address" placeholder="请输入用户地址(可模糊查询)">
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="row app-row">
|
|
85
|
+
<div class="col-xs-4">
|
|
86
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
87
|
+
<label class="font text-left">表 封 号:</label>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-xs-8" >
|
|
90
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_metertitles" placeholder="请输入表封号" condition="uf.f_metertitles='{}'">
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="row app-row">
|
|
94
|
+
<div class="col-xs-4">
|
|
95
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
96
|
+
<label class="font text-left">电 话 号:</label>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="col-xs-8" >
|
|
99
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_user_phone" placeholder="请输入电话号" condition="ui.f_user_phone like '%{}%'">
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="row app-row">
|
|
103
|
+
<div class="col-xs-4">
|
|
104
|
+
<img src="../../../assets/小区.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
105
|
+
<label class="font text-left">卡 号:</label>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-xs-8" >
|
|
108
|
+
<input style="width: 100%" class="search_input input-font" v-model="model.f_card_id" placeholder="请输入卡号" condition="uf.f_card_id like '%{}%'">
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="row app-row">
|
|
112
|
+
<div class="col-xs-4">
|
|
113
|
+
<img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
|
|
114
|
+
<label class="font text-left">抄 表 册:</label>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-xs-8" >
|
|
117
|
+
<v-select class="input-font"
|
|
118
|
+
placeholder='请选择抄表册'
|
|
119
|
+
:value.sync="model.f_meter_book_num"
|
|
120
|
+
v-model="model.f_meter_book_num"
|
|
121
|
+
:options='$parent.$parent.cbc'
|
|
122
|
+
condition="uf.f_meter_book_num='{}'"
|
|
123
|
+
close-on-select clear-button></v-select>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="row text-center" style="margin-top: 20px;">
|
|
127
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search">查询</button>
|
|
128
|
+
</div>
|
|
129
|
+
<div style="height:30px;"></div>
|
|
130
|
+
</form>
|
|
131
|
+
</div>
|
|
132
|
+
</criteria>
|
|
133
|
+
|
|
134
|
+
<list :model="model" partial='list'>
|
|
135
|
+
<div partial>
|
|
136
|
+
<div @click="$parent.$parent.$parent.inspect(row)" class="auto app-text" style="margin-top: 5px;">
|
|
137
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
|
138
|
+
<div class="panel-body panel-self">
|
|
139
|
+
<div class="row">
|
|
140
|
+
<p class="panel-title col-xs-4 text-left font">用户编号</p>
|
|
141
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="row">
|
|
144
|
+
<p class="panel-title col-xs-4 text-left font">用户名称</p>
|
|
145
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_name }}</p>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="row">
|
|
148
|
+
<p class="panel-title col-xs-4 text-left font">表号</p>
|
|
149
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_meternumber }}</p>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="row">
|
|
152
|
+
<p class="panel-title col-xs-4 text-left font">用户类型</p>
|
|
153
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_type }}</p>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="row">
|
|
156
|
+
<p class="panel-title col-xs-4 text-left font">用户电话</p>
|
|
157
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}</p>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
<div class="row">
|
|
161
|
+
<p class="panel-title col-xs-4 text-left font">小区名称</p>
|
|
162
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_residential_area }}</p>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="row">
|
|
165
|
+
<p class="panel-title col-xs-4 text-left font">用户地址</p>
|
|
166
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_address }}</p>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="row">
|
|
169
|
+
<p class="panel-title col-xs-4 text-left font">最后安检日期</p>
|
|
170
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_last_check_date }}</p>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="row">
|
|
173
|
+
<p class="panel-title col-xs-4 text-left font">最后安检状态</p>
|
|
174
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_last_check_state }}</p>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
</list>
|
|
182
|
+
</criteria-paged>
|
|
183
|
+
<!--<back-page :need-back='true' @flag="$back()"></back-page>-->
|
|
184
|
+
</div>
|
|
185
|
+
</template>
|
|
186
|
+
|
|
187
|
+
<script>
|
|
188
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
189
|
+
import Vue from 'vue'
|
|
190
|
+
import * as Util from '../../Util'
|
|
191
|
+
import {toStandardTimeString} from "../../Util";
|
|
192
|
+
|
|
193
|
+
export default {
|
|
194
|
+
title: '安检员B',
|
|
195
|
+
data () {
|
|
196
|
+
let model = new PagedList(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/提取用户档案`, 20, { groupitem: '""', orderitem: '"f_residential_area,CAST(build as int),f_unit,CAST(floor1 as int),f_room"',f_check_type:'this.f_check_type[0]',
|
|
197
|
+
f_user_name:'this.model.f_username',myCycle: 'this.myCycle',fyCycle: 'this.fyCycle', f_user_type:'this.f_user_type',f_sign: 'this.f_sign[0]', f_residential_area:'this.model.f_districtname', f_address:'this.model.f_address',f_user_state: 'this.f_user_state[0]',f_orgids:'this.f_orgids',f_unit:'this.model.f_unit',f_building:'this.model.f_building',f_filialeid:'this.f_filialeid'})
|
|
198
|
+
model.f_sign = ['']
|
|
199
|
+
model.f_user_type = ''
|
|
200
|
+
model.f_user_state =['']
|
|
201
|
+
model.f_check_type =['']
|
|
202
|
+
model.myCycle = 0
|
|
203
|
+
model.fyCycle = 0
|
|
204
|
+
model.f_filialeid = Vue.user.orgid
|
|
205
|
+
//model.f_filialeid = 287
|
|
206
|
+
return {
|
|
207
|
+
model: model,
|
|
208
|
+
cbc:[],
|
|
209
|
+
showModal:false,
|
|
210
|
+
signs: [
|
|
211
|
+
{label:'请选择录入状态', value:''},
|
|
212
|
+
{label:'录入', value:'1'},
|
|
213
|
+
{label:'非录入', value:'0'},
|
|
214
|
+
],
|
|
215
|
+
ischecks: [
|
|
216
|
+
],
|
|
217
|
+
user_types: [
|
|
218
|
+
{label: '请选择用户类型', value: ''},
|
|
219
|
+
{label: '民用', value: '民用'},
|
|
220
|
+
{label: '非民用', value: '非民用'},
|
|
221
|
+
],
|
|
222
|
+
f_user_states: [
|
|
223
|
+
{label:'请选择档案状态', value:''},
|
|
224
|
+
{label:'正常', value:'正常'},
|
|
225
|
+
{label:'点火', value:'点火'},
|
|
226
|
+
],
|
|
227
|
+
f_check_types: [
|
|
228
|
+
{label:'请选择安检类型', value:''},
|
|
229
|
+
{label:'应检', value:'应检'},
|
|
230
|
+
{label:'超期', value:'超期'},
|
|
231
|
+
],
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
ready () {
|
|
235
|
+
// this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getSafeCheckCycle`,{},{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
236
|
+
// //tag)
|
|
237
|
+
// if(res.data.code == 200){
|
|
238
|
+
// this.model.myCycle = res.data.civil.value
|
|
239
|
+
// this.model.fyCycle = res.data.civilian.value
|
|
240
|
+
// }else{
|
|
241
|
+
// //this.$showMessage(res.data.msg)
|
|
242
|
+
// }
|
|
243
|
+
//
|
|
244
|
+
// })
|
|
245
|
+
// this.getCheckTime()
|
|
246
|
+
// this.Mreadibook()
|
|
247
|
+
},
|
|
248
|
+
computed: {
|
|
249
|
+
reload(){
|
|
250
|
+
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
|
251
|
+
},
|
|
252
|
+
selected () {
|
|
253
|
+
return this.$refs.paged.$refs.grid.selected
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
methods:{
|
|
257
|
+
scan(){
|
|
258
|
+
HostApp.__this__=this,
|
|
259
|
+
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
|
260
|
+
},
|
|
261
|
+
getCode(){
|
|
262
|
+
let datapa = HostApp.getCode().data;
|
|
263
|
+
let indexnum = datapa.indexOf("]C1")
|
|
264
|
+
if(indexnum != -1){
|
|
265
|
+
datapa = datapa.substring(indexnum+3,datapa.length)
|
|
266
|
+
}
|
|
267
|
+
this.$refs.paged.$refs.cri.model.f_meternumber=datapa
|
|
268
|
+
},
|
|
269
|
+
getCheckTime(){
|
|
270
|
+
//tag
|
|
271
|
+
new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`,{data: {
|
|
272
|
+
items: 'f_circle,f_start_time',
|
|
273
|
+
tablename: 't_safe_circle',
|
|
274
|
+
condition: `f_filialeid = '${Vue.user.orgid}'`,
|
|
275
|
+
orderitem: 'id'
|
|
276
|
+
}}).then(res=>{
|
|
277
|
+
//tag)
|
|
278
|
+
let nocheck=''
|
|
279
|
+
let ischeck=''
|
|
280
|
+
if (res.data[0]){
|
|
281
|
+
if (res.data[0].f_circle=='1'){
|
|
282
|
+
nocheck=`(ua.f_last_check_date<'${res.data[0].f_start_time}' or ua.f_last_check_date is null)`
|
|
283
|
+
ischeck=`ua.f_last_check_date>'${res.data[0].f_start_time}'`
|
|
284
|
+
|
|
285
|
+
}else{
|
|
286
|
+
let addtime= (Util.toStandardTimeString().substring(0,4)-res.data[0].f_start_time.substring(0,4))%res.data[0].f_circle
|
|
287
|
+
//tag
|
|
288
|
+
let time =(Util.toStandardTimeString().substring(0,4)-addtime)+'-01-01 00:00:00'
|
|
289
|
+
//tag
|
|
290
|
+
nocheck=`(ua.f_last_check_date<'${time}' or ua.f_last_check_date is null)`
|
|
291
|
+
ischeck=`ua.f_last_check_date>'${time}'`
|
|
292
|
+
}
|
|
293
|
+
//tag
|
|
294
|
+
this.ischecks=[
|
|
295
|
+
{label: '全部', value: ''},
|
|
296
|
+
{label: '已检', value: ischeck },
|
|
297
|
+
{label: '未检', value: nocheck},
|
|
298
|
+
]
|
|
299
|
+
//tag
|
|
300
|
+
}else{
|
|
301
|
+
this.$showMessage("未配置安检周期")
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
})
|
|
305
|
+
//tag
|
|
306
|
+
},
|
|
307
|
+
inspect (info){
|
|
308
|
+
// 当前系统时间
|
|
309
|
+
let newdate = Util.toStandardTimeString()
|
|
310
|
+
if(info.f_last_check_state == '入户' && info.f_last_check_date){
|
|
311
|
+
// 解析上次安检时间
|
|
312
|
+
let lastCheckDate = new Date(info.f_last_check_date)
|
|
313
|
+
let currentDate = new Date(newdate)
|
|
314
|
+
// 计算时间差(毫秒)
|
|
315
|
+
let timeDiff = currentDate.getTime() - lastCheckDate.getTime()
|
|
316
|
+
|
|
317
|
+
// 6个月 = 6 * 30 * 24 * 60 * 60 * 1000 毫秒(约15552000000毫秒)
|
|
318
|
+
// 更精确的计算:6个月 = 6 * 平均每月30.44天 * 24 * 60 * 60 * 1000
|
|
319
|
+
let sixMonthsInMs = 6 * 30 * 24 * 60 * 60 * 1000
|
|
320
|
+
|
|
321
|
+
if(timeDiff > sixMonthsInMs){
|
|
322
|
+
this.$showMessage("该用户半年内已进行入户安检,无需再次安检",['confirm'])
|
|
323
|
+
// 超过6个月,结束方法
|
|
324
|
+
return
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
info.id = ''
|
|
328
|
+
info.f_state = '未检'
|
|
329
|
+
info.f_no_checkplan = '无计划安检'
|
|
330
|
+
//tag
|
|
331
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`,{data:{f_userid:info.f_userinfo_id}}).then((response)=>{
|
|
332
|
+
//tag)
|
|
333
|
+
info['f_plan_meters'] = response.data
|
|
334
|
+
var pardate = {
|
|
335
|
+
_this:this,
|
|
336
|
+
tittle:'安检详情',
|
|
337
|
+
safe:true
|
|
338
|
+
}
|
|
339
|
+
this.$dispatch('gotoson',pardate)
|
|
340
|
+
this.$goto('safecheck-order-v', {item: info, role: 'inspect',parentPage:'AddPlanItem'}, 'self', this.reload)
|
|
341
|
+
|
|
342
|
+
})
|
|
343
|
+
},
|
|
344
|
+
Mreadibook(){
|
|
345
|
+
this.cbc=[]
|
|
346
|
+
let http = new HttpResetClass()
|
|
347
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/getMeterBooksData`,
|
|
348
|
+
{data: {f_orgid: "('"+Vue.user.orgid+"')"}},
|
|
349
|
+
{resolveMsg: null, rejectMsg: '获取失败!!!'}).then((getMeterReadingBooks)=>{
|
|
350
|
+
this.cbc = [{label: '全部', value: ''}]
|
|
351
|
+
//tag
|
|
352
|
+
//tag)
|
|
353
|
+
//tag
|
|
354
|
+
getMeterReadingBooks.data.meterbooks.forEach((res) => {
|
|
355
|
+
this.cbc.push({label: res.f_book_name, value: res.id})
|
|
356
|
+
/*if(res.f_book_slice_area){
|
|
357
|
+
if(this.sliceArea.indexOf(res.f_book_slice_area)<0){
|
|
358
|
+
this.sliceArea.push(res.f_book_slice_area)
|
|
359
|
+
}
|
|
360
|
+
}*/
|
|
361
|
+
})
|
|
362
|
+
})
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
</script>
|
|
369
|
+
<style scoped>
|
|
370
|
+
.app-row {
|
|
371
|
+
background-color: white;
|
|
372
|
+
padding: 10px 10px 0 10px;
|
|
373
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
|
374
|
+
}
|
|
375
|
+
.search_input {
|
|
376
|
+
border: 0;
|
|
377
|
+
outline: none;
|
|
378
|
+
}
|
|
379
|
+
.font{
|
|
380
|
+
font: 15px PingFang-SC-Medium;
|
|
381
|
+
color: #666666;
|
|
382
|
+
}
|
|
383
|
+
.input-font{
|
|
384
|
+
font: 15px PingFang-SC-Medium;
|
|
385
|
+
color: #333333;
|
|
386
|
+
}
|
|
387
|
+
.btn-font{
|
|
388
|
+
font:600 16px PingFang-SC-Bold;
|
|
389
|
+
color: #499EDF;
|
|
390
|
+
}
|
|
391
|
+
.btn-color{
|
|
392
|
+
background-color: #FFFFFF;
|
|
393
|
+
border-radius: 10px ;
|
|
394
|
+
border: 1px solid #499EDF;
|
|
395
|
+
}
|
|
396
|
+
.app-text {
|
|
397
|
+
font-size: 12px;
|
|
398
|
+
}
|
|
399
|
+
.panel-self{
|
|
400
|
+
border-radius: 10px;
|
|
401
|
+
border:1px solid #499EDF;
|
|
402
|
+
background-color: #F8F8F8;
|
|
403
|
+
}
|
|
404
|
+
.yybtn-color{
|
|
405
|
+
border-radius: 4px ;
|
|
406
|
+
border: 1px solid #499EDF;
|
|
407
|
+
}
|
|
408
|
+
.qxbtn-color{
|
|
409
|
+
background-color: #FFFFFF;
|
|
410
|
+
border-radius: 4px ;
|
|
411
|
+
border: 1px solid #499EDF;
|
|
412
|
+
}
|
|
413
|
+
</style>
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
290
290
|
let startOrStopState = HostApp.startOrStopAudioClip(fileName,"开始录音")
|
|
291
291
|
//tag
|
|
292
292
|
if (startOrStopState.code == 200) {
|
|
293
|
-
this.data.f_recording1_path = "file:///storage/emulated/0/safecheck/" + fileName
|
|
293
|
+
this.data.f_recording1_path = "file:///storage/emulated/0/Download/safecheck/" + fileName
|
|
294
294
|
//tag
|
|
295
295
|
return true;
|
|
296
296
|
}else {
|
|
@@ -9,6 +9,7 @@ let specialComp = {
|
|
|
9
9
|
'safecheck-userinfo':(resolve) => { require(['./android/SafecheckUserInfo'], resolve) },
|
|
10
10
|
'order_backlog' : (resolve) => { require(['./android/OrderBacklog'], resolve) }, //预约代办
|
|
11
11
|
'android-defect-deal' : (resolve) => { require(['./android/AndroidDefectDeal'], resolve) },
|
|
12
|
+
'add-plan-item' : (resolve) => { require(['./android/AddPlanItem'], resolve) }
|
|
12
13
|
}
|
|
13
14
|
exports.specialComp = specialComp
|
|
14
15
|
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
}, { resolveMsg: null, rejectMsg: null })
|
|
1358
1358
|
////tag)
|
|
1359
1359
|
////tag
|
|
1360
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1360
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1361
1361
|
data: {
|
|
1362
1362
|
"f_operat_type": "取消拉黑",
|
|
1363
1363
|
"f_state": "待审核",
|
|
@@ -1418,7 +1418,7 @@
|
|
|
1418
1418
|
limit_times = Vue.config.safecheck.ApproveConfig.limit_times
|
|
1419
1419
|
limit_value = Vue.config.safecheck.ApproveConfig.limit_value
|
|
1420
1420
|
}
|
|
1421
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1421
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1422
1422
|
data: {
|
|
1423
1423
|
data: this.$parent.$parent.data,
|
|
1424
1424
|
item: this.$parent.$parent.data.item,
|
|
@@ -1176,7 +1176,7 @@ export default {
|
|
|
1176
1176
|
}, {resolveMsg: null, rejectMsg: null})
|
|
1177
1177
|
////tag)
|
|
1178
1178
|
////tag
|
|
1179
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1179
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1180
1180
|
data: {
|
|
1181
1181
|
"f_operat_type": "取消拉黑",
|
|
1182
1182
|
"f_state": "有效",
|
|
@@ -1234,7 +1234,7 @@ export default {
|
|
|
1234
1234
|
limit_times = Vue.config.safecheck.ApproveConfig.limit_times
|
|
1235
1235
|
limit_value = Vue.config.safecheck.ApproveConfig.limit_value
|
|
1236
1236
|
}
|
|
1237
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1237
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1238
1238
|
data: {
|
|
1239
1239
|
data:this.$parent.$parent.data,
|
|
1240
1240
|
item:this.$parent.$parent.data.item,
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
}, {resolveMsg: null, rejectMsg: null})
|
|
436
436
|
////tag)
|
|
437
437
|
////tag
|
|
438
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
438
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
439
439
|
data: {
|
|
440
440
|
"f_operat_type": "取消拉黑",
|
|
441
441
|
"f_state": "有效",
|
|
@@ -1166,7 +1166,7 @@ export default {
|
|
|
1166
1166
|
}, {resolveMsg: null, rejectMsg: null})
|
|
1167
1167
|
////tag)
|
|
1168
1168
|
////tag
|
|
1169
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1169
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1170
1170
|
data: {
|
|
1171
1171
|
"f_operat_type": "取消拉黑",
|
|
1172
1172
|
"f_state": "有效",
|
|
@@ -1218,7 +1218,7 @@ export default {
|
|
|
1218
1218
|
}, {resolveMsg: null, rejectMsg: null})
|
|
1219
1219
|
////tag)
|
|
1220
1220
|
////tag
|
|
1221
|
-
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-
|
|
1221
|
+
let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/backlistOperate`, {
|
|
1222
1222
|
data: {
|
|
1223
1223
|
data:this.$parent.$parent.data,
|
|
1224
1224
|
item:this.$parent.$parent.data.item,
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
<div class="col-xs-8" >
|
|
182
182
|
<input class="search_input input-font"
|
|
183
|
-
v-model=model.
|
|
183
|
+
v-model=model.f_meter_classify condition="f_meter_classify like '%{}%'" />
|
|
184
184
|
</div>
|
|
185
185
|
</div>
|
|
186
186
|
<div class="row app-row" v-if="$parent.$parent.criteriaShow">
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
</div>
|
|
224
224
|
<div class="col-xs-6">
|
|
225
225
|
<p class="panel-title col-xs-5 text-left font"><b>气表品牌:</b></p>
|
|
226
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.
|
|
226
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_meter_classify }}</p>
|
|
227
227
|
</div>
|
|
228
228
|
<div class="col-xs-6">
|
|
229
229
|
<p class="panel-title col-xs-5 text-left font"><b>用户类型:</b></p>
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<template >
|
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
|
3
|
+
<div class="panel-body">
|
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
|
5
|
+
<div class="bg-info">
|
|
6
|
+
<div class="row form-group">
|
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
10
|
+
购气量: {{row.f_pregas}}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
13
|
+
购气金额: {{row.f_preamount}}
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
16
|
+
收费状态: {{row.f_state}}
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
|
19
|
+
缴费方式: {{row.f_payment}}
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
|
22
|
+
购气时间: {{row.f_operate_date}}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<p v-show="model.length == 0 ">此用户暂无购气记录</p>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
|
|
35
|
+
<script>
|
|
36
|
+
import { PagedList } from 'vue-client'
|
|
37
|
+
import co from 'co'
|
|
38
|
+
export default {
|
|
39
|
+
title: '查询用户',
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
model: [],
|
|
43
|
+
show: false,
|
|
44
|
+
row: Object
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
props: {
|
|
48
|
+
user: {
|
|
49
|
+
type: Object
|
|
50
|
+
},
|
|
51
|
+
f_userinfo_id:''
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
getmodel () {
|
|
55
|
+
let userinfoid
|
|
56
|
+
if(this.f_userinfo_id){
|
|
57
|
+
userinfoid = this.f_userinfo_id
|
|
58
|
+
}else{
|
|
59
|
+
userinfoid = this.user.f_userinfo_id
|
|
60
|
+
//tag
|
|
61
|
+
}
|
|
62
|
+
//tag
|
|
63
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas ', orderitem: 'f_operate_date desc', condition:`f_userinfo_id = '${userinfoid}' and f_state = '有效'`}}).then((row) => {
|
|
64
|
+
this.model = row.data
|
|
65
|
+
})
|
|
66
|
+
},
|
|
67
|
+
back(){
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
watch: {
|
|
72
|
+
'user' (val) {
|
|
73
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
74
|
+
if(this.user){
|
|
75
|
+
if (!(this.user.isNuN)) {
|
|
76
|
+
this.model= []
|
|
77
|
+
this.getmodel()
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
'f_userinfo_id'(){
|
|
82
|
+
if(this.f_userinfo_id){
|
|
83
|
+
this.model= []
|
|
84
|
+
this.getmodel()
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
ready () {
|
|
89
|
+
if (this.user && this.user.f_userinfo_id) {
|
|
90
|
+
// this.model.search(`card_id = ${this.user.card_id}`)
|
|
91
|
+
this.getmodel()
|
|
92
|
+
}
|
|
93
|
+
if(this.f_userinfo_id){
|
|
94
|
+
this.getmodel()
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</script>
|
|
99
|
+
<style>
|
|
100
|
+
.app-botton {
|
|
101
|
+
position:fixed;
|
|
102
|
+
background: #87b2dd;
|
|
103
|
+
color: #FFF;
|
|
104
|
+
padding: 8px;
|
|
105
|
+
text-align: center;
|
|
106
|
+
font-size: 1.2em;
|
|
107
|
+
z-index: 10;
|
|
108
|
+
opacity:0.5;
|
|
109
|
+
bottom: 50px;
|
|
110
|
+
margin-top: -10px;
|
|
111
|
+
height: 40px;
|
|
112
|
+
}
|
|
113
|
+
</style>
|