system-phone 3.1.1 → 3.1.2

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 (103) 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//346/215/242/350/241/250/347/273/264/344/277/256.png +0 -0
  14. package/src/assets//351/200/232/347/224/250/350/203/214/346/231/257/345/233/276.png +0 -0
  15. package/src/components/AloneLoadParams.vue +26 -26
  16. package/src/components/AlreadyService.vue +193 -193
  17. package/src/components/AttendManage.vue +534 -534
  18. package/src/components/LoadAppdata.vue +38 -38
  19. package/src/components/LoginApp.vue +732 -732
  20. package/src/components/LoginAppNew.vue +587 -587
  21. package/src/components/LoginAppV4.vue +716 -716
  22. package/src/components/ModifyPassWord.vue +216 -216
  23. package/src/components/NavBottom.vue +117 -117
  24. package/src/components/NavBottomV.vue +141 -141
  25. package/src/components/NavBottomVVV.vue +185 -185
  26. package/src/components/OnlineManage.vue +256 -256
  27. package/src/components/PhoneAllInfo.vue +68 -68
  28. package/src/components/PhoneChangemeterInfo.vue +116 -116
  29. package/src/components/PhoneImageInfo.vue +102 -102
  30. package/src/components/PhoneInfoTable.vue +39 -39
  31. package/src/components/PhoneMeterInfo.vue +132 -132
  32. package/src/components/PhoneRepairInfo.vue +146 -146
  33. package/src/components/PhoneSafeInfo.vue +101 -101
  34. package/src/components/PhoneSellInfo.vue +148 -148
  35. package/src/components/PhoneSellInfoLite.vue +112 -112
  36. package/src/components/PhoneUser.vue +202 -202
  37. package/src/components/PhoneUserDetil.vue +70 -70
  38. package/src/components/PhoneUserFind.vue +138 -138
  39. package/src/components/RightTree.vue +217 -217
  40. package/src/components/SystemSetUp.vue +332 -332
  41. package/src/components/TabBarPhone.vue +81 -81
  42. package/src/components/Test.vue +14 -14
  43. package/src/components/ToolsPage.vue +199 -199
  44. package/src/components/UploadManage.vue +194 -194
  45. package/src/components/gaomi/NavBottomV.vue +223 -223
  46. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  47. package/src/components/gaomi/Scroller.vue +63 -63
  48. package/src/components/gaomi/SystemSetUp.vue +186 -186
  49. package/src/components/gaomi/ToolsPage.vue +168 -168
  50. package/src/components/idea/feedBack.vue +150 -150
  51. package/src/components/idea/feedbackAdd.vue +366 -366
  52. package/src/components/info/ConfigInfo.vue +122 -122
  53. package/src/components/info/FindUserInfo.vue +157 -157
  54. package/src/components/info/InfoTable.vue +37 -37
  55. package/src/components/iot/InstructMessage.vue +313 -313
  56. package/src/components/iot/IotBaseInfo.vue +97 -97
  57. package/src/components/iot/IotMeterInfo.vue +77 -77
  58. package/src/components/iot/iotMonitoringMain.vue +501 -501
  59. package/src/components/online/ApplyOnline.vue +581 -581
  60. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  61. package/src/components/screen/ChargeContentPage.vue +656 -656
  62. package/src/components/screen/ContentPage.vue +611 -611
  63. package/src/components/screen/GongdanContentPage.vue +149 -149
  64. package/src/components/screen/ListCountItem.vue +93 -93
  65. package/src/components/screen/ModuleTitle.vue +48 -48
  66. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  67. package/src/components/screen/SecurityCheckItem.vue +50 -50
  68. package/src/components/screen/TotalItem.vue +76 -76
  69. package/src/components/screen/TotalUserNumber.vue +77 -77
  70. package/src/components/screen/WorkOrderItem.vue +51 -51
  71. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  72. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  73. package/src/components/userinfo/paymentQuery.vue +189 -189
  74. package/src/components/userinfo/queryFile.vue +190 -190
  75. package/src/components/wasm.vue +18 -18
  76. package/src/expandcssAndroid.less +521 -521
  77. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -194
  78. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
  79. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -741
  80. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
  81. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
  82. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
  83. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
  84. package/src/filiale/yulinyuchuanTY/AlreadyService.vue +194 -0
  85. package/src/filiale/yulinyuchuanTY/AttendManage.vue +537 -0
  86. package/src/filiale/yulinyuchuanTY/LoginApp.vue +741 -0
  87. package/src/filiale/yulinyuchuanTY/OnlineManage.vue +256 -0
  88. package/src/filiale/yulinyuchuanTY/SystemSetUp.vue +332 -0
  89. package/src/filiale/yulinyuchuanTY/UploadManage.vue +195 -0
  90. package/src/filiale/yulinyuchuanTY/systemphonegrid.js +9 -0
  91. package/src/index.js +9 -9
  92. package/src/main.js +38 -38
  93. package/src/plugins/const.js +404 -404
  94. package/src/plugins/vue-py.js +37 -37
  95. package/src/stores/AppData.js +79 -79
  96. package/src/systemphone-gaomi.js +105 -105
  97. package/src/systemphone.js +60 -60
  98. package/src/systemphonegrid.js +185 -185
  99. package/src/util/LdapHelper.js +75 -75
  100. package/static/const.js +404 -404
  101. package/static/layui/font/iconfont.svg +554 -554
  102. package/static/vue-py.js +37 -37
  103. package/static/wasm_exec.js +465 -465
