telephone-clients 4.0.0-1-88 → 4.0.0-1-90

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.
Files changed (32) hide show
  1. package/package.json +2 -2
  2. package/src/components/pc/MaintenanceWorker.vue +152 -0
  3. package/src/components/pc/NewRepairPaper.vue +704 -704
  4. package/src/components/pc/NewRepairTablePaper.vue +442 -442
  5. package/src/components/pc/WorkHistory.vue +650 -650
  6. package/src/components/pc/WorkListNew.vue +838 -838
  7. package/src/components/sendsingle/onlinecharge.vue +424 -424
  8. package/src/components/workorder/ChangeMeterPageNew.vue +663 -663
  9. package/src/components/workorder/ChangeMeterUserInfo.vue +130 -130
  10. package/src/components/workorder/RepairFirstV.vue +736 -736
  11. package/src/components/workorder/RepairInfo.vue +178 -178
  12. package/src/components/workorder/RepairOrderT.vue +713 -713
  13. package/src/components/workorder/oldMeterPage.vue +104 -104
  14. package/src/components/workorder/repairFirstTable.vue +715 -715
  15. package/src/filiale/jinhong/android/FaultAll.vue +936 -936
  16. package/src/filiale/jinhong/android/ZHihuanFirst.vue +540 -540
  17. package/src/filiale/jinhong/pc/WorkListAllNew.vue +884 -884
  18. package/src/filiale/jinhong/telephone.js +10 -10
  19. package/src/filiale/jinhong/telephoneAndroid.js +13 -13
  20. package/src/filiale/meihekou/android/Othercharge.vue +454 -454
  21. package/src/filiale/meihekou/android/PhoneStandWorkNew.vue +692 -692
  22. package/src/filiale/meihekou/android/ServiceOnlineQuery.vue +477 -477
  23. package/src/filiale/meihekou/pc/WorkListAllNew.vue +925 -901
  24. package/src/filiale/meihekou/pc/WorkListNew.vue +1103 -1049
  25. package/src/filiale/meihekou/telephoneAndroid.js +26 -26
  26. package/src/filiale/xinjiangdexin/telephone.js +16 -16
  27. package/src/filiale/xinliansihui/android/FaultAll.vue +923 -923
  28. package/src/filiale/xinliansihui/android/RepairFirstV.vue +734 -734
  29. package/src/filiale/xinliansihui/android/RepairOrderT.vue +713 -713
  30. package/src/main.js +1 -1
  31. package/src/telephone-android.js +425 -425
  32. package/src/telephone.js +799 -796
