safecheck-client 3.0.33-91 → 3.0.33-93
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 +2 -1
- package/src/android-bootstrap/less/dropdowns.less +216 -216
- package/src/android-bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/tables.less +262 -262
- package/src/components/AloneLoadParams.vue +25 -25
- package/src/components/Main.vue +393 -393
- package/src/components/android/DevicesNoncivil.vue +214 -214
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/defects/DefectSeting.vue +98 -98
- package/src/components/equipment/BoilerUsage.vue +105 -105
- package/src/components/equipment/CookerUsage.vue +105 -105
- package/src/components/equipment/DeviceUsage.vue +105 -105
- package/src/components/equipment/FurnaceUsage.vue +105 -105
- package/src/components/equipment/GasMeterUsage.vue +109 -109
- package/src/components/equipment/HeaterUsage.vue +105 -105
- package/src/components/gasusage/GasUsage.vue +126 -126
- package/src/components/paper/RepairVerify.vue +139 -139
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/planmanage/PlanManage.vue +834 -834
- package/src/expandcss.less +571 -571
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +468 -468
- package/src/filiale/tianke/pc/checkScreen.vue +5 -0
- package/src/stores/AppData.js +46 -46
@@ -469,10 +469,15 @@
|
|
469
469
|
let that=this
|
470
470
|
this.map = new AMap.Map('check_map', {
|
471
471
|
zoom: 12,
|
472
|
+
center: [116.80030599999998, 37.65219],
|
473
|
+
showIndoorMap: false,
|
472
474
|
viewMode: '2D', //设置地图模式
|
473
475
|
lang: 'zh_cn', //设置地图语言类型
|
474
476
|
zindex: 99
|
475
477
|
});
|
478
|
+
|
479
|
+
let bounds = this.map.getBounds();
|
480
|
+
this.map.setLimitBounds(bounds);
|
476
481
|
// 异步加载地图插件
|
477
482
|
AMap.plugin(
|
478
483
|
['AMap.ToolBar','AMap.Geolocation','AMap.Geocoder'], () => {//异步加载插件
|
package/src/stores/AppData.js
CHANGED
@@ -1,46 +1,46 @@
|
|
1
|
-
let DataStore = {
|
2
|
-
params: {},
|
3
|
-
singleValues: {},
|
4
|
-
gasstyles: {},
|
5
|
-
gasbrands: [],
|
6
|
-
price: [],
|
7
|
-
|
8
|
-
getParam (key) {
|
9
|
-
return this.params[key]
|
10
|
-
},
|
11
|
-
getSingleValue (key) {
|
12
|
-
return this.singleValues[key]
|
13
|
-
},
|
14
|
-
getGasstyle (key) {
|
15
|
-
return this.gasbrands.key
|
16
|
-
},
|
17
|
-
getGasbrand () {
|
18
|
-
return this.gasbrands
|
19
|
-
},
|
20
|
-
getPrice (object) {
|
21
|
-
// 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
|
22
|
-
if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
|
23
|
-
return
|
24
|
-
}
|
25
|
-
let result = []
|
26
|
-
// 做筛选
|
27
|
-
this.price.forEach((item) => {
|
28
|
-
if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
|
29
|
-
let value = {
|
30
|
-
label: item.f_price_name,
|
31
|
-
value: item
|
32
|
-
}
|
33
|
-
result.push(value)
|
34
|
-
}
|
35
|
-
})
|
36
|
-
// 数组去重
|
37
|
-
let hash = {}
|
38
|
-
result = result.reduce((item, next) => {
|
39
|
-
hash[next.label] ? '' : hash[next.label] = true && item.push(next)
|
40
|
-
return item
|
41
|
-
}, [])
|
42
|
-
return Array.from(new Set(result))
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
export default DataStore
|
1
|
+
let DataStore = {
|
2
|
+
params: {},
|
3
|
+
singleValues: {},
|
4
|
+
gasstyles: {},
|
5
|
+
gasbrands: [],
|
6
|
+
price: [],
|
7
|
+
|
8
|
+
getParam (key) {
|
9
|
+
return this.params[key]
|
10
|
+
},
|
11
|
+
getSingleValue (key) {
|
12
|
+
return this.singleValues[key]
|
13
|
+
},
|
14
|
+
getGasstyle (key) {
|
15
|
+
return this.gasbrands.key
|
16
|
+
},
|
17
|
+
getGasbrand () {
|
18
|
+
return this.gasbrands
|
19
|
+
},
|
20
|
+
getPrice (object) {
|
21
|
+
// 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
|
22
|
+
if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
|
23
|
+
return
|
24
|
+
}
|
25
|
+
let result = []
|
26
|
+
// 做筛选
|
27
|
+
this.price.forEach((item) => {
|
28
|
+
if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
|
29
|
+
let value = {
|
30
|
+
label: item.f_price_name,
|
31
|
+
value: item
|
32
|
+
}
|
33
|
+
result.push(value)
|
34
|
+
}
|
35
|
+
})
|
36
|
+
// 数组去重
|
37
|
+
let hash = {}
|
38
|
+
result = result.reduce((item, next) => {
|
39
|
+
hash[next.label] ? '' : hash[next.label] = true && item.push(next)
|
40
|
+
return item
|
41
|
+
}, [])
|
42
|
+
return Array.from(new Set(result))
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
export default DataStore
|