@@ -1,112 +1,112 @@
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_pregas}}
11
- </div>
12
- <div class="col-xs-6 col-sm-6 col-md-6">
13
- 购气金额: {{row.f_preamount}}
14
- </div>
15
- <div class="col-xs-12 col-sm-12 col-md-12">
16
- 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}
17
- </div>
18
-
19
- </div>
20
- </div>
21
- </div>
22
- </div>
23
- </div>
24
- <p v-show="model.length == 0 && noExp ">此用户暂无购气记录</p>
25
- <p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
26
- </div>
27
- </div>
28
- </template>
29
-
30
- <script>
31
- import { PagedList } from 'vue-client'
32
- import co from 'co'
33
- export default {
34
- title: '查询用户',
35
- data () {
36
- return {
37
- model: [],
38
- show: false,
39
- row: Object,
40
- noExp: false,
41
- expMsg: '查询中......'
42
- }
43
- },
44
- props: {
45
- user: {
46
- type: Object
47
- },
48
- f_userinfo_id:''
49
- },
50
- methods: {
51
- getmodel () {
52
- let userinfoid
53
- if(this.f_userinfo_id){
54
- userinfoid = this.f_userinfo_id
55
- }else{
56
- userinfoid = this.user.f_userinfo_id
57
- console.log(this.user.f_userinfo_id)
58
- }
59
- console.log(userinfoid)
60
- this.noExp = false
61
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
62
- this.model = row.data
63
- this.noExp = true
64
- })
65
- },
66
- back(){
67
-
68
- }
69
- },
70
- watch: {
71
- 'user' (val) {
72
- // this.model.search(`card_id = ${this.user.card_id}`)
73
- if(this.user){
74
- if (!(this.user.isNuN)) {
75
- this.model= []
76
- this.getmodel()
77
- }
78
- }
79
- },
80
- 'f_userinfo_id'(){
81
- if(this.f_userinfo_id){
82
- this.model= []
83
- this.getmodel()
84
- }
85
- }
86
- },
87
- ready () {
88
- if (this.user && this.user.f_userinfo_id) {
89
- // this.model.search(`card_id = ${this.user.card_id}`)
90
- this.getmodel()
91
- }
92
- if(this.f_userinfo_id){
93
- this.getmodel()
94
- }
95
- }
96
- }
97
- </script>
98
- <style>
99
- .app-botton {
100
- position:fixed;
101
- background: #87b2dd;
102
- color: #FFF;
103
- padding: 8px;
104
- text-align: center;
105
- font-size: 1.2em;
106
- z-index: 10;
107
- opacity:0.5;
108
- bottom: 50px;
109
- margin-top: -10px;
110
- height: 40px;
111
- }
112
- </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_pregas}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 购气金额: {{row.f_preamount}}
14
+ </div>
15
+ <div class="col-xs-12 col-sm-12 col-md-12">
16
+ 购气时间: {{row.f_delivery_date.substring(0,11)}} {{row.f_delivery_date.substring(11,19)}}
17
+ </div>
18
+
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ <p v-show="model.length == 0 && noExp ">此用户暂无购气记录</p>
25
+ <p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
26
+ </div>
27
+ </div>
28
+ </template>
29
+
30
+ <script>
31
+ import { PagedList } from 'vue-client'
32
+ import co from 'co'
33
+ export default {
34
+ title: '查询用户',
35
+ data () {
36
+ return {
37
+ model: [],
38
+ show: false,
39
+ row: Object,
40
+ noExp: false,
41
+ expMsg: '查询中......'
42
+ }
43
+ },
44
+ props: {
45
+ user: {
46
+ type: Object
47
+ },
48
+ f_userinfo_id:''
49
+ },
50
+ methods: {
51
+ getmodel () {
52
+ let userinfoid
53
+ if(this.f_userinfo_id){
54
+ userinfoid = this.f_userinfo_id
55
+ }else{
56
+ userinfoid = this.user.f_userinfo_id
57
+ console.log(this.user.f_userinfo_id)
58
+ }
59
+ console.log(userinfoid)
60
+ this.noExp = false
61
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_delivery_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
62
+ this.model = row.data
63
+ this.noExp = true
64
+ })
65
+ },
66
+ back(){
67
+
68
+ }
69
+ },
70
+ watch: {
71
+ 'user' (val) {
72
+ // this.model.search(`card_id = ${this.user.card_id}`)
73
+ if(this.user){
74
+ if (!(this.user.isNuN)) {
75
+ this.model= []
76
+ this.getmodel()
77
+ }
78
+ }
79
+ },
80
+ 'f_userinfo_id'(){
81
+ if(this.f_userinfo_id){
82
+ this.model= []
83
+ this.getmodel()
84
+ }
85
+ }
86
+ },
87
+ ready () {
88
+ if (this.user && this.user.f_userinfo_id) {
89
+ // this.model.search(`card_id = ${this.user.card_id}`)
90
+ this.getmodel()
91
+ }
92
+ if(this.f_userinfo_id){
93
+ this.getmodel()
94
+ }
95
+ }
96
+ }
97
+ </script>
98
+ <style>
99
+ .app-botton {
100
+ position:fixed;
101
+ background: #87b2dd;
102
+ color: #FFF;
103
+ padding: 8px;
104
+ text-align: center;
105
+ font-size: 1.2em;
106
+ z-index: 10;
107
+ opacity:0.5;
108
+ bottom: 50px;
109
+ margin-top: -10px;
110
+ height: 40px;
111
+ }
112
+ </style>
@@ -1,202 +1,202 @@
1
- <template>
2
- <div class="container">
3
- <div class="row" >
4
- <div class="col-sm-12 col-xs-12" style="height: auto" >
5
- <input class="form-control" type="text" v-model="model.selectVal" placeholder="点击搜索按钮筛选"/>
6
- </div>
7
- <!--用户的显示-->
8
- <div class="col-sm-11 col-xs-11" v-show="!show">
9
- <span v-for="dd in beginarray">
10
- <a name="{{dd}}" v-if="zz(dd)">
11
- <p class="bq">{{dd}}</p>
12
- </a>
13
- <a name="#" v-if="sz(dd)">
14
- <p class="bq">#</p>
15
- </a>
16
- <ul class="list-unstyled" v-for="user in beginarrayss">
17
- <tr>
18
- <li v-if="user.PY===dd" @click.prevent="confirm(user)">
19
- &nbsp&nbsp
20
- <img src="../image/touxiang.jpg">
21
- <strong id="name">{{user.name}}</strong>
22
- <hr>
23
- </li>
24
- </tr>
25
- </ul>
26
- </span>
27
- </div>
28
- <!--根据首字母查找-->
29
- <div class="col-sm-1 col-xs-1" id="inlineZM" v-show="!show">
30
- <span v-for="cc in beginarrays">
31
- <a id="a" href="#{{cc}}" >{{cc}}</a><br>
32
- </span>
33
- </div>
34
- <div class="col-sm-11 col-xs-11" v-if="show">
35
- <span v-for="dd in quchong()">
36
- <a name="{{dd}}" v-if="zz(dd)">
37
- <p class="bq">{{dd}}</p>
38
- </a>
39
- <a name="#" v-if="sz(dd)">
40
- <p class="bq">#</p>
41
- </a>
42
- <ul class="list-unstyled" v-for="user in model.like">
43
- <tr>
44
- <li v-if="user.PY===dd" @click.prevent="confirm(user)">
45
- &nbsp&nbsp
46
- <img src="../image/touxiang.jpg">
47
- <strong id="name">{{user.name}}</strong>
48
- <hr>
49
- </li>
50
- </tr>
51
- </ul>
52
- </span>
53
- </div>
54
- <!--根据首字母查找-->
55
- <div class="col-sm-1 col-xs-1" id="inlineZM" v-if="show">
56
- <span v-for="cc in model.db">
57
- <a id="a" href="#{{cc}}" >{{cc}}</a><br>
58
- </span>
59
- </div>
60
-
61
- </div>
62
- </div>
63
- </template>
64
- <script type="module">
65
- import Vue from 'vue'
66
- import pinyin from '../plugins/vue-py'
67
-
68
- export default {
69
- title: '展示客户信息',
70
- data () {
71
- return {
72
- show:false,
73
- beginarray:'',
74
- beginarrays:'',
75
- beginarrayss:'',
76
- model: {
77
- pp: [],
78
- db: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q',
79
- 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '#'],
80
- like: [],
81
- data: [
82
- {name: '张三', phone: '12321354213', userid: '11670', nickName: 'Z', img: '../assets/安检导航竖屏.png'},
83
- {name: '李四', phone: '12341231114', userid: '11671', nickName: 'L', img: '../asss/安检导航竖屏1.png'},
84
- {name: '王五', phone: '12345512345', userid: '11672', nickName: 'W', img: '../assets/安检导航竖屏2.png'}],
85
- selectVal: ''//关键字
86
- }
87
- }
88
- },
89
- methods: {
90
- sz (dd) {
91
- let m = /[0-9]/.test(dd)
92
- if (m) {
93
- return true
94
- } else {
95
- return false
96
- }
97
- },
98
- zz (dd) {
99
- let m = /[a-zA-Z]/.test(dd)
100
- if (m) {
101
- return true
102
- } else {
103
- return false
104
- }
105
- },
106
- confirm (user) {
107
- let phone = 1122334455
108
- this.$goto('phone-user-detil', {row: user, repair: phone})
109
- },
110
- search: function () {//搜索
111
- this.model.like = []
112
- let likename = this.model.selectVal
113
- let name = this.model.data
114
- if (likename){
115
- for (let i = 0; i < name.length; i++) {
116
- if (name[i].name.indexOf(likename) >= 0) {
117
- this.model.like.push(name[i])
118
- console.log(this.model.like)
119
- }
120
- }
121
- }else{
122
- this.model.like = name
123
- }
124
- },
125
- quchong () {
126
- return Array.from(new Set(this.model.pp)).sort()
127
- }
128
- },
129
- ready () {
130
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
131
- data: {
132
- source: 'this.getParentByType($organization$).getSpecialResByType($user$)',
133
- userid: Vue.user.id
134
- }
135
- }).then((res) => {
136
- console.log(res.data)
137
- this.model.data = res.data
138
- this.model.like = res.data
139
- for (let i = 0; i < this.model.like.length; i++) {
140
- this.model.like[i].PY = pinyin.chineseToPinYin(this.model.like[i].name).charAt(0).toUpperCase()
141
- this.model.pp.push(this.model.like[i].PY)
142
- }
143
- this.beginarray=Object.assign([],this.quchong())
144
- console.log(this.beginarray)
145
-
146
- this.beginarrays=Object.assign([],this.model.db)
147
- this.beginarrayss=Object.assign([],this.model.like)
148
- console.log(this.beginarrays)
149
- })
150
- },
151
- watch: {
152
- 'model.selectVal'(val){
153
- console.log("999999999")
154
- console.log((val))
155
- if (val){
156
- this.search()
157
- this.show=true
158
- console.log("22222")
159
-
160
- }else {
161
- this.show=false
162
- console.log("33333")
163
- console.log(this.beginarray)
164
- console.log(this.quchong())
165
- console.log(this.beginarrays)
166
- console.log(this.model.db)
167
- }
168
-
169
- }
170
- }
171
- }
172
- </script>
173
- <style scoped>
174
- img {
175
- height: 15px;
176
- weight: 22%;
177
- }
178
-
179
- #inlineZM {
180
- text-align: center;
181
- position: fixed;
182
- right: 2%;
183
- top: 7%;
184
- }
185
-
186
- ul {
187
- color: #5bc0de;
188
- left: 1%;
189
- }
190
-
191
- li {
192
- list-style-type: none;
193
-
194
- }
195
-
196
- .bq {
197
- background-color: #dde2e5;
198
- }
199
- </style>
200
-
201
-
202
-
1
+ <template>
2
+ <div class="container">
3
+ <div class="row" >
4
+ <div class="col-sm-12 col-xs-12" style="height: auto" >
5
+ <input class="form-control" type="text" v-model="model.selectVal" placeholder="点击搜索按钮筛选"/>
6
+ </div>
7
+ <!--用户的显示-->
8
+ <div class="col-sm-11 col-xs-11" v-show="!show">
9
+ <span v-for="dd in beginarray">
10
+ <a name="{{dd}}" v-if="zz(dd)">
11
+ <p class="bq">{{dd}}</p>
12
+ </a>
13
+ <a name="#" v-if="sz(dd)">
14
+ <p class="bq">#</p>
15
+ </a>
16
+ <ul class="list-unstyled" v-for="user in beginarrayss">
17
+ <tr>
18
+ <li v-if="user.PY===dd" @click.prevent="confirm(user)">
19
+ &nbsp&nbsp
20
+ <img src="../image/touxiang.jpg">
21
+ <strong id="name">{{user.name}}</strong>
22
+ <hr>
23
+ </li>
24
+ </tr>
25
+ </ul>
26
+ </span>
27
+ </div>
28
+ <!--根据首字母查找-->
29
+ <div class="col-sm-1 col-xs-1" id="inlineZM" v-show="!show">
30
+ <span v-for="cc in beginarrays">
31
+ <a id="a" href="#{{cc}}" >{{cc}}</a><br>
32
+ </span>
33
+ </div>
34
+ <div class="col-sm-11 col-xs-11" v-if="show">
35
+ <span v-for="dd in quchong()">
36
+ <a name="{{dd}}" v-if="zz(dd)">
37
+ <p class="bq">{{dd}}</p>
38
+ </a>
39
+ <a name="#" v-if="sz(dd)">
40
+ <p class="bq">#</p>
41
+ </a>
42
+ <ul class="list-unstyled" v-for="user in model.like">
43
+ <tr>
44
+ <li v-if="user.PY===dd" @click.prevent="confirm(user)">
45
+ &nbsp&nbsp
46
+ <img src="../image/touxiang.jpg">
47
+ <strong id="name">{{user.name}}</strong>
48
+ <hr>
49
+ </li>
50
+ </tr>
51
+ </ul>
52
+ </span>
53
+ </div>
54
+ <!--根据首字母查找-->
55
+ <div class="col-sm-1 col-xs-1" id="inlineZM" v-if="show">
56
+ <span v-for="cc in model.db">
57
+ <a id="a" href="#{{cc}}" >{{cc}}</a><br>
58
+ </span>
59
+ </div>
60
+
61
+ </div>
62
+ </div>
63
+ </template>
64
+ <script type="module">
65
+ import Vue from 'vue'
66
+ import pinyin from '../plugins/vue-py'
67
+
68
+ export default {
69
+ title: '展示客户信息',
70
+ data () {
71
+ return {
72
+ show:false,
73
+ beginarray:'',
74
+ beginarrays:'',
75
+ beginarrayss:'',
76
+ model: {
77
+ pp: [],
78
+ db: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q',
79
+ 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '#'],
80
+ like: [],
81
+ data: [
82
+ {name: '张三', phone: '12321354213', userid: '11670', nickName: 'Z', img: '../assets/安检导航竖屏.png'},
83
+ {name: '李四', phone: '12341231114', userid: '11671', nickName: 'L', img: '../asss/安检导航竖屏1.png'},
84
+ {name: '王五', phone: '12345512345', userid: '11672', nickName: 'W', img: '../assets/安检导航竖屏2.png'}],
85
+ selectVal: ''//关键字
86
+ }
87
+ }
88
+ },
89
+ methods: {
90
+ sz (dd) {
91
+ let m = /[0-9]/.test(dd)
92
+ if (m) {
93
+ return true
94
+ } else {
95
+ return false
96
+ }
97
+ },
98
+ zz (dd) {
99
+ let m = /[a-zA-Z]/.test(dd)
100
+ if (m) {
101
+ return true
102
+ } else {
103
+ return false
104
+ }
105
+ },
106
+ confirm (user) {
107
+ let phone = 1122334455
108
+ this.$goto('phone-user-detil', {row: user, repair: phone})
109
+ },
110
+ search: function () {//搜索
111
+ this.model.like = []
112
+ let likename = this.model.selectVal
113
+ let name = this.model.data
114
+ if (likename){
115
+ for (let i = 0; i < name.length; i++) {
116
+ if (name[i].name.indexOf(likename) >= 0) {
117
+ this.model.like.push(name[i])
118
+ console.log(this.model.like)
119
+ }
120
+ }
121
+ }else{
122
+ this.model.like = name
123
+ }
124
+ },
125
+ quchong () {
126
+ return Array.from(new Set(this.model.pp)).sort()
127
+ }
128
+ },
129
+ ready () {
130
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
131
+ data: {
132
+ source: 'this.getParentByType($organization$).getSpecialResByType($user$)',
133
+ userid: Vue.user.id
134
+ }
135
+ }).then((res) => {
136
+ console.log(res.data)
137
+ this.model.data = res.data
138
+ this.model.like = res.data
139
+ for (let i = 0; i < this.model.like.length; i++) {
140
+ this.model.like[i].PY = pinyin.chineseToPinYin(this.model.like[i].name).charAt(0).toUpperCase()
141
+ this.model.pp.push(this.model.like[i].PY)
142
+ }
143
+ this.beginarray=Object.assign([],this.quchong())
144
+ console.log(this.beginarray)
145
+
146
+ this.beginarrays=Object.assign([],this.model.db)
147
+ this.beginarrayss=Object.assign([],this.model.like)
148
+ console.log(this.beginarrays)
149
+ })
150
+ },
151
+ watch: {
152
+ 'model.selectVal'(val){
153
+ console.log("999999999")
154
+ console.log((val))
155
+ if (val){
156
+ this.search()
157
+ this.show=true
158
+ console.log("22222")
159
+
160
+ }else {
161
+ this.show=false
162
+ console.log("33333")
163
+ console.log(this.beginarray)
164
+ console.log(this.quchong())
165
+ console.log(this.beginarrays)
166
+ console.log(this.model.db)
167
+ }
168
+
169
+ }
170
+ }
171
+ }
172
+ </script>
173
+ <style scoped>
174
+ img {
175
+ height: 15px;
176
+ weight: 22%;
177
+ }
178
+
179
+ #inlineZM {
180
+ text-align: center;
181
+ position: fixed;
182
+ right: 2%;
183
+ top: 7%;
184
+ }
185
+
186
+ ul {
187
+ color: #5bc0de;
188
+ left: 1%;
189
+ }
190
+
191
+ li {
192
+ list-style-type: none;
193
+
194
+ }
195
+
196
+ .bq {
197
+ background-color: #dde2e5;
198
+ }
199
+ </style>
200
+
201
+
202
+