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.
- 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/images//346/211/223/345/215/241.png +0 -0
- package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
- package/src/assets//345/210/240/351/231/244/347/205/247/347/211/207.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//346/260/221/347/224/250/345/256/211/346/243/200.png +0 -0
- package/src/assets//347/205/247/347/211/207/345/210/240/351/231/244.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//347/273/264/344/277/256/350/256/260/345/275/225.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/235/236/346/260/221/347/224/250/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 +120 -1
- package/src/components/LoadAppdata.vue +38 -38
- package/src/components/LoginApp.vue +732 -724
- 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 +1 -1
- 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 +4 -4
- 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/SystemSetUp.vue +332 -308
- package/src/components/TabBarPhone.vue +81 -81
- package/src/components/Test.vue +14 -14
- package/src/components/ToolsPage.vue +27 -4
- 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 +15 -40
- 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/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
|
+
}
|