ecinc-cloud-moakqgl 9.6.268 → 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 +94 -51
- package/lib/ecmoakqgl.umd.js +94 -51
- 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_4005ecaa_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_4005ecaa_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_4005ecaa_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_4005ecaa_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'])),
|
|
@@ -30176,9 +30190,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30176
30190
|
$scope.lat = kqdkDis.lat;
|
|
30177
30191
|
$scope.curAddress = kqdkDis.address;
|
|
30178
30192
|
var lnglat = new T.LngLat(kqdkDis.lng, kqdkDis.lat);
|
|
30179
|
-
$scope.
|
|
30180
|
-
$scope.curMarker = new T.Marker(lnglat);
|
|
30181
|
-
$scope.mapObj.addOverLay($scope.curMarker);
|
|
30193
|
+
$scope.showCurPosition(lnglat);
|
|
30182
30194
|
}
|
|
30183
30195
|
}
|
|
30184
30196
|
}
|
|
@@ -30196,9 +30208,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30196
30208
|
$scope.lng = kqdkDis.p2.lng;
|
|
30197
30209
|
$scope.lat = kqdkDis.p2.lat;
|
|
30198
30210
|
$scope.getCurAddress($scope.lng, $scope.lat);
|
|
30199
|
-
$scope.
|
|
30200
|
-
$scope.curMarker = new T.Marker(kqdkDis.p2);
|
|
30201
|
-
$scope.mapObj.addOverLay($scope.curMarker);
|
|
30211
|
+
$scope.showCurPosition(kqdkDis.p2);
|
|
30202
30212
|
}
|
|
30203
30213
|
}
|
|
30204
30214
|
}
|
|
@@ -30214,6 +30224,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30214
30224
|
_this.lng = e.lnglat.lng;
|
|
30215
30225
|
_this.lat = e.lnglat.lat;
|
|
30216
30226
|
_this.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
30227
|
+
_this.showCurPosition(e.lnglat);
|
|
30217
30228
|
}
|
|
30218
30229
|
}
|
|
30219
30230
|
if (!locationed) {
|
|
@@ -30223,12 +30234,14 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30223
30234
|
if (res.data && res.data.longitude) {
|
|
30224
30235
|
locationed = true;
|
|
30225
30236
|
var _lnglat = new T.LngLat(Number(res.data.longitude), Number(res.data.latitude));
|
|
30226
|
-
$scope.mapObj.centerAndZoom(_lnglat, 15);
|
|
30227
|
-
var marker = new T.Marker(_lnglat);
|
|
30228
|
-
$scope.mapObj.addOverLay(marker);
|
|
30229
30237
|
$scope.lng = _lnglat.lng;
|
|
30230
30238
|
$scope.lat = _lnglat.lat;
|
|
30231
|
-
|
|
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);
|
|
30232
30245
|
} else {
|
|
30233
30246
|
console.log('$wv.getLocationInformation completed,', res);
|
|
30234
30247
|
}
|
|
@@ -30250,12 +30263,10 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30250
30263
|
window.wx.onLocationChange(function (res) {
|
|
30251
30264
|
if (res.errMsg.indexOf('location:report:ok') > -1) {
|
|
30252
30265
|
var _lnglat2 = new T.LngLat(Number(res.longitude), Number(res.latitude));
|
|
30253
|
-
$scope.mapObj.centerAndZoom(_lnglat2, 15);
|
|
30254
|
-
var marker = new T.Marker(_lnglat2);
|
|
30255
|
-
$scope.mapObj.addOverLay(marker);
|
|
30256
30266
|
$scope.lng = _lnglat2.lng;
|
|
30257
30267
|
$scope.lat = _lnglat2.lat;
|
|
30258
30268
|
$scope.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
30269
|
+
$scope.showCurPosition(_lnglat2);
|
|
30259
30270
|
} else {
|
|
30260
30271
|
// 错误处理
|
|
30261
30272
|
$scope.$toast.fail('企业微信定位失败,请稍后再试![wx.onLocationChange]');
|
|
@@ -30269,6 +30280,18 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30269
30280
|
}
|
|
30270
30281
|
}
|
|
30271
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
|
+
},
|
|
30272
30295
|
getCurAddress: function getCurAddress(lng, lat) {
|
|
30273
30296
|
var $scope = this;
|
|
30274
30297
|
if ($scope.isOpenMapLocation === 1) {
|
|
@@ -30348,9 +30371,9 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30348
30371
|
});
|
|
30349
30372
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=script&lang=js
|
|
30350
30373
|
/* harmony default export */ var src_outsidevue_type_script_lang_js = (outsidevue_type_script_lang_js);
|
|
30351
|
-
// 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=
|
|
30352
|
-
var
|
|
30353
|
-
;// 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
|
|
30354
30377
|
|
|
30355
30378
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue
|
|
30356
30379
|
|
|
@@ -30363,18 +30386,18 @@ var outsidevue_type_style_index_0_id_4005ecaa_prod_scoped_true_lang_scss = __web
|
|
|
30363
30386
|
|
|
30364
30387
|
var outside_component = normalizeComponent(
|
|
30365
30388
|
src_outsidevue_type_script_lang_js,
|
|
30366
|
-
|
|
30367
|
-
|
|
30389
|
+
outsidevue_type_template_id_317dec69_scoped_true_render,
|
|
30390
|
+
outsidevue_type_template_id_317dec69_scoped_true_staticRenderFns,
|
|
30368
30391
|
false,
|
|
30369
30392
|
null,
|
|
30370
|
-
"
|
|
30393
|
+
"317dec69",
|
|
30371
30394
|
null
|
|
30372
30395
|
|
|
30373
30396
|
)
|
|
30374
30397
|
|
|
30375
30398
|
/* harmony default export */ var outside = (outside_component.exports);
|
|
30376
|
-
;// 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=
|
|
30377
|
-
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() {
|
|
30378
30401
|
var _vm = this,
|
|
30379
30402
|
_c = _vm._self._c;
|
|
30380
30403
|
return _c('div', [_c('div', {
|
|
@@ -30423,13 +30446,26 @@ var changelocationvue_type_template_id_c6fd8906_scoped_true_render = function re
|
|
|
30423
30446
|
}
|
|
30424
30447
|
}
|
|
30425
30448
|
})], 1)]), _c('div', {
|
|
30449
|
+
directives: [{
|
|
30450
|
+
name: "show",
|
|
30451
|
+
rawName: "v-show",
|
|
30452
|
+
value: !_vm.staticImageUrl,
|
|
30453
|
+
expression: "!staticImageUrl"
|
|
30454
|
+
}],
|
|
30426
30455
|
staticClass: "map-main-wrap",
|
|
30427
30456
|
attrs: {
|
|
30428
30457
|
"id": "mapContent"
|
|
30429
30458
|
}
|
|
30430
|
-
}), _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', {
|
|
30431
30467
|
staticClass: "list-tip borderb1px"
|
|
30432
|
-
}, [_vm._v("可选500米范围内的地点")])])]), _c('div', {
|
|
30468
|
+
}, [_vm._v("可选500米范围内的地点")])], 1)]), _c('div', {
|
|
30433
30469
|
staticStyle: {
|
|
30434
30470
|
"position": "relative",
|
|
30435
30471
|
"height": "calc(100vh - 350px)",
|
|
@@ -30491,7 +30527,7 @@ var changelocationvue_type_template_id_c6fd8906_scoped_true_render = function re
|
|
|
30491
30527
|
}
|
|
30492
30528
|
}, [_vm._v("确 定")])]], 2)], 1);
|
|
30493
30529
|
};
|
|
30494
|
-
var
|
|
30530
|
+
var changelocationvue_type_template_id_6e69fe9a_scoped_true_staticRenderFns = [];
|
|
30495
30531
|
|
|
30496
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
|
|
30497
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); }
|
|
@@ -30522,7 +30558,8 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30522
30558
|
curAddress: '',
|
|
30523
30559
|
lng: '',
|
|
30524
30560
|
lat: '',
|
|
30525
|
-
timespan: ''
|
|
30561
|
+
timespan: '',
|
|
30562
|
+
staticImageUrl: ''
|
|
30526
30563
|
};
|
|
30527
30564
|
},
|
|
30528
30565
|
computed: changelocationvue_type_script_lang_js_objectSpread(changelocationvue_type_script_lang_js_objectSpread({}, mapGetters(['loginUser'])), {}, {
|
|
@@ -30628,9 +30665,15 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30628
30665
|
},
|
|
30629
30666
|
// 添加标注
|
|
30630
30667
|
addPointMarker: function addPointMarker(point) {
|
|
30631
|
-
|
|
30632
|
-
|
|
30633
|
-
|
|
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
|
+
}
|
|
30634
30677
|
this.lng = point.lng;
|
|
30635
30678
|
this.lat = point.lat;
|
|
30636
30679
|
},
|
|
@@ -30666,9 +30709,9 @@ function changelocationvue_type_script_lang_js_toPrimitive(t, r) { if ("object"
|
|
|
30666
30709
|
});
|
|
30667
30710
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue?vue&type=script&lang=js
|
|
30668
30711
|
/* harmony default export */ var components_changelocationvue_type_script_lang_js = (changelocationvue_type_script_lang_js);
|
|
30669
|
-
// 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=
|
|
30670
|
-
var
|
|
30671
|
-
;// 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
|
|
30672
30715
|
|
|
30673
30716
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/components/changelocation.vue
|
|
30674
30717
|
|
|
@@ -30681,11 +30724,11 @@ var changelocationvue_type_style_index_0_id_c6fd8906_prod_scoped_true_lang_scss
|
|
|
30681
30724
|
|
|
30682
30725
|
var changelocation_component = normalizeComponent(
|
|
30683
30726
|
components_changelocationvue_type_script_lang_js,
|
|
30684
|
-
|
|
30685
|
-
|
|
30727
|
+
changelocationvue_type_template_id_6e69fe9a_scoped_true_render,
|
|
30728
|
+
changelocationvue_type_template_id_6e69fe9a_scoped_true_staticRenderFns,
|
|
30686
30729
|
false,
|
|
30687
30730
|
null,
|
|
30688
|
-
"
|
|
30731
|
+
"6e69fe9a",
|
|
30689
30732
|
null
|
|
30690
30733
|
|
|
30691
30734
|
)
|