safecheck-client 4.0.1-56 → 4.0.1-58
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "4.0.1-
|
4
|
+
"version": "4.0.1-58",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<!--安检综合查询主界面-->
|
3
|
-
<div id="unit" class="flex-row" :class="{'binary':showItem}">
|
3
|
+
<div id="unit" class="flex-row" :class="{'binary':showItem}" v-show="showinfo1">
|
4
4
|
<div :class="{'basic-main':!showItem,'binary-left':showItem}">
|
5
5
|
<!--展示查询界面-->
|
6
6
|
<check-search-user class="flex" :tempval="hidden" :style="style" :style2="style2" @select-changed="selected"
|
@@ -2350,22 +2350,16 @@ export default {
|
|
2350
2350
|
HostApp.__this__ = this
|
2351
2351
|
let that = this
|
2352
2352
|
let value = {}
|
2353
|
-
//tag
|
2354
2353
|
if (this.role == 'inspect') {
|
2355
|
-
|
2354
|
+
let condition=` f_check_item_id ='${this.item.id}'`
|
2356
2355
|
if (this.item.f_no_checkplan == '无计划安检') {
|
2357
|
-
|
2358
|
-
alias: 'getUserinfomation',
|
2359
|
-
data: {condition: "f_check_item_id = '" + this.item.id + "' and f_no_checkplan = '无计划安检'"}
|
2360
|
-
})
|
2361
|
-
} else {
|
2362
|
-
value = this.$androidUtil.bzLogic('FetchCheckPaper', {id: this.item.id})
|
2356
|
+
condition += ` and f_no_checkplan = '无计划安检'`
|
2363
2357
|
}
|
2358
|
+
value = this.$androidUtil.bzLogic('path_getPhoneCheckPaper', {condition: condition})
|
2364
2359
|
} else {
|
2365
2360
|
value = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/path/getUserinfomation`, {data: {condition: `id = '${this.item.f_paper_id}'`}})
|
2366
2361
|
}
|
2367
2362
|
Util.replaceFalse(value)
|
2368
|
-
//tag)
|
2369
2363
|
if (value.data.length != 0) {
|
2370
2364
|
that.$set('data', value.data[0])
|
2371
2365
|
//tag)
|
@@ -2379,14 +2373,10 @@ export default {
|
|
2379
2373
|
that.$set('data.device' + that.devices[da].n, [])
|
2380
2374
|
}
|
2381
2375
|
value.data[0].f_devices.forEach((item) => {
|
2382
|
-
//tag)
|
2383
2376
|
for (let i in item.f_items) {
|
2384
2377
|
if(typeof item.f_items[i]=='function'){
|
2385
2378
|
continue
|
2386
2379
|
}
|
2387
|
-
// if (item.f_items[i].f_path != '' && item.f_items[i].f_path != null) {
|
2388
|
-
// this.picture.push({f_path: item.f_items[i].f_path, name: item.f_items[i].f_item_name})
|
2389
|
-
// }
|
2390
2380
|
for (let de in that.config[item.f_device_type].items) {
|
2391
2381
|
if(typeof that.config[item.f_device_type].items[de]=='function'){
|
2392
2382
|
continue
|
@@ -2399,36 +2389,16 @@ export default {
|
|
2399
2389
|
}
|
2400
2390
|
}
|
2401
2391
|
}
|
2402
|
-
//tag)
|
2403
|
-
|
2404
|
-
// if (item.f_items[i].f_item_name=='累购气量'){
|
2405
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_total_gas
|
2406
|
-
// }else if (item.f_items[i].f_item_name=='累购金额'){
|
2407
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_total_fee
|
2408
|
-
// }else if (item.f_items[i].f_item_name=='基表编号'){
|
2409
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_meter_no
|
2410
|
-
// }else if (item.f_items[i].f_item_name=='气表品牌'){
|
2411
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_aliasname
|
2412
|
-
// }else if (item.f_items[i].f_item_name=='进气方向'){
|
2413
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_flow_direction
|
2414
|
-
// }else if (item.f_items[i].f_item_name=='气表型号'){
|
2415
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_diaphgram_size
|
2416
|
-
// }else if (item.f_items[i].f_item_name=='表箱号'){
|
2417
|
-
// item.f_items[i].f_item_value=this.item.f_plan_meters[0].f_metertitles
|
2418
|
-
// }
|
2419
|
-
// else{
|
2420
2392
|
for (let j in item.f_items[i].f_item_lists) {
|
2421
2393
|
if(typeof item.f_items[i].f_item_lists[j]=='function'){
|
2422
2394
|
continue
|
2423
2395
|
}
|
2424
|
-
//tag)
|
2425
2396
|
if (item.f_items[i].f_item_value instanceof Array) {
|
2426
2397
|
item.f_items[i].f_item_value.push(item.f_items[i].f_item_lists[j].f_item_value)
|
2427
2398
|
} else {
|
2428
2399
|
item.f_items[i].f_item_value = item.f_items[i].f_item_lists[j].f_item_value
|
2429
2400
|
}
|
2430
2401
|
}
|
2431
|
-
// }
|
2432
2402
|
|
2433
2403
|
}
|
2434
2404
|
for (let de in that.devices) {
|
@@ -2452,11 +2422,9 @@ export default {
|
|
2452
2422
|
//tag)
|
2453
2423
|
}
|
2454
2424
|
} else {
|
2455
|
-
//tag
|
2456
2425
|
this.init()
|
2457
2426
|
}
|
2458
2427
|
if(this.parentPage && this.parentPage=='CurrentCreate'){
|
2459
|
-
//tag
|
2460
2428
|
let isRecodr = this.$appdata.getSingleValue('无限制录音'); //单值参数,为true则是开启全程录音
|
2461
2429
|
if (isRecodr) {
|
2462
2430
|
if (isRecodr=='true') {
|
@@ -2505,7 +2473,6 @@ export default {
|
|
2505
2473
|
}else{
|
2506
2474
|
Util.androidRatifyPics(that.data,this.$androidUtil.getProxyUrl())
|
2507
2475
|
}
|
2508
|
-
//tag
|
2509
2476
|
} else {
|
2510
2477
|
alert("该安检单可能已不在本地!")
|
2511
2478
|
this.init()
|