@@ -1,178 +1,178 @@
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><!--&ensp;&ensp;<span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>-->
12
- &ensp;&ensp;<span style="color: blue" @click="gotocheckpaper(service)" v-if="ischeck">维修信息</span></p>
13
- <!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
14
- <!--<p>工单编号: {{service.f_service_id}}</p>-->
15
- <!--<p>生成时间: {{service.f_created_date}}</p>-->
16
- <!--<p>预约时间: {{service.f_repair_date}}</p>-->
17
- <p>来电电话: {{service.f_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
18
- <p v-if="service.f_contact_phone" >联系电话: {{service.f_contact_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
19
- <p v-if="service.f_rent_phone">备用电话: {{service.f_rent_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_rent_phone)'></p>
20
-
21
- <!--<p>用户姓名: {{service.f_user_name}}</p>-->
22
- <!--<p>用户地址: {{service.f_address}}</p>-->
23
- <!--<p>备注信息: {{service.f_remarks}}</p>-->
24
- <!--<p>指导建议: {{service.f_advice}}</p>-->
25
- <failure-show :value='service.failure'>
26
- </failure-show>
27
- <p v-if="service.f_error_msg" >异常明细: <span style="text-decoration:underline">{{service.f_error_msg}}</span></p>
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 style="float: left;margin: 2px" v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
33
- <img-self style="float: left;margin: 2px" v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
34
- <img-self style="float: left;margin: 2px" 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 '../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
- ischeck: {
98
- type: Boolean,
99
- default: false
100
- }
101
- },
102
- ready () {
103
- //tag)
104
- //tag)
105
- //tag)
106
- //tag
107
- this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
108
- this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
109
- this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
110
- //tag
111
- //tag
112
- //tag
113
- for (let i in this.service) {
114
- //tag + ':' + JSON.stringify(this.service[i]))
115
- }
116
- this.$goto('repair-user-info',{
117
- model: this.model,
118
- data: this.data,
119
- savevalid: this.savevalid,
120
- repair: this.repair,
121
- show: this.show,
122
- // userinfo: this.userinfo
123
- shutype:this.shutype,
124
- worktype:this.worktype,
125
- issee:this.issee},'info-route')
126
- },
127
- methods: {
128
- gotocheckpaper(){
129
- this.$dispatch('gotorepairinfo')
130
- },
131
- makeAPhoneCall(phoneNumber) {
132
- this.$androidUtil.makeAPhoneCall(phoneNumber)
133
- },
134
- goOtherCharge(userinfoid){
135
- //tag
136
- new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/af-telephone/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)=>{
137
- //tag)
138
- if(res.data.length==1){
139
- let _this = this
140
- var pardate = {
141
- _this:_this,
142
- title:'其他收费',
143
- safe:false
144
- }
145
- _this.$dispatch('gotoson',pardate)
146
- //tag
147
- _this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
148
- }else if(res.data.length>1){
149
- this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
150
- }else{
151
- this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
152
- }
153
- }).catch((msg)=>{
154
- this.$showMessage('获取用户信息失败,请检查手机网络!')
155
- })
156
- },
157
- selfSearch () {
158
- if(!this.rowOne) {
159
- return
160
- }
161
- // let gen = getGen(this)
162
- // co(gen)
163
- },
164
- searchHistory() {
165
- this.showSellInfo = !this.showSellInfo
166
- }
167
- },
168
- watch: {
169
- 'rowOne' () {
170
- this.selfSearch()
171
- }
172
- },
173
- components: {
174
- FailureShow,
175
- 'failure-show': FailureShow
176
- }
177
- }
178
- </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><!--&ensp;&ensp;<span style="color: blue" @click="goOtherCharge(service.f_userinfo_id)">其他收费</span>-->
12
+ &ensp;&ensp;<span style="color: blue" @click="gotocheckpaper(service)" v-if="ischeck">维修信息</span></p>
13
+ <!--<p v-if="service.f_userinfo_id" >用户编号: <span style="color: blue;text-decoration:underline" @click="searchHistory()">{{service.f_userinfo_code}}</span></p>-->
14
+ <!--<p>工单编号: {{service.f_service_id}}</p>-->
15
+ <!--<p>生成时间: {{service.f_created_date}}</p>-->
16
+ <!--<p>预约时间: {{service.f_repair_date}}</p>-->
17
+ <p>来电电话: {{service.f_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
18
+ <p v-if="service.f_contact_phone" >联系电话: {{service.f_contact_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
19
+ <p v-if="service.f_rent_phone">备用电话: {{service.f_rent_phone}}<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_rent_phone)'></p>
20
+
21
+ <!--<p>用户姓名: {{service.f_user_name}}</p>-->
22
+ <!--<p>用户地址: {{service.f_address}}</p>-->
23
+ <!--<p>备注信息: {{service.f_remarks}}</p>-->
24
+ <!--<p>指导建议: {{service.f_advice}}</p>-->
25
+ <failure-show :value='service.failure'>
26
+ </failure-show>
27
+ <p v-if="service.f_error_msg" >异常明细: <span style="text-decoration:underline">{{service.f_error_msg}}</span></p>
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 style="float: left;margin: 2px" v-if="service.f_single_path" :src="imgfilename" width="200" height="200"></img-self>
33
+ <img-self style="float: left;margin: 2px" v-if="service.f_singlea_path" :src="imgfilenamea" width="200" height="200"></img-self>
34
+ <img-self style="float: left;margin: 2px" 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 '../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
+ ischeck: {
98
+ type: Boolean,
99
+ default: false
100
+ }
101
+ },
102
+ ready () {
103
+ //tag)
104
+ //tag)
105
+ //tag)
106
+ //tag
107
+ this.imgfilename=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_single_path
108
+ this.imgfilenamea=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singlea_path
109
+ this.imgfilenameb=`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+this.service.f_singleb_path
110
+ //tag
111
+ //tag
112
+ //tag
113
+ for (let i in this.service) {
114
+ //tag + ':' + JSON.stringify(this.service[i]))
115
+ }
116
+ this.$goto('repair-user-info',{
117
+ model: this.model,
118
+ data: this.data,
119
+ savevalid: this.savevalid,
120
+ repair: this.repair,
121
+ show: this.show,
122
+ // userinfo: this.userinfo
123
+ shutype:this.shutype,
124
+ worktype:this.worktype,
125
+ issee:this.issee},'info-route')
126
+ },
127
+ methods: {
128
+ gotocheckpaper(){
129
+ this.$dispatch('gotorepairinfo')
130
+ },
131
+ makeAPhoneCall(phoneNumber) {
132
+ this.$androidUtil.makeAPhoneCall(phoneNumber)
133
+ },
134
+ goOtherCharge(userinfoid){
135
+ //tag
136
+ new HttpResetClass().load("POST",`${this.$androidUtil.getProxyUrl()}/af-telephone/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)=>{
137
+ //tag)
138
+ if(res.data.length==1){
139
+ let _this = this
140
+ var pardate = {
141
+ _this:_this,
142
+ title:'其他收费',
143
+ safe:false
144
+ }
145
+ _this.$dispatch('gotoson',pardate)
146
+ //tag
147
+ _this.$parent.$goto('other_charge', {row: res.data[0]}, 'self')
148
+ }else if(res.data.length>1){
149
+ this.$showMessage('查询到了多条用户表信息,请让管理员核实用户信息是否正常!')
150
+ }else{
151
+ this.$showMessage('未查询到用户有正常状态的表具信息,请让管理员核实用户表档案信息是否正常!')
152
+ }
153
+ }).catch((msg)=>{
154
+ this.$showMessage('获取用户信息失败,请检查手机网络!')
155
+ })
156
+ },
157
+ selfSearch () {
158
+ if(!this.rowOne) {
159
+ return
160
+ }
161
+ // let gen = getGen(this)
162
+ // co(gen)
163
+ },
164
+ searchHistory() {
165
+ this.showSellInfo = !this.showSellInfo
166
+ }
167
+ },
168
+ watch: {
169
+ 'rowOne' () {
170
+ this.selfSearch()
171
+ }
172
+ },
173
+ components: {
174
+ FailureShow,
175
+ 'failure-show': FailureShow
176
+ }
177
+ }
178
+ </script>