telephone-clients 3.0.104-23 → 3.0.104-27

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.
@@ -1,183 +1,182 @@
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" >用户编号:
12
- <span style="text-decoration:underline" @click="searchSafeHistory(service.f_userinfoid)">{{service.f_userinfo_code}}</span>
13
- <!--&ensp;&ensp;<span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>--></p>
14
- <!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
15
- <!--<p>工单编号: {{service.f_service_id}}</p>-->
16
- <!--<p>生成时间: {{service.f_created_date}}</p>-->
17
- <!--<p>预约时间: {{service.f_repair_date}}</p>-->
18
- <p>来电电话: {{service.f_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
19
- <p>联系电话: {{service.f_contact_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
20
- <p>租户电话: {{service.f_zuhu_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_rent_phone)'></p>
21
- <p>开启录音:<button type="button" class="btn btn-default" @click="openRecord()">开启</button>
22
- </p>
23
- <!--<p>用户姓名: {{service.f_user_name}}</p>-->
24
- <!--<p>用户地址: {{service.f_address}}</p>-->
25
- <p>备注信息: {{service.f_remarks}}</p>
26
- <!--<p>指导建议: {{service.f_advice}}</p>-->
27
- <failure-show :value='service.failure'>
28
- </failure-show>
29
- <div style="clear:both;">
30
- <phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
31
- </div>
32
- <div class="from-group">
33
- <img-self v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
34
- <img-self v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
35
- <img-self v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
36
- </div>
37
- <route name="info-route" ></route>
38
- </div>
39
- </div>
40
- </div>
41
- </template>
42
- <script>
43
- import FailureShow from '../../../components/pc/FailureShow'
44
- import {HttpResetClass} from "vue-client";
45
- import Vue from "vue";
46
-
47
- export default {
48
- title: '工单历史记录',
49
- data () {
50
- return {
51
- // service: null
52
- imgfilename:'',
53
- imgfilenamea:'',
54
- imgfilenameb:'',
55
- f_userinfo_code : '测试文本',
56
- showSellInfo: false
57
- }
58
- },
59
- props: {
60
-
61
- service: { // 传入一条报修单信息
62
- type: Object
63
- },
64
- issee:'',
65
- worktype:{
66
- type: String,
67
- default: '报修单'
68
- },
69
- // userinfo: {
70
- // type: Object
71
- // },
72
- // 维修对应的用户数据收集
73
- model: {
74
- type: Object
75
- },
76
- // 工单信息
77
- repair:{
78
- type: Object
79
- },
80
- savevalid:{
81
-
82
- },
83
- sum:{
84
-
85
- },
86
- user:{
87
- type: Object
88
- },
89
- show: {
90
- type: Boolean,
91
- default: false
92
- },
93
- // 本次维修, 用于编辑
94
- data: {
95
- type: Object
96
- },
97
- shutype:'heng'
98
- },
99
- ready () {
100
- //tag)
101
- //tag)
102
- //tag)
103
- //tag
104
- this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
105
- this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
106
- this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
107
- //tag
108
- //tag
109
- //tag
110
- for (let i in this.service) {
111
- //tag + ':' + JSON.stringify(this.service[i]))
112
- }
113
- this.$goto('repair-user-info',{
114
- model: this.model,
115
- data: this.data,
116
- savevalid: this.savevalid,
117
- repair: this.repair,
118
- show: this.show,
119
- // userinfo: this.userinfo
120
- shutype:this.shutype,
121
- worktype:this.worktype,
122
- issee:this.issee},'info-route')
123
- },
124
- methods: {
125
- searchSafeHistory(f_userinfo_id){
126
- this.$dispatch('gotoson', {
127
- _this: this.$parent.$parent,
128
- title: '安检记录',
129
- safe: false
130
- })
131
- this.$parent.$parent.$goto('phone-safe-info', {f_userinfo_id: f_userinfo_id})
132
- },
133
- openRecord(){
134
- this.$parent.$parent.openRecord()
135
- },
136
- makeAPhoneCall(phoneNumber) {
137
- this.$androidUtil.makeAPhoneCall(phoneNumber)
138
- },
139
- goOtherCharge(userinfoid){
140
- //tag
141
- 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)=>{
142
- //tag)
143
- if(res.data.length==1){
144
- let _this = this
145
- var pardate = {
146
- _this:_this,
147
- title:'其他收费',
148
- safe:false
149
- }
150
- _this.$dispatch('gotoson',pardate)
151
- //tag
152
- _this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
153
- }else if(res.data.length>1){
154
- this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
155
- }else{
156
- this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
157
- }
158
- }).catch((msg)=>{
159
- this.$showMessage('获取用户信息失败,请检查手机网络!')
160
- })
161
- },
162
- selfSearch () {
163
- if(!this.rowOne) {
164
- return
165
- }
166
- // let gen = getGen(this)
167
- // co(gen)
168
- },
169
- searchHistory() {
170
- this.showSellInfo = !this.showSellInfo
171
- }
172
- },
173
- watch: {
174
- 'rowOne' () {
175
- this.selfSearch()
176
- }
177
- },
178
- components: {
179
- FailureShow,
180
- 'failure-show': FailureShow
181
- }
182
- }
183
- </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" >用户编号:
12
+ <span style="text-decoration:underline" @click="searchSafeHistory(service.f_userinfoid)">{{service.f_userinfo_code}}</span>
13
+ <!--&ensp;&ensp;<span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>--></p>
14
+ <!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
15
+ <!--<p>工单编号: {{service.f_service_id}}</p>-->
16
+ <!--<p>生成时间: {{service.f_created_date}}</p>-->
17
+ <!--<p>预约时间: {{service.f_repair_date}}</p>-->
18
+ <p>来电电话: {{service.f_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
19
+ <p>联系电话: {{service.f_contact_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
20
+ <p>开启录音:<button type="button" class="btn btn-default" @click="openRecord()">开启</button>
21
+ </p>
22
+ <!--<p>用户姓名: {{service.f_user_name}}</p>-->
23
+ <!--<p>用户地址: {{service.f_address}}</p>-->
24
+ <p>备注信息: {{service.f_remarks}}</p>
25
+ <!--<p>指导建议: {{service.f_advice}}</p>-->
26
+ <failure-show :value='service.failure'>
27
+ </failure-show>
28
+ <div style="clear:both;">
29
+ <phone-sell-info-lite v-if="showSellInfo" :user="{}" :f_userinfo_id="service.f_userinfo_id"></phone-sell-info-lite>
30
+ </div>
31
+ <div class="from-group">
32
+ <img-self v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
33
+ <img-self v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
34
+ <img-self v-if="service.f_singleb_path" :src="imgfilenameb" width="200" height="200"></img-self>
35
+ </div>
36
+ <route name="info-route" ></route>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </template>
41
+ <script>
42
+ import FailureShow from '../../../components/pc/FailureShow'
43
+ import {HttpResetClass} from "vue-client";
44
+ import Vue from "vue";
45
+
46
+ export default {
47
+ title: '工单历史记录',
48
+ data () {
49
+ return {
50
+ // service: null
51
+ imgfilename:'',
52
+ imgfilenamea:'',
53
+ imgfilenameb:'',
54
+ f_userinfo_code : '测试文本',
55
+ showSellInfo: false
56
+ }
57
+ },
58
+ props: {
59
+
60
+ service: { // 传入一条报修单信息
61
+ type: Object
62
+ },
63
+ issee:'',
64
+ worktype:{
65
+ type: String,
66
+ default: '报修单'
67
+ },
68
+ // userinfo: {
69
+ // type: Object
70
+ // },
71
+ // 维修对应的用户数据收集
72
+ model: {
73
+ type: Object
74
+ },
75
+ // 工单信息
76
+ repair:{
77
+ type: Object
78
+ },
79
+ savevalid:{
80
+
81
+ },
82
+ sum:{
83
+
84
+ },
85
+ user:{
86
+ type: Object
87
+ },
88
+ show: {
89
+ type: Boolean,
90
+ default: false
91
+ },
92
+ // 本次维修, 用于编辑
93
+ data: {
94
+ type: Object
95
+ },
96
+ shutype:'heng'
97
+ },
98
+ ready () {
99
+ //tag)
100
+ //tag)
101
+ //tag)
102
+ //tag
103
+ this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
104
+ this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
105
+ this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
106
+ //tag
107
+ //tag
108
+ //tag
109
+ for (let i in this.service) {
110
+ //tag + ':' + JSON.stringify(this.service[i]))
111
+ }
112
+ this.$goto('repair-user-info',{
113
+ model: this.model,
114
+ data: this.data,
115
+ savevalid: this.savevalid,
116
+ repair: this.repair,
117
+ show: this.show,
118
+ // userinfo: this.userinfo
119
+ shutype:this.shutype,
120
+ worktype:this.worktype,
121
+ issee:this.issee},'info-route')
122
+ },
123
+ methods: {
124
+ searchSafeHistory(f_userinfo_id){
125
+ this.$dispatch('gotoson', {
126
+ _this: this.$parent.$parent,
127
+ title: '安检记录',
128
+ safe: false
129
+ })
130
+ this.$parent.$parent.$goto('phone-safe-info', {f_userinfo_id: f_userinfo_id})
131
+ },
132
+ openRecord(){
133
+ this.$parent.$parent.openRecord()
134
+ },
135
+ makeAPhoneCall(phoneNumber) {
136
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
137
+ },
138
+ goOtherCharge(userinfoid){
139
+ //tag
140
+ 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)=>{
141
+ //tag)
142
+ if(res.data.length==1){
143
+ let _this = this
144
+ var pardate = {
145
+ _this:_this,
146
+ title:'其他收费',
147
+ safe:false
148
+ }
149
+ _this.$dispatch('gotoson',pardate)
150
+ //tag
151
+ _this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
152
+ }else if(res.data.length>1){
153
+ this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
154
+ }else{
155
+ this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
156
+ }
157
+ }).catch((msg)=>{
158
+ this.$showMessage('获取用户信息失败,请检查手机网络!')
159
+ })
160
+ },
161
+ selfSearch () {
162
+ if(!this.rowOne) {
163
+ return
164
+ }
165
+ // let gen = getGen(this)
166
+ // co(gen)
167
+ },
168
+ searchHistory() {
169
+ this.showSellInfo = !this.showSellInfo
170
+ }
171
+ },
172
+ watch: {
173
+ 'rowOne' () {
174
+ this.selfSearch()
175
+ }
176
+ },
177
+ components: {
178
+ FailureShow,
179
+ 'failure-show': FailureShow
180
+ }
181
+ }
182
+ </script>
@@ -62,9 +62,9 @@
62
62
  <th>
63
63
  <nobr>接线率</nobr>
64
64
  </th>
65
- <th>
66
- <nobr>置忙次数</nobr>
67
- </th>
65
+ <!-- <th>-->
66
+ <!-- <nobr>置忙次数</nobr>-->
67
+ <!-- </th>-->
68
68
  <th>
69
69
  <nobr>已接</nobr>
70
70
  </th>
@@ -111,9 +111,9 @@
111
111
  <td style="text-align:center">
112
112
  <nobr>{{ row.scale }}</nobr>
113
113
  </td>
114
- <td style="text-align:center">
115
- <nobr>{{ row.zhimangcishu }}</nobr>
116
- </td>
114
+ <!-- <td style="text-align:center">-->
115
+ <!-- <nobr>{{ row.zhimangcishu }}</nobr>-->
116
+ <!-- </td>-->
117
117
  <td style="text-align:center" >
118
118
  <nobr>{{ row.yijie }}</nobr>
119
119
  </td>
@@ -151,7 +151,7 @@
151
151
  <td style="text-align: center"><span><b> </b></span></td>
152
152
  <td style="text-align: center">{{model.sums.zongji}}</td>
153
153
  <td style="text-align: center">{{((model.sums.yijie/model.sums.zongji)*100).toFixed(2)+'%'}}</td>
154
- <td style="text-align: center">{{model.sums.zhimangcishu}}</td>
154
+ <!-- <td style="text-align: center">{{model.sums.zhimangcishu}}</td>-->
155
155
  <td style="text-align: center">{{model.sums.yijie}}</td>
156
156
  <td style="text-align: center">{{model.sums.weijie}}</td>
157
157
  <td style="text-align: center">{{model.sums.waibo}}</td>
@@ -181,7 +181,7 @@ export default {
181
181
  startDate: 'this.startDate',
182
182
  endDate: 'this.endDate',
183
183
  f_filiale_id: 'this.f_filiale_id'
184
- },{zongji:'',yijie:'',weijie:'',waibo:'',zhimangcishu:'',zixundan:'',tousudan:'',baoxiudan:''})
184
+ },{zongji:'',yijie:'',weijie:'',waibo:'',zixundan:'',tousudan:'',baoxiudan:''})
185
185
  model.f_filiale_id = `('${this.$login.f.orgid}')`
186
186
  model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
187
187
  model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
@@ -204,7 +204,7 @@ export default {
204
204
  'id': '工号',
205
205
  'quanbujieting': '接线数',
206
206
  'scale': '接线率',
207
- 'zhimangcishu': '置忙次数',
207
+ // 'zhimangcishu': '置忙次数',
208
208
  'yijie': '已接',
209
209
  'weijie': '未接',
210
210
  'waibo': '外拨',