system-phone 3.0.49 → 3.1.0

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 (134) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/SystemPhone.iml +8 -8
  3. package/build/dev-server.js +141 -141
  4. package/build/webpack.base.conf.js +82 -82
  5. package/build.gradle +27 -27
  6. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  7. package/gradlew +183 -183
  8. package/gradlew.bat +100 -100
  9. package/index.html +21 -21
  10. package/package.json +1 -1
  11. package/src/App.vue +25 -25
  12. package/src/Util.js +415 -415
  13. package/src/assets/images//346/211/223/345/215/241.png +0 -0
  14. package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
  15. package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.png +0 -0
  16. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  17. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  18. package/src/assets//345/233/236/350/256/277.png +0 -0
  19. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  20. package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
  21. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
  22. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
  23. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  24. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  25. package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  26. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  27. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
  28. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  29. package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
  30. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  31. package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
  32. package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
  33. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  34. package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
  35. package/src/assets//346/226/275/345/260/201.png +0 -0
  36. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  37. package/src/assets//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  38. package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.png +0 -0
  39. package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  40. package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
  41. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  42. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  43. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  44. package/src/assets//347/273/264/344/277/256/350/256/260/345/275/225.png +0 -0
  45. package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
  46. package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
  47. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  48. package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
  49. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  50. package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
  51. package/src/assets//351/235/236/346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
  52. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  53. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  54. package/src/components/AloneLoadParams.vue +26 -26
  55. package/src/components/AlreadyService.vue +193 -193
  56. package/src/components/AttendManage.vue +120 -1
  57. package/src/components/LoadAppdata.vue +38 -38
  58. package/src/components/LoginApp.vue +732 -724
  59. package/src/components/LoginAppNew.vue +587 -587
  60. package/src/components/LoginAppV4.vue +732 -0
  61. package/src/components/ModifyPassWord.vue +216 -216
  62. package/src/components/NavBottom.vue +117 -117
  63. package/src/components/NavBottomV.vue +141 -141
  64. package/src/components/NavBottomVVV.vue +185 -185
  65. package/src/components/OnlineManage.vue +1 -1
  66. package/src/components/PhoneAllInfo.vue +68 -68
  67. package/src/components/PhoneChangemeterInfo.vue +116 -116
  68. package/src/components/PhoneImageInfo.vue +102 -0
  69. package/src/components/PhoneInfoTable.vue +39 -39
  70. package/src/components/PhoneMeterInfo.vue +132 -132
  71. package/src/components/PhoneRepairInfo.vue +146 -146
  72. package/src/components/PhoneSafeInfo.vue +4 -4
  73. package/src/components/PhoneSellInfo.vue +148 -123
  74. package/src/components/PhoneSellInfoLite.vue +112 -112
  75. package/src/components/PhoneUser.vue +202 -202
  76. package/src/components/PhoneUserDetil.vue +70 -70
  77. package/src/components/PhoneUserFind.vue +138 -138
  78. package/src/components/SystemSetUp.vue +332 -308
  79. package/src/components/TabBarPhone.vue +81 -81
  80. package/src/components/Test.vue +14 -14
  81. package/src/components/ToolsPage.vue +27 -4
  82. package/src/components/UploadManage.vue +194 -194
  83. package/src/components/gaomi/NavBottomV.vue +223 -223
  84. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  85. package/src/components/gaomi/Scroller.vue +63 -63
  86. package/src/components/gaomi/SystemSetUp.vue +186 -186
  87. package/src/components/gaomi/ToolsPage.vue +168 -168
  88. package/src/components/idea/feedBack.vue +150 -150
  89. package/src/components/idea/feedbackAdd.vue +366 -366
  90. package/src/components/info/ConfigInfo.vue +122 -122
  91. package/src/components/info/FindUserInfo.vue +157 -157
  92. package/src/components/info/InfoTable.vue +37 -37
  93. package/src/components/iot/InstructMessage.vue +313 -313
  94. package/src/components/iot/IotBaseInfo.vue +97 -97
  95. package/src/components/iot/IotMeterInfo.vue +77 -77
  96. package/src/components/iot/iotMonitoringMain.vue +501 -501
  97. package/src/components/online/ApplyOnline.vue +581 -581
  98. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  99. package/src/components/screen/ChargeContentPage.vue +656 -656
  100. package/src/components/screen/ContentPage.vue +611 -611
  101. package/src/components/screen/GongdanContentPage.vue +149 -149
  102. package/src/components/screen/ListCountItem.vue +93 -93
  103. package/src/components/screen/ModuleTitle.vue +48 -48
  104. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  105. package/src/components/screen/SecurityCheckItem.vue +50 -50
  106. package/src/components/screen/TotalItem.vue +76 -76
  107. package/src/components/screen/TotalUserNumber.vue +77 -77
  108. package/src/components/screen/WorkOrderItem.vue +51 -51
  109. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  110. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  111. package/src/components/userinfo/paymentQuery.vue +189 -189
  112. package/src/components/userinfo/queryFile.vue +190 -190
  113. package/src/components/wasm.vue +18 -18
  114. package/src/expandcssAndroid.less +521 -521
  115. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  116. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  117. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
  118. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  119. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  120. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  121. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  122. package/src/index.js +9 -9
  123. package/src/main.js +38 -38
  124. package/src/plugins/const.js +404 -404
  125. package/src/plugins/vue-py.js +37 -37
  126. package/src/stores/AppData.js +91 -63
  127. package/src/systemphone-gaomi.js +105 -105
  128. package/src/systemphone.js +60 -58
  129. package/src/systemphonegrid.js +15 -40
  130. package/src/util/LdapHelper.js +75 -75
  131. package/static/const.js +404 -404
  132. package/static/layui/font/iconfont.svg +554 -554
  133. package/static/vue-py.js +37 -37
  134. package/static/wasm_exec.js +465 -465
