ecinc-cloud-moakqgl 9.6.267 → 9.6.269
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/lib/ecmoakqgl.common.js +118 -68
- package/lib/ecmoakqgl.umd.js +118 -68
- package/lib/ecmoakqgl.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmoakqgl.common.js
CHANGED
|
@@ -292,7 +292,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".kq-index-title[data-v-736d78fc]{backg
|
|
|
292
292
|
|
|
293
293
|
/***/ }),
|
|
294
294
|
|
|
295
|
-
/***/
|
|
295
|
+
/***/ 2186:
|
|
296
296
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
297
297
|
|
|
298
298
|
"use strict";
|
|
@@ -311,7 +311,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
311
311
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
312
312
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
313
313
|
// Module
|
|
314
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".borderb1px[data-v-
|
|
314
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".borderb1px[data-v-6e69fe9a]{position:relative}.borderb1px[data-v-6e69fe9a]:after{display:block;content:\" \";height:0;border-bottom:.5px solid #eee;position:absolute;-webkit-transform:scaleY(.5);transform:scaleY(.5);bottom:1px;left:0;right:0;z-index:10}#pageContent[data-v-6e69fe9a]{padding-bottom:0}.top-fixed[data-v-6e69fe9a]{width:100%;height:auto;position:fixed;top:var(--headerHeight);left:0;z-index:9;background-color:#fff}.map-main-wrap[data-v-6e69fe9a]{width:100%;min-height:200px;height:250px}.top-sch[data-v-6e69fe9a]{width:100%;height:50px;padding:8px 0;background-color:transparent;position:absolute;top:0;left:0;z-index:1001}.top-sch-inner[data-v-6e69fe9a]{margin:0 14px;padding:0 36px 0 14px;border-radius:5px;background-color:hsla(0,0%,100%,.8);border:1px solid #ddd;position:relative}.top-sch-inner i[data-v-6e69fe9a]{position:absolute;top:0;right:14px;padding:8px 0}.top-sch-inner .mui-icon[data-v-6e69fe9a]{font-size:18px;color:#b2b2b2}[data-v-6e69fe9a] .address-list .amap_lib_placeSearch_page{padding:10px 0}.address-item[data-v-6e69fe9a]{position:relative;padding:9px 16.5px;font-size:14px}.address-item .title[data-v-6e69fe9a]{color:#333;margin-right:27px}.address-item .address[data-v-6e69fe9a]{color:#949494;margin-right:27px}.address-item .selected-icon[data-v-6e69fe9a]{position:absolute;font-size:25px;right:16.5px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.address-item[data-v-6e69fe9a]:after{display:block;content:\" \";height:0;border-bottom:.5px solid #eee;position:absolute;-webkit-transform:scaleY(.5);transform:scaleY(.5);bottom:1px;left:8px;right:8px;z-index:10}.top-sch-inner input[data-v-6e69fe9a]{display:block;width:100%;background-color:transparent;border:none;outline:none;height:20px;line-height:20px;font-size:14px;padding:6px 0;-webkit-box-sizing:content-box;box-sizing:content-box;margin-bottom:0;color:#555}.list-tip[data-v-6e69fe9a]{height:40px;font-size:13px;color:#999;padding:9px 16.5px;-webkit-box-sizing:border-box;box-sizing:border-box}[data-v-6e69fe9a] #panel .amap_lib_placeSearch{border:none}.bottom-btns[data-v-6e69fe9a]{-webkit-box-shadow:0 0 2px 0 rgba(0,0,0,.1);box-shadow:0 0 2px 0 rgba(0,0,0,.1);width:100%;text-align:center;padding:8px 16.5px;background-color:#fff;position:fixed;bottom:0;left:0;z-index:9;-webkit-box-sizing:border-box;box-sizing:border-box}.bottom-btns button[data-v-6e69fe9a]{width:48%}.bottom-btns button.btn-primary[data-v-6e69fe9a]{background-color:#5576ab;border-color:#5576ab;color:#fff}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox{padding:15px 10px;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 10px 15px/16px 20px;border-bottom:none}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox:after{height:0;position:absolute;right:0;left:10.4px;bottom:0;display:block;content:\"\";border-bottom:.5px solid #eee;-webkit-transform:scaleY(.5);transform:scaleY(.5)}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox:hover{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 10px 15px/16px 20px;background-color:#f6f6f6}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox .poi-title{margin-bottom:5px}[data-v-6e69fe9a] .amap-pl-pc .poi-name{color:#333;font-size:14px}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox .poi-info p{font-size:12px}[data-v-6e69fe9a] .amap_lib_placeSearch .poibox .poibox-icon{display:none}[data-v-6e69fe9a] .amap-pl-pc .poi-more{margin-left:8px}[data-v-6e69fe9a] .amap_lib_placeSearch.mobile .pageLink{padding:2px 16px 2px 0;border:none;background:transparent}.btn[data-v-6e69fe9a]{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;border:1px solid transparent;white-space:nowrap;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn-default[data-v-6e69fe9a]{background-color:#fff}.pull-left[data-v-6e69fe9a]{float:left!important}.pull-right[data-v-6e69fe9a]{float:right!important}", ""]);
|
|
315
315
|
// Exports
|
|
316
316
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
317
317
|
|
|
@@ -360,7 +360,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "p[data-v-65178644]{margin:0}.sketch[da
|
|
|
360
360
|
|
|
361
361
|
/***/ }),
|
|
362
362
|
|
|
363
|
-
/***/
|
|
363
|
+
/***/ 4329:
|
|
364
364
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
365
365
|
|
|
366
366
|
"use strict";
|
|
@@ -374,7 +374,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
374
374
|
|
|
375
375
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
376
376
|
// Module
|
|
377
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-
|
|
377
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-317dec69]{position:relative;height:100vh;overflow-x:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}li[data-v-317dec69],ul[data-v-317dec69]{list-style:none}.map-box[data-v-317dec69]{width:100%;height:230px;min-height:200px;max-height:500px;background-color:#f8f8f8}.dk-info[data-v-317dec69]{margin-bottom:0}.dk-info li[data-v-317dec69]{padding:15px 16px;font-size:14px;color:#666;position:relative}.module>li[data-v-317dec69]:after{display:block;content:\" \";width:100%;height:1px;border-bottom:.5px solid #eee;background-color:#fff;position:absolute;-webkit-transform:scaleY(.5);transform:scaleY(.5);left:16px;bottom:0}.dk-info li .li-icon[data-v-317dec69]{width:14px;height:14px;color:#ccc}.dk-info li .r-icon[data-v-317dec69]{width:15px;height:15px;margin-top:4px}.dk-info li .li-icon img[data-v-317dec69]{width:100%;height:100%;vertical-align:unset}.dk-info li .li-text[data-v-317dec69]{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;color:#333;margin-left:10px}.dk-info li .li-label[data-v-317dec69]{line-height:23.5px}.dk-info li[data-v-317dec69]:nth-child(2){-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.dk-info .li-label[data-v-317dec69]{width:82.5px;padding-left:7.5px}.interval[data-v-317dec69]{height:8px;background:#f8f8f8}.mark-box[data-v-317dec69]{padding:15px}.mark-box .label-tit[data-v-317dec69]{font-size:14px}.mark-box textarea[data-v-317dec69]{border-color:#eee;padding:10px;margin-top:12px;font-size:14px;color:#666;height:124px}.upload-box[data-v-317dec69]{margin-top:10px;overflow:hidden}.upload-box li[data-v-317dec69]{width:20%;height:auto;overflow:hidden;padding:7.5px;float:left}.upload-box li>div[data-v-317dec69]{width:100%;height:0;position:relative;padding-bottom:100%;background-color:inherit}.upload-box li>div img[data-v-317dec69]{position:absolute;width:100%;height:100%}.upload-box .upload-btn>div[data-v-317dec69]{border:1px dashed #b4b4b4;border-radius:5px;position:relative}.upload-box .upload-btn>div[data-v-317dec69]:active{background-color:#f8f8f8}.upload-box .upload-btn>div img[data-v-317dec69]{position:absolute;width:56%;height:56%;margin:22%}.upload-box .upload-btn>div input[data-v-317dec69]{position:absolute;width:100%;height:100%;opacity:0}.del-btn[data-v-317dec69]{width:17.5px;height:17.5px;position:absolute;top:-6px;right:-6px;cursor:pointer}.del-btn img[data-v-317dec69]{width:100%;height:100%}.wqdk .dk-btn[data-v-317dec69]{width:120px;height:120px;background:#53a8ff;-webkit-box-shadow:0 2px 6px 1px rgba(68,119,188,.3);box-shadow:0 2px 6px 1px rgba(68,119,188,.3);border-radius:50%;border:none;color:#fff;margin-bottom:14px;padding:0}.wqdk .dk-btn[data-v-317dec69]:active{opacity:.8}.wqdk .dk-btn[disabled][data-v-317dec69]{opacity:.6}.wqdk .dk-btn .dk-ntime[data-v-317dec69]{font-weight:600;font-size:28px}.wqdk .dk-btn .dk-btn-status[data-v-317dec69]{font-size:14px;color:#ddedff}.dk-btn .dk-ntime[data-v-317dec69]{font-size:24px;font-weight:700}.dk-detail[data-v-317dec69]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.dk-db[data-v-317dec69]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;position:relative}.cur-loc-btn[data-v-317dec69]{position:absolute;right:10px;bottom:16px;width:36px;height:36px;border-radius:4px;padding:6px;background-color:hsla(0,0%,100%,.7)}.cur-loc-btn img[data-v-317dec69]{width:100%;height:100%}.outside-dk-times[data-v-317dec69]{font-size:12px;color:#333}.flex-cc[data-v-317dec69]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-cc[data-v-317dec69],.flex-rc[data-v-317dec69]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flex-rc[data-v-317dec69]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.dkEwrap[data-v-317dec69]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.dkEwrap .time_text[data-v-317dec69]{margin-bottom:14px;font-size:14px;color:#333}", ""]);
|
|
378
378
|
// Exports
|
|
379
379
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
380
380
|
|
|
@@ -24902,19 +24902,19 @@ var update = add("03c254c2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24902
24902
|
|
|
24903
24903
|
/***/ }),
|
|
24904
24904
|
|
|
24905
|
-
/***/
|
|
24905
|
+
/***/ 5736:
|
|
24906
24906
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24907
24907
|
|
|
24908
24908
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24909
24909
|
|
|
24910
24910
|
// load the styles
|
|
24911
|
-
var content = __webpack_require__(
|
|
24911
|
+
var content = __webpack_require__(2186);
|
|
24912
24912
|
if(content.__esModule) content = content.default;
|
|
24913
24913
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24914
24914
|
if(content.locals) module.exports = content.locals;
|
|
24915
24915
|
// add the styles to the DOM
|
|
24916
24916
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24917
|
-
var update = add("
|
|
24917
|
+
var update = add("6e391d4c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24918
24918
|
|
|
24919
24919
|
/***/ }),
|
|
24920
24920
|
|
|
@@ -24950,19 +24950,19 @@ var update = add("40309c8c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24950
24950
|
|
|
24951
24951
|
/***/ }),
|
|
24952
24952
|
|
|
24953
|
-
/***/
|
|
24953
|
+
/***/ 3575:
|
|
24954
24954
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24955
24955
|
|
|
24956
24956
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24957
24957
|
|
|
24958
24958
|
// load the styles
|
|
24959
|
-
var content = __webpack_require__(
|
|
24959
|
+
var content = __webpack_require__(4329);
|
|
24960
24960
|
if(content.__esModule) content = content.default;
|
|
24961
24961
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24962
24962
|
if(content.locals) module.exports = content.locals;
|
|
24963
24963
|
// add the styles to the DOM
|
|
24964
24964
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24965
|
-
var update = add("
|
|
24965
|
+
var update = add("643772fc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24966
24966
|
|
|
24967
24967
|
/***/ }),
|
|
24968
24968
|
|
|
@@ -29823,8 +29823,8 @@ var resign_component = normalizeComponent(
|
|
|
29823
29823
|
)
|
|
29824
29824
|
|
|
29825
29825
|
/* harmony default export */ var resign = (resign_component.exports);
|
|
29826
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=
|
|
29827
|
-
var
|
|
29826
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=317dec69&scoped=true
|
|
29827
|
+
var outsidevue_type_template_id_317dec69_scoped_true_render = function render() {
|
|
29828
29828
|
var _vm = this,
|
|
29829
29829
|
_c = _vm._self._c;
|
|
29830
29830
|
return _c('div', {
|
|
@@ -29836,11 +29836,24 @@ var outsidevue_type_template_id_ac6c68c4_scoped_true_render = function render()
|
|
|
29836
29836
|
"z-index": "0"
|
|
29837
29837
|
}
|
|
29838
29838
|
}, [_c('div', {
|
|
29839
|
+
directives: [{
|
|
29840
|
+
name: "show",
|
|
29841
|
+
rawName: "v-show",
|
|
29842
|
+
value: !_vm.staticImageUrl,
|
|
29843
|
+
expression: "!staticImageUrl"
|
|
29844
|
+
}],
|
|
29839
29845
|
staticClass: "map-box",
|
|
29840
29846
|
attrs: {
|
|
29841
29847
|
"id": "mapContent"
|
|
29842
29848
|
}
|
|
29843
|
-
}), _vm.
|
|
29849
|
+
}), _vm.staticImageUrl ? _c('van-image', {
|
|
29850
|
+
attrs: {
|
|
29851
|
+
"width": "100%",
|
|
29852
|
+
"height": "100%",
|
|
29853
|
+
"fit": "con",
|
|
29854
|
+
"src": _vm.staticImageUrl
|
|
29855
|
+
}
|
|
29856
|
+
}) : _vm._e(), _vm.device === 'qywx' ? _c('div', {
|
|
29844
29857
|
staticClass: "cur-loc-btn",
|
|
29845
29858
|
on: {
|
|
29846
29859
|
"click": function click($event) {
|
|
@@ -29852,7 +29865,7 @@ var outsidevue_type_template_id_ac6c68c4_scoped_true_render = function render()
|
|
|
29852
29865
|
"src": __webpack_require__(559),
|
|
29853
29866
|
"alt": ""
|
|
29854
29867
|
}
|
|
29855
|
-
})]) : _vm._e()])]), _c('ul', {
|
|
29868
|
+
})]) : _vm._e()], 1)]), _c('ul', {
|
|
29856
29869
|
staticClass: "dk-info"
|
|
29857
29870
|
}, [_c('li', {
|
|
29858
29871
|
staticClass: "flex-rc",
|
|
@@ -29962,7 +29975,7 @@ var outsidevue_type_template_id_ac6c68c4_scoped_true_render = function render()
|
|
|
29962
29975
|
}
|
|
29963
29976
|
}, [_vm._v("上班打卡")])])])])]);
|
|
29964
29977
|
};
|
|
29965
|
-
var
|
|
29978
|
+
var outsidevue_type_template_id_317dec69_scoped_true_staticRenderFns = [function () {
|
|
29966
29979
|
var _vm = this,
|
|
29967
29980
|
_c = _vm._self._c;
|
|
29968
29981
|
return _c('div', {
|
|
@@ -29984,7 +29997,7 @@ var outsidevue_type_template_id_ac6c68c4_scoped_true_staticRenderFns = [function
|
|
|
29984
29997
|
})]);
|
|
29985
29998
|
}];
|
|
29986
29999
|
|
|
29987
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=
|
|
30000
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=317dec69&scoped=true
|
|
29988
30001
|
|
|
29989
30002
|
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
29990
30003
|
var js_cookie = __webpack_require__(2215);
|
|
@@ -30034,7 +30047,8 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30034
30047
|
dkTimes: 0,
|
|
30035
30048
|
outWorkSign: 1,
|
|
30036
30049
|
// 是否开启外勤
|
|
30037
|
-
weeks: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
|
|
30050
|
+
weeks: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
|
30051
|
+
staticImageUrl: ''
|
|
30038
30052
|
};
|
|
30039
30053
|
},
|
|
30040
30054
|
computed: outsidevue_type_script_lang_js_objectSpread({}, mapGetters(['loginUser'])),
|
|
@@ -30131,7 +30145,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30131
30145
|
lng: $scope.lng,
|
|
30132
30146
|
lat: $scope.lat,
|
|
30133
30147
|
address: $scope.curAddress,
|
|
30134
|
-
updateTime:
|
|
30148
|
+
updateTime: outsidevue_type_script_lang_js_moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
|
30135
30149
|
}));
|
|
30136
30150
|
this.$router.push({
|
|
30137
30151
|
path: path
|
|
@@ -30175,27 +30189,30 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30175
30189
|
$scope.lng = kqdkDis.lng;
|
|
30176
30190
|
$scope.lat = kqdkDis.lat;
|
|
30177
30191
|
$scope.curAddress = kqdkDis.address;
|
|
30192
|
+
var lnglat = new T.LngLat(kqdkDis.lng, kqdkDis.lat);
|
|
30193
|
+
$scope.showCurPosition(lnglat);
|
|
30178
30194
|
}
|
|
30179
30195
|
}
|
|
30180
30196
|
}
|
|
30181
|
-
|
|
30182
|
-
|
|
30183
|
-
|
|
30184
|
-
|
|
30185
|
-
|
|
30186
|
-
|
|
30187
|
-
|
|
30188
|
-
|
|
30189
|
-
|
|
30190
|
-
|
|
30191
|
-
|
|
30192
|
-
|
|
30193
|
-
|
|
30194
|
-
|
|
30197
|
+
if (!locationed) {
|
|
30198
|
+
kqdkDis = sessionStorage.getItem('kqdk-dis');
|
|
30199
|
+
if (kqdkDis) {
|
|
30200
|
+
kqdkDis = JSON.parse(kqdkDis);
|
|
30201
|
+
var _updateTime = kqdkDis.updateTime;
|
|
30202
|
+
if (_updateTime.indexOf('-') != -1 && _updateTime.indexOf(':') != -1) {
|
|
30203
|
+
_updateTime = new Date(_updateTime);
|
|
30204
|
+
_updateTime.setMinutes(_updateTime.getMinutes() + 1);
|
|
30205
|
+
if (_updateTime.getTime() > new Date().getTime()) {
|
|
30206
|
+
//上次定位未超过1分钟
|
|
30207
|
+
locationed = true;
|
|
30208
|
+
$scope.lng = kqdkDis.p2.lng;
|
|
30209
|
+
$scope.lat = kqdkDis.p2.lat;
|
|
30210
|
+
$scope.getCurAddress($scope.lng, $scope.lat);
|
|
30211
|
+
$scope.showCurPosition(kqdkDis.p2);
|
|
30212
|
+
}
|
|
30195
30213
|
}
|
|
30196
30214
|
}
|
|
30197
30215
|
}
|
|
30198
|
-
// }
|
|
30199
30216
|
|
|
30200
30217
|
//H5地图定位
|
|
30201
30218
|
var _this = this;
|
|
@@ -30207,6 +30224,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30207
30224
|
_this.lng = e.lnglat.lng;
|
|
30208
30225
|
_this.lat = e.lnglat.lat;
|
|
30209
30226
|
_this.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
30227
|
+
_this.showCurPosition(e.lnglat);
|
|
30210
30228
|
}
|
|
30211
30229
|
}
|
|
30212
30230
|
if (!locationed) {
|
|
@@ -30215,13 +30233,15 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30215
30233
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
30216
30234
|
if (res.data && res.data.longitude) {
|
|
30217
30235
|
locationed = true;
|
|
30218
|
-
var
|
|
30219
|
-
$scope.
|
|
30220
|
-
|
|
30221
|
-
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
30236
|
+
var _lnglat = new T.LngLat(Number(res.data.longitude), Number(res.data.latitude));
|
|
30237
|
+
$scope.lng = _lnglat.lng;
|
|
30238
|
+
$scope.lat = _lnglat.lat;
|
|
30239
|
+
if (res.data.address && res.data.addressl !== '') {
|
|
30240
|
+
$scope.curAddress = res.data.address;
|
|
30241
|
+
} else {
|
|
30242
|
+
$scope.getCurAddress(_lnglat.lng, _lnglat.lat);
|
|
30243
|
+
}
|
|
30244
|
+
$scope.showCurPosition(_lnglat);
|
|
30225
30245
|
} else {
|
|
30226
30246
|
console.log('$wv.getLocationInformation completed,', res);
|
|
30227
30247
|
}
|
|
@@ -30242,13 +30262,11 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30242
30262
|
// 调用成功, 监听位置变化
|
|
30243
30263
|
window.wx.onLocationChange(function (res) {
|
|
30244
30264
|
if (res.errMsg.indexOf('location:report:ok') > -1) {
|
|
30245
|
-
var
|
|
30246
|
-
$scope.
|
|
30247
|
-
|
|
30248
|
-
$scope.mapObj.addOverLay(marker);
|
|
30249
|
-
$scope.lng = lnglat.lng;
|
|
30250
|
-
$scope.lat = lnglat.lat;
|
|
30265
|
+
var _lnglat2 = new T.LngLat(Number(res.longitude), Number(res.latitude));
|
|
30266
|
+
$scope.lng = _lnglat2.lng;
|
|
30267
|
+
$scope.lat = _lnglat2.lat;
|
|
30251
30268
|
$scope.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
30269
|
+
$scope.showCurPosition(_lnglat2);
|
|
30252
30270
|
} else {
|
|
30253
30271
|
// 错误处理
|
|
30254
30272
|
$scope.$toast.fail('企业微信定位失败,请稍后再试![wx.onLocationChange]');
|
|
@@ -30262,6 +30280,18 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30262
30280
|
}
|
|
30263
30281
|
}
|
|
30264
30282
|
},
|
|
30283
|
+
showCurPosition: function showCurPosition(lnglat) {
|
|
30284
|
+
var $scope = this;
|
|
30285
|
+
if (window.navigator.userAgent.indexOf('Harmony') !== -1) {
|
|
30286
|
+
//Harmony系统浏览器不能显示天地图,使用静态图片方式显示
|
|
30287
|
+
$scope.staticImageUrl = 'https://api.tianditu.gov.cn/staticimage?center=' + lnglat.lng + ',' + lnglat.lat + '&width=500&height=300&zoom=16&layers=vec_c,cva_c&markers=' + lnglat.lng + ',' + lnglat.lat + '&tk=4ac7cdf4ad06659dcd24429472ce471a';
|
|
30288
|
+
} else {
|
|
30289
|
+
$scope.staticImageUrl = '';
|
|
30290
|
+
$scope.mapObj.centerAndZoom(lnglat, 15);
|
|
30291
|
+
var marker = new T.Marker(lnglat);
|
|
30292
|
+
$scope.mapObj.addOverLay(marker);
|
|
30293
|
+
}
|
|
30294
|
+
},
|
|
30265
30295
|
getCurAddress: function getCurAddress(lng, lat) {
|
|
30266
30296
|
var $scope = this;
|
|
30267
30297
|
if ($scope.isOpenMapLocation === 1) {
|
|
@@ -30276,7 +30306,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30276
30306
|
lng: lng,
|
|
30277
30307
|
lat: lat,
|
|
30278
30308
|
address: $scope.curAddress,
|
|
30279
|
-
updateTime:
|
|
30309
|
+
updateTime: outsidevue_type_script_lang_js_moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
|
30280
30310
|
}));
|
|
30281
30311
|
}
|
|
30282
30312
|
}
|
|
@@ -30341,9 +30371,9 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30341
30371
|
});
|
|
30342
30372
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=script&lang=js
|
|
30343
30373
|
/* harmony default export */ var src_outsidevue_type_script_lang_js = (outsidevue_type_script_lang_js);
|
|
30344
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=
|
|
30345
|
-
var
|
|
30346
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=
|
|
30374
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=317dec69&prod&scoped=true&lang=scss
|
|
30375
|
+
var outsidevue_type_style_index_0_id_317dec69_prod_scoped_true_lang_scss = __webpack_require__(3575);
|
|
30376
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=317dec69&prod&scoped=true&lang=scss
|
|
30347
30377
|
|
|
30348
30378
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue
|
|
30349
30379
|
|
|
@@ -30356,18 +30386,18 @@ var outsidevue_type_style_index_0_id_ac6c68c4_prod_scoped_true_lang_scss = __web
|
|
|
30356
30386
|
|
|
30357
30387
|
var outside_component = normalizeComponent(
|
|
30358
30388
|
src_outsidevue_type_script_lang_js,
|
|
30359
|
-
|
|
30360
|
-
|
|
30389
|
+
outsidevue_type_template_id_317dec69_scoped_true_render,
|
|
30390
|
+
outsidevue_type_template_id_317dec69_scoped_true_staticRenderFns,
|
|
30361
30391
|
false,
|
|
30362
30392
|
null,
|
|
30363
|
-
"
|
|
30393
|
+
"317dec69",
|
|
30364
30394
|
null
|
|
30365
30395
|
|
|
30366
30396
|
)
|
|
30367
30397
|
|
|
30368
30398
|
/* harmony default export */ var outside = (outside_component.exports);
|
|
30369
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=template&id=
|
|
30370
|
-
var
|
|
30399
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=template&id=6e69fe9a&scoped=true
|
|
30400
|
+
var changelocationvue_type_template_id_6e69fe9a_scoped_true_render = function render() {
|
|
30371
30401
|
var _vm = this,
|
|
30372
30402
|
_c = _vm._self._c;
|
|
30373
30403
|
return _c('div', [_c('div', {
|
|
@@ -30416,13 +30446,26 @@ var changelocationvue_type_template_id_c6fd8906_scoped_true_render = function re
|
|
|
30416
30446
|
}
|
|
30417
30447
|
}
|
|
30418
30448
|
})], 1)]), _c('div', {
|
|
30449
|
+
directives: [{
|
|
30450
|
+
name: "show",
|
|
30451
|
+
rawName: "v-show",
|
|
30452
|
+
value: !_vm.staticImageUrl,
|
|
30453
|
+
expression: "!staticImageUrl"
|
|
30454
|
+
}],
|
|
30419
30455
|
staticClass: "map-main-wrap",
|
|
30420
30456
|
attrs: {
|
|
30421
30457
|
"id": "mapContent"
|
|
30422
30458
|
}
|
|
30423
|
-
}), _c('
|
|
30459
|
+
}), _vm.staticImageUrl ? _c('van-image', {
|
|
30460
|
+
attrs: {
|
|
30461
|
+
"width": "100%",
|
|
30462
|
+
"height": "100%",
|
|
30463
|
+
"fit": "con",
|
|
30464
|
+
"src": _vm.staticImageUrl
|
|
30465
|
+
}
|
|
30466
|
+
}) : _vm._e(), _c('div', {
|
|
30424
30467
|
staticClass: "list-tip borderb1px"
|
|
30425
|
-
}, [_vm._v("可选500米范围内的地点")])])]), _c('div', {
|
|
30468
|
+
}, [_vm._v("可选500米范围内的地点")])], 1)]), _c('div', {
|
|
30426
30469
|
staticStyle: {
|
|
30427
30470
|
"position": "relative",
|
|
30428
30471
|
"height": "calc(100vh - 350px)",
|
|
@@ -30484,7 +30527,7 @@ var changelocationvue_type_template_id_c6fd8906_scoped_true_render = function re
|
|
|
30484
30527
|
}
|
|
30485
30528
|
}, [_vm._v("确 定")])]], 2)], 1);
|
|
30486
30529
|
};
|
|
30487
|
-
var
|
|
30530
|
+
var changelocationvue_type_template_id_6e69fe9a_scoped_true_staticRenderFns = [];
|
|
30488
30531
|
|
|
30489
30532
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=script&lang=js
|
|
30490
30533
|
function changelocationvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return changelocationvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, changelocationvue_type_script_lang_js_typeof(o); }
|
|
@@ -30515,7 +30558,8 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30515
30558
|
curAddress: '',
|
|
30516
30559
|
lng: '',
|
|
30517
30560
|
lat: '',
|
|
30518
|
-
timespan: ''
|
|
30561
|
+
timespan: '',
|
|
30562
|
+
staticImageUrl: ''
|
|
30519
30563
|
};
|
|
30520
30564
|
},
|
|
30521
30565
|
computed: changelocationvue_type_script_lang_js_objectSpread(changelocationvue_type_script_lang_js_objectSpread({}, mapGetters(['loginUser'])), {}, {
|
|
@@ -30621,9 +30665,15 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30621
30665
|
},
|
|
30622
30666
|
// 添加标注
|
|
30623
30667
|
addPointMarker: function addPointMarker(point) {
|
|
30624
|
-
|
|
30625
|
-
|
|
30626
|
-
|
|
30668
|
+
if (window.navigator.userAgent.indexOf('Harmony') !== -1) {
|
|
30669
|
+
//Harmony系统浏览器不能显示天地图,使用静态图片方式显示
|
|
30670
|
+
this.staticImageUrl = 'https://api.tianditu.gov.cn/staticimage?center=' + point.lng + ',' + point.lat + '&width=500&height=300&zoom=16&layers=vec_c,cva_c&markers=' + point.lng + ',' + point.lat + '&tk=4ac7cdf4ad06659dcd24429472ce471a';
|
|
30671
|
+
} else {
|
|
30672
|
+
this.staticImageUrl = '';
|
|
30673
|
+
this.mapObj.clearOverLays();
|
|
30674
|
+
var marker = new T.Marker(point);
|
|
30675
|
+
this.mapObj.addOverLay(marker);
|
|
30676
|
+
}
|
|
30627
30677
|
this.lng = point.lng;
|
|
30628
30678
|
this.lat = point.lat;
|
|
30629
30679
|
},
|
|
@@ -30659,9 +30709,9 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30659
30709
|
});
|
|
30660
30710
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=script&lang=js
|
|
30661
30711
|
/* harmony default export */ var components_changelocationvue_type_script_lang_js = (changelocationvue_type_script_lang_js);
|
|
30662
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=style&index=0&id=
|
|
30663
|
-
var
|
|
30664
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=style&index=0&id=
|
|
30712
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=style&index=0&id=6e69fe9a&prod&scoped=true&lang=scss
|
|
30713
|
+
var changelocationvue_type_style_index_0_id_6e69fe9a_prod_scoped_true_lang_scss = __webpack_require__(5736);
|
|
30714
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=style&index=0&id=6e69fe9a&prod&scoped=true&lang=scss
|
|
30665
30715
|
|
|
30666
30716
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue
|
|
30667
30717
|
|
|
@@ -30674,11 +30724,11 @@ var changelocationvue_type_style_index_0_id_c6fd8906_prod_scoped_true_lang_scss
|
|
|
30674
30724
|
|
|
30675
30725
|
var changelocation_component = normalizeComponent(
|
|
30676
30726
|
components_changelocationvue_type_script_lang_js,
|
|
30677
|
-
|
|
30678
|
-
|
|
30727
|
+
changelocationvue_type_template_id_6e69fe9a_scoped_true_render,
|
|
30728
|
+
changelocationvue_type_template_id_6e69fe9a_scoped_true_staticRenderFns,
|
|
30679
30729
|
false,
|
|
30680
30730
|
null,
|
|
30681
|
-
"
|
|
30731
|
+
"6e69fe9a",
|
|
30682
30732
|
null
|
|
30683
30733
|
|
|
30684
30734
|
)
|