safecheck-client 3.0.34-4 → 3.0.34-43
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/docs/FormPrint.md +18 -18
- package/docs/GridTree.md +47 -47
- package/docs/PrintFile.md +38 -38
- package/docs/tree.md +40 -40
- 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/android/AddGas.vue +147 -147
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AreaPlan.vue +566 -572
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/PaperFeedback.vue +1 -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 +1 -1
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +2809 -2809
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +126 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/baiyin/pc.js +21 -21
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
- 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 +4 -4
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- 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/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- 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/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- 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 +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +57 -59
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
- 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 +34 -113
- package/src/filiale/weinan/pc.js +47 -46
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1200
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -480
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -481
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
- 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/safecheck-android.js +4 -0
@@ -1,84 +1,84 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<form>
|
4
|
-
<div class="form-group">
|
5
|
-
<label for="c_plan_year">年份:</label>
|
6
|
-
<v-select id="c_plan_year" :value.sync="c_plan_year"
|
7
|
-
:options='c_year_list' close-on-select clear-button></v-select>
|
8
|
-
<label for="c_plan_month">月份:</label>
|
9
|
-
<v-select id="c_plan_month" :value.sync="c_plan_month"
|
10
|
-
:options='c_month_list' close-on-select clear-button></v-select>
|
11
|
-
<button type="button" class="btn btn-default" @click="search">刷新</button>
|
12
|
-
</div>
|
13
|
-
</form>
|
14
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
15
|
-
<template partial='head'>
|
16
|
-
<tr>
|
17
|
-
<th>安检员</th>
|
18
|
-
<th>任务</th>
|
19
|
-
<th>已完成</th>
|
20
|
-
</tr>
|
21
|
-
</template>
|
22
|
-
<template partial='body'>
|
23
|
-
<td>{{row.f_checker}}</td>
|
24
|
-
<td>{{row.task}}</td>
|
25
|
-
<td>{{row.accomplished}}</td>
|
26
|
-
</template>
|
27
|
-
</data-grid>
|
28
|
-
<div style="height:50px;"></div>
|
29
|
-
</div>
|
30
|
-
</template>
|
31
|
-
|
32
|
-
<script>
|
33
|
-
import co from 'co'
|
34
|
-
import Vue from 'vue'
|
35
|
-
|
36
|
-
let aggCheckerTask = function * (self) {
|
37
|
-
let result = yield self.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/统计安检员月任务?pageNo=1&pageSize=9999` , {
|
38
|
-
data: {
|
39
|
-
id: Vue.user.id,
|
40
|
-
org_id: Vue.user.parentid,
|
41
|
-
f_plan_year: self.c_plan_year[0],
|
42
|
-
f_plan_month: self.c_plan_month[0],
|
43
|
-
f_subcompany: Vue.user.f_subcompany,
|
44
|
-
f_ym: self.c_plan_year[0] + '-' + (self.c_plan_month[0].length > 1 ? self.c_plan_month[0] : '0' + self.c_plan_month[0])
|
45
|
-
}
|
46
|
-
}, {
|
47
|
-
resolveMsg: null,
|
48
|
-
rejectMsg: '提取任务出错'
|
49
|
-
})
|
50
|
-
self.$set("model.rows", result.data)
|
51
|
-
}
|
52
|
-
|
53
|
-
export default {
|
54
|
-
title: '安检员月任务',
|
55
|
-
data() {
|
56
|
-
let options = []
|
57
|
-
let year = (new Date()).getFullYear()
|
58
|
-
options.push({label: year+'', value: year+''})
|
59
|
-
year++
|
60
|
-
options.push({label: year+'', value: year+''})
|
61
|
-
let moptions = []
|
62
|
-
for(let i=1; i<=12; i++)
|
63
|
-
moptions.push({label: i + '', value: i + ''})
|
64
|
-
return {
|
65
|
-
c_plan_year: options[0].value,
|
66
|
-
c_year_list: options,
|
67
|
-
c_month_list: moptions,
|
68
|
-
c_plan_month: moptions[new Date().getMonth()].value,
|
69
|
-
model: {
|
70
|
-
rows: [],
|
71
|
-
}
|
72
|
-
}
|
73
|
-
},
|
74
|
-
ready () {
|
75
|
-
this.search()
|
76
|
-
},
|
77
|
-
methods: {
|
78
|
-
search () {
|
79
|
-
let fp = aggCheckerTask(this)
|
80
|
-
co(fp)
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
84
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<form>
|
4
|
+
<div class="form-group">
|
5
|
+
<label for="c_plan_year">年份:</label>
|
6
|
+
<v-select id="c_plan_year" :value.sync="c_plan_year"
|
7
|
+
:options='c_year_list' close-on-select clear-button></v-select>
|
8
|
+
<label for="c_plan_month">月份:</label>
|
9
|
+
<v-select id="c_plan_month" :value.sync="c_plan_month"
|
10
|
+
:options='c_month_list' close-on-select clear-button></v-select>
|
11
|
+
<button type="button" class="btn btn-default" @click="search">刷新</button>
|
12
|
+
</div>
|
13
|
+
</form>
|
14
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
15
|
+
<template partial='head'>
|
16
|
+
<tr>
|
17
|
+
<th>安检员</th>
|
18
|
+
<th>任务</th>
|
19
|
+
<th>已完成</th>
|
20
|
+
</tr>
|
21
|
+
</template>
|
22
|
+
<template partial='body'>
|
23
|
+
<td>{{row.f_checker}}</td>
|
24
|
+
<td>{{row.task}}</td>
|
25
|
+
<td>{{row.accomplished}}</td>
|
26
|
+
</template>
|
27
|
+
</data-grid>
|
28
|
+
<div style="height:50px;"></div>
|
29
|
+
</div>
|
30
|
+
</template>
|
31
|
+
|
32
|
+
<script>
|
33
|
+
import co from 'co'
|
34
|
+
import Vue from 'vue'
|
35
|
+
|
36
|
+
let aggCheckerTask = function * (self) {
|
37
|
+
let result = yield self.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/统计安检员月任务?pageNo=1&pageSize=9999` , {
|
38
|
+
data: {
|
39
|
+
id: Vue.user.id,
|
40
|
+
org_id: Vue.user.parentid,
|
41
|
+
f_plan_year: self.c_plan_year[0],
|
42
|
+
f_plan_month: self.c_plan_month[0],
|
43
|
+
f_subcompany: Vue.user.f_subcompany,
|
44
|
+
f_ym: self.c_plan_year[0] + '-' + (self.c_plan_month[0].length > 1 ? self.c_plan_month[0] : '0' + self.c_plan_month[0])
|
45
|
+
}
|
46
|
+
}, {
|
47
|
+
resolveMsg: null,
|
48
|
+
rejectMsg: '提取任务出错'
|
49
|
+
})
|
50
|
+
self.$set("model.rows", result.data)
|
51
|
+
}
|
52
|
+
|
53
|
+
export default {
|
54
|
+
title: '安检员月任务',
|
55
|
+
data() {
|
56
|
+
let options = []
|
57
|
+
let year = (new Date()).getFullYear()
|
58
|
+
options.push({label: year+'', value: year+''})
|
59
|
+
year++
|
60
|
+
options.push({label: year+'', value: year+''})
|
61
|
+
let moptions = []
|
62
|
+
for(let i=1; i<=12; i++)
|
63
|
+
moptions.push({label: i + '', value: i + ''})
|
64
|
+
return {
|
65
|
+
c_plan_year: options[0].value,
|
66
|
+
c_year_list: options,
|
67
|
+
c_month_list: moptions,
|
68
|
+
c_plan_month: moptions[new Date().getMonth()].value,
|
69
|
+
model: {
|
70
|
+
rows: [],
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
ready () {
|
75
|
+
this.search()
|
76
|
+
},
|
77
|
+
methods: {
|
78
|
+
search () {
|
79
|
+
let fp = aggCheckerTask(this)
|
80
|
+
co(fp)
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
</script>
|
@@ -1,108 +1,108 @@
|
|
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-4 control-label text-left">用户编号</label>
|
6
|
-
<input class="col-xs-8" v-model="model.f_userid" placeholder="请输入用户编号">
|
7
|
-
</div>
|
8
|
-
<div class="row app-input">
|
9
|
-
<label class="col-xs-4 control-label text-left">用户姓名</label>
|
10
|
-
<input class="col-xs-8" v-model="model.f_username" placeholder="请输入用户姓名">
|
11
|
-
</div>
|
12
|
-
<div class="row app-input">
|
13
|
-
<label class="col-xs-4 control-label text-left">表号</label>
|
14
|
-
<input class="col-xs-8" v-model="model.f_meter_no" placeholder="请输入表编号">
|
15
|
-
</div>
|
16
|
-
<div class="row app-input">
|
17
|
-
<label class="col-xs-4 control-label text-left">卡号</label>
|
18
|
-
<input class="col-xs-6" v-model="model.f_cardid" placeholder="请输入用户卡号">
|
19
|
-
<div class="input-group col-xs-2">
|
20
|
-
<span class="input-group-btn">
|
21
|
-
<button class="btn btn-default " type="button" @click="readCard">读卡</button>
|
22
|
-
</span>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
<div class="row app-input">
|
26
|
-
<label class="col-xs-4 control-label text-left">地址</label>
|
27
|
-
<input class="col-xs-8" v-model="model.f_address" placeholder="请输入用户地址(可模糊查询)">
|
28
|
-
</div>
|
29
|
-
<div class="row app-btn" style="margin-bottom: -5px;">
|
30
|
-
<button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div v-for='row in user' class="app-list auto " @click= "checkplan(row)">
|
34
|
-
<div class="row" style="color: #00B9F1;">
|
35
|
-
<span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>
|
36
|
-
<span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>
|
37
|
-
</div>
|
38
|
-
<div class="row">
|
39
|
-
<span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meter_no}}</span>
|
40
|
-
<span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_user_type}}</span>
|
41
|
-
</div>
|
42
|
-
<div class="row">
|
43
|
-
<span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
</template>
|
48
|
-
|
49
|
-
<script>
|
50
|
-
import co from 'co'
|
51
|
-
import Vue from 'vue'
|
52
|
-
|
53
|
-
export default {
|
54
|
-
title:'抄表用户信息',
|
55
|
-
data () {
|
56
|
-
return {
|
57
|
-
model: {
|
58
|
-
f_userid:'',
|
59
|
-
f_username: '',
|
60
|
-
f_meter_no: '',
|
61
|
-
f_cardid: '',
|
62
|
-
f_address: ''
|
63
|
-
},
|
64
|
-
//拿到的用户
|
65
|
-
user: [],
|
66
|
-
context: '',
|
67
|
-
// 未上传成功的数据
|
68
|
-
result: []
|
69
|
-
}
|
70
|
-
},
|
71
|
-
methods: {
|
72
|
-
// 读取卡号
|
73
|
-
readCard () {
|
74
|
-
let card = this.$androidUtil.read()
|
75
|
-
this.model.f_cardid = card.msg.CardID
|
76
|
-
},
|
77
|
-
//头部事件回掉
|
78
|
-
back () {
|
79
|
-
this.$back()
|
80
|
-
},
|
81
|
-
//根据条件拿到用户
|
82
|
-
planinfomation () {
|
83
|
-
// 只能自己拼接输入条件
|
84
|
-
let condition = '1=1'
|
85
|
-
for (var key in this.model) {
|
86
|
-
if (this.model[key] !== '') {
|
87
|
-
condition = condition + ` and ${key} like '%${this.model[key]}%'`
|
88
|
-
}
|
89
|
-
}
|
90
|
-
let url = `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`
|
91
|
-
this.$resetpost(url,
|
92
|
-
{data: {tablename: 't_userfiles',condition: condition}},
|
93
|
-
{ resolveMsg: null, rejectMsg: null }
|
94
|
-
).then((back) => {
|
95
|
-
this.user = back.data
|
96
|
-
}).catch((reason) => {
|
97
|
-
this.$showMessage(`没有该用户,请在营业厅核查, 原因: ${reason}`)
|
98
|
-
})
|
99
|
-
},
|
100
|
-
checkplan(row) {
|
101
|
-
this.$goto("tableset",{user:row})
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
</script>
|
106
|
-
<style>
|
107
|
-
|
108
|
-
</style>
|
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-4 control-label text-left">用户编号</label>
|
6
|
+
<input class="col-xs-8" v-model="model.f_userid" placeholder="请输入用户编号">
|
7
|
+
</div>
|
8
|
+
<div class="row app-input">
|
9
|
+
<label class="col-xs-4 control-label text-left">用户姓名</label>
|
10
|
+
<input class="col-xs-8" v-model="model.f_username" placeholder="请输入用户姓名">
|
11
|
+
</div>
|
12
|
+
<div class="row app-input">
|
13
|
+
<label class="col-xs-4 control-label text-left">表号</label>
|
14
|
+
<input class="col-xs-8" v-model="model.f_meter_no" placeholder="请输入表编号">
|
15
|
+
</div>
|
16
|
+
<div class="row app-input">
|
17
|
+
<label class="col-xs-4 control-label text-left">卡号</label>
|
18
|
+
<input class="col-xs-6" v-model="model.f_cardid" placeholder="请输入用户卡号">
|
19
|
+
<div class="input-group col-xs-2">
|
20
|
+
<span class="input-group-btn">
|
21
|
+
<button class="btn btn-default " type="button" @click="readCard">读卡</button>
|
22
|
+
</span>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
<div class="row app-input">
|
26
|
+
<label class="col-xs-4 control-label text-left">地址</label>
|
27
|
+
<input class="col-xs-8" v-model="model.f_address" placeholder="请输入用户地址(可模糊查询)">
|
28
|
+
</div>
|
29
|
+
<div class="row app-btn" style="margin-bottom: -5px;">
|
30
|
+
<button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div v-for='row in user' class="app-list auto " @click= "checkplan(row)">
|
34
|
+
<div class="row" style="color: #00B9F1;">
|
35
|
+
<span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>
|
36
|
+
<span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>
|
37
|
+
</div>
|
38
|
+
<div class="row">
|
39
|
+
<span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meter_no}}</span>
|
40
|
+
<span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_user_type}}</span>
|
41
|
+
</div>
|
42
|
+
<div class="row">
|
43
|
+
<span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</template>
|
48
|
+
|
49
|
+
<script>
|
50
|
+
import co from 'co'
|
51
|
+
import Vue from 'vue'
|
52
|
+
|
53
|
+
export default {
|
54
|
+
title:'抄表用户信息',
|
55
|
+
data () {
|
56
|
+
return {
|
57
|
+
model: {
|
58
|
+
f_userid:'',
|
59
|
+
f_username: '',
|
60
|
+
f_meter_no: '',
|
61
|
+
f_cardid: '',
|
62
|
+
f_address: ''
|
63
|
+
},
|
64
|
+
//拿到的用户
|
65
|
+
user: [],
|
66
|
+
context: '',
|
67
|
+
// 未上传成功的数据
|
68
|
+
result: []
|
69
|
+
}
|
70
|
+
},
|
71
|
+
methods: {
|
72
|
+
// 读取卡号
|
73
|
+
readCard () {
|
74
|
+
let card = this.$androidUtil.read()
|
75
|
+
this.model.f_cardid = card.msg.CardID
|
76
|
+
},
|
77
|
+
//头部事件回掉
|
78
|
+
back () {
|
79
|
+
this.$back()
|
80
|
+
},
|
81
|
+
//根据条件拿到用户
|
82
|
+
planinfomation () {
|
83
|
+
// 只能自己拼接输入条件
|
84
|
+
let condition = '1=1'
|
85
|
+
for (var key in this.model) {
|
86
|
+
if (this.model[key] !== '') {
|
87
|
+
condition = condition + ` and ${key} like '%${this.model[key]}%'`
|
88
|
+
}
|
89
|
+
}
|
90
|
+
let url = `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`
|
91
|
+
this.$resetpost(url,
|
92
|
+
{data: {tablename: 't_userfiles',condition: condition}},
|
93
|
+
{ resolveMsg: null, rejectMsg: null }
|
94
|
+
).then((back) => {
|
95
|
+
this.user = back.data
|
96
|
+
}).catch((reason) => {
|
97
|
+
this.$showMessage(`没有该用户,请在营业厅核查, 原因: ${reason}`)
|
98
|
+
})
|
99
|
+
},
|
100
|
+
checkplan(row) {
|
101
|
+
this.$goto("tableset",{user:row})
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
</script>
|
106
|
+
<style>
|
107
|
+
|
108
|
+
</style>
|
@@ -610,7 +610,6 @@ export default {
|
|
610
610
|
HostApp.__this__ = null
|
611
611
|
},
|
612
612
|
takePic(prop, title, index) {
|
613
|
-
const obj = HostApp.getGpsDetailAddress()
|
614
613
|
HostApp.__callback__ = this.cameraCallBack
|
615
614
|
HostApp.__this__ = this
|
616
615
|
////tag
|
@@ -631,6 +630,7 @@ export default {
|
|
631
630
|
}
|
632
631
|
let jingweidu = ''
|
633
632
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
633
|
+
const obj = HostApp.getGpsDetailAddress()
|
634
634
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
635
635
|
}
|
636
636
|
HostApp._open_a_page({
|
@@ -610,7 +610,6 @@
|
|
610
610
|
HostApp.__this__ = null
|
611
611
|
},
|
612
612
|
takePic(prop, title, index) {
|
613
|
-
const obj = HostApp.getGpsDetailAddress()
|
614
613
|
HostApp.__callback__ = this.cameraCallBack
|
615
614
|
HostApp.__this__ = this
|
616
615
|
////tag
|
@@ -631,6 +630,7 @@
|
|
631
630
|
}
|
632
631
|
let jingweidu = ''
|
633
632
|
if (this.$parent.$parent.is_has_jingweidu == 'true'){
|
633
|
+
const obj = HostApp.getGpsDetailAddress()
|
634
634
|
jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
|
635
635
|
}
|
636
636
|
HostApp._open_a_page({
|