safecheck-client 3.0.30-7 → 3.0.30-70
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/examples/SafePlan-liaoyuan/App.vue +3 -1
- package/package.json +4 -3
- package/src/components/Util.js +15 -0
- package/src/components/android/AddPlanItem.vue +5 -2
- package/src/components/android/AreaPlan.vue +571 -571
- package/src/components/android/CurrentCreate.vue +3 -2
- package/src/components/android/CurrentCreate_new.vue +563 -559
- package/src/components/android/PhoneotherInfo.vue +132 -132
- package/src/components/android/SafecheckOrderV.vue +2 -2
- package/src/components/android/UploadPage.vue +13 -123
- package/src/components/paper/PlanChooser.vue +8 -6
- package/src/components/pc/Edit.vue +126 -0
- package/src/components/pc/LodopFuncs.js +159 -0
- package/src/components/pc/NewCheckpaper.vue +9 -5
- package/src/components/pc/PaperEdit.vue +151 -0
- package/src/components/pc/PrintData.vue +243 -0
- package/src/components/pc/PrintTable.vue +241 -0
- package/src/components/pc/SelectCheckPlanAndNoPLan.vue +281 -278
- package/src/components/querycheckpaper/CheckSearchUser.vue +1067 -1067
- package/src/components/report/NoCheckplanSafecheck.vue +0 -2
- package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2850 -2850
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +806 -806
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
- package/src/filiale/fugou/android.js +10 -0
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1294
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android.js +16 -16
- package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
- package/src/filiale/hanzhong/pc.js +4 -1
- package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
- package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
- package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
- package/src/filiale/jingyang/pc/PaperList.vue +1 -2
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
- package/src/filiale/kelai/android.js +1 -0
- package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
- package/src/filiale/tianke/pc/checkScreen.vue +781 -781
- package/src/filiale/tianke/pc/cq.jpg +0 -0
- package/src/filiale/tianke/pc/qy.jpg +0 -0
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1095 -1090
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
- package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
- package/src/filiale/wensu/android.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
- package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
- package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
- package/src/filiale/wensu/pc/checkUserList.vue +50 -0
- package/src/filiale/wensu/pc.js +2 -1
- package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
- package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
- package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
- package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
- package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
- package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
- package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
- package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
- package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
- package/src/filiale/yongzhou/pc.js +17 -12
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
- package/src/main.js +33 -33
- package/src/safecheck-android.js +290 -290
- package/src/safecheck.js +12 -0
@@ -1,132 +1,132 @@
|
|
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_brand_spec}}
|
11
|
-
</div>
|
12
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
13
|
-
品名规格: {{row.f_typename}}
|
14
|
-
</div>
|
15
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
16
|
-
单价: {{row.f_collection}}
|
17
|
-
</div>
|
18
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
19
|
-
数量: {{row.f_number}}
|
20
|
-
</div>
|
21
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
22
|
-
收款: {{row.f_money}}
|
23
|
-
</div>
|
24
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
25
|
-
付款方式: {{row.f_payment}}
|
26
|
-
</div>
|
27
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
28
|
-
状态: {{row.f_state}}
|
29
|
-
</div>
|
30
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
31
|
-
收费日期: {{row.f_operate_date}}
|
32
|
-
</div>
|
33
|
-
<div class="col-xs-6 col-sm-6 col-md-6">
|
34
|
-
服务人员: {{row.f_operator}}
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
</div>
|
41
|
-
<p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
|
42
|
-
<p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
|
43
|
-
</div>
|
44
|
-
</div>
|
45
|
-
</template>
|
46
|
-
|
47
|
-
<script>
|
48
|
-
import { PagedList } from 'vue-client'
|
49
|
-
import co from 'co'
|
50
|
-
import Vue from 'vue'
|
51
|
-
export default {
|
52
|
-
title: '查询其他收费记录',
|
53
|
-
data () {
|
54
|
-
return {
|
55
|
-
model: [],
|
56
|
-
show: false,
|
57
|
-
row: Object,
|
58
|
-
noExp: false,
|
59
|
-
expMsg: '查询中......'
|
60
|
-
}
|
61
|
-
},
|
62
|
-
props: {
|
63
|
-
user: {
|
64
|
-
type: Object
|
65
|
-
},
|
66
|
-
f_userinfo_id:''
|
67
|
-
},
|
68
|
-
methods: {
|
69
|
-
getmodel () {
|
70
|
-
let userinfoid
|
71
|
-
if(this.f_userinfo_id){
|
72
|
-
userinfoid = this.f_userinfo_id
|
73
|
-
}else{
|
74
|
-
userinfoid = this.user.f_userinfoid
|
75
|
-
console.log(this.user.f_userinfo_id)
|
76
|
-
}
|
77
|
-
console.log(userinfoid)
|
78
|
-
this.noExp = false
|
79
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/otherChargeQuery`, {data: {
|
80
|
-
condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
|
81
|
-
orderitem: "f_operate_date desc"
|
82
|
-
}
|
83
|
-
}).then((row) => {
|
84
|
-
this.model = row.data
|
85
|
-
this.noExp = true
|
86
|
-
})
|
87
|
-
},
|
88
|
-
back(){
|
89
|
-
|
90
|
-
}
|
91
|
-
},
|
92
|
-
watch: {
|
93
|
-
'user' (val) {
|
94
|
-
if(this.user){
|
95
|
-
if (!(this.user.isNuN)) {
|
96
|
-
this.model= []
|
97
|
-
this.getmodel()
|
98
|
-
}
|
99
|
-
}
|
100
|
-
},
|
101
|
-
'f_userinfo_id'(){
|
102
|
-
if(this.f_userinfo_id){
|
103
|
-
this.model= []
|
104
|
-
this.getmodel()
|
105
|
-
}
|
106
|
-
}
|
107
|
-
},
|
108
|
-
ready () {
|
109
|
-
if (this.user && this.user.f_userinfo_id) {
|
110
|
-
this.getmodel()
|
111
|
-
}
|
112
|
-
if(this.f_userinfo_id){
|
113
|
-
this.getmodel()
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|
117
|
-
</script>
|
118
|
-
<style>
|
119
|
-
.app-botton {
|
120
|
-
position:fixed;
|
121
|
-
background: #87b2dd;
|
122
|
-
color: #FFF;
|
123
|
-
padding: 8px;
|
124
|
-
text-align: center;
|
125
|
-
font-size: 1.2em;
|
126
|
-
z-index: 10;
|
127
|
-
opacity:0.5;
|
128
|
-
bottom: 50px;
|
129
|
-
margin-top: -10px;
|
130
|
-
height: 40px;
|
131
|
-
}
|
132
|
-
</style>
|
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_brand_spec}}
|
11
|
+
</div>
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
13
|
+
品名规格: {{row.f_typename}}
|
14
|
+
</div>
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
16
|
+
单价: {{row.f_collection}}
|
17
|
+
</div>
|
18
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
19
|
+
数量: {{row.f_number}}
|
20
|
+
</div>
|
21
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
22
|
+
收款: {{row.f_money}}
|
23
|
+
</div>
|
24
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
25
|
+
付款方式: {{row.f_payment}}
|
26
|
+
</div>
|
27
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
28
|
+
状态: {{row.f_state}}
|
29
|
+
</div>
|
30
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
31
|
+
收费日期: {{row.f_operate_date}}
|
32
|
+
</div>
|
33
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
34
|
+
服务人员: {{row.f_operator}}
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
|
42
|
+
<p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</template>
|
46
|
+
|
47
|
+
<script>
|
48
|
+
import { PagedList } from 'vue-client'
|
49
|
+
import co from 'co'
|
50
|
+
import Vue from 'vue'
|
51
|
+
export default {
|
52
|
+
title: '查询其他收费记录',
|
53
|
+
data () {
|
54
|
+
return {
|
55
|
+
model: [],
|
56
|
+
show: false,
|
57
|
+
row: Object,
|
58
|
+
noExp: false,
|
59
|
+
expMsg: '查询中......'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
props: {
|
63
|
+
user: {
|
64
|
+
type: Object
|
65
|
+
},
|
66
|
+
f_userinfo_id:''
|
67
|
+
},
|
68
|
+
methods: {
|
69
|
+
getmodel () {
|
70
|
+
let userinfoid
|
71
|
+
if(this.f_userinfo_id){
|
72
|
+
userinfoid = this.f_userinfo_id
|
73
|
+
}else{
|
74
|
+
userinfoid = this.user.f_userinfoid
|
75
|
+
console.log(this.user.f_userinfo_id)
|
76
|
+
}
|
77
|
+
console.log(userinfoid)
|
78
|
+
this.noExp = false
|
79
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-revenue/sql/otherChargeQuery`, {data: {
|
80
|
+
condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
|
81
|
+
orderitem: "f_operate_date desc"
|
82
|
+
}
|
83
|
+
}).then((row) => {
|
84
|
+
this.model = row.data
|
85
|
+
this.noExp = true
|
86
|
+
})
|
87
|
+
},
|
88
|
+
back(){
|
89
|
+
|
90
|
+
}
|
91
|
+
},
|
92
|
+
watch: {
|
93
|
+
'user' (val) {
|
94
|
+
if(this.user){
|
95
|
+
if (!(this.user.isNuN)) {
|
96
|
+
this.model= []
|
97
|
+
this.getmodel()
|
98
|
+
}
|
99
|
+
}
|
100
|
+
},
|
101
|
+
'f_userinfo_id'(){
|
102
|
+
if(this.f_userinfo_id){
|
103
|
+
this.model= []
|
104
|
+
this.getmodel()
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
ready () {
|
109
|
+
if (this.user && this.user.f_userinfo_id) {
|
110
|
+
this.getmodel()
|
111
|
+
}
|
112
|
+
if(this.f_userinfo_id){
|
113
|
+
this.getmodel()
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
</script>
|
118
|
+
<style>
|
119
|
+
.app-botton {
|
120
|
+
position:fixed;
|
121
|
+
background: #87b2dd;
|
122
|
+
color: #FFF;
|
123
|
+
padding: 8px;
|
124
|
+
text-align: center;
|
125
|
+
font-size: 1.2em;
|
126
|
+
z-index: 10;
|
127
|
+
opacity:0.5;
|
128
|
+
bottom: 50px;
|
129
|
+
margin-top: -10px;
|
130
|
+
height: 40px;
|
131
|
+
}
|
132
|
+
</style>
|
@@ -691,8 +691,8 @@
|
|
691
691
|
}
|
692
692
|
// if(Util.required(this.data.f_residential_area))
|
693
693
|
// return prefix + '小区名称必须输入'
|
694
|
-
if(Util.required(this.data.f_address))
|
695
|
-
|
694
|
+
// if(Util.required(this.data.f_address))
|
695
|
+
// return prefix + '地址必须输入'
|
696
696
|
},
|
697
697
|
verifyDevices() {
|
698
698
|
for (let dev in this.config) {
|
@@ -1,32 +1,4 @@
|
|
1
1
|
<template>
|
2
|
-
<!--<div class="app-bg auto">-->
|
3
|
-
<!--<!–<tools-page :need-back='true' title="安检计划" @back="back()"></tools-page>–>-->
|
4
|
-
<!--<div class="row app-input">-->
|
5
|
-
<!--<label class="col-xs-12 control-label text-left">{{context}}</label>-->
|
6
|
-
<!--</div>-->
|
7
|
-
<!--<div class="row app-btn" style="margin-bottom: -5px;">-->
|
8
|
-
<!--<!– <button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button> –>-->
|
9
|
-
|
10
|
-
<!--</div>-->
|
11
|
-
<!--</div>-->
|
12
|
-
|
13
|
-
<!--<div v-for='row in resultdata' class="app-list auto" @click = "inputMeter(row)">-->
|
14
|
-
<!--<div class="row" style="color: #00B9F1;">-->
|
15
|
-
<!--<span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>-->
|
16
|
-
<!--<span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>-->
|
17
|
-
<!--</div>-->
|
18
|
-
<!--<div class="row">-->
|
19
|
-
<!--<span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meternumber}}</span>-->
|
20
|
-
<!--<span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_usertype}}</span>-->
|
21
|
-
<!--</div>-->
|
22
|
-
<!--<div class="row">-->
|
23
|
-
<!--<span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>-->
|
24
|
-
<!--</div>-->
|
25
|
-
<!--<back-page :need-back='true' @flag="$back()"></back-page>-->
|
26
|
-
<!--</div>-->
|
27
|
-
<!--</div>-->
|
28
|
-
|
29
|
-
|
30
2
|
<div class="auto">
|
31
3
|
<div class="row text-center" style="margin-top: 20px;">
|
32
4
|
<button class="btn btn-primary" style="width: 15%; border-radius: 5px ;" @click= "upload()">上传</button>
|
@@ -49,17 +21,12 @@
|
|
49
21
|
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
|
50
22
|
</p>
|
51
23
|
</div>
|
52
|
-
<!-- <div class="col-xs-6">-->
|
53
|
-
<!-- <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>-->
|
54
|
-
<!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>-->
|
55
|
-
<!-- </div>-->
|
56
24
|
<div class="col-xs-12">
|
57
25
|
<p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
|
58
26
|
<p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
|
59
27
|
<img src="../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img>
|
60
28
|
</p>
|
61
29
|
</div>
|
62
|
-
|
63
30
|
<div class="col-xs-12">
|
64
31
|
<p class="panel-title text-left font" style="width: 23%;float: left"><b>用户地址:</b></p>
|
65
32
|
<p class="panel-title text-left input-font" style="width: 77%">{{ row.f_address }}</p>
|
@@ -76,11 +43,6 @@
|
|
76
43
|
<p class="panel-title col-xs-4 text-left font">有无安检计划</p>
|
77
44
|
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_no_checkplan }}</p>
|
78
45
|
</div>
|
79
|
-
<!--<div class="row text-right" v-show="row.f_upload_state != '已传'" >-->
|
80
|
-
<!--<button type="button" class="btn btn-primary yybtn-color" v-on:click.stop.prevent='$parent.$parent.$parent.reserve($index)'>预约</button> -->
|
81
|
-
<!--<button type="button" class="btn btn-primary qxbtn-color" v-if ='row.f_prearranged_date'-->
|
82
|
-
<!--v-on:click.stop.prevent='$parent.$parent.$parent.cancelReserve($index, row.id)'>取消预约</button>-->
|
83
|
-
<!--</div>-->
|
84
46
|
</div>
|
85
47
|
</div>
|
86
48
|
</div>
|
@@ -88,29 +50,25 @@
|
|
88
50
|
<div v-if="model.length == 0">
|
89
51
|
暂无数据
|
90
52
|
</div>
|
91
|
-
|
53
|
+
<work-busy :is-busy="isSend"></work-busy>
|
92
54
|
</div>
|
93
55
|
</template>
|
94
56
|
|
95
57
|
<script>
|
96
|
-
import
|
97
|
-
import Vue from 'vue'
|
98
|
-
import LocalPathList from './LocalPathList'
|
99
|
-
import { PagedList } from 'vue-client'
|
58
|
+
import $ from "jquery";
|
100
59
|
|
101
60
|
export default {
|
102
61
|
title:'抄表用户信息',
|
103
62
|
data () {
|
104
63
|
return {
|
105
64
|
model:[],
|
65
|
+
isSend:false,
|
106
66
|
context: '',
|
107
67
|
enableButton:false,
|
108
68
|
// 测试用数组
|
109
69
|
result: [{"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}
|
110
|
-
// {"f_check_item_id":"1d93ee9383c2409f8b16b96c3abdb567","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}
|
111
70
|
]
|
112
71
|
// 获取用户信息数组
|
113
|
-
// resultdata:[{"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}]
|
114
72
|
}
|
115
73
|
},
|
116
74
|
methods: {
|
@@ -121,7 +79,6 @@ export default {
|
|
121
79
|
this.enableButton=true
|
122
80
|
if (row.f_upload_state == '未传' || (row.f_upload_state == '已传' && row.f_state == '未检')) {
|
123
81
|
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`, {data: {f_userid: row.f_userinfoid}},{resolveMsg: null,rejectMsg: null}).then((response) => {
|
124
|
-
//tag)
|
125
82
|
row['f_plan_meters'] = response.data
|
126
83
|
let pardate = {
|
127
84
|
_this:this,
|
@@ -131,15 +88,8 @@ export default {
|
|
131
88
|
this.$dispatch('gotoson',pardate)
|
132
89
|
this.enableButton=false
|
133
90
|
this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',buttonState:false}, 'self', this.refresh)
|
134
|
-
/*if (row.f_user_type == '民用') {
|
135
|
-
this.$goto('paper-set', {f_plan_id: row.f_plan_id, item: row, role: 'inspect'}, 'self', this.refresh)
|
136
|
-
} else {
|
137
|
-
this.$goto('paper-set-noncivil', {f_plan_id: row.f_plan_id, item: row, role: 'inspect'}, 'self', this.refresh)
|
138
|
-
}*/
|
139
91
|
}).catch((msg)=>{
|
140
|
-
//this.$showMessage("网络故障,请稍候再试!")
|
141
92
|
this.enableButton=false
|
142
|
-
//网络异常调用本地数据
|
143
93
|
let criteria = {
|
144
94
|
items: '*',
|
145
95
|
tablename: 't_plan_item_meter',
|
@@ -147,9 +97,7 @@ export default {
|
|
147
97
|
groupitem: 'f_plan_item_id'
|
148
98
|
}
|
149
99
|
let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
|
150
|
-
//tag)
|
151
100
|
if(result.code == 200){
|
152
|
-
//tag)
|
153
101
|
row['f_plan_meters'] = result.data.rows
|
154
102
|
let pardate = {
|
155
103
|
_this:this,
|
@@ -166,121 +114,63 @@ export default {
|
|
166
114
|
this.enableButton=false
|
167
115
|
}
|
168
116
|
},
|
169
|
-
// 上传所有未成功上传的数据
|
170
117
|
async uploadAll() {
|
171
|
-
//tag
|
172
|
-
//tag
|
173
|
-
// if(this.model.rows.length <= 0){
|
174
|
-
// this.model.rows = this.result
|
175
|
-
// }
|
176
|
-
//安卓
|
177
118
|
if(this.model.length>0){
|
178
|
-
|
179
|
-
|
180
119
|
let param = {
|
181
120
|
rows:this.model
|
182
121
|
}
|
183
122
|
let paramStr = JSON.stringify(param)
|
184
|
-
// 多长截断一次
|
185
123
|
let subLength = 800
|
186
124
|
for (let i = 0; i < paramStr.length; i += subLength) {
|
187
125
|
HostApp.param_cache(paramStr.substr(i, subLength))
|
188
126
|
}
|
189
127
|
HostApp.__this__ = this
|
190
128
|
HostApp.syncLogic({
|
191
|
-
// logic别名,key必须为logic
|
192
129
|
'logic': 'UploadAll',
|
193
|
-
// 回调执行方法名,key必须为callback
|
194
130
|
'callback': 'javascript:HostApp.__this__.uploadCallBack()',
|
195
|
-
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
196
|
-
// 执行回调方法传入key为backresult
|
197
|
-
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
198
131
|
'backresult': 1
|
199
132
|
})
|
200
|
-
// if(this.resultdata.length>0){
|
201
|
-
// let ret = this.$androidUtil.bzLogic('UploadAll', {data: this.resultdata})
|
202
|
-
// let ret = this.$androidUtil.bzLogic('UploadAll', {rows:this.model})
|
203
|
-
// HostApp.__this__ = this
|
204
|
-
// HostApp.logicWithHint({
|
205
|
-
// // logic别名,key必须为logic
|
206
|
-
// 'logic': 'UploadAll',
|
207
|
-
// // 回调执行方法名,key必须为callback
|
208
|
-
// 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
|
209
|
-
// // logic执行需要的业务参数
|
210
|
-
// 'data': {rows:this.model},
|
211
|
-
// // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
212
|
-
// // 执行回调方法传入key为backresult
|
213
|
-
// // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
214
|
-
// 'backresult': 1
|
215
|
-
// })
|
216
133
|
}else{
|
217
134
|
this.$showMessage('暂无可上传数据')
|
135
|
+
this.isSend = false
|
218
136
|
return false
|
219
137
|
}
|
220
138
|
},
|
221
139
|
upload(){
|
140
|
+
this.saveNoclick()
|
141
|
+
this.isSend = true
|
222
142
|
this.uploadAll().then((res)=>{
|
223
|
-
//tag)
|
224
143
|
this.refresh()
|
225
144
|
})
|
226
|
-
|
145
|
+
},
|
146
|
+
saveNoclick() {
|
147
|
+
$("#savebut").addClass("noclickbut");
|
148
|
+
setTimeout(function(){
|
149
|
+
$("#savebut").removeClass("noclickbut");
|
150
|
+
},5000);
|
227
151
|
},
|
228
152
|
uploadCallBack(jo){
|
229
|
-
|
230
|
-
//tag)
|
153
|
+
this.isSend = false
|
231
154
|
if(jo.state == 'ok'){
|
232
155
|
let ret = JSON.parse(jo.result)
|
233
|
-
//tag)
|
234
156
|
if(ret.state == 0){
|
235
157
|
HostApp.alert(`${ret.successcount}条安检单上传成功,${ret.invalidcount}条安检单已作废,${ret.nocheckcount}条安检单由于网络异常上传失败!,${ret.nocheckcount}条安检单由于pc端计划被调整上传失败!,${ret.imgcount}条安检单由于图片上传失败!`)
|
236
158
|
this.refresh()
|
237
159
|
return true
|
238
160
|
}
|
239
161
|
}
|
240
|
-
|
241
162
|
},
|
242
|
-
// 查询所有未上传斌保存在手机上的数据
|
243
|
-
// download() {
|
244
|
-
// //tag
|
245
|
-
// let res = this.$androidUtil.bzLogic('getCheckPlanInfo',{condition:this.condition})
|
246
|
-
// //tag
|
247
|
-
// //tag
|
248
|
-
//
|
249
|
-
// if (res.data && res.data.code === 200) {
|
250
|
-
// //tag
|
251
|
-
// if (res.data.data.length > 0) {
|
252
|
-
// this.context = `有${res.data.data.length}条数据未上传,请点击上传按钮,自动上传`
|
253
|
-
// this.resultdata = [...res.data.data]
|
254
|
-
// } else {
|
255
|
-
// // this.resultdata = []
|
256
|
-
// this.context = '没有未上传数据'
|
257
|
-
// }
|
258
|
-
// }
|
259
|
-
// },
|
260
163
|
refresh() {
|
261
|
-
//tag
|
262
|
-
// hard code relationship
|
263
|
-
//安卓
|
264
164
|
let value = this.$androidUtil.path({alias: 'getCheckPlan', data:{}})
|
265
165
|
if(value.data.length > 0){
|
266
166
|
this.model = value.data
|
267
167
|
}else{
|
268
168
|
this.model = []
|
269
169
|
}
|
270
|
-
// //PC模拟安卓
|
271
|
-
// this.$androidUtil.path({alias: 'getCheckPlan', data:{}}).then((value)=>{
|
272
|
-
// //tag
|
273
|
-
// if(value.data.length > 0){
|
274
|
-
// this.model = value.data
|
275
|
-
// }
|
276
|
-
// })
|
277
|
-
|
278
170
|
},
|
279
171
|
},
|
280
172
|
|
281
173
|
ready () {
|
282
|
-
//组件初始化时获取本地未上传用户信息
|
283
|
-
// this.download()
|
284
174
|
this.refresh()
|
285
175
|
}
|
286
176
|
}
|
@@ -76,16 +76,18 @@
|
|
76
76
|
import co from 'co'
|
77
77
|
import { HttpResetClass } from 'vue-client'
|
78
78
|
|
79
|
-
let
|
79
|
+
let selectnew = function * (self) {
|
80
80
|
let http = new HttpResetClass()
|
81
81
|
http.load('POST', '/rs/search', {
|
82
|
-
|
83
|
-
|
82
|
+
source: `root.getResourceById($${self.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
83
|
+
userid: self.$login.f.id
|
84
84
|
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
85
85
|
self.checkers = []
|
86
|
+
let arr = []
|
86
87
|
//tag
|
87
88
|
res.data.forEach((resRow) => {
|
88
|
-
if(resRow.
|
89
|
+
if(!arr.includes(resRow.name) && resRow.state == '在职'){
|
90
|
+
arr.push(resRow.name)
|
89
91
|
self.checkers.push({label:resRow.name,value:resRow.id})
|
90
92
|
}
|
91
93
|
})
|
@@ -109,7 +111,7 @@
|
|
109
111
|
{f_subcompany:'this.f_subcompany',f_plan_name:'this.f_plan_name',f_checker_id: 'this.f_checker_id', f_plan_year: 'this.f_plan_year', f_plan_month: 'this.f_plan_month', f_is_share: 'this.f_is_share',f_filialeid:'this.f_filialeid'})
|
110
112
|
model.f_checker_id = ''
|
111
113
|
model.f_plan_name=''
|
112
|
-
model.f_filialeid = this.f.orgid
|
114
|
+
model.f_filialeid = this.$login.f.orgid
|
113
115
|
return {
|
114
116
|
checker:'',
|
115
117
|
checkers:[],
|
@@ -130,7 +132,7 @@
|
|
130
132
|
//tag
|
131
133
|
//tag
|
132
134
|
this.model.f_plan_name=''
|
133
|
-
let gen =
|
135
|
+
let gen = selectnew(this)
|
134
136
|
return co(gen)
|
135
137
|
},
|
136
138
|
watch: {
|