telephone-clients 3.0.104-63 → 3.0.104-65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/workorder/RepairInfo.vue +166 -166
- package/src/components/workorder/TemporarySingle.vue +524 -480
- package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
- package/src/filiale/yuncheng/android/RightTree.vue +217 -0
- package/src/filiale/yuncheng/android/TemporarySingle.vue +524 -0
- package/src/filiale/yuncheng/telephoneAndroid.js +14 -0
- package/src/main.js +22 -22
- package/src/telephone-android.js +374 -378
- package/src/components/android/onLineSellRepair.vue +0 -147
- package/src/components/android/onLineSellRepairSearchUser.vue +0 -270
package/package.json
CHANGED
|
@@ -1,166 +1,166 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="repair-bg" id="work-history">
|
|
3
|
-
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
4
|
-
<blockquote class="blockquote">
|
|
5
|
-
<p>工单基本信息</p>
|
|
6
|
-
</blockquote>
|
|
7
|
-
</div>
|
|
8
|
-
<!-- 工单的基本信息 -->
|
|
9
|
-
<div class="panel panel-default auto repair-info-content">
|
|
10
|
-
<div class="panel-body">
|
|
11
|
-
<p v-if="service.f_userinfo_id" >用户编号: <span style="text-decoration:underline">{{service.f_userinfo_code}}</span><!--  <span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>--></p>
|
|
12
|
-
<!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
|
|
13
|
-
<!--<p>工单编号: {{service.f_service_id}}</p>-->
|
|
14
|
-
<!--<p>生成时间: {{service.f_created_date}}</p>-->
|
|
15
|
-
<!--<p>预约时间: {{service.f_repair_date}}</p>-->
|
|
16
|
-
<p>来电电话: {{service.f_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
|
|
17
|
-
<!--<p>用户姓名: {{service.f_user_name}}</p>-->
|
|
18
|
-
<!--<p>用户地址: {{service.f_address}}</p>-->
|
|
19
|
-
<!--<p>备注信息: {{service.f_remarks}}</p>-->
|
|
20
|
-
<!--<p>指导建议: {{service.f_advice}}</p>-->
|
|
21
|
-
<failure-show :value='service.failure'>
|
|
22
|
-
</failure-show>
|
|
23
|
-
<div style="clear:both;">
|
|
24
|
-
<phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="from-group">
|
|
27
|
-
<img-self v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
|
|
28
|
-
<img-self v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
|
|
29
|
-
<img-self v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
|
|
30
|
-
</div>
|
|
31
|
-
<route name="info-route" ></route>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</template>
|
|
36
|
-
<script>
|
|
37
|
-
import FailureShow from '../pc/FailureShow'
|
|
38
|
-
import {HttpResetClass} from "vue-client";
|
|
39
|
-
import Vue from "vue";
|
|
40
|
-
|
|
41
|
-
export default {
|
|
42
|
-
title: '工单历史记录',
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
// service: null
|
|
46
|
-
imgfilename:'',
|
|
47
|
-
imgfilenamea:'',
|
|
48
|
-
imgfilenameb:'',
|
|
49
|
-
f_userinfo_code : '测试文本',
|
|
50
|
-
showSellInfo: false
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
|
|
55
|
-
service: { // 传入一条报修单信息
|
|
56
|
-
type: Object
|
|
57
|
-
},
|
|
58
|
-
issee:'',
|
|
59
|
-
worktype:{
|
|
60
|
-
type: String,
|
|
61
|
-
default: '报修单'
|
|
62
|
-
},
|
|
63
|
-
// userinfo: {
|
|
64
|
-
// type: Object
|
|
65
|
-
// },
|
|
66
|
-
// 维修对应的用户数据收集
|
|
67
|
-
model: {
|
|
68
|
-
type: Object
|
|
69
|
-
},
|
|
70
|
-
// 工单信息
|
|
71
|
-
repair:{
|
|
72
|
-
type: Object
|
|
73
|
-
},
|
|
74
|
-
savevalid:{
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
sum:{
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
user:{
|
|
81
|
-
type: Object
|
|
82
|
-
},
|
|
83
|
-
show: {
|
|
84
|
-
type: Boolean,
|
|
85
|
-
default: false
|
|
86
|
-
},
|
|
87
|
-
// 本次维修, 用于编辑
|
|
88
|
-
data: {
|
|
89
|
-
type: Object
|
|
90
|
-
},
|
|
91
|
-
shutype:'heng'
|
|
92
|
-
},
|
|
93
|
-
ready () {
|
|
94
|
-
//tag)
|
|
95
|
-
//tag)
|
|
96
|
-
//tag)
|
|
97
|
-
//tag
|
|
98
|
-
this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
|
|
99
|
-
this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
|
|
100
|
-
this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
|
|
101
|
-
//tag
|
|
102
|
-
//tag
|
|
103
|
-
//tag
|
|
104
|
-
for (let i in this.service) {
|
|
105
|
-
//tag + ':' + JSON.stringify(this.service[i]))
|
|
106
|
-
}
|
|
107
|
-
this.$goto('repair-user-info',{
|
|
108
|
-
model: this.model,
|
|
109
|
-
data: this.data,
|
|
110
|
-
savevalid: this.savevalid,
|
|
111
|
-
repair: this.repair,
|
|
112
|
-
show: this.show,
|
|
113
|
-
// userinfo: this.userinfo
|
|
114
|
-
shutype:this.shutype,
|
|
115
|
-
worktype:this.worktype,
|
|
116
|
-
issee:this.issee},'info-route')
|
|
117
|
-
},
|
|
118
|
-
methods: {
|
|
119
|
-
makeAPhoneCall(phoneNumber) {
|
|
120
|
-
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
121
|
-
},
|
|
122
|
-
goOtherCharge(userinfoid){
|
|
123
|
-
//tag
|
|
124
|
-
new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/rs/sql/onlinequeryuser`,{data:{condition : ` uf.f_orgid = '${Vue.user.orgid}' and (ui.f_user_state = '正常' or ui.f_user_state = '预备') and ui.f_userinfo_id = '${userinfoid}'`}}).then((res)=>{
|
|
125
|
-
//tag)
|
|
126
|
-
if(res.data.length==1){
|
|
127
|
-
let _this = this
|
|
128
|
-
var pardate = {
|
|
129
|
-
_this:_this,
|
|
130
|
-
title:'其他收费',
|
|
131
|
-
safe:false
|
|
132
|
-
}
|
|
133
|
-
_this.$dispatch('gotoson',pardate)
|
|
134
|
-
//tag
|
|
135
|
-
_this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
|
|
136
|
-
}else if(res.data.length>1){
|
|
137
|
-
this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
|
|
138
|
-
}else{
|
|
139
|
-
this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
|
|
140
|
-
}
|
|
141
|
-
}).catch((msg)=>{
|
|
142
|
-
this.$showMessage('获取用户信息失败,请检查手机网络!')
|
|
143
|
-
})
|
|
144
|
-
},
|
|
145
|
-
selfSearch () {
|
|
146
|
-
if(!this.rowOne) {
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
// let gen = getGen(this)
|
|
150
|
-
// co(gen)
|
|
151
|
-
},
|
|
152
|
-
searchHistory() {
|
|
153
|
-
this.showSellInfo = !this.showSellInfo
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
watch: {
|
|
157
|
-
'rowOne' () {
|
|
158
|
-
this.selfSearch()
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
components: {
|
|
162
|
-
FailureShow,
|
|
163
|
-
'failure-show': FailureShow
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="repair-bg" id="work-history">
|
|
3
|
+
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
4
|
+
<blockquote class="blockquote">
|
|
5
|
+
<p>工单基本信息</p>
|
|
6
|
+
</blockquote>
|
|
7
|
+
</div>
|
|
8
|
+
<!-- 工单的基本信息 -->
|
|
9
|
+
<div class="panel panel-default auto repair-info-content">
|
|
10
|
+
<div class="panel-body">
|
|
11
|
+
<p v-if="service.f_userinfo_id" >用户编号: <span style="text-decoration:underline">{{service.f_userinfo_code}}</span><!--  <span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>--></p>
|
|
12
|
+
<!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
|
|
13
|
+
<!--<p>工单编号: {{service.f_service_id}}</p>-->
|
|
14
|
+
<!--<p>生成时间: {{service.f_created_date}}</p>-->
|
|
15
|
+
<!--<p>预约时间: {{service.f_repair_date}}</p>-->
|
|
16
|
+
<p>来电电话: {{service.f_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
|
|
17
|
+
<!--<p>用户姓名: {{service.f_user_name}}</p>-->
|
|
18
|
+
<!--<p>用户地址: {{service.f_address}}</p>-->
|
|
19
|
+
<!--<p>备注信息: {{service.f_remarks}}</p>-->
|
|
20
|
+
<!--<p>指导建议: {{service.f_advice}}</p>-->
|
|
21
|
+
<failure-show :value='service.failure'>
|
|
22
|
+
</failure-show>
|
|
23
|
+
<div style="clear:both;">
|
|
24
|
+
<phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="from-group">
|
|
27
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
|
|
28
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
|
|
29
|
+
<img-self style="float: left;margin: 2px" v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
|
|
30
|
+
</div>
|
|
31
|
+
<route name="info-route" ></route>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<script>
|
|
37
|
+
import FailureShow from '../pc/FailureShow'
|
|
38
|
+
import {HttpResetClass} from "vue-client";
|
|
39
|
+
import Vue from "vue";
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
title: '工单历史记录',
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
// service: null
|
|
46
|
+
imgfilename:'',
|
|
47
|
+
imgfilenamea:'',
|
|
48
|
+
imgfilenameb:'',
|
|
49
|
+
f_userinfo_code : '测试文本',
|
|
50
|
+
showSellInfo: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
props: {
|
|
54
|
+
|
|
55
|
+
service: { // 传入一条报修单信息
|
|
56
|
+
type: Object
|
|
57
|
+
},
|
|
58
|
+
issee:'',
|
|
59
|
+
worktype:{
|
|
60
|
+
type: String,
|
|
61
|
+
default: '报修单'
|
|
62
|
+
},
|
|
63
|
+
// userinfo: {
|
|
64
|
+
// type: Object
|
|
65
|
+
// },
|
|
66
|
+
// 维修对应的用户数据收集
|
|
67
|
+
model: {
|
|
68
|
+
type: Object
|
|
69
|
+
},
|
|
70
|
+
// 工单信息
|
|
71
|
+
repair:{
|
|
72
|
+
type: Object
|
|
73
|
+
},
|
|
74
|
+
savevalid:{
|
|
75
|
+
|
|
76
|
+
},
|
|
77
|
+
sum:{
|
|
78
|
+
|
|
79
|
+
},
|
|
80
|
+
user:{
|
|
81
|
+
type: Object
|
|
82
|
+
},
|
|
83
|
+
show: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: false
|
|
86
|
+
},
|
|
87
|
+
// 本次维修, 用于编辑
|
|
88
|
+
data: {
|
|
89
|
+
type: Object
|
|
90
|
+
},
|
|
91
|
+
shutype:'heng'
|
|
92
|
+
},
|
|
93
|
+
ready () {
|
|
94
|
+
//tag)
|
|
95
|
+
//tag)
|
|
96
|
+
//tag)
|
|
97
|
+
//tag
|
|
98
|
+
this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
|
|
99
|
+
this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
|
|
100
|
+
this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
|
|
101
|
+
//tag
|
|
102
|
+
//tag
|
|
103
|
+
//tag
|
|
104
|
+
for (let i in this.service) {
|
|
105
|
+
//tag + ':' + JSON.stringify(this.service[i]))
|
|
106
|
+
}
|
|
107
|
+
this.$goto('repair-user-info',{
|
|
108
|
+
model: this.model,
|
|
109
|
+
data: this.data,
|
|
110
|
+
savevalid: this.savevalid,
|
|
111
|
+
repair: this.repair,
|
|
112
|
+
show: this.show,
|
|
113
|
+
// userinfo: this.userinfo
|
|
114
|
+
shutype:this.shutype,
|
|
115
|
+
worktype:this.worktype,
|
|
116
|
+
issee:this.issee},'info-route')
|
|
117
|
+
},
|
|
118
|
+
methods: {
|
|
119
|
+
makeAPhoneCall(phoneNumber) {
|
|
120
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
|
121
|
+
},
|
|
122
|
+
goOtherCharge(userinfoid){
|
|
123
|
+
//tag
|
|
124
|
+
new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/rs/sql/onlinequeryuser`,{data:{condition : ` uf.f_orgid = '${Vue.user.orgid}' and (ui.f_user_state = '正常' or ui.f_user_state = '预备') and ui.f_userinfo_id = '${userinfoid}'`}}).then((res)=>{
|
|
125
|
+
//tag)
|
|
126
|
+
if(res.data.length==1){
|
|
127
|
+
let _this = this
|
|
128
|
+
var pardate = {
|
|
129
|
+
_this:_this,
|
|
130
|
+
title:'其他收费',
|
|
131
|
+
safe:false
|
|
132
|
+
}
|
|
133
|
+
_this.$dispatch('gotoson',pardate)
|
|
134
|
+
//tag
|
|
135
|
+
_this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
|
|
136
|
+
}else if(res.data.length>1){
|
|
137
|
+
this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
|
|
138
|
+
}else{
|
|
139
|
+
this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
|
|
140
|
+
}
|
|
141
|
+
}).catch((msg)=>{
|
|
142
|
+
this.$showMessage('获取用户信息失败,请检查手机网络!')
|
|
143
|
+
})
|
|
144
|
+
},
|
|
145
|
+
selfSearch () {
|
|
146
|
+
if(!this.rowOne) {
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
// let gen = getGen(this)
|
|
150
|
+
// co(gen)
|
|
151
|
+
},
|
|
152
|
+
searchHistory() {
|
|
153
|
+
this.showSellInfo = !this.showSellInfo
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
watch: {
|
|
157
|
+
'rowOne' () {
|
|
158
|
+
this.selfSearch()
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
components: {
|
|
162
|
+
FailureShow,
|
|
163
|
+
'failure-show': FailureShow
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
</script>
|