safecheck-client 3.0.33-13 → 3.0.33-130
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/index.html +6 -2
- package/package.json +3 -3
- package/src/App.vue +31 -31
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +15 -11
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/CheckPlanCountChartArea.vue +120 -120
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android.js +9 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc.js +13 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +899 -792
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -269,15 +269,17 @@ export default {
|
|
269
269
|
"上期表读数":{"index":6,"type":"number","readonly":true,isshow:false},
|
270
270
|
"累购气量":{"index":7,"type":"number","readonly":true},
|
271
271
|
"累购金额":{"index":7,"type":"number","readonly":true},
|
272
|
-
"
|
273
|
-
"
|
274
|
-
"
|
275
|
-
"
|
272
|
+
"用户累购气量":{"index":8,"type":"number","readonly":true,isshow:false},
|
273
|
+
"已用气量":{"index":10,"type":"number","checkmust": false},//基表数
|
274
|
+
"已用金额":{"index":10,"type":"number","checkmust": false},
|
275
|
+
"系统表底数":{"index":9,"type":"number","checkmust": false,isshow:false},
|
276
|
+
"表底数":{"index":10,"type":"number","checkmust": false},
|
277
|
+
"剩余气量":{"index":11,"type":"number","checkmust": false},//累购-已用
|
276
278
|
//显示屏数 --实际剩余气量
|
277
|
-
"剩余金额":{"index":
|
278
|
-
"气量异常差值":{"index":
|
279
|
-
"金额异常差值":{"index":
|
280
|
-
"差值是否异常":{"index":
|
279
|
+
"剩余金额":{"index":11,"type":"number","checkmust": false},
|
280
|
+
"气量异常差值":{"index":12,"type":"number","readonly": true},
|
281
|
+
"金额异常差值":{"index":12,"type":"number","readonly": true},
|
282
|
+
"差值是否异常":{"index":12,"type":"selector",
|
281
283
|
"multiple": false,
|
282
284
|
"checkmust":true,
|
283
285
|
"options": [
|
@@ -293,8 +295,8 @@ export default {
|
|
293
295
|
}
|
294
296
|
]
|
295
297
|
},
|
296
|
-
"表箱号":{"index":
|
297
|
-
"燃气表照片":{"index":
|
298
|
+
"表箱号":{"index":13,"type":"string","readonly": true},
|
299
|
+
"燃气表照片":{"index":14,"type":"picture","checkmust": false},
|
298
300
|
}
|
299
301
|
// 注意,配置项的index必须与上面的固定配置保持'顺序'
|
300
302
|
},
|
@@ -2176,6 +2178,16 @@ export default {
|
|
2176
2178
|
f_path: "",
|
2177
2179
|
type: "number"
|
2178
2180
|
},
|
2181
|
+
{
|
2182
|
+
f_defect_level: null,
|
2183
|
+
f_device_id: "",
|
2184
|
+
f_is_defect: "",
|
2185
|
+
f_item_name: "用户累购气量",
|
2186
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2187
|
+
f_path: "",
|
2188
|
+
type: "number",
|
2189
|
+
isshow:false
|
2190
|
+
},
|
2179
2191
|
{
|
2180
2192
|
f_defect_level: null,
|
2181
2193
|
f_device_id: "",
|
@@ -2194,6 +2206,16 @@ export default {
|
|
2194
2206
|
f_path: "",
|
2195
2207
|
type: "number"
|
2196
2208
|
},
|
2209
|
+
{
|
2210
|
+
f_defect_level: null,
|
2211
|
+
f_device_id: "",
|
2212
|
+
f_is_defect: "",
|
2213
|
+
f_item_name: "系统表底数",
|
2214
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2215
|
+
isshow:false,
|
2216
|
+
f_path: "",
|
2217
|
+
type: "number"
|
2218
|
+
},
|
2197
2219
|
{
|
2198
2220
|
f_defect_level: null,
|
2199
2221
|
f_device_id: "",
|
@@ -2224,7 +2246,7 @@ export default {
|
|
2224
2246
|
delete this.config['燃气表']['items']['表底数']
|
2225
2247
|
delete this.config['燃气表']['items']['剩余金额']
|
2226
2248
|
delete this.config['燃气表']['items']['金额异常差值']
|
2227
|
-
delete this.config['燃气表']['items']['
|
2249
|
+
delete this.config['燃气表']['items']['气量异常差值']
|
2228
2250
|
device.f_items.push(
|
2229
2251
|
{
|
2230
2252
|
f_defect_level: null,
|
@@ -2245,12 +2267,32 @@ export default {
|
|
2245
2267
|
f_path: "",
|
2246
2268
|
type: "number"
|
2247
2269
|
},
|
2270
|
+
{
|
2271
|
+
f_defect_level: null,
|
2272
|
+
f_device_id: "",
|
2273
|
+
f_is_defect: "",
|
2274
|
+
f_item_name: "用户累购气量",
|
2275
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2276
|
+
f_path: "",
|
2277
|
+
type: "number",
|
2278
|
+
isshow:true
|
2279
|
+
},
|
2248
2280
|
{
|
2249
2281
|
f_defect_level: null,
|
2250
2282
|
f_device_id: "",
|
2251
2283
|
f_is_defect: "",
|
2252
2284
|
f_item_name: "已用气量",
|
2253
|
-
f_item_value: this.item.f_plan_meters[i].
|
2285
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2286
|
+
f_path: "",
|
2287
|
+
type: "number"
|
2288
|
+
},
|
2289
|
+
{
|
2290
|
+
f_defect_level: null,
|
2291
|
+
f_device_id: "",
|
2292
|
+
f_is_defect: "",
|
2293
|
+
f_item_name: "系统表底数",
|
2294
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2295
|
+
isshow:false,
|
2254
2296
|
f_path: "",
|
2255
2297
|
type: "number"
|
2256
2298
|
},
|
@@ -2267,10 +2309,23 @@ export default {
|
|
2267
2309
|
f_defect_level: null,
|
2268
2310
|
f_device_id: "",
|
2269
2311
|
f_is_defect: "",
|
2270
|
-
f_item_name: "
|
2312
|
+
f_item_name: "差值是否异常",
|
2313
|
+
checkmust:true,
|
2271
2314
|
f_item_value: null,
|
2272
2315
|
f_path: "",
|
2273
|
-
type: "
|
2316
|
+
type: "selector",
|
2317
|
+
options: [
|
2318
|
+
{
|
2319
|
+
"data": "是",
|
2320
|
+
"isdefect": true,
|
2321
|
+
"isdefault": false
|
2322
|
+
},
|
2323
|
+
{
|
2324
|
+
"data": "否",
|
2325
|
+
"isdefect": false,
|
2326
|
+
"isdefault": false
|
2327
|
+
}
|
2328
|
+
]
|
2274
2329
|
}
|
2275
2330
|
)
|
2276
2331
|
//tag)
|
@@ -2299,6 +2354,16 @@ export default {
|
|
2299
2354
|
f_path: "",
|
2300
2355
|
type: "number"
|
2301
2356
|
},
|
2357
|
+
{
|
2358
|
+
f_defect_level: null,
|
2359
|
+
f_device_id: "",
|
2360
|
+
f_is_defect: "",
|
2361
|
+
f_item_name: "用户累购气量",
|
2362
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2363
|
+
f_path: "",
|
2364
|
+
type: "number",
|
2365
|
+
isshow:false
|
2366
|
+
},
|
2302
2367
|
{
|
2303
2368
|
f_defect_level: null,
|
2304
2369
|
f_device_id: "",
|
@@ -2308,6 +2373,16 @@ export default {
|
|
2308
2373
|
f_path: "",
|
2309
2374
|
type: "number"
|
2310
2375
|
},
|
2376
|
+
{
|
2377
|
+
f_defect_level: null,
|
2378
|
+
f_device_id: "",
|
2379
|
+
f_is_defect: "",
|
2380
|
+
f_item_name: "系统表底数",
|
2381
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2382
|
+
isshow:true,
|
2383
|
+
f_path: "",
|
2384
|
+
type: "number"
|
2385
|
+
},
|
2311
2386
|
{
|
2312
2387
|
f_defect_level: null,
|
2313
2388
|
f_device_id: "",
|
@@ -2381,12 +2456,32 @@ export default {
|
|
2381
2456
|
f_path: "",
|
2382
2457
|
type: "number"
|
2383
2458
|
},
|
2459
|
+
{
|
2460
|
+
f_defect_level: null,
|
2461
|
+
f_device_id: "",
|
2462
|
+
f_is_defect: "",
|
2463
|
+
f_item_name: "用户累购气量",
|
2464
|
+
f_item_value: this.item.f_plan_meters[i].f_pregas,
|
2465
|
+
f_path: "",
|
2466
|
+
type: "number",
|
2467
|
+
isshow:false
|
2468
|
+
},
|
2384
2469
|
{
|
2385
2470
|
f_defect_level: null,
|
2386
2471
|
f_device_id: "",
|
2387
2472
|
f_is_defect: "",
|
2388
2473
|
f_item_name: "表底数",
|
2389
|
-
f_item_value: this.item.f_plan_meters[i].
|
2474
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2475
|
+
f_path: "",
|
2476
|
+
type: "number"
|
2477
|
+
},
|
2478
|
+
{
|
2479
|
+
f_defect_level: null,
|
2480
|
+
f_device_id: "",
|
2481
|
+
f_is_defect: "",
|
2482
|
+
f_item_name: "系统表底数",
|
2483
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2484
|
+
isshow:false,
|
2390
2485
|
f_path: "",
|
2391
2486
|
type: "number"
|
2392
2487
|
},
|
@@ -2463,7 +2558,7 @@ export default {
|
|
2463
2558
|
f_device_id: "",
|
2464
2559
|
f_is_defect: "",
|
2465
2560
|
f_item_name: "已用气量",
|
2466
|
-
f_item_value: this.item.f_plan_meters[i].
|
2561
|
+
f_item_value: this.item.f_plan_meters[i].f_metergasnums,
|
2467
2562
|
f_path: "",
|
2468
2563
|
type: "number"
|
2469
2564
|
},
|
@@ -2520,13 +2615,17 @@ export default {
|
|
2520
2615
|
let that = this
|
2521
2616
|
let value = {}
|
2522
2617
|
if (this.role == 'inspect') {
|
2523
|
-
if
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2618
|
+
if(this.item.f_no_checkplan != '无计划安检' ){
|
2619
|
+
if (this.item.f_no_checkplan == '复检') {
|
2620
|
+
value = this.$androidUtil.path({
|
2621
|
+
alias: 'getUserinfomation',
|
2622
|
+
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan in ('无计划安检','复检')"}
|
2623
|
+
})
|
2624
|
+
} else {
|
2625
|
+
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2626
|
+
}
|
2627
|
+
}else {
|
2628
|
+
value.data =[]
|
2530
2629
|
}
|
2531
2630
|
} else {
|
2532
2631
|
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
@@ -2673,7 +2772,7 @@ export default {
|
|
2673
2772
|
})
|
2674
2773
|
}
|
2675
2774
|
}else{
|
2676
|
-
if(
|
2775
|
+
if(this.parentPage && this.parentPage=='AddPlanItem'){
|
2677
2776
|
//tag
|
2678
2777
|
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2679
2778
|
if (isRecodr) {
|
@@ -214,7 +214,7 @@ export default {
|
|
214
214
|
this.criteriaShow = !this.criteriaShow
|
215
215
|
},
|
216
216
|
async selfSearch (args) {
|
217
|
-
args.condition = `${args.condition} and
|
217
|
+
args.condition = `${args.condition} and f_orgid = '${Vue.user.orgid}'`
|
218
218
|
await this.model.search(args.condition, args.model)
|
219
219
|
},
|
220
220
|
search () {
|
@@ -85,7 +85,7 @@ import Vue from 'vue'
|
|
85
85
|
|
86
86
|
export default {
|
87
87
|
title: '物联网表单户开通',
|
88
|
-
data
|
88
|
+
data() {
|
89
89
|
return {
|
90
90
|
showpictrue: false,
|
91
91
|
showd: false,
|
@@ -106,27 +106,22 @@ export default {
|
|
106
106
|
}
|
107
107
|
},
|
108
108
|
props: {},
|
109
|
-
async ready
|
109
|
+
async ready() {
|
110
110
|
await this.readyInit()
|
111
111
|
},
|
112
112
|
methods: {
|
113
|
-
readyInit
|
113
|
+
readyInit() {
|
114
114
|
this.tabname = this.data.tabname
|
115
115
|
console.log('-----------------------------------this.tabname', this.tabname)
|
116
116
|
this.model = Object.assign({}, this.model, this.data)
|
117
|
-
this.model.f_gas_person=Vue.user.name
|
117
|
+
this.model.f_gas_person = Vue.user.name
|
118
118
|
},
|
119
|
-
cameraCallBack
|
119
|
+
cameraCallBack(prop, fileName) {
|
120
120
|
HostApp.__this__.model.f_notified_path = fileName + '?' + Math.random()
|
121
121
|
HostApp.__callback__ = null
|
122
122
|
HostApp.__this__ = null
|
123
123
|
},
|
124
|
-
|
125
|
-
goback (val) {
|
126
|
-
this.$dispatch('backarrdel')
|
127
|
-
this.$back()
|
128
|
-
},
|
129
|
-
async commit () {
|
124
|
+
async commit() {
|
130
125
|
if (!this.model.f_gas_person) {
|
131
126
|
this.$showMessage(`请填写通气人`, ['confirm', 'cancel'])
|
132
127
|
return
|
@@ -134,46 +129,39 @@ export default {
|
|
134
129
|
let param = {
|
135
130
|
f_user_id: this.model.f_user_id,
|
136
131
|
f_userinfo_id: this.model.f_userinfo_id,
|
137
|
-
f_meternumber: this.model.f_meternumber,
|
138
|
-
version: this.model.version,
|
139
|
-
f_table_state: '正常',
|
140
132
|
f_open_date: Util.toStandardTimeString(),
|
141
133
|
f_open_person: Vue.user.name,
|
142
134
|
f_comments: this.model.f_comments,
|
143
|
-
f_gas_person: this.model.f_gas_person,
|
144
|
-
f_operat_type: '开通',
|
145
|
-
f_describe: `${Vue.user.name}对用户${this.model.f_user_name}进行开通操作`,
|
146
135
|
f_state: '有效',
|
147
136
|
f_operator: Vue.user.name,
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
f_open_date: Util.toStandardTimeString()
|
160
|
-
}
|
137
|
+
f_operatorid: Vue.user.id,
|
138
|
+
f_orgname: Vue.user.orgs,
|
139
|
+
f_orgid: Vue.user.orgid,
|
140
|
+
f_depid: Vue.user.orgid,
|
141
|
+
f_depname: Vue.user.orgs,
|
142
|
+
f_meternumber: this.model.f_meternumber,
|
143
|
+
version: this.model.version,
|
144
|
+
f_table_state: '正常',
|
145
|
+
f_gas_date: Util.toStandardTimeString(),
|
146
|
+
f_gas_person: this.model.f_gas_person,
|
147
|
+
f_userfiles_id: this.model.f_userfiles_id
|
161
148
|
}
|
162
149
|
this.$showMessage(`开通前请确认表号和表类型!!!`, ['confirm', 'cancel']).then((res) => {
|
163
150
|
if (res === 'confirm') {
|
164
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/
|
165
|
-
|
166
|
-
|
167
|
-
}
|
168
|
-
|
151
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/updateUserfiles`, param).then((res) => {
|
152
|
+
if (res.data == 200) {
|
153
|
+
this.$showMessage('开通成功')
|
154
|
+
} else {
|
155
|
+
this.$showMessage('网络异常,请稍后再试')
|
156
|
+
}
|
157
|
+
})
|
169
158
|
}
|
170
159
|
})
|
171
|
-
|
172
160
|
},
|
173
161
|
|
174
162
|
},
|
175
163
|
watch: {
|
176
|
-
'data'
|
164
|
+
'data'() {
|
177
165
|
}
|
178
166
|
}
|
179
167
|
}
|