system-phone 3.0.49-9 → 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.
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/SystemPhone.iml +8 -8
- package/build/dev-server.js +141 -141
- package/build/webpack.base.conf.js +82 -82
- package/build.gradle +27 -27
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +183 -183
- package/gradlew.bat +100 -100
- package/index.html +21 -21
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/Util.js +415 -415
- package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
- package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/233/236/350/256/277.png +0 -0
- package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
- package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
- 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
- package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
- package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
- package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
- package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
- package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
- package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
- package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
- package/src/assets//346/226/275/345/260/201.png +0 -0
- package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
- package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
- package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
- package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
- package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
- package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
- package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
- package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
- package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
- package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
- package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
- package/src/components/AloneLoadParams.vue +26 -26
- package/src/components/AlreadyService.vue +193 -193
- package/src/components/AttendManage.vue +534 -415
- package/src/components/LoadAppdata.vue +38 -38
- package/src/components/LoginApp.vue +732 -725
- package/src/components/LoginAppNew.vue +587 -587
- package/src/components/LoginAppV4.vue +732 -0
- package/src/components/ModifyPassWord.vue +216 -216
- package/src/components/NavBottom.vue +117 -117
- package/src/components/NavBottomV.vue +141 -141
- package/src/components/NavBottomVVV.vue +185 -185
- package/src/components/OnlineManage.vue +256 -256
- package/src/components/PhoneAllInfo.vue +68 -68
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneImageInfo.vue +102 -0
- package/src/components/PhoneInfoTable.vue +39 -39
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/PhoneRepairInfo.vue +146 -146
- package/src/components/PhoneSafeInfo.vue +101 -101
- package/src/components/PhoneSellInfo.vue +148 -123
- package/src/components/PhoneSellInfoLite.vue +112 -112
- package/src/components/PhoneUser.vue +202 -202
- package/src/components/PhoneUserDetil.vue +70 -70
- package/src/components/PhoneUserFind.vue +138 -138
- package/src/components/RightTree.vue +217 -217
- package/src/components/SystemSetUp.vue +2 -0
- package/src/components/TabBarPhone.vue +81 -81
- package/src/components/Test.vue +14 -14
- package/src/components/ToolsPage.vue +199 -180
- package/src/components/UploadManage.vue +194 -194
- package/src/components/gaomi/NavBottomV.vue +223 -223
- package/src/components/gaomi/NavBottomVVVV.vue +210 -210
- package/src/components/gaomi/Scroller.vue +63 -63
- package/src/components/gaomi/SystemSetUp.vue +186 -186
- package/src/components/gaomi/ToolsPage.vue +168 -168
- package/src/components/idea/feedBack.vue +150 -150
- package/src/components/idea/feedbackAdd.vue +366 -366
- package/src/components/info/ConfigInfo.vue +122 -122
- package/src/components/info/FindUserInfo.vue +157 -157
- package/src/components/info/InfoTable.vue +37 -37
- package/src/components/iot/InstructMessage.vue +313 -313
- package/src/components/iot/IotBaseInfo.vue +97 -97
- package/src/components/iot/IotMeterInfo.vue +77 -77
- package/src/components/iot/iotMonitoringMain.vue +501 -501
- package/src/components/online/ApplyOnline.vue +581 -581
- package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
- package/src/components/screen/ChargeContentPage.vue +656 -656
- package/src/components/screen/ContentPage.vue +611 -611
- package/src/components/screen/GongdanContentPage.vue +149 -149
- package/src/components/screen/ListCountItem.vue +93 -93
- package/src/components/screen/ModuleTitle.vue +48 -48
- package/src/components/screen/SafeOrderContentPage.vue +440 -440
- package/src/components/screen/SecurityCheckItem.vue +50 -50
- package/src/components/screen/TotalItem.vue +76 -76
- package/src/components/screen/TotalUserNumber.vue +77 -77
- package/src/components/screen/WorkOrderItem.vue +51 -51
- package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
- package/src/components/screen/WorkOrderRightItem.vue +115 -115
- package/src/components/userinfo/paymentQuery.vue +189 -189
- package/src/components/userinfo/queryFile.vue +190 -190
- package/src/components/wasm.vue +18 -18
- package/src/expandcssAndroid.less +521 -521
- package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
- package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
- package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
- package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
- package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
- package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
- package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
- package/src/index.js +9 -9
- package/src/main.js +38 -38
- package/src/plugins/const.js +404 -404
- package/src/plugins/vue-py.js +37 -37
- package/src/stores/AppData.js +91 -63
- package/src/systemphone-gaomi.js +105 -105
- package/src/systemphone.js +60 -58
- package/src/systemphonegrid.js +185 -210
- package/src/util/LdapHelper.js +75 -75
- package/static/const.js +404 -404
- package/static/layui/font/iconfont.svg +554 -554
- package/static/vue-py.js +37 -37
- package/static/wasm_exec.js +465 -465
package/src/systemphonegrid.js
CHANGED
|
@@ -1,210 +1,185 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import GetAppDataService from './stores/AppData'
|
|
5
|
-
import GetStringData from './plugins/GetStringData'
|
|
6
|
-
/* require('./assets/fonttype/fontAndroid.less')*/
|
|
7
|
-
|
|
8
|
-
/** **************************通用组件******************************/
|
|
9
|
-
|
|
10
|
-
export default function () {
|
|
11
|
-
Vue.use(GetAppDataService)
|
|
12
|
-
Vue.use(GetStringData)
|
|
13
|
-
// 测试
|
|
14
|
-
Vue.component('test', (resolve) => {
|
|
15
|
-
require(['./components/Test'], resolve)
|
|
16
|
-
})
|
|
17
|
-
// android登录
|
|
18
|
-
Vue.component('login-app', (resolve) => {
|
|
19
|
-
require(['./components/LoginApp'], resolve)
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
Vue.component('login-app-
|
|
23
|
-
require(['./components/
|
|
24
|
-
})
|
|
25
|
-
//
|
|
26
|
-
Vue.component('
|
|
27
|
-
require(['./components/
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
Vue.component('
|
|
31
|
-
require(['./components/
|
|
32
|
-
})
|
|
33
|
-
//
|
|
34
|
-
Vue.component('
|
|
35
|
-
require(['./components/
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
Vue.component('
|
|
39
|
-
require(['./components/
|
|
40
|
-
})
|
|
41
|
-
//
|
|
42
|
-
Vue.component('
|
|
43
|
-
require(['./components/
|
|
44
|
-
})
|
|
45
|
-
//
|
|
46
|
-
Vue.component('phone-user', (resolve) => {
|
|
47
|
-
require(['./components/
|
|
48
|
-
})
|
|
49
|
-
//
|
|
50
|
-
Vue.component('phone-user
|
|
51
|
-
require(['./components/
|
|
52
|
-
})
|
|
53
|
-
//
|
|
54
|
-
Vue.component('phone-
|
|
55
|
-
require(['./components/
|
|
56
|
-
})
|
|
57
|
-
// 用户信息查找
|
|
58
|
-
Vue.component('phone-
|
|
59
|
-
require(['./components/
|
|
60
|
-
})
|
|
61
|
-
//
|
|
62
|
-
Vue.component('phone-
|
|
63
|
-
require(['./components/
|
|
64
|
-
})
|
|
65
|
-
//
|
|
66
|
-
Vue.component('phone-
|
|
67
|
-
require(['./components/
|
|
68
|
-
})
|
|
69
|
-
//
|
|
70
|
-
Vue.component('phone-
|
|
71
|
-
require(['./components/
|
|
72
|
-
})
|
|
73
|
-
//
|
|
74
|
-
Vue.component('phone-
|
|
75
|
-
require(['./components/
|
|
76
|
-
})
|
|
77
|
-
// 用户信息查找
|
|
78
|
-
Vue.component('phone-
|
|
79
|
-
require(['./components/
|
|
80
|
-
})
|
|
81
|
-
// 用户信息查找
|
|
82
|
-
Vue.component('phone-
|
|
83
|
-
require(['./components/
|
|
84
|
-
})
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
Vue.component('
|
|
110
|
-
require(['./components/
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
Vue.component('
|
|
120
|
-
require(['./components/
|
|
121
|
-
})
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
//
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
// Vue.component('work-order-right-item', (resolve) => {
|
|
187
|
-
// require(['./components/screen/WorkOrderRightItem'], resolve)
|
|
188
|
-
// })
|
|
189
|
-
// Vue.component('work-order-right-down-item', (resolve) => {
|
|
190
|
-
// require(['./components/screen/WorkOrderRightDownItem'], resolve)
|
|
191
|
-
// })
|
|
192
|
-
// Vue.component('total-item', (resolve) => {
|
|
193
|
-
// require(['./components/screen/TotalItem'], resolve)
|
|
194
|
-
// })
|
|
195
|
-
// Vue.component('charge-content-page', (resolve) => {
|
|
196
|
-
// require(['./components/screen/ChargeContentPage'], resolve)
|
|
197
|
-
// })
|
|
198
|
-
// Vue.component('list-count-item', (resolve) => {
|
|
199
|
-
// require(['./components/screen/ListCountItem'], resolve)
|
|
200
|
-
// })
|
|
201
|
-
// Vue.component('safeorder-content-page', (resolve) => {
|
|
202
|
-
// require(['./components/screen/SafeOrderContentPage'], resolve)
|
|
203
|
-
// })
|
|
204
|
-
// Vue.component('security-check-item', (resolve) => {
|
|
205
|
-
// require(['./components/screen/SecurityCheckItem'], resolve)
|
|
206
|
-
// })
|
|
207
|
-
|
|
208
|
-
// // 只加载参数(只有下拉框所需参数)
|
|
209
|
-
// Vue.component('alone-load-params', (resolve) => { require(['./components/AloneLoadParams'], resolve) })
|
|
210
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import GetAppDataService from './stores/AppData'
|
|
5
|
+
import GetStringData from './plugins/GetStringData'
|
|
6
|
+
/* require('./assets/fonttype/fontAndroid.less')*/
|
|
7
|
+
|
|
8
|
+
/** **************************通用组件******************************/
|
|
9
|
+
|
|
10
|
+
export default function (filiale) {
|
|
11
|
+
Vue.use(GetAppDataService)
|
|
12
|
+
Vue.use(GetStringData)
|
|
13
|
+
// 测试
|
|
14
|
+
Vue.component('test', (resolve) => {
|
|
15
|
+
require(['./components/Test'], resolve)
|
|
16
|
+
})
|
|
17
|
+
// android登录
|
|
18
|
+
Vue.component('login-app', (resolve) => {
|
|
19
|
+
require(['./components/LoginApp'], resolve)
|
|
20
|
+
})
|
|
21
|
+
// android登录
|
|
22
|
+
Vue.component('login-app-v4', (resolve) => {
|
|
23
|
+
require(['./components/LoginAppV4.vue'], resolve)
|
|
24
|
+
})
|
|
25
|
+
// android登录
|
|
26
|
+
Vue.component('login-app-new', (resolve) => {
|
|
27
|
+
require(['./components/LoginAppNew'], resolve)
|
|
28
|
+
})
|
|
29
|
+
// 导航
|
|
30
|
+
Vue.component('nav-bottom', (resolve) => {
|
|
31
|
+
require(['./components/NavBottomVVV'], resolve)
|
|
32
|
+
})
|
|
33
|
+
// 导航
|
|
34
|
+
Vue.component('tab-bar', (resolve) => {
|
|
35
|
+
require(['./components/TabBarPhone'], resolve)
|
|
36
|
+
})
|
|
37
|
+
// 只加载参数(只有下拉框所需参数)
|
|
38
|
+
Vue.component('load-appdata', (resolve) => {
|
|
39
|
+
require(['./components/LoadAppdata'], resolve)
|
|
40
|
+
})
|
|
41
|
+
// 头部标题
|
|
42
|
+
Vue.component('tools-page', (resolve) => {
|
|
43
|
+
require(['./components/ToolsPage'], resolve)
|
|
44
|
+
})
|
|
45
|
+
// 用户信息查找
|
|
46
|
+
Vue.component('phone-user-find', (resolve) => {
|
|
47
|
+
require(['./components/PhoneUserFind'], resolve)
|
|
48
|
+
})
|
|
49
|
+
// 用户查找
|
|
50
|
+
Vue.component('phone-user', (resolve) => {
|
|
51
|
+
require(['./components/PhoneUser'], resolve)
|
|
52
|
+
})
|
|
53
|
+
// 用户详情查找
|
|
54
|
+
Vue.component('phone-user-detil', (resolve) => {
|
|
55
|
+
require(['./components/PhoneUserDetil'], resolve)
|
|
56
|
+
})
|
|
57
|
+
// 用户信息查找
|
|
58
|
+
Vue.component('phone-info-table', (resolve) => {
|
|
59
|
+
require(['./components/PhoneInfoTable'], resolve)
|
|
60
|
+
})
|
|
61
|
+
// 用户信息查找
|
|
62
|
+
Vue.component('phone-sell-info', (resolve) => {
|
|
63
|
+
require(['./components/PhoneSellInfo'], resolve)
|
|
64
|
+
})
|
|
65
|
+
// 总用户信息查找
|
|
66
|
+
Vue.component('phone-all-info', (resolve) => {
|
|
67
|
+
require(['./components/PhoneAllInfo'], resolve)
|
|
68
|
+
})
|
|
69
|
+
// 用户换表信息查找
|
|
70
|
+
Vue.component('phone-meter-info', (resolve) => {
|
|
71
|
+
require(['./components/PhoneMeterInfo'], resolve)
|
|
72
|
+
})
|
|
73
|
+
// 用户购气记录查询
|
|
74
|
+
Vue.component('phone-sell-info-lite', (resolve) => {
|
|
75
|
+
require(['./components/PhoneSellInfoLite'], resolve)
|
|
76
|
+
})
|
|
77
|
+
// 用户信息查找
|
|
78
|
+
Vue.component('phone-changemeter-info', (resolve) => {
|
|
79
|
+
require(['./components/PhoneChangemeterInfo'], resolve)
|
|
80
|
+
})
|
|
81
|
+
// 用户信息查找
|
|
82
|
+
Vue.component('phone-repair-info', (resolve) => {
|
|
83
|
+
require(['./components/PhoneRepairInfo'], resolve)
|
|
84
|
+
})
|
|
85
|
+
Vue.component('phone-image-info', (resolve) => {
|
|
86
|
+
require(['./components/PhoneImageInfo'], resolve)
|
|
87
|
+
})
|
|
88
|
+
// 用户信息查找
|
|
89
|
+
Vue.component('phone-safe-info', (resolve) => {
|
|
90
|
+
require(['./components/PhoneSafeInfo'], resolve)
|
|
91
|
+
})
|
|
92
|
+
// 设置
|
|
93
|
+
Vue.component('system-setup', (resolve) => {
|
|
94
|
+
require(['./components/SystemSetUp'], resolve)
|
|
95
|
+
})
|
|
96
|
+
// 待办工作
|
|
97
|
+
Vue.component('attend-manage', (resolve) => {
|
|
98
|
+
require(['./components/AttendManage'], resolve)
|
|
99
|
+
})
|
|
100
|
+
// 上传工作
|
|
101
|
+
Vue.component('upload-manage', (resolve) => {
|
|
102
|
+
require(['./components/UploadManage'], resolve)
|
|
103
|
+
})
|
|
104
|
+
// 已办工作
|
|
105
|
+
Vue.component('already-service', (resolve) => {
|
|
106
|
+
require(['./components/AlreadyService'], resolve)
|
|
107
|
+
})
|
|
108
|
+
// 在线业务
|
|
109
|
+
Vue.component('online-manage', (resolve) => {
|
|
110
|
+
require(['./components/OnlineManage'], resolve)
|
|
111
|
+
})
|
|
112
|
+
// 修改密码
|
|
113
|
+
Vue.component('modify-pass-word', (resolve) => {
|
|
114
|
+
require(['./components/ModifyPassWord'], resolve)
|
|
115
|
+
})
|
|
116
|
+
Vue.component('wasm-test', (resolve) => {
|
|
117
|
+
require(['./components/wasm'], resolve)
|
|
118
|
+
})
|
|
119
|
+
Vue.component('right-tree', (resolve) => {
|
|
120
|
+
require(['./components/RightTree'], resolve)
|
|
121
|
+
})
|
|
122
|
+
Vue.component('apply-online', (resolve) => {
|
|
123
|
+
require(['./components/online/ApplyOnline'], resolve)
|
|
124
|
+
})
|
|
125
|
+
//反馈人建议添加
|
|
126
|
+
Vue.component('feedback-add', (resolve) => {
|
|
127
|
+
require(['./components/idea/feedbackAdd'], resolve)
|
|
128
|
+
})
|
|
129
|
+
//反馈人建议查询
|
|
130
|
+
Vue.component('feedback', (resolve) => {
|
|
131
|
+
require(['./components/idea/feedBack'], resolve)
|
|
132
|
+
})
|
|
133
|
+
//档案查询
|
|
134
|
+
Vue.component('query-file',(resolve) => {
|
|
135
|
+
require(['./components/userinfo/queryFile'],resolve)
|
|
136
|
+
})
|
|
137
|
+
//缴费查询
|
|
138
|
+
Vue.component('payment-query',(resolve) => {
|
|
139
|
+
require(['./components/userinfo/paymentQuery'],resolve)
|
|
140
|
+
})
|
|
141
|
+
// 用户查找
|
|
142
|
+
Vue.component('phone-user', (resolve) => {
|
|
143
|
+
require(['./components/PhoneUser'], resolve)
|
|
144
|
+
})
|
|
145
|
+
// 用户详情查找
|
|
146
|
+
Vue.component('phone-user-detil', (resolve) => {
|
|
147
|
+
require(['./components/PhoneUserDetil'], resolve)
|
|
148
|
+
})
|
|
149
|
+
// 物联网监控-主
|
|
150
|
+
Vue.component('iot-monitoring-main', (resolve) => {
|
|
151
|
+
require(['./components/iot/iotMonitoringMain'], resolve)
|
|
152
|
+
})
|
|
153
|
+
// 物联网监控表具信息
|
|
154
|
+
Vue.component('iot-meter-info', (resolve) => {
|
|
155
|
+
require(['./components/iot/IotMeterInfo'], resolve)
|
|
156
|
+
})
|
|
157
|
+
// 物联网监控基础信息
|
|
158
|
+
Vue.component('iot-base-info', (resolve) => {
|
|
159
|
+
require(['./components/iot/IotBaseInfo'], resolve)
|
|
160
|
+
})
|
|
161
|
+
// 物联网监控指令信息
|
|
162
|
+
Vue.component('instruct-message', (resolve) => {
|
|
163
|
+
require(['./components/iot/InstructMessage'], resolve)
|
|
164
|
+
})
|
|
165
|
+
|
|
166
|
+
Vue.component('find-userinfo', (resolve) => {
|
|
167
|
+
require(['./components/info/FindUserInfo'], resolve)
|
|
168
|
+
})
|
|
169
|
+
|
|
170
|
+
Vue.component('info-table', (resolve) => {
|
|
171
|
+
require(['./components/info/InfoTable'], resolve)
|
|
172
|
+
})
|
|
173
|
+
|
|
174
|
+
Vue.component('config-info', (resolve) => {
|
|
175
|
+
require(['./components/info/ConfigInfo'], resolve)
|
|
176
|
+
})
|
|
177
|
+
|
|
178
|
+
// 分公司特殊页面注册替换
|
|
179
|
+
if (filiale) {
|
|
180
|
+
let filialeComp = require(`./filiale/${filiale}/systemphonegrid`).specialComp
|
|
181
|
+
for (let key in filialeComp) {
|
|
182
|
+
Vue.component(key, filialeComp[key])
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
package/src/util/LdapHelper.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获得给定资源的名称全路径
|
|
3
|
-
* @param res: 资源
|
|
4
|
-
* @param name: 全路径字段
|
|
5
|
-
*/
|
|
6
|
-
export function getFullName (res, name) {
|
|
7
|
-
let result = ''
|
|
8
|
-
while (res != null) {
|
|
9
|
-
if (result === '') {
|
|
10
|
-
result = res[name]
|
|
11
|
-
} else {
|
|
12
|
-
result = res[name] + '.' + result
|
|
13
|
-
}
|
|
14
|
-
res = res.parent
|
|
15
|
-
}
|
|
16
|
-
return result
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 给拿到的资源添加父关系
|
|
21
|
-
* @param res
|
|
22
|
-
*/
|
|
23
|
-
export function procParent (reses) {
|
|
24
|
-
for (let value of reses) {
|
|
25
|
-
procInnerParent(value)
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// 给资源res的所有子,添加父关系
|
|
30
|
-
function procInnerParent (res) {
|
|
31
|
-
for (let value of res.children) {
|
|
32
|
-
value.parent = res
|
|
33
|
-
procInnerParent(value)
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* 从给定一批资源中,递归找到给定号码的资源
|
|
39
|
-
* @param model:给定的一批资源
|
|
40
|
-
* @param id:要查找的资源id串
|
|
41
|
-
*/
|
|
42
|
-
export function find (model, id) {
|
|
43
|
-
// 返回最后一个id信息
|
|
44
|
-
let index = id.lastIndexOf('.')
|
|
45
|
-
if (index !== -1) {
|
|
46
|
-
id = id.substr(index + 1)
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// 子中有,返回子里的
|
|
50
|
-
for (let value of model) {
|
|
51
|
-
let ret = getInnerResourceById(value, id)
|
|
52
|
-
if (ret) {
|
|
53
|
-
return ret
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
return null
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// 根据id号取资源,自己不是,递归从子中找
|
|
61
|
-
function getInnerResourceById (res, id) {
|
|
62
|
-
if (res.id === id) {
|
|
63
|
-
return res
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// 子中有,返回子里的
|
|
67
|
-
for (let value of res.children) {
|
|
68
|
-
let ret = getInnerResourceById(value, id)
|
|
69
|
-
if (ret) {
|
|
70
|
-
return ret
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return null
|
|
75
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 获得给定资源的名称全路径
|
|
3
|
+
* @param res: 资源
|
|
4
|
+
* @param name: 全路径字段
|
|
5
|
+
*/
|
|
6
|
+
export function getFullName (res, name) {
|
|
7
|
+
let result = ''
|
|
8
|
+
while (res != null) {
|
|
9
|
+
if (result === '') {
|
|
10
|
+
result = res[name]
|
|
11
|
+
} else {
|
|
12
|
+
result = res[name] + '.' + result
|
|
13
|
+
}
|
|
14
|
+
res = res.parent
|
|
15
|
+
}
|
|
16
|
+
return result
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 给拿到的资源添加父关系
|
|
21
|
+
* @param res
|
|
22
|
+
*/
|
|
23
|
+
export function procParent (reses) {
|
|
24
|
+
for (let value of reses) {
|
|
25
|
+
procInnerParent(value)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// 给资源res的所有子,添加父关系
|
|
30
|
+
function procInnerParent (res) {
|
|
31
|
+
for (let value of res.children) {
|
|
32
|
+
value.parent = res
|
|
33
|
+
procInnerParent(value)
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 从给定一批资源中,递归找到给定号码的资源
|
|
39
|
+
* @param model:给定的一批资源
|
|
40
|
+
* @param id:要查找的资源id串
|
|
41
|
+
*/
|
|
42
|
+
export function find (model, id) {
|
|
43
|
+
// 返回最后一个id信息
|
|
44
|
+
let index = id.lastIndexOf('.')
|
|
45
|
+
if (index !== -1) {
|
|
46
|
+
id = id.substr(index + 1)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// 子中有,返回子里的
|
|
50
|
+
for (let value of model) {
|
|
51
|
+
let ret = getInnerResourceById(value, id)
|
|
52
|
+
if (ret) {
|
|
53
|
+
return ret
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return null
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 根据id号取资源,自己不是,递归从子中找
|
|
61
|
+
function getInnerResourceById (res, id) {
|
|
62
|
+
if (res.id === id) {
|
|
63
|
+
return res
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// 子中有,返回子里的
|
|
67
|
+
for (let value of res.children) {
|
|
68
|
+
let ret = getInnerResourceById(value, id)
|
|
69
|
+
if (ret) {
|
|
70
|
+
return ret
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return null
|
|
75
|
+
}
|