safecheck-client 3.0.34-1 → 3.0.34-100
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/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/NewDefectList/DefectListNew.vue +1 -0
- package/src/components/android/AddPlanItemYy.vue +451 -0
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
- package/src/components/android/AreaPlan.vue +1 -7
- package/src/components/android/AreaSelect.vue +198 -0
- package/src/components/android/BuildingSelect.vue +192 -0
- package/src/components/android/CheckPlanSelect.vue +229 -0
- package/src/components/android/CurrentCreateYy.vue +1051 -0
- package/src/components/android/ImgSelfAndroid.vue +181 -181
- package/src/components/android/PaperFeedback.vue +34 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +4 -4
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +8 -12
- package/src/components/android/UserinfoSelect.vue +714 -0
- package/src/components/android/examples/410.png +0 -0
- package/src/components/android/examples/SafeListExamples.vue +296 -0
- package/src/components/android/examples/UserExamples.vue +137 -0
- package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
- package/src/components/android/examples/touxiang.png +0 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/components/pc/SafeVisitInfo.vue +261 -0
- package/src/components/rongcheng/AddPlanItem.vue +8 -0
- package/src/components/rongcheng/AspiratedAreaPlan.vue +574 -464
- package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
- package/src/components/rongcheng/CheckSearchUser.vue +46 -16
- package/src/components/rongcheng/PaperStatem.vue +6 -1
- package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1328
- package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
- package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
- package/src/filiale/baiyin/android.js +11 -10
- package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
- package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
- package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
- package/src/filiale/baiyin/pc/PaperList.vue +790 -790
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
- package/src/filiale/bayan/android/AddPlanItem.vue +8 -0
- package/src/filiale/bayan/android/PaperFeedback.vue +68 -50
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
- package/src/filiale/bayan/pc/NewCheckpaper.vue +50 -46
- package/src/filiale/bayan/pc/PaperList.vue +1 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +14 -10
- package/src/filiale/jiaxian/pc.js +12 -12
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
- package/src/filiale/qingtongxia/android.js +4 -0
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/android.js +1 -0
- package/src/filiale/shanxian/pc/PaperList.vue +785 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
- package/src/filiale/shanxian/pc.js +2 -2
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/siyang/android.js +4 -0
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
- package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
- package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
- package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
- package/src/filiale/siyang/pc/checkUserList.vue +22 -18
- package/src/filiale/siyang/pc.js +6 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
- package/src/filiale/tongchuan/pc/checkUserList.vue +30 -0
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
- package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +49 -113
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wuan/android/SafecheckOrderV.vue +5 -1
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +10 -5
- package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
- package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
- package/src/filiale/xilan/android.js +11 -0
- package/src/filiale/xilan/pc/checkUserList.vue +772 -0
- package/src/filiale/xilan/pc.js +12 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
- package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -1332
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2845
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +9 -9
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
- package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -944
- package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +307 -296
- package/src/safecheck-page.js +12 -0
- package/src/safecheck.js +3 -0
Binary file
|
@@ -0,0 +1,296 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="panel panel-default auto repair-info-content work-badge">
|
3
|
+
<div class="panel-body" style="margin-top: 20px;">
|
4
|
+
<div class="bg-info">
|
5
|
+
<div class="row form-group">
|
6
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
7
|
+
<div class="row" style="padding: 10px;">
|
8
|
+
<div class="row app-row">
|
9
|
+
<div class="col-xs-3">
|
10
|
+
<img style="width: 60px;" src="./touxiang.png">
|
11
|
+
</div>
|
12
|
+
<div class="col-xs-8" style="font-size: 20px;margin-top: 20px;">
|
13
|
+
<p>{{ model[0].f_user_name }}</p>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
<div class="row app-row" style="margin-top: 10px;">
|
17
|
+
<div class="col-xs-3">
|
18
|
+
<label class="font text-left lable">用户编号</label>
|
19
|
+
</div>
|
20
|
+
<div class="col-xs-8" >
|
21
|
+
<p>{{ model[0].f_userinfo_code }}</p>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div class="row app-row">
|
25
|
+
<div class="col-xs-3">
|
26
|
+
<label class="font text-left lable">用户电话</label>
|
27
|
+
</div>
|
28
|
+
<div class="col-xs-8" >
|
29
|
+
<p>{{ model[0].f_user_phone }}</p>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="row app-row">
|
33
|
+
<div class="col-xs-3">
|
34
|
+
<label class="font text-left lable">用户地址</label>
|
35
|
+
</div>
|
36
|
+
<div class="col-xs-8" >
|
37
|
+
<p>{{ model[0].f_address }}</p>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div class="row app-row">
|
41
|
+
<div class="col-xs-3">
|
42
|
+
<label class="font text-left lable">用户状态</label>
|
43
|
+
</div>
|
44
|
+
<div class="col-xs-8" >
|
45
|
+
<p>{{ model[0].f_user_state }}</p>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
<div class="row app-row">
|
49
|
+
<div class="col-xs-3">
|
50
|
+
<label class="font text-left lable">气表状态</label>
|
51
|
+
</div>
|
52
|
+
<div class="col-xs-8" >
|
53
|
+
<p>{{ model[0].f_table_state }}</p>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
<div class="row app-row">
|
57
|
+
<div class="col-xs-3">
|
58
|
+
<label class="font text-left lable">用气性质</label>
|
59
|
+
</div>
|
60
|
+
<div class="col-xs-8" >
|
61
|
+
<p>{{ model[0].uf_gasproperties }}</p>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
<div class="row app-row">
|
65
|
+
<div class="col-xs-3">
|
66
|
+
<label class="font text-left lable">表 号</label>
|
67
|
+
</div>
|
68
|
+
<div class="col-xs-8" >
|
69
|
+
<p>{{ model[0].f_meternumber }}</p>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
<div class="row app-row">
|
73
|
+
<div class="col-xs-3">
|
74
|
+
<label class="font text-left lable">气表品牌</label>
|
75
|
+
</div>
|
76
|
+
<div class="col-xs-8" >
|
77
|
+
<p>{{ model[0].f_meter_brand }}</p>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
<div class="row app-row">
|
81
|
+
<div class="col-xs-3">
|
82
|
+
<label class="font text-left lable">气价名称</label>
|
83
|
+
</div>
|
84
|
+
<div class="col-xs-8" >
|
85
|
+
<p>{{ model[0].f_price_name }}</p>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
<div class="row app-row">
|
89
|
+
<div class="col-xs-3">
|
90
|
+
<label class="font text-left lable">上报时间</label>
|
91
|
+
</div>
|
92
|
+
<div class="col-xs-8" >
|
93
|
+
<p>{{ model[0].f_upload_date }}</p>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
<div class="row" style="text-align: center;background-color: #ffffff;">
|
101
|
+
<label class="font text-left" style="padding: 15px;" @click="showView=0" :style="{'color':showView == 0?'#1890FF':'#a8a4a4'}">安检记录</label>
|
102
|
+
<label class="font text-left" style="padding: 15px;" @click="showView=1" :style="{'color':showView == 1?'#1890FF':'#a8a4a4'}">物联网表上报情况</label>
|
103
|
+
</div>
|
104
|
+
<div style="margin-top: 10px" v-if="showView === 0" class="panel panel-default well" v-for="(idx,row) in model">
|
105
|
+
<div class="bg-info" @click="viewDetails(row)">
|
106
|
+
<div class="row form-group">
|
107
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
108
|
+
<div class="row app-row">
|
109
|
+
<div class="col-xs-3">
|
110
|
+
<label class="font text-left lable">安检时间</label>
|
111
|
+
</div>
|
112
|
+
<div class="col-xs-8" >
|
113
|
+
<p>{{ row.f_offsite_time }}</p>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
<div class="row app-row">
|
117
|
+
<div class="col-xs-3">
|
118
|
+
<label class="font text-left lable">安检人员</label>
|
119
|
+
</div>
|
120
|
+
<div class="col-xs-8" >
|
121
|
+
<p>{{ row.f_checker_name }}</p>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
<div class="row app-row">
|
125
|
+
<div class="col-xs-3">
|
126
|
+
<label class="font text-left lable">安检状态</label>
|
127
|
+
</div>
|
128
|
+
<div class="col-xs-8" >
|
129
|
+
<p>{{ row.f_entry_status }}</p>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
<div class="row app-row">
|
133
|
+
<div class="col-xs-3">
|
134
|
+
<label class="font text-left lable">安检结果</label>
|
135
|
+
</div>
|
136
|
+
<div class="col-xs-8" >
|
137
|
+
<p>{{ row.f_defect_content.includes('正常') ? '正常' : '有隐患' }}</p>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
<div class="row app-row">
|
141
|
+
<div class="col-xs-3">
|
142
|
+
<label class="font text-left lable">整改内容</label>
|
143
|
+
</div>
|
144
|
+
<div class="col-xs-8" >
|
145
|
+
<p>{{ row.f_defect_text || '无' }}</p>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
</div>
|
152
|
+
<div style="margin-top: 10px" v-if="showView === 1" class="panel panel-default well" v-for="(idx,row) in model2">
|
153
|
+
<div class="bg-info">
|
154
|
+
<div class="row form-group">
|
155
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
156
|
+
<div class="row app-row">
|
157
|
+
<div class="col-xs-3">
|
158
|
+
<label class="font text-left lable">用气量</label>
|
159
|
+
</div>
|
160
|
+
<div class="col-xs-8" >
|
161
|
+
<p>{{ row.f_oughtamount }}</p>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<div class="row app-row">
|
165
|
+
<div class="col-xs-3">
|
166
|
+
<label class="font text-left lable">用气金额</label>
|
167
|
+
</div>
|
168
|
+
<div class="col-xs-8" >
|
169
|
+
<p>{{ row.f_oughtfee }}</p>
|
170
|
+
</div>
|
171
|
+
</div>
|
172
|
+
<div class="row app-row">
|
173
|
+
<div class="col-xs-3">
|
174
|
+
<label class="font text-left lable">本期余额</label>
|
175
|
+
</div>
|
176
|
+
<div class="col-xs-8" >
|
177
|
+
<p>{{ row.f_curbalance }}</p>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
<div class="row app-row">
|
181
|
+
<div class="col-xs-3">
|
182
|
+
<label class="font text-left lable">上期余额</label>
|
183
|
+
</div>
|
184
|
+
<div class="col-xs-8" >
|
185
|
+
<p>{{ row.f_balance }}</p>
|
186
|
+
</div>
|
187
|
+
</div>
|
188
|
+
<div class="row app-row">
|
189
|
+
<div class="col-xs-3">
|
190
|
+
<label class="font text-left lable">上报时间</label>
|
191
|
+
</div>
|
192
|
+
<div class="col-xs-8" >
|
193
|
+
<p>{{ row.f_operate_date }}</p>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
</div>
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
</template>
|
203
|
+
|
204
|
+
<script>
|
205
|
+
import {HttpResetClass} from 'vue-client'
|
206
|
+
|
207
|
+
export default {
|
208
|
+
title: '查询用户',
|
209
|
+
data() {
|
210
|
+
return {
|
211
|
+
model: [],
|
212
|
+
showView:0,
|
213
|
+
model2:[],
|
214
|
+
f_safecheck_code: ''
|
215
|
+
}
|
216
|
+
},
|
217
|
+
methods: {
|
218
|
+
viewDetails(row){
|
219
|
+
let pardate = {
|
220
|
+
_this:this,
|
221
|
+
title:'安检信息',
|
222
|
+
safe:false
|
223
|
+
}
|
224
|
+
this.$dispatch('gotoson',pardate)
|
225
|
+
this.$goto('view-details-examples', {item: row, role: 'view'}, 'self')
|
226
|
+
},
|
227
|
+
getmodel() {
|
228
|
+
let http = new HttpResetClass()
|
229
|
+
http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
|
230
|
+
data: {
|
231
|
+
items: "tcp.*,ui.f_user_state,uf.f_table_state,uf.f_meternumber,uf.f_gasproperties as uf_gasproperties,ts.f_price_name,tg.f_meter_brand,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
|
232
|
+
tablename: 't_check_paper tcp left join t_qr_code tqr on tcp.f_userinfo_code = tqr.f_userinfo_id ' +
|
233
|
+
'left join t_userinfo ui on ui.f_userinfo_id = tcp.f_userinfoid and ui.f_user_state != \'无效\'' +
|
234
|
+
'left join t_userfiles uf on ui.f_userinfo_id = uf.f_userinfo_id and uf.f_table_state in (\'正常\',\'停用\')' +
|
235
|
+
'left join t_stairprice ts on uf.f_price_id = ts.id ' +
|
236
|
+
'left join t_gasbrand tg on tg.id = uf.f_gasbrand_id',
|
237
|
+
condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}'`,
|
238
|
+
orderitem: 'tcp.f_offsite_time desc'
|
239
|
+
}
|
240
|
+
},{resolveMsg: null,rejectMsg: null}).then((res) => {
|
241
|
+
this.model = res.data
|
242
|
+
})
|
243
|
+
},
|
244
|
+
getmodel2() {
|
245
|
+
let http = new HttpResetClass()
|
246
|
+
http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
|
247
|
+
data: {
|
248
|
+
items: "wh.*",
|
249
|
+
tablename: 't_qr_code tqr left join t_handplan wh on wh.f_userinfo_code = tqr.f_userinfo_id',
|
250
|
+
condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}' and wh.id is not null and wh.f_operate_date >= DATEADD(MONTH, -1, GETDATE())`,
|
251
|
+
orderitem: 'wh.id desc'
|
252
|
+
}
|
253
|
+
},{resolveMsg: null,rejectMsg: null}).then((res) => {
|
254
|
+
this.model2 = res.data
|
255
|
+
})
|
256
|
+
},
|
257
|
+
},
|
258
|
+
ready() {
|
259
|
+
let url = window.location.href
|
260
|
+
if (url.includes('id')){
|
261
|
+
const urlObj = new URL(url);
|
262
|
+
this.f_safecheck_code = urlObj.searchParams.get('id')
|
263
|
+
this.getmodel()
|
264
|
+
this.getmodel2()
|
265
|
+
}else {
|
266
|
+
this.getmodel()
|
267
|
+
this.getmodel2()
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
</script>
|
272
|
+
<style scoped>
|
273
|
+
.panel-default {
|
274
|
+
}
|
275
|
+
|
276
|
+
.well {
|
277
|
+
background-color: #ffffff;
|
278
|
+
}
|
279
|
+
|
280
|
+
.bg-info {
|
281
|
+
background-color: #ffffff;
|
282
|
+
}
|
283
|
+
|
284
|
+
.form-group {
|
285
|
+
margin-top: 10px;
|
286
|
+
}
|
287
|
+
|
288
|
+
.work-badge{
|
289
|
+
background-image: url('./410.png');
|
290
|
+
background-repeat: no-repeat;
|
291
|
+
}
|
292
|
+
|
293
|
+
.lable{
|
294
|
+
color: #a8a4a4;
|
295
|
+
}
|
296
|
+
</style>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="work-badge" style="height: 100%">
|
3
|
+
<div class="badge-top" style="height: 15%">
|
4
|
+
<div class="badge-number">NO.{{ f_head_code }}</div>
|
5
|
+
</div>
|
6
|
+
<div class="badge-middle" style="height: 75%">
|
7
|
+
<img class="badge-image" :src="f_head_pic" alt="Badge Image">
|
8
|
+
<h1 class="name">{{ f_head_name }}</h1>
|
9
|
+
<div class="white-line"></div>
|
10
|
+
<span class="position">{{ f_head_post }}</span>
|
11
|
+
</div>
|
12
|
+
<div class="badge-bottom" style="height: 10%">
|
13
|
+
<div class="contact">
|
14
|
+
<img class="phone-icon" src="../../../assets/123.png" style="height: 30px;width: 30px" alt="Phone Icon">
|
15
|
+
<span style="font-size: 30px;font-style: italic;">{{ f_head_phone }}</span>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</template>
|
20
|
+
<script>
|
21
|
+
import {HttpResetClass} from "vue-client";
|
22
|
+
|
23
|
+
export default {
|
24
|
+
name: 'WorkBadge',
|
25
|
+
title:'WorkBadge',
|
26
|
+
data () {
|
27
|
+
return {
|
28
|
+
// 默认值或初始状态
|
29
|
+
f_head_pic: '',
|
30
|
+
f_head_code: '',
|
31
|
+
f_head_name: '',
|
32
|
+
f_head_post: '',
|
33
|
+
f_head_phone: ''
|
34
|
+
};
|
35
|
+
},
|
36
|
+
async ready () {
|
37
|
+
console.log(window.location.href)
|
38
|
+
let id = ''
|
39
|
+
let url = window.location.href
|
40
|
+
if (url.includes('id')){
|
41
|
+
const urlObj = new URL(url);
|
42
|
+
id = urlObj.searchParams.get('id');
|
43
|
+
let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
|
44
|
+
items: 'tqr.*,tf.f_downloadpath as url',
|
45
|
+
tablename: 't_qr_code tqr left join t_files tf on tf.f_businessid = tqr.id and f_table_name = \'t_qr_code\'',
|
46
|
+
condition: `f_head_code = '${id}'`,
|
47
|
+
orderitem: '1'
|
48
|
+
}},{resolveMsg: null,rejectMsg: null})
|
49
|
+
if (QRCode && QRCode.data && QRCode.data.length > 0){
|
50
|
+
if (QRCode.data[0].url){
|
51
|
+
this.f_head_pic = QRCode.data[0].url
|
52
|
+
}else {
|
53
|
+
this.f_head_pic = `/rs/image/file/${QRCode.data[0].f_head_pic}`
|
54
|
+
}
|
55
|
+
this.f_head_code = QRCode.data[0].f_head_code
|
56
|
+
this.f_head_name = QRCode.data[0].f_head_name
|
57
|
+
this.f_head_post = QRCode.data[0].f_head_post
|
58
|
+
this.f_head_phone = QRCode.data[0].f_head_phone
|
59
|
+
}else {
|
60
|
+
console.log('获取二维码信息失败')
|
61
|
+
console.log(QRCode)
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
};
|
66
|
+
</script>
|
67
|
+
<style scoped>
|
68
|
+
.white-line {
|
69
|
+
width: 65%;
|
70
|
+
height: 5px;
|
71
|
+
background-color: white;
|
72
|
+
margin: 10px 0 10px 17%;
|
73
|
+
}
|
74
|
+
.work-badge {
|
75
|
+
display: flex;
|
76
|
+
flex-direction: column;
|
77
|
+
background-image: url('../../../assets/f8632d3c8c4c1cb68e99da754cab1a7.png');
|
78
|
+
align-items: center;
|
79
|
+
background-color: #007BFF;
|
80
|
+
color: white;
|
81
|
+
padding: 20px;
|
82
|
+
}
|
83
|
+
|
84
|
+
.badge-top {
|
85
|
+
display: flex;
|
86
|
+
align-items: center;
|
87
|
+
justify-content: space-between;
|
88
|
+
width: 100%;
|
89
|
+
margin-bottom: 20px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.badge-image {
|
93
|
+
border: 3px solid #fcfcfc;
|
94
|
+
width: 300px;
|
95
|
+
border-radius: 15px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.badge-number {
|
99
|
+
font-size: 24px;
|
100
|
+
float: left;
|
101
|
+
text-align: left;
|
102
|
+
font-weight: bold;
|
103
|
+
}
|
104
|
+
|
105
|
+
.badge-middle {
|
106
|
+
text-align: center;
|
107
|
+
margin-bottom: 20px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.name {
|
111
|
+
font-size: 65px;
|
112
|
+
font-weight: bold;
|
113
|
+
margin-bottom: 10px;
|
114
|
+
margin-top: 50px;
|
115
|
+
}
|
116
|
+
|
117
|
+
.position {
|
118
|
+
font-size: 24px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.badge-bottom {
|
122
|
+
display: flex;
|
123
|
+
align-items: center;
|
124
|
+
justify-content: center;
|
125
|
+
}
|
126
|
+
|
127
|
+
.contact {
|
128
|
+
display: flex;
|
129
|
+
align-items: center;
|
130
|
+
}
|
131
|
+
|
132
|
+
.phone-icon {
|
133
|
+
width: 30px;
|
134
|
+
height: 30px;
|
135
|
+
margin-right: 10px;
|
136
|
+
}
|
137
|
+
</style>
|