@@ -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_old_meternumber}}
11
- </div>
12
- <div class="col-xs-6 col-sm-6 col-md-6">
13
- 新表号: {{row.f_new_meternumber}}
14
- </div>
15
- <div class="col-xs-12 col-sm-12 col-md-12">
16
- 旧表底数: {{row.f_new_meter_base}}
17
- </div>
18
- <div class="col-xs-12 col-sm-12 col-md-12">
19
- 新表底数: {{row.f_old_meter_base}}
20
- </div>
21
- <div class="col-xs-12 col-sm-12 col-md-12">
22
- 旧表品牌: {{row.f_old_meter_brand}}
23
- </div>
24
- <div class="col-xs-12 col-sm-12 col-md-12">
25
- 新表品牌: {{row.f_new_meter_brand}}
26
- </div>
27
- <div class="col-xs-12 col-sm-12 col-md-12">
28
- 换表补气金额: {{row.f_newtable_fillfee}}
29
- </div>
30
- <div class="col-xs-12 col-sm-12 col-md-12">
31
- 换表补气气量: {{row.f_newtable_fillgas}}
32
- </div>
33
-
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
39
- <p v-show="model.length == 0 ">此用户暂无换表记录</p>
40
- </div>
41
- </div>
42
- </template>
43
-
44
- <script>
45
- import { PagedList } from 'vue-client'
46
- import { HttpResetClass } from 'vue-client'
47
- import co from 'co'
48
- export default {
49
- title: '换表记录',
50
- data () {
51
- return {
52
- model: [],
53
- show: false,
54
- row: Object
55
- }
56
- },
57
- props: {
58
- user: {
59
- type: Object
60
- },
61
- f_userinfo_id:''
62
- },
63
- methods: {
64
- getmodel () {
65
- let userinfoid
66
- if(this.f_userinfo_id){
67
- userinfoid = this.f_userinfo_id
68
- }else{
69
- userinfoid = this.user.f_userinfo_id
70
- console.log(this.user.f_userinfo_id)
71
- }
72
- console.log(userinfoid)
73
- let http = new HttpResetClass()
74
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getChangeTable`, {
75
- data: {
76
- items: "*",
77
- tablename: "t_userfiles",
78
- condition: `f_userinfo_id = '${userinfoid}'`
79
- }
80
- }, {resolveMsg: null, rejectMsg: null}).then((res)=>{
81
-
82
- this.model=res.data
83
- this.show1=true
84
- })
85
- },
86
- back(){
87
-
88
- }
89
- },
90
- watch: {
91
- 'user' (val) {
92
- // this.model.search(`card_id = ${this.user.card_id}`)
93
- if(this.user){
94
- if (!(this.user.isNuN)) {
95
- this.model= []
96
- this.getmodel()
97
- }
98
- }
99
- },
100
- 'f_userinfo_id'(){
101
- if(this.f_userinfo_id){
102
- this.model= []
103
- this.getmodel()
104
- }
105
- }
106
- },
107
- ready () {
108
- if (this.user && this.user.f_userinfo_id) {
109
- // this.model.search(`card_id = ${this.user.card_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_old_meternumber}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 新表号: {{row.f_new_meternumber}}
14
+ </div>
15
+ <div class="col-xs-12 col-sm-12 col-md-12">
16
+ 旧表底数: {{row.f_new_meter_base}}
17
+ </div>
18
+ <div class="col-xs-12 col-sm-12 col-md-12">
19
+ 新表底数: {{row.f_old_meter_base}}
20
+ </div>
21
+ <div class="col-xs-12 col-sm-12 col-md-12">
22
+ 旧表品牌: {{row.f_old_meter_brand}}
23
+ </div>
24
+ <div class="col-xs-12 col-sm-12 col-md-12">
25
+ 新表品牌: {{row.f_new_meter_brand}}
26
+ </div>
27
+ <div class="col-xs-12 col-sm-12 col-md-12">
28
+ 换表补气金额: {{row.f_newtable_fillfee}}
29
+ </div>
30
+ <div class="col-xs-12 col-sm-12 col-md-12">
31
+ 换表补气气量: {{row.f_newtable_fillgas}}
32
+ </div>
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <p v-show="model.length == 0 ">此用户暂无换表记录</p>
40
+ </div>
41
+ </div>
42
+ </template>
43
+
44
+ <script>
45
+ import { PagedList } from 'vue-client'
46
+ import { HttpResetClass } from 'vue-client'
47
+ import co from 'co'
48
+ export default {
49
+ title: '换表记录',
50
+ data () {
51
+ return {
52
+ model: [],
53
+ show: false,
54
+ row: Object
55
+ }
56
+ },
57
+ props: {
58
+ user: {
59
+ type: Object
60
+ },
61
+ f_userinfo_id:''
62
+ },
63
+ methods: {
64
+ getmodel () {
65
+ let userinfoid
66
+ if(this.f_userinfo_id){
67
+ userinfoid = this.f_userinfo_id
68
+ }else{
69
+ userinfoid = this.user.f_userinfo_id
70
+ console.log(this.user.f_userinfo_id)
71
+ }
72
+ console.log(userinfoid)
73
+ let http = new HttpResetClass()
74
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getChangeTable`, {
75
+ data: {
76
+ items: "*",
77
+ tablename: "t_userfiles",
78
+ condition: `f_userinfo_id = '${userinfoid}'`
79
+ }
80
+ }, {resolveMsg: null, rejectMsg: null}).then((res)=>{
81
+
82
+ this.model=res.data
83
+ this.show1=true
84
+ })
85
+ },
86
+ back(){
87
+
88
+ }
89
+ },
90
+ watch: {
91
+ 'user' (val) {
92
+ // this.model.search(`card_id = ${this.user.card_id}`)
93
+ if(this.user){
94
+ if (!(this.user.isNuN)) {
95
+ this.model= []
96
+ this.getmodel()
97
+ }
98
+ }
99
+ },
100
+ 'f_userinfo_id'(){
101
+ if(this.f_userinfo_id){
102
+ this.model= []
103
+ this.getmodel()
104
+ }
105
+ }
106
+ },
107
+ ready () {
108
+ if (this.user && this.user.f_userinfo_id) {
109
+ // this.model.search(`card_id = ${this.user.card_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,146 +1,146 @@
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-12 col-sm-12 col-md-12">
10
- 工单编号: {{row.f_service_id}}
11
- </div>
12
- <div class="col-xs-6 col-sm-6 col-md-6">
13
- 电话: {{row.f_contact_phone}}
14
- </div>
15
- <div class="col-xs-6 col-sm-6 col-md-6">
16
- 维修状态: {{row.processins.activities[row.processins.activities.length-1].defname}}
17
- </div>
18
- <div class="col-xs-6 col-sm-6 col-md-6">
19
- 派单时间: {{row.f_created_date}}
20
- </div>
21
- <div class="col-xs-6 col-sm-6 col-md-6">
22
- 结束时间: {{row.serviceacitivity[row.serviceacitivity.length-1].f_date_leave}}
23
- </div>
24
- <div class="col-xs-12 col-sm-12 col-md-12">
25
- 维修员: {{row.f_order_man}}
26
- </div>
27
- <div class="col-xs-12 col-sm-12 col-md-12">
28
- 购气时间: {{getfailure(row.failure)}}
29
- </div>
30
- </div>
31
- </div>
32
- </div>
33
- </div>
34
- </div>
35
- <p v-show="model.length == 0 ">此用户暂无维修记录</p>
36
- </div>
37
- </div>
38
- </template>
39
-
40
- <script>
41
- import { PagedList } from 'vue-client'
42
- import { HttpResetClass } from 'vue-client'
43
- import co from 'co'
44
- export default {
45
- title: '查询用户',
46
- data () {
47
- return {
48
- model: [],
49
- show: false,
50
- row: Object
51
- }
52
- },
53
- props: {
54
- user: {
55
- type: Object
56
- },
57
- f_userinfo_id:''
58
- },
59
- methods: {
60
- getmodel () {
61
- let userinfoid
62
- if(this.f_userinfo_id){
63
- userinfoid = this.f_userinfo_id
64
- }else{
65
- userinfoid = this.user.f_userinfo_id
66
- console.log(this.user.f_userinfo_id)
67
- }
68
- console.log(userinfoid)
69
- let http=new HttpResetClass
70
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/path/serviceSummery`, {data:{condition: {condition1: `f_userinfo_id = '${userinfoid}'`, condition2: "", condition3: "1=1", condition4: "1=1"}}}, {resolveMsg: null, rejectMsg: null}).then((row) => {
71
-
72
- this.model = row.data
73
- console.log("model=========="+JSON.stringify(this.model))
74
- })
75
- },
76
- getfailure(failure){
77
- let failureJson=JSON.parse(failure)
78
- let showfailure=''
79
- for (let i = 0; i <failureJson.length ; i++) {
80
- let fault=failureJson[i]
81
- if (fault.f_failure_type){
82
- console.log(fault.f_failure_type)
83
- showfailure+=fault.f_failure_type+":"
84
- }
85
- if (fault.f_equipment){
86
- console.log(fault.f_equipment)
87
- showfailure+=fault.f_equipment+","
88
- }
89
- if (fault.failurecase){
90
- for (let j = 0; j <fault.failurecase.length ; j++) {
91
- if (i==failureJson.length-1&&j==fault.failurecase.length-1){
92
- showfailure+=fault.failurecase[j]+"."
93
- }else {
94
- showfailure+=fault.failurecase[j]+","
95
- }
96
- }
97
- }
98
- }
99
- return showfailure
100
- },
101
- back(){
102
-
103
- }
104
- },
105
- watch: {
106
- 'user' (val) {
107
- if(this.user){
108
- if (!(this.user.isNuN)) {
109
- this.model= []
110
- this.getmodel()
111
- }
112
- }
113
- },
114
- 'f_userinfo_id'(){
115
- if(this.f_userinfo_id){
116
- this.model= []
117
- this.getmodel()
118
- }
119
- }
120
- },
121
- ready () {
122
- console.log("进去维修组件的ready=====================>"+this.f_userinfo_id)
123
- if (this.user && this.user.f_userinfo_id) {
124
- this.getmodel()
125
- }
126
- if(this.f_userinfo_id){
127
- this.getmodel()
128
- }
129
- }
130
- }
131
- </script>
132
- <style>
133
- .app-botton {
134
- position:fixed;
135
- background: #87b2dd;
136
- color: #FFF;
137
- padding: 8px;
138
- text-align: center;
139
- font-size: 1.2em;
140
- z-index: 10;
141
- opacity:0.5;
142
- bottom: 50px;
143
- margin-top: -10px;
144
- height: 40px;
145
- }
146
- </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-12 col-sm-12 col-md-12">
10
+ 工单编号: {{row.f_service_id}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 电话: {{row.f_contact_phone}}
14
+ </div>
15
+ <div class="col-xs-6 col-sm-6 col-md-6">
16
+ 维修状态: {{row.processins.activities[row.processins.activities.length-1].defname}}
17
+ </div>
18
+ <div class="col-xs-6 col-sm-6 col-md-6">
19
+ 派单时间: {{row.f_created_date}}
20
+ </div>
21
+ <div class="col-xs-6 col-sm-6 col-md-6">
22
+ 结束时间: {{row.serviceacitivity[row.serviceacitivity.length-1].f_date_leave}}
23
+ </div>
24
+ <div class="col-xs-12 col-sm-12 col-md-12">
25
+ 维修员: {{row.f_order_man}}
26
+ </div>
27
+ <div class="col-xs-12 col-sm-12 col-md-12">
28
+ 购气时间: {{getfailure(row.failure)}}
29
+ </div>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <p v-show="model.length == 0 ">此用户暂无维修记录</p>
36
+ </div>
37
+ </div>
38
+ </template>
39
+
40
+ <script>
41
+ import { PagedList } from 'vue-client'
42
+ import { HttpResetClass } from 'vue-client'
43
+ import co from 'co'
44
+ export default {
45
+ title: '查询用户',
46
+ data () {
47
+ return {
48
+ model: [],
49
+ show: false,
50
+ row: Object
51
+ }
52
+ },
53
+ props: {
54
+ user: {
55
+ type: Object
56
+ },
57
+ f_userinfo_id:''
58
+ },
59
+ methods: {
60
+ getmodel () {
61
+ let userinfoid
62
+ if(this.f_userinfo_id){
63
+ userinfoid = this.f_userinfo_id
64
+ }else{
65
+ userinfoid = this.user.f_userinfo_id
66
+ console.log(this.user.f_userinfo_id)
67
+ }
68
+ console.log(userinfoid)
69
+ let http=new HttpResetClass
70
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/path/serviceSummery`, {data:{condition: {condition1: `f_userinfo_id = '${userinfoid}'`, condition2: "", condition3: "1=1", condition4: "1=1"}}}, {resolveMsg: null, rejectMsg: null}).then((row) => {
71
+
72
+ this.model = row.data
73
+ console.log("model=========="+JSON.stringify(this.model))
74
+ })
75
+ },
76
+ getfailure(failure){
77
+ let failureJson=JSON.parse(failure)
78
+ let showfailure=''
79
+ for (let i = 0; i <failureJson.length ; i++) {
80
+ let fault=failureJson[i]
81
+ if (fault.f_failure_type){
82
+ console.log(fault.f_failure_type)
83
+ showfailure+=fault.f_failure_type+":"
84
+ }
85
+ if (fault.f_equipment){
86
+ console.log(fault.f_equipment)
87
+ showfailure+=fault.f_equipment+","
88
+ }
89
+ if (fault.failurecase){
90
+ for (let j = 0; j <fault.failurecase.length ; j++) {
91
+ if (i==failureJson.length-1&&j==fault.failurecase.length-1){
92
+ showfailure+=fault.failurecase[j]+"."
93
+ }else {
94
+ showfailure+=fault.failurecase[j]+","
95
+ }
96
+ }
97
+ }
98
+ }
99
+ return showfailure
100
+ },
101
+ back(){
102
+
103
+ }
104
+ },
105
+ watch: {
106
+ 'user' (val) {
107
+ if(this.user){
108
+ if (!(this.user.isNuN)) {
109
+ this.model= []
110
+ this.getmodel()
111
+ }
112
+ }
113
+ },
114
+ 'f_userinfo_id'(){
115
+ if(this.f_userinfo_id){
116
+ this.model= []
117
+ this.getmodel()
118
+ }
119
+ }
120
+ },
121
+ ready () {
122
+ console.log("进去维修组件的ready=====================>"+this.f_userinfo_id)
123
+ if (this.user && this.user.f_userinfo_id) {
124
+ this.getmodel()
125
+ }
126
+ if(this.f_userinfo_id){
127
+ this.getmodel()
128
+ }
129
+ }
130
+ }
131
+ </script>
132
+ <style>
133
+ .app-botton {
134
+ position:fixed;
135
+ background: #87b2dd;
136
+ color: #FFF;
137
+ padding: 8px;
138
+ text-align: center;
139
+ font-size: 1.2em;
140
+ z-index: 10;
141
+ opacity:0.5;
142
+ bottom: 50px;
143
+ margin-top: -10px;
144
+ height: 40px;
145
+ }
146
+ </style>
@@ -7,16 +7,16 @@
7
7
  <div class="col-xs-12 col-sm-12 col-md-12">
8
8
  <div class="row">
9
9
  <div class="col-xs-6 col-sm-6 col-md-6">
10
- 电话: {{row}}
10
+ 电话: {{row.f_user_phone}}
11
11
  </div>
12
12
  <div class="col-xs-6 col-sm-6 col-md-6">
13
- 安检状态: {{row}}
13
+ 安检状态: {{row.f_entry_status}}
14
14
  </div>
15
15
  <div class="col-xs-6 col-sm-6 col-md-6">
16
- 安检时间: {{row}}
16
+ 安检时间: {{row.f_offsite_time}}
17
17
  </div>
18
18
  <div class="col-xs-12 col-sm-12 col-md-12">
19
- 安检员: {{row}}
19
+ 安检员: {{row.f_checker_name}}
20
20
  </div>
21
21
  </div>
22
22
  </div>