ecinc-cloud-moakqgl 9.6.275 → 9.6.276
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 +48 -56
- package/lib/ecmoakqgl.umd.js +48 -56
- package/lib/ecmoakqgl.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmoakqgl.common.js
CHANGED
|
@@ -364,7 +364,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "p[data-v-65178644]{margin:0}.sketch[da
|
|
|
364
364
|
|
|
365
365
|
/***/ }),
|
|
366
366
|
|
|
367
|
-
/***/
|
|
367
|
+
/***/ 3282:
|
|
368
368
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
369
369
|
|
|
370
370
|
"use strict";
|
|
@@ -378,7 +378,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
378
378
|
|
|
379
379
|
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()));
|
|
380
380
|
// Module
|
|
381
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-
|
|
381
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-7ca670cd]{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-7ca670cd],ul[data-v-7ca670cd]{list-style:none}.map-box[data-v-7ca670cd]{width:100%;height:230px;min-height:200px;max-height:500px;background-color:#f8f8f8}.dk-info[data-v-7ca670cd]{margin-bottom:0}.dk-info li[data-v-7ca670cd]{padding:15px 16px;font-size:14px;color:#666;position:relative}.module>li[data-v-7ca670cd]: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-7ca670cd]{width:14px;height:14px;color:#ccc}.dk-info li .r-icon[data-v-7ca670cd]{width:15px;height:15px;margin-top:4px}.dk-info li .li-icon img[data-v-7ca670cd]{width:100%;height:100%;vertical-align:unset}.dk-info li .li-text[data-v-7ca670cd]{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;color:#333;margin-left:10px}.dk-info li .li-label[data-v-7ca670cd]{line-height:23.5px}.dk-info li[data-v-7ca670cd]:nth-child(2){-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.dk-info .li-label[data-v-7ca670cd]{width:82.5px;padding-left:7.5px}.interval[data-v-7ca670cd]{height:8px;background:#f8f8f8}.mark-box[data-v-7ca670cd]{padding:15px}.mark-box .label-tit[data-v-7ca670cd]{font-size:14px}.mark-box textarea[data-v-7ca670cd]{border-color:#eee;padding:10px;margin-top:12px;font-size:14px;color:#666;height:124px}.upload-box[data-v-7ca670cd]{margin-top:10px;overflow:hidden}.upload-box li[data-v-7ca670cd]{width:20%;height:auto;overflow:hidden;padding:7.5px;float:left}.upload-box li>div[data-v-7ca670cd]{width:100%;height:0;position:relative;padding-bottom:100%;background-color:inherit}.upload-box li>div img[data-v-7ca670cd]{position:absolute;width:100%;height:100%}.upload-box .upload-btn>div[data-v-7ca670cd]{border:1px dashed #b4b4b4;border-radius:5px;position:relative}.upload-box .upload-btn>div[data-v-7ca670cd]:active{background-color:#f8f8f8}.upload-box .upload-btn>div img[data-v-7ca670cd]{position:absolute;width:56%;height:56%;margin:22%}.upload-box .upload-btn>div input[data-v-7ca670cd]{position:absolute;width:100%;height:100%;opacity:0}.del-btn[data-v-7ca670cd]{width:17.5px;height:17.5px;position:absolute;top:-6px;right:-6px;cursor:pointer}.del-btn img[data-v-7ca670cd]{width:100%;height:100%}.wqdk .dk-btn[data-v-7ca670cd]{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-7ca670cd]:active{opacity:.8}.wqdk .dk-btn[disabled][data-v-7ca670cd]{opacity:.6}.wqdk .dk-btn .dk-ntime[data-v-7ca670cd]{font-weight:600;font-size:28px}.wqdk .dk-btn .dk-btn-status[data-v-7ca670cd]{font-size:14px;color:#ddedff}.dk-btn .dk-ntime[data-v-7ca670cd]{font-size:24px;font-weight:700}.dk-detail[data-v-7ca670cd]{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-7ca670cd]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;position:relative}.cur-loc-btn[data-v-7ca670cd]{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-7ca670cd]{width:100%;height:100%}.outside-dk-times[data-v-7ca670cd]{font-size:12px;color:#333}.flex-cc[data-v-7ca670cd]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-cc[data-v-7ca670cd],.flex-rc[data-v-7ca670cd]{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-7ca670cd]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.dkEwrap[data-v-7ca670cd]{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-7ca670cd]{margin-bottom:14px;font-size:14px;color:#333}", ""]);
|
|
382
382
|
// Exports
|
|
383
383
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
384
384
|
|
|
@@ -24954,19 +24954,19 @@ var update = add("40309c8c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24954
24954
|
|
|
24955
24955
|
/***/ }),
|
|
24956
24956
|
|
|
24957
|
-
/***/
|
|
24957
|
+
/***/ 6364:
|
|
24958
24958
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24959
24959
|
|
|
24960
24960
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24961
24961
|
|
|
24962
24962
|
// load the styles
|
|
24963
|
-
var content = __webpack_require__(
|
|
24963
|
+
var content = __webpack_require__(3282);
|
|
24964
24964
|
if(content.__esModule) content = content.default;
|
|
24965
24965
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24966
24966
|
if(content.locals) module.exports = content.locals;
|
|
24967
24967
|
// add the styles to the DOM
|
|
24968
24968
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24969
|
-
var update = add("
|
|
24969
|
+
var update = add("763b26f3", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24970
24970
|
|
|
24971
24971
|
/***/ }),
|
|
24972
24972
|
|
|
@@ -29835,8 +29835,8 @@ var resign_component = normalizeComponent(
|
|
|
29835
29835
|
)
|
|
29836
29836
|
|
|
29837
29837
|
/* harmony default export */ var resign = (resign_component.exports);
|
|
29838
|
-
;// 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=
|
|
29839
|
-
var
|
|
29838
|
+
;// 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=7ca670cd&scoped=true
|
|
29839
|
+
var outsidevue_type_template_id_7ca670cd_scoped_true_render = function render() {
|
|
29840
29840
|
var _vm = this,
|
|
29841
29841
|
_c = _vm._self._c;
|
|
29842
29842
|
return _c('div', {
|
|
@@ -29974,7 +29974,7 @@ var outsidevue_type_template_id_59982289_scoped_true_render = function render()
|
|
|
29974
29974
|
}
|
|
29975
29975
|
}, [_vm._v("上班打卡")])])])])]);
|
|
29976
29976
|
};
|
|
29977
|
-
var
|
|
29977
|
+
var outsidevue_type_template_id_7ca670cd_scoped_true_staticRenderFns = [function () {
|
|
29978
29978
|
var _vm = this,
|
|
29979
29979
|
_c = _vm._self._c;
|
|
29980
29980
|
return _c('div', {
|
|
@@ -29996,7 +29996,7 @@ var outsidevue_type_template_id_59982289_scoped_true_staticRenderFns = [function
|
|
|
29996
29996
|
})]);
|
|
29997
29997
|
}];
|
|
29998
29998
|
|
|
29999
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=
|
|
29999
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=7ca670cd&scoped=true
|
|
30000
30000
|
|
|
30001
30001
|
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
30002
30002
|
var js_cookie = __webpack_require__(2215);
|
|
@@ -30078,6 +30078,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30078
30078
|
var timeId = _this2.timespan.timeInterval.id;
|
|
30079
30079
|
var personSchId = _this2.timespan.personSchId;
|
|
30080
30080
|
_this2.Cookies.set('timeSpan', encodeURIComponent(timeId + ':' + personSchId + ':' + _this2.outWorkSign + ':' + _this2.outWorkSingType));
|
|
30081
|
+
_this2.initMap();
|
|
30081
30082
|
});
|
|
30082
30083
|
},
|
|
30083
30084
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -30087,46 +30088,40 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30087
30088
|
mounted: function mounted() {
|
|
30088
30089
|
this.freshTimer(); // 刷新时间
|
|
30089
30090
|
this.timer = setInterval(this.freshTimer, 1000 * 2);
|
|
30090
|
-
|
|
30091
|
-
// 获取当前位置
|
|
30092
|
-
if (window.isOpenMapLocation === 1) {
|
|
30093
|
-
this.isOpenMapLocation = window.isOpenMapLocation;
|
|
30094
|
-
this.mapObj = new T.Map('mapContent', {
|
|
30095
|
-
projection: 'EPSG:4326'
|
|
30096
|
-
});
|
|
30097
|
-
console.log('1. create mapObj');
|
|
30098
|
-
var lnglat = new T.LngLat(116.40769, 39.89945); //天安门
|
|
30099
|
-
var lastPosition = localStorage.getItem('lastPosition');
|
|
30100
|
-
if (lastPosition) {
|
|
30101
|
-
//最后一次外勤定位
|
|
30102
|
-
console.log('2. lastPosition', lastPosition);
|
|
30103
|
-
lastPosition = JSON.parse(lastPosition);
|
|
30104
|
-
lnglat = new T.LngLat(lastPosition.lng, lastPosition.lat);
|
|
30105
|
-
this.showCurPosition(lnglat);
|
|
30106
|
-
} else {
|
|
30107
|
-
console.log('2. lastPosition none');
|
|
30108
|
-
}
|
|
30109
|
-
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30110
|
-
console.log('3. centerAndZoom');
|
|
30111
|
-
|
|
30112
|
-
//添加缩放平移控件
|
|
30113
|
-
var zoomCtrl = new T.Control.Zoom();
|
|
30114
|
-
zoomCtrl.setPosition(T_ANCHOR_BOTTOM_RIGHT);
|
|
30115
|
-
this.mapObj.addControl(zoomCtrl);
|
|
30116
|
-
console.log('4. add zoom Control');
|
|
30117
|
-
|
|
30118
|
-
//添加比例尺控件
|
|
30119
|
-
this.mapObj.addControl(new T.Control.Scale());
|
|
30120
|
-
console.log('5. add scale Control');
|
|
30121
|
-
if (lastPosition) {
|
|
30122
|
-
this.showCurPosition(lnglat);
|
|
30123
|
-
}
|
|
30124
|
-
this.curLocationAndDis();
|
|
30125
|
-
this.curInterval = setInterval(this.curLocationAndDis, 1000 * 60); //定时刷新外勤定位信息
|
|
30126
|
-
}
|
|
30127
30091
|
this.getDkTimes();
|
|
30128
30092
|
},
|
|
30129
30093
|
methods: {
|
|
30094
|
+
initMap: function initMap() {
|
|
30095
|
+
// 获取当前位置
|
|
30096
|
+
if (window.isOpenMapLocation === 1) {
|
|
30097
|
+
this.isOpenMapLocation = window.isOpenMapLocation;
|
|
30098
|
+
this.mapObj = new T.Map('mapContent', {
|
|
30099
|
+
projection: 'EPSG:4326'
|
|
30100
|
+
});
|
|
30101
|
+
var lnglat = new T.LngLat(116.40769, 39.89945); //天安门
|
|
30102
|
+
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30103
|
+
var lastPosition = localStorage.getItem('lastPosition');
|
|
30104
|
+
if (lastPosition) {
|
|
30105
|
+
//最后一次外勤定位
|
|
30106
|
+
lastPosition = JSON.parse(lastPosition);
|
|
30107
|
+
lnglat = new T.LngLat(lastPosition.lng, lastPosition.lat);
|
|
30108
|
+
this.showCurPosition(lnglat);
|
|
30109
|
+
}
|
|
30110
|
+
|
|
30111
|
+
//添加缩放平移控件
|
|
30112
|
+
var zoomCtrl = new T.Control.Zoom();
|
|
30113
|
+
zoomCtrl.setPosition(T_ANCHOR_BOTTOM_RIGHT);
|
|
30114
|
+
this.mapObj.addControl(zoomCtrl);
|
|
30115
|
+
|
|
30116
|
+
//添加比例尺控件
|
|
30117
|
+
this.mapObj.addControl(new T.Control.Scale());
|
|
30118
|
+
if (lastPosition) {
|
|
30119
|
+
this.showCurPosition(lnglat);
|
|
30120
|
+
}
|
|
30121
|
+
this.curLocationAndDis();
|
|
30122
|
+
this.curInterval = setInterval(this.curLocationAndDis, 1000 * 60); //定时刷新外勤定位信息
|
|
30123
|
+
}
|
|
30124
|
+
},
|
|
30130
30125
|
gotoPages: function gotoPages(path, flag) {
|
|
30131
30126
|
var $scope = this;
|
|
30132
30127
|
if (path === -1) {
|
|
@@ -30195,7 +30190,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30195
30190
|
var locationed = false;
|
|
30196
30191
|
var lo = new T.Geolocation();
|
|
30197
30192
|
var kqdkDis = sessionStorage.getItem('curLocInfo');
|
|
30198
|
-
console.log('6. curLocInof', kqdkDis);
|
|
30199
30193
|
if (kqdkDis) {
|
|
30200
30194
|
kqdkDis = JSON.parse(kqdkDis);
|
|
30201
30195
|
var updateTime = kqdkDis.updateTime;
|
|
@@ -30215,7 +30209,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30215
30209
|
}
|
|
30216
30210
|
if (!locationed) {
|
|
30217
30211
|
kqdkDis = sessionStorage.getItem('kqdk-dis');
|
|
30218
|
-
console.log('7. kqdk-dis', kqdkDis);
|
|
30219
30212
|
if (kqdkDis) {
|
|
30220
30213
|
kqdkDis = JSON.parse(kqdkDis);
|
|
30221
30214
|
var _updateTime = kqdkDis.updateTime;
|
|
@@ -30254,7 +30247,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30254
30247
|
if (!locationed) {
|
|
30255
30248
|
if (window.mappType === 'ecinc') {
|
|
30256
30249
|
this.$wv.getLocationInformation(function (res) {
|
|
30257
|
-
console.log('8. $wv.getLocationInformation', res);
|
|
30258
30250
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
30259
30251
|
if (res.data && res.data.longitude) {
|
|
30260
30252
|
locationed = true;
|
|
@@ -30307,7 +30299,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30307
30299
|
}
|
|
30308
30300
|
},
|
|
30309
30301
|
showCurPosition: function showCurPosition(lnglat) {
|
|
30310
|
-
|
|
30302
|
+
this.mapObj.clearOverLays();
|
|
30311
30303
|
this.staticImageUrl = '';
|
|
30312
30304
|
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30313
30305
|
var marker = new T.Marker(lnglat);
|
|
@@ -30396,9 +30388,9 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30396
30388
|
});
|
|
30397
30389
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=script&lang=js
|
|
30398
30390
|
/* harmony default export */ var src_outsidevue_type_script_lang_js = (outsidevue_type_script_lang_js);
|
|
30399
|
-
// 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=
|
|
30400
|
-
var
|
|
30401
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=
|
|
30391
|
+
// 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=7ca670cd&prod&scoped=true&lang=scss
|
|
30392
|
+
var outsidevue_type_style_index_0_id_7ca670cd_prod_scoped_true_lang_scss = __webpack_require__(6364);
|
|
30393
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=7ca670cd&prod&scoped=true&lang=scss
|
|
30402
30394
|
|
|
30403
30395
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue
|
|
30404
30396
|
|
|
@@ -30411,11 +30403,11 @@ var outsidevue_type_style_index_0_id_59982289_prod_scoped_true_lang_scss = __web
|
|
|
30411
30403
|
|
|
30412
30404
|
var outside_component = normalizeComponent(
|
|
30413
30405
|
src_outsidevue_type_script_lang_js,
|
|
30414
|
-
|
|
30415
|
-
|
|
30406
|
+
outsidevue_type_template_id_7ca670cd_scoped_true_render,
|
|
30407
|
+
outsidevue_type_template_id_7ca670cd_scoped_true_staticRenderFns,
|
|
30416
30408
|
false,
|
|
30417
30409
|
null,
|
|
30418
|
-
"
|
|
30410
|
+
"7ca670cd",
|
|
30419
30411
|
null
|
|
30420
30412
|
|
|
30421
30413
|
)
|
package/lib/ecmoakqgl.umd.js
CHANGED
|
@@ -374,7 +374,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "p[data-v-65178644]{margin:0}.sketch[da
|
|
|
374
374
|
|
|
375
375
|
/***/ }),
|
|
376
376
|
|
|
377
|
-
/***/
|
|
377
|
+
/***/ 5522:
|
|
378
378
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
379
379
|
|
|
380
380
|
"use strict";
|
|
@@ -388,7 +388,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
388
388
|
|
|
389
389
|
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()));
|
|
390
390
|
// Module
|
|
391
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-
|
|
391
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".wqdk[data-v-7ca670cd]{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-7ca670cd],ul[data-v-7ca670cd]{list-style:none}.map-box[data-v-7ca670cd]{width:100%;height:230px;min-height:200px;max-height:500px;background-color:#f8f8f8}.dk-info[data-v-7ca670cd]{margin-bottom:0}.dk-info li[data-v-7ca670cd]{padding:15px 16px;font-size:14px;color:#666;position:relative}.module>li[data-v-7ca670cd]: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-7ca670cd]{width:14px;height:14px;color:#ccc}.dk-info li .r-icon[data-v-7ca670cd]{width:15px;height:15px;margin-top:4px}.dk-info li .li-icon img[data-v-7ca670cd]{width:100%;height:100%;vertical-align:unset}.dk-info li .li-text[data-v-7ca670cd]{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:14px;color:#333;margin-left:10px}.dk-info li .li-label[data-v-7ca670cd]{line-height:23.5px}.dk-info li[data-v-7ca670cd]:nth-child(2){-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.dk-info .li-label[data-v-7ca670cd]{width:82.5px;padding-left:7.5px}.interval[data-v-7ca670cd]{height:8px;background:#f8f8f8}.mark-box[data-v-7ca670cd]{padding:15px}.mark-box .label-tit[data-v-7ca670cd]{font-size:14px}.mark-box textarea[data-v-7ca670cd]{border-color:#eee;padding:10px;margin-top:12px;font-size:14px;color:#666;height:124px}.upload-box[data-v-7ca670cd]{margin-top:10px;overflow:hidden}.upload-box li[data-v-7ca670cd]{width:20%;height:auto;overflow:hidden;padding:7.5px;float:left}.upload-box li>div[data-v-7ca670cd]{width:100%;height:0;position:relative;padding-bottom:100%;background-color:inherit}.upload-box li>div img[data-v-7ca670cd]{position:absolute;width:100%;height:100%}.upload-box .upload-btn>div[data-v-7ca670cd]{border:1px dashed #b4b4b4;border-radius:5px;position:relative}.upload-box .upload-btn>div[data-v-7ca670cd]:active{background-color:#f8f8f8}.upload-box .upload-btn>div img[data-v-7ca670cd]{position:absolute;width:56%;height:56%;margin:22%}.upload-box .upload-btn>div input[data-v-7ca670cd]{position:absolute;width:100%;height:100%;opacity:0}.del-btn[data-v-7ca670cd]{width:17.5px;height:17.5px;position:absolute;top:-6px;right:-6px;cursor:pointer}.del-btn img[data-v-7ca670cd]{width:100%;height:100%}.wqdk .dk-btn[data-v-7ca670cd]{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-7ca670cd]:active{opacity:.8}.wqdk .dk-btn[disabled][data-v-7ca670cd]{opacity:.6}.wqdk .dk-btn .dk-ntime[data-v-7ca670cd]{font-weight:600;font-size:28px}.wqdk .dk-btn .dk-btn-status[data-v-7ca670cd]{font-size:14px;color:#ddedff}.dk-btn .dk-ntime[data-v-7ca670cd]{font-size:24px;font-weight:700}.dk-detail[data-v-7ca670cd]{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-7ca670cd]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;position:relative}.cur-loc-btn[data-v-7ca670cd]{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-7ca670cd]{width:100%;height:100%}.outside-dk-times[data-v-7ca670cd]{font-size:12px;color:#333}.flex-cc[data-v-7ca670cd]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-cc[data-v-7ca670cd],.flex-rc[data-v-7ca670cd]{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-7ca670cd]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.dkEwrap[data-v-7ca670cd]{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-7ca670cd]{margin-bottom:14px;font-size:14px;color:#333}", ""]);
|
|
392
392
|
// Exports
|
|
393
393
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
394
394
|
|
|
@@ -24964,19 +24964,19 @@ var update = add("5507e814", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24964
24964
|
|
|
24965
24965
|
/***/ }),
|
|
24966
24966
|
|
|
24967
|
-
/***/
|
|
24967
|
+
/***/ 3286:
|
|
24968
24968
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24969
24969
|
|
|
24970
24970
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24971
24971
|
|
|
24972
24972
|
// load the styles
|
|
24973
|
-
var content = __webpack_require__(
|
|
24973
|
+
var content = __webpack_require__(5522);
|
|
24974
24974
|
if(content.__esModule) content = content.default;
|
|
24975
24975
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24976
24976
|
if(content.locals) module.exports = content.locals;
|
|
24977
24977
|
// add the styles to the DOM
|
|
24978
24978
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24979
|
-
var update = add("
|
|
24979
|
+
var update = add("33a6691a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24980
24980
|
|
|
24981
24981
|
/***/ }),
|
|
24982
24982
|
|
|
@@ -29845,8 +29845,8 @@ var resign_component = normalizeComponent(
|
|
|
29845
29845
|
)
|
|
29846
29846
|
|
|
29847
29847
|
/* harmony default export */ var resign = (resign_component.exports);
|
|
29848
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
29849
|
-
var
|
|
29848
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=7ca670cd&scoped=true
|
|
29849
|
+
var outsidevue_type_template_id_7ca670cd_scoped_true_render = function render() {
|
|
29850
29850
|
var _vm = this,
|
|
29851
29851
|
_c = _vm._self._c;
|
|
29852
29852
|
return _c('div', {
|
|
@@ -29984,7 +29984,7 @@ var outsidevue_type_template_id_59982289_scoped_true_render = function render()
|
|
|
29984
29984
|
}
|
|
29985
29985
|
}, [_vm._v("上班打卡")])])])])]);
|
|
29986
29986
|
};
|
|
29987
|
-
var
|
|
29987
|
+
var outsidevue_type_template_id_7ca670cd_scoped_true_staticRenderFns = [function () {
|
|
29988
29988
|
var _vm = this,
|
|
29989
29989
|
_c = _vm._self._c;
|
|
29990
29990
|
return _c('div', {
|
|
@@ -30006,7 +30006,7 @@ var outsidevue_type_template_id_59982289_scoped_true_staticRenderFns = [function
|
|
|
30006
30006
|
})]);
|
|
30007
30007
|
}];
|
|
30008
30008
|
|
|
30009
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=
|
|
30009
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=template&id=7ca670cd&scoped=true
|
|
30010
30010
|
|
|
30011
30011
|
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
30012
30012
|
var js_cookie = __webpack_require__(2215);
|
|
@@ -30088,6 +30088,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30088
30088
|
var timeId = _this2.timespan.timeInterval.id;
|
|
30089
30089
|
var personSchId = _this2.timespan.personSchId;
|
|
30090
30090
|
_this2.Cookies.set('timeSpan', encodeURIComponent(timeId + ':' + personSchId + ':' + _this2.outWorkSign + ':' + _this2.outWorkSingType));
|
|
30091
|
+
_this2.initMap();
|
|
30091
30092
|
});
|
|
30092
30093
|
},
|
|
30093
30094
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -30097,46 +30098,40 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30097
30098
|
mounted: function mounted() {
|
|
30098
30099
|
this.freshTimer(); // 刷新时间
|
|
30099
30100
|
this.timer = setInterval(this.freshTimer, 1000 * 2);
|
|
30100
|
-
|
|
30101
|
-
// 获取当前位置
|
|
30102
|
-
if (window.isOpenMapLocation === 1) {
|
|
30103
|
-
this.isOpenMapLocation = window.isOpenMapLocation;
|
|
30104
|
-
this.mapObj = new T.Map('mapContent', {
|
|
30105
|
-
projection: 'EPSG:4326'
|
|
30106
|
-
});
|
|
30107
|
-
console.log('1. create mapObj');
|
|
30108
|
-
var lnglat = new T.LngLat(116.40769, 39.89945); //天安门
|
|
30109
|
-
var lastPosition = localStorage.getItem('lastPosition');
|
|
30110
|
-
if (lastPosition) {
|
|
30111
|
-
//最后一次外勤定位
|
|
30112
|
-
console.log('2. lastPosition', lastPosition);
|
|
30113
|
-
lastPosition = JSON.parse(lastPosition);
|
|
30114
|
-
lnglat = new T.LngLat(lastPosition.lng, lastPosition.lat);
|
|
30115
|
-
this.showCurPosition(lnglat);
|
|
30116
|
-
} else {
|
|
30117
|
-
console.log('2. lastPosition none');
|
|
30118
|
-
}
|
|
30119
|
-
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30120
|
-
console.log('3. centerAndZoom');
|
|
30121
|
-
|
|
30122
|
-
//添加缩放平移控件
|
|
30123
|
-
var zoomCtrl = new T.Control.Zoom();
|
|
30124
|
-
zoomCtrl.setPosition(T_ANCHOR_BOTTOM_RIGHT);
|
|
30125
|
-
this.mapObj.addControl(zoomCtrl);
|
|
30126
|
-
console.log('4. add zoom Control');
|
|
30127
|
-
|
|
30128
|
-
//添加比例尺控件
|
|
30129
|
-
this.mapObj.addControl(new T.Control.Scale());
|
|
30130
|
-
console.log('5. add scale Control');
|
|
30131
|
-
if (lastPosition) {
|
|
30132
|
-
this.showCurPosition(lnglat);
|
|
30133
|
-
}
|
|
30134
|
-
this.curLocationAndDis();
|
|
30135
|
-
this.curInterval = setInterval(this.curLocationAndDis, 1000 * 60); //定时刷新外勤定位信息
|
|
30136
|
-
}
|
|
30137
30101
|
this.getDkTimes();
|
|
30138
30102
|
},
|
|
30139
30103
|
methods: {
|
|
30104
|
+
initMap: function initMap() {
|
|
30105
|
+
// 获取当前位置
|
|
30106
|
+
if (window.isOpenMapLocation === 1) {
|
|
30107
|
+
this.isOpenMapLocation = window.isOpenMapLocation;
|
|
30108
|
+
this.mapObj = new T.Map('mapContent', {
|
|
30109
|
+
projection: 'EPSG:4326'
|
|
30110
|
+
});
|
|
30111
|
+
var lnglat = new T.LngLat(116.40769, 39.89945); //天安门
|
|
30112
|
+
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30113
|
+
var lastPosition = localStorage.getItem('lastPosition');
|
|
30114
|
+
if (lastPosition) {
|
|
30115
|
+
//最后一次外勤定位
|
|
30116
|
+
lastPosition = JSON.parse(lastPosition);
|
|
30117
|
+
lnglat = new T.LngLat(lastPosition.lng, lastPosition.lat);
|
|
30118
|
+
this.showCurPosition(lnglat);
|
|
30119
|
+
}
|
|
30120
|
+
|
|
30121
|
+
//添加缩放平移控件
|
|
30122
|
+
var zoomCtrl = new T.Control.Zoom();
|
|
30123
|
+
zoomCtrl.setPosition(T_ANCHOR_BOTTOM_RIGHT);
|
|
30124
|
+
this.mapObj.addControl(zoomCtrl);
|
|
30125
|
+
|
|
30126
|
+
//添加比例尺控件
|
|
30127
|
+
this.mapObj.addControl(new T.Control.Scale());
|
|
30128
|
+
if (lastPosition) {
|
|
30129
|
+
this.showCurPosition(lnglat);
|
|
30130
|
+
}
|
|
30131
|
+
this.curLocationAndDis();
|
|
30132
|
+
this.curInterval = setInterval(this.curLocationAndDis, 1000 * 60); //定时刷新外勤定位信息
|
|
30133
|
+
}
|
|
30134
|
+
},
|
|
30140
30135
|
gotoPages: function gotoPages(path, flag) {
|
|
30141
30136
|
var $scope = this;
|
|
30142
30137
|
if (path === -1) {
|
|
@@ -30205,7 +30200,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30205
30200
|
var locationed = false;
|
|
30206
30201
|
var lo = new T.Geolocation();
|
|
30207
30202
|
var kqdkDis = sessionStorage.getItem('curLocInfo');
|
|
30208
|
-
console.log('6. curLocInof', kqdkDis);
|
|
30209
30203
|
if (kqdkDis) {
|
|
30210
30204
|
kqdkDis = JSON.parse(kqdkDis);
|
|
30211
30205
|
var updateTime = kqdkDis.updateTime;
|
|
@@ -30225,7 +30219,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30225
30219
|
}
|
|
30226
30220
|
if (!locationed) {
|
|
30227
30221
|
kqdkDis = sessionStorage.getItem('kqdk-dis');
|
|
30228
|
-
console.log('7. kqdk-dis', kqdkDis);
|
|
30229
30222
|
if (kqdkDis) {
|
|
30230
30223
|
kqdkDis = JSON.parse(kqdkDis);
|
|
30231
30224
|
var _updateTime = kqdkDis.updateTime;
|
|
@@ -30264,7 +30257,6 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30264
30257
|
if (!locationed) {
|
|
30265
30258
|
if (window.mappType === 'ecinc') {
|
|
30266
30259
|
this.$wv.getLocationInformation(function (res) {
|
|
30267
|
-
console.log('8. $wv.getLocationInformation', res);
|
|
30268
30260
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
30269
30261
|
if (res.data && res.data.longitude) {
|
|
30270
30262
|
locationed = true;
|
|
@@ -30317,7 +30309,7 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30317
30309
|
}
|
|
30318
30310
|
},
|
|
30319
30311
|
showCurPosition: function showCurPosition(lnglat) {
|
|
30320
|
-
|
|
30312
|
+
this.mapObj.clearOverLays();
|
|
30321
30313
|
this.staticImageUrl = '';
|
|
30322
30314
|
this.mapObj.centerAndZoom(lnglat, 15);
|
|
30323
30315
|
var marker = new T.Marker(lnglat);
|
|
@@ -30406,9 +30398,9 @@ var outsidevue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
30406
30398
|
});
|
|
30407
30399
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=script&lang=js
|
|
30408
30400
|
/* harmony default export */ var src_outsidevue_type_script_lang_js = (outsidevue_type_script_lang_js);
|
|
30409
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=
|
|
30410
|
-
var
|
|
30411
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=
|
|
30401
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=7ca670cd&prod&scoped=true&lang=scss
|
|
30402
|
+
var outsidevue_type_style_index_0_id_7ca670cd_prod_scoped_true_lang_scss = __webpack_require__(3286);
|
|
30403
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue?vue&type=style&index=0&id=7ca670cd&prod&scoped=true&lang=scss
|
|
30412
30404
|
|
|
30413
30405
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/outside/index.vue
|
|
30414
30406
|
|
|
@@ -30421,11 +30413,11 @@ var outsidevue_type_style_index_0_id_59982289_prod_scoped_true_lang_scss = __web
|
|
|
30421
30413
|
|
|
30422
30414
|
var outside_component = normalizeComponent(
|
|
30423
30415
|
src_outsidevue_type_script_lang_js,
|
|
30424
|
-
|
|
30425
|
-
|
|
30416
|
+
outsidevue_type_template_id_7ca670cd_scoped_true_render,
|
|
30417
|
+
outsidevue_type_template_id_7ca670cd_scoped_true_staticRenderFns,
|
|
30426
30418
|
false,
|
|
30427
30419
|
null,
|
|
30428
|
-
"
|
|
30420
|
+
"7ca670cd",
|
|
30429
30421
|
null
|
|
30430
30422
|
|
|
30431
30423
|
)
|