system-phone 3.0.49-2 → 3.0.49-20
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/package.json +1 -1
- 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//346/212/204/350/241/250/351/207/215/344/274/240.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/273/264/344/277/256/350/256/260/345/275/225.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/components/AttendManage.vue +534 -415
- package/src/components/LoginApp.vue +12 -6
- package/src/components/OnlineManage.vue +256 -256
- package/src/components/PhoneSafeInfo.vue +101 -101
- package/src/components/RightTree.vue +217 -217
- package/src/components/SystemSetUp.vue +273 -251
- package/src/components/ToolsPage.vue +182 -180
- package/src/filiale/yulinyuchuan/LoginApp.vue +723 -0
- package/src/filiale/yulinyuchuan/systemphonegrid.js +4 -0
- package/src/stores/AppData.js +65 -63
- package/src/systemphonegrid.js +8 -40
package/src/stores/AppData.js
CHANGED
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import {HttpResetClass} from 'vue-client'
|
|
3
|
-
let GetAppDataService = {
|
|
4
|
-
install(Vue, options) {
|
|
5
|
-
// 给vue增添对话框显示方法
|
|
6
|
-
Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
// 开启卡监听
|
|
10
|
-
async load () {
|
|
11
|
-
let result = await new HttpResetClass().load('POST',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getInitData`, {data: {f_filialeids: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
|
|
12
|
-
console.log('system加载参数')
|
|
13
|
-
console.log(JSON.stringify(result))
|
|
14
|
-
result.data.singleValues.forEach((item) => {
|
|
15
|
-
this.singleValues[item.name] = item.value
|
|
16
|
-
})
|
|
17
|
-
result.data.params.forEach((item) => {
|
|
18
|
-
let value = []
|
|
19
|
-
item.f_paramvalues.forEach((item, index) => {
|
|
20
|
-
value[index] = {}
|
|
21
|
-
value[index].label = item.name
|
|
22
|
-
value[index].value = item.name
|
|
23
|
-
})
|
|
24
|
-
this.params[item.name] = value
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
getParams.data
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
gasmodel
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import {HttpResetClass} from 'vue-client'
|
|
3
|
+
let GetAppDataService = {
|
|
4
|
+
install(Vue, options) {
|
|
5
|
+
// 给vue增添对话框显示方法
|
|
6
|
+
Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
// 开启卡监听
|
|
10
|
+
async load (noSale) {
|
|
11
|
+
let result = await new HttpResetClass().load('POST',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getInitData`, {data: {f_filialeids: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
|
|
12
|
+
console.log('system加载参数')
|
|
13
|
+
console.log(JSON.stringify(result))
|
|
14
|
+
result.data.singleValues.forEach((item) => {
|
|
15
|
+
this.singleValues[item.name] = item.value
|
|
16
|
+
})
|
|
17
|
+
result.data.params.forEach((item) => {
|
|
18
|
+
let value = []
|
|
19
|
+
item.f_paramvalues.forEach((item, index) => {
|
|
20
|
+
value[index] = {}
|
|
21
|
+
value[index].label = item.name
|
|
22
|
+
value[index].value = item.name
|
|
23
|
+
})
|
|
24
|
+
this.params[item.name] = value
|
|
25
|
+
})
|
|
26
|
+
if (!noSale){
|
|
27
|
+
let getParams = await new HttpResetClass().load('post',`${Vue.androidUtil.getProxyUrl()}/rs/logic/getSaleInitData`, {data: {f_orgid: Vue.user.orgid}}, {resolveMsg: null, rejectMsg: null})
|
|
28
|
+
console.log('获取营收参数')
|
|
29
|
+
console.log(JSON.stringify(getParams))
|
|
30
|
+
if (getParams.data) {
|
|
31
|
+
getParams.data.gasbrands.forEach((item, index) => {
|
|
32
|
+
this.saleParams.gasbrands[index] = {}
|
|
33
|
+
this.saleParams.gasbrands[index].label = item.f_meter_brand
|
|
34
|
+
this.saleParams.gasbrands[index].value = item.f_meter_brand
|
|
35
|
+
let gasmodel = []
|
|
36
|
+
item.gasmodel.forEach((item, index) => {
|
|
37
|
+
gasmodel[index] = {}
|
|
38
|
+
gasmodel[index].label = item.f_meter_style
|
|
39
|
+
gasmodel[index].value = item.f_meter_style
|
|
40
|
+
})
|
|
41
|
+
this.params[item.f_meter_brand] = gasmodel
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
params: {},
|
|
48
|
+
singleValues: {},
|
|
49
|
+
|
|
50
|
+
// 营收模块参数
|
|
51
|
+
saleParams: {
|
|
52
|
+
gasbrands:[]
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
// 安检模块参数
|
|
56
|
+
safeCheckParams: {},
|
|
57
|
+
|
|
58
|
+
getParam(key) {
|
|
59
|
+
return this.params[key]
|
|
60
|
+
},
|
|
61
|
+
getSingleValue(key) {
|
|
62
|
+
return this.singleValues[key]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export default GetAppDataService
|
package/src/systemphonegrid.js
CHANGED
|
@@ -7,7 +7,7 @@ import GetStringData from './plugins/GetStringData'
|
|
|
7
7
|
|
|
8
8
|
/** **************************通用组件******************************/
|
|
9
9
|
|
|
10
|
-
export default function () {
|
|
10
|
+
export default function (filiale) {
|
|
11
11
|
Vue.use(GetAppDataService)
|
|
12
12
|
Vue.use(GetStringData)
|
|
13
13
|
// 测试
|
|
@@ -167,44 +167,12 @@ export default function () {
|
|
|
167
167
|
Vue.component('config-info', (resolve) => {
|
|
168
168
|
require(['./components/info/ConfigInfo'], resolve)
|
|
169
169
|
})
|
|
170
|
-
//手机大屏
|
|
171
|
-
// Vue.component('total-user-number', (resolve) => {
|
|
172
|
-
// require(['./components/screen/TotalUserNumber'], resolve)
|
|
173
|
-
// })
|
|
174
|
-
// Vue.component('content-page', (resolve) => {
|
|
175
|
-
// require(['./components/screen/ContentPage'], resolve)
|
|
176
|
-
// })
|
|
177
|
-
// Vue.component('module-title', (resolve) => {
|
|
178
|
-
// require(['./components/screen/ModuleTitle'], resolve)
|
|
179
|
-
// })
|
|
180
|
-
// Vue.component('work-order-item', (resolve) => {
|
|
181
|
-
// require(['./components/screen/WorkOrderItem'], resolve)
|
|
182
|
-
// })
|
|
183
|
-
// Vue.component('gongdan-content-page', (resolve) => {
|
|
184
|
-
// require(['./components/screen/GongdanContentPage'], resolve)
|
|
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
170
|
|
|
208
|
-
//
|
|
209
|
-
|
|
171
|
+
// 分公司特殊页面注册替换
|
|
172
|
+
if (filiale) {
|
|
173
|
+
let filialeComp = require(`./filiale/${filiale}/systemphonegrid`).specialComp
|
|
174
|
+
for (let key in filialeComp) {
|
|
175
|
+
Vue.component(key, filialeComp[key])
|
|
176
|
+
}
|
|
177
|
+
}
|
|
210
178
|
}
|