ecinc-cloud-moakqgl 9.6.232 → 9.6.234
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 +45 -27
- package/lib/ecmoakqgl.umd.js +45 -27
- package/lib/ecmoakqgl.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecmoakqgl.common.js
CHANGED
|
@@ -215,7 +215,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-6993786a] .shade{background-co
|
|
|
215
215
|
|
|
216
216
|
/***/ }),
|
|
217
217
|
|
|
218
|
-
/***/
|
|
218
|
+
/***/ 5990:
|
|
219
219
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
220
220
|
|
|
221
221
|
"use strict";
|
|
@@ -236,7 +236,7 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
236
236
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
237
237
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
|
238
238
|
// Module
|
|
239
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".kq-index-title[data-v-
|
|
239
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".kq-index-title[data-v-29926979]{background:#fff;position:relative}.kq-index-title .kq-index-inner[data-v-29926979]{padding:15px 16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.kq-index-title .kq-index-inner .kq-title-photo[data-v-29926979]{height:36px;width:36px;border-radius:50%;text-align:center;background:#53a8ff}.kq-index-title .kq-index-inner .kq-title-text[data-v-29926979]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:14px}.kq-index-title .kq-index-inner .kq-title-text .top .left[data-v-29926979]{font-size:16px}.kq-index-title .kq-index-inner .kq-title-text .top .right[data-v-29926979]{margin-left:14px;font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-text .bottom[data-v-29926979]{margin-top:5px}.kq-index-title .kq-index-inner .kq-title-text .bottom .timespan[data-v-29926979]{font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-record[data-v-29926979]{text-align:center}[data-v-29926979] .tabs_outbox .van-tabs__content{height:calc(100vh - 96px);overflow-y:auto}p[data-v-29926979]{margin:0;padding:0}.flex-rc[data-v-29926979]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-cc[data-v-29926979],.flex-rc[data-v-29926979]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.flex-cc[data-v-29926979]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-tc[data-v-29926979]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-tc[data-v-29926979],.module[data-v-29926979]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.module[data-v-29926979]{background-color:#fff;height:100%;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}small[data-v-29926979]{display:inline;color:#999}.dk-module[data-v-29926979]{padding:14px 16px 0;font-size:16px;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.dk-module .dk_btn[data-v-29926979]{margin-bottom:45px;-ms-flex-item-align:end;align-self:flex-end;width:100%}.dk-day b[data-v-29926979]{font-weight:400}.dk-ts>div[data-v-29926979]:first-child{width:24px}.dk-ts>div[data-v-29926979]:last-child{-webkit-box-flex:1;-ms-flex:1;flex:1}.dkEwrap[data-v-29926979]{margin-top:14px}.dkEwrap .dk-btn[data-v-29926979]{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;cursor:pointer;padding:0}.dkEwrap .dk-btn[data-v-29926979]:active{opacity:.8}.dkEwrap .dk-btn .dk-ntime[data-v-29926979]{font-weight:600;font-size:28px}.dkEwrap .dk-btn[disabled][data-v-29926979]{opacity:.6}.dkEwrap .dk-btn .dk-btn-status[data-v-29926979]{font-size:14px;color:#ddedff}.dkEwrap .dk-btn-tip[data-v-29926979]{display:inline-block;background-position-x:left;background-position-y:6px;font-size:12px;color:#333}.dk-list[data-v-29926979]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.dk-list .l-line[data-v-29926979]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:166px;height:66px;background:#f7f8fa}.dk-list .l-line .dk-time[data-v-29926979]{margin:10px 14px}.dk-list .l-line .dk-time .really[data-v-29926979]{font-size:12px;color:#666}.dk-list .l-line .dk-time .dk-status[data-v-29926979]{font-size:11px}.dk-list .l-line .dk-time .dk-avtive[data-v-29926979]{line-height:14px;display:inline-block;width:14px;height:14px;bottom:0;vertical-align:middle}.dk-list .l-line .dk-time .allow[data-v-29926979]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 0/14px}.dk-list .l-line .dk-time .success1[data-v-29926979]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 0/14px}.dk-list .dk-time .really[data-v-29926979]{font-size:15px;padding:0 5px;color:#333;font-weight:700}.dk-list .dk-cicon[data-v-29926979]{position:absolute;left:2px;top:2px}.dk-list .dk-cicon .svg-icon[data-v-29926979]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:23px;color:#999}.dk-list .dk-cicon .success_time[data-v-29926979]{color:#48ba79}.dk-list .dk-cicon .error_time[data-v-29926979]{color:#fab342}.dk-list .dk-address[data-v-29926979]{padding-left:48px;font-size:12px;color:#999;background-position-y:2px}.ec-grids[data-v-29926979]{position:relative;margin:10px 0 20px;overflow:hidden}.ec-grids[data-v-29926979]:before{right:0;height:1px;border-top:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.ec-grids[data-v-29926979]:after,.ec-grids[data-v-29926979]:before{content:\" \";position:absolute;left:0;top:0;color:#d9d9d9}.ec-grids[data-v-29926979]:after{width:1px;bottom:0;border-left:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.ec-grid[data-v-29926979]{position:relative;padding:20px 10px;cursor:pointer}.ec-grid[data-v-29926979]:before{top:0;width:1px;border-right:1px solid #d9d9d9;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.ec-grid[data-v-29926979]:after,.ec-grid[data-v-29926979]:before{content:\" \";position:absolute;right:0;bottom:0;color:#d9d9d9}.ec-grid[data-v-29926979]:after{left:0;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.ec-grid[data-v-29926979]:active{background-color:#f8f8f8}.ec-grid img[data-v-29926979]{width:35px;height:35px;margin-bottom:7.5px}.add-box-icon[data-v-29926979]{width:50px;height:50px;border-radius:50%;-webkit-box-shadow:2px 2px 6px 1px #eee;box-shadow:2px 2px 6px 1px #eee;padding:10px;margin-bottom:10px}.add-box-li:active .add-box-icon[data-v-29926979]{-webkit-box-shadow:none;box-shadow:none}.add-box-icon img[data-v-29926979]{width:100%;height:100%}.add-box-txt[data-v-29926979]{font-size:16px;color:#333}.commodity[data-v-29926979]{animation:blink 1s infinite;-webkit-animation:blink 1s infinite}.dkhou[data-v-29926979]{width:100%;height:calc(100% - 50px);position:fixed;bottom:50px;left:0;background:rgba(0,0,0,.33);z-index:1000}.dkhou .content[data-v-29926979]{width:80%;background:#fff;margin:200px auto 0;border-radius:10px;text-align:center}.dkhou .content[data-v-29926979]:after{content:\"\";display:block;visibility:hidden;clear:both}.dkhou .content img[data-v-29926979]{width:60px;margin:25px 0}.dkhou .content hr[data-v-29926979]{margin-bottom:0;-webkit-box-sizing:content-box;box-sizing:content-box;height:0;margin-top:20px;border:0;border-top:1px solid #eee}.dkhou .content p[data-v-29926979]{font-size:16px;color:#5077aa;padding:15px 0}.dkhou p.two[data-v-29926979]{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.dkhou p.first[data-v-29926979]{border-right:1px solid #eee}section.affair .dk-day[data-v-29926979]{font-weight:400;font-size:14px;color:#333;text-align:center}section.affair .dk-ts[data-v-29926979]{color:#999;text-align:center;font-size:13px;line-height:20px;margin-top:12px}section.affair .dk-list li:not(:last-child) .dk-cicon[data-v-29926979]:after{position:absolute;content:\"\";border-left:1px dashed #ccc;height:62px;left:11px;top:20px}section.affair .dk-list li:not(:last-child) .havedk[data-v-29926979]:after{border-color:#48ba79}.isRefresh[data-v-29926979]{animation:loop-29926979 1s linear infinite;-webkit-animation:loop-29926979 1s linear infinite}@-webkit-keyframes loop-29926979{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes loop-29926979{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}", ""]);
|
|
240
240
|
// Exports
|
|
241
241
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
242
242
|
|
|
@@ -24854,19 +24854,19 @@ var update = add("c6a7c276", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24854
24854
|
|
|
24855
24855
|
/***/ }),
|
|
24856
24856
|
|
|
24857
|
-
/***/
|
|
24857
|
+
/***/ 584:
|
|
24858
24858
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24859
24859
|
|
|
24860
24860
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24861
24861
|
|
|
24862
24862
|
// load the styles
|
|
24863
|
-
var content = __webpack_require__(
|
|
24863
|
+
var content = __webpack_require__(5990);
|
|
24864
24864
|
if(content.__esModule) content = content.default;
|
|
24865
24865
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24866
24866
|
if(content.locals) module.exports = content.locals;
|
|
24867
24867
|
// add the styles to the DOM
|
|
24868
24868
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24869
|
-
var update = add("
|
|
24869
|
+
var update = add("6c0eb1bf", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24870
24870
|
|
|
24871
24871
|
/***/ }),
|
|
24872
24872
|
|
|
@@ -31312,8 +31312,8 @@ var faceguide_component = normalizeComponent(
|
|
|
31312
31312
|
)
|
|
31313
31313
|
|
|
31314
31314
|
/* harmony default export */ var faceguide = (faceguide_component.exports);
|
|
31315
|
-
;// 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/kqdk/index.vue?vue&type=template&id=
|
|
31316
|
-
var
|
|
31315
|
+
;// 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/kqdk/index.vue?vue&type=template&id=29926979&scoped=true
|
|
31316
|
+
var kqdkvue_type_template_id_29926979_scoped_true_render = function render() {
|
|
31317
31317
|
var _vm = this,
|
|
31318
31318
|
_c = _vm._self._c;
|
|
31319
31319
|
return _c('div', {
|
|
@@ -31521,13 +31521,16 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31521
31521
|
attrs: {
|
|
31522
31522
|
"name": "replay"
|
|
31523
31523
|
}
|
|
31524
|
-
})], 1), _vm.dis !==
|
|
31524
|
+
})], 1), _vm.dis !== null && _vm.dis <= _vm.gpsScope ? _c('span', {
|
|
31525
31525
|
staticClass: "dk-btn-tip"
|
|
31526
|
-
}, [_vm._v("
|
|
31527
|
-
staticClass: "dk-btn-tip iwarn"
|
|
31528
|
-
|
|
31526
|
+
}, [_vm._v("已经进入考勤打卡范围")]) : _vm.dis !== null && _vm.dis > _vm.gpsScope ? _c('span', {
|
|
31527
|
+
staticClass: "dk-btn-tip iwarn",
|
|
31528
|
+
on: {
|
|
31529
|
+
"click": _vm.viewCurAddress
|
|
31530
|
+
}
|
|
31531
|
+
}, [_vm._v("当前不在考勤打卡地点范围内")]) : _vm.dis === null ? _c('span', {
|
|
31529
31532
|
staticClass: "dk-btn-tip iwarn"
|
|
31530
|
-
}, [_vm._v("
|
|
31533
|
+
}, [_vm._v("未获取到定位信息,请手动刷新")]) : _vm._e(), _vm.timeSpanData.outWorkSign === 1 ? _c('span', {
|
|
31531
31534
|
staticStyle: {
|
|
31532
31535
|
"color": "#53a8ff",
|
|
31533
31536
|
"font-size": "12px",
|
|
@@ -31539,7 +31542,9 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31539
31542
|
return _vm.gotoPage('outside');
|
|
31540
31543
|
}
|
|
31541
31544
|
}
|
|
31542
|
-
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e()
|
|
31545
|
+
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e(), _vm.showCurAddress ? _c('span', {
|
|
31546
|
+
staticClass: "dk-btn-tip"
|
|
31547
|
+
}, [_vm._v(_vm._s(_vm.curAddress))]) : _vm._e()])])])]), _c('div', {
|
|
31543
31548
|
directives: [{
|
|
31544
31549
|
name: "show",
|
|
31545
31550
|
rawName: "v-show",
|
|
@@ -31621,9 +31626,9 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31621
31626
|
}
|
|
31622
31627
|
}, [_vm._v("确认打卡")])])])]);
|
|
31623
31628
|
};
|
|
31624
|
-
var
|
|
31629
|
+
var kqdkvue_type_template_id_29926979_scoped_true_staticRenderFns = [];
|
|
31625
31630
|
|
|
31626
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=
|
|
31631
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=29926979&scoped=true
|
|
31627
31632
|
|
|
31628
31633
|
;// 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/kqdk/index.vue?vue&type=script&lang=js
|
|
31629
31634
|
function kqdkvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return kqdkvue_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; }, kqdkvue_type_script_lang_js_typeof(o); }
|
|
@@ -31661,6 +31666,10 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31661
31666
|
// 考勤范围
|
|
31662
31667
|
timeSpanData: {},
|
|
31663
31668
|
// 考勤时间
|
|
31669
|
+
showCurAddress: false,
|
|
31670
|
+
//是否显示当前地址
|
|
31671
|
+
curAddress: '',
|
|
31672
|
+
//当前地址
|
|
31664
31673
|
el: '',
|
|
31665
31674
|
isLoad: false,
|
|
31666
31675
|
gap: 1000 * 60,
|
|
@@ -31696,12 +31705,14 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31696
31705
|
this.init();
|
|
31697
31706
|
}
|
|
31698
31707
|
this.freshData();
|
|
31699
|
-
|
|
31700
|
-
|
|
31708
|
+
if (this.timer) {
|
|
31709
|
+
clearInterval(this.timer);
|
|
31710
|
+
}
|
|
31711
|
+
this.timer = setInterval(this.freshData, this.gap); //定时刷新考勤班次信息
|
|
31701
31712
|
},
|
|
31702
31713
|
beforeDestroy: function beforeDestroy() {
|
|
31703
|
-
if (this.timer
|
|
31704
|
-
if (this.getCurInterval
|
|
31714
|
+
if (this.timer) clearInterval(this.timer);
|
|
31715
|
+
if (this.getCurInterval) clearInterval(this.getCurInterval);
|
|
31705
31716
|
},
|
|
31706
31717
|
methods: {
|
|
31707
31718
|
// 初始化地图
|
|
@@ -31730,7 +31741,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31730
31741
|
// 地图定位
|
|
31731
31742
|
if (this.isOpenMapLocation === 1) {
|
|
31732
31743
|
this.getCurLocation();
|
|
31733
|
-
this.getCurInterval = setInterval(this.getCurLocation, 1000 * 30);
|
|
31744
|
+
this.getCurInterval = setInterval(this.getCurLocation, 1000 * 30); //定时刷新定位信息
|
|
31734
31745
|
} else if (device === 'qywx') {
|
|
31735
31746
|
// 企业微信定位
|
|
31736
31747
|
window.wx.getLocation({
|
|
@@ -31761,8 +31772,9 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31761
31772
|
getDis: function getDis(lng, lat) {
|
|
31762
31773
|
var $scope = this;
|
|
31763
31774
|
var p2 = new T.LngLat(lng, lat);
|
|
31764
|
-
var dis =
|
|
31775
|
+
var dis = null; // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31765
31776
|
var addrs = $scope.timeSpanData.addressList;
|
|
31777
|
+
console.log('addrs', addrs);
|
|
31766
31778
|
if (!addrs || addrs.length === 0) {
|
|
31767
31779
|
return;
|
|
31768
31780
|
} else if (addrs.length === 1) {
|
|
@@ -31770,10 +31782,12 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31770
31782
|
$scope.p1 = new T.LngLat(parseFloat(addrs[0].gpsXy.split(',')[0]), parseFloat(addrs[0].gpsXy.split(',')[1]));
|
|
31771
31783
|
dis = $scope.mapObj.getDistance($scope.p1, p2); // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31772
31784
|
$scope.gpsScope = addrs[0].gpsScope;
|
|
31785
|
+
console.log('dis', dis);
|
|
31773
31786
|
} else if (addrs.length > 1) {
|
|
31774
31787
|
addrs.forEach(function (v, i) {
|
|
31775
31788
|
var p = new T.LngLat(parseFloat(v.gpsXy.split(',')[0]), parseFloat(v.gpsXy.split(',')[1]));
|
|
31776
31789
|
var distance = $scope.mapObj.getDistance(p, p2); // 返回 当前位置到考勤地点 间的地面距离,单位:米
|
|
31790
|
+
console.log('dis' + i, distance);
|
|
31777
31791
|
if (i === 0) {
|
|
31778
31792
|
dis = distance; // 第一次赋值
|
|
31779
31793
|
$scope.dkAddr = v;
|
|
@@ -31794,6 +31808,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31794
31808
|
this.saveGpsInfo(); // 存储考勤位置信息;
|
|
31795
31809
|
this.nearest = true;
|
|
31796
31810
|
}
|
|
31811
|
+
console.log('dis', dis, $scope.gpsScope);
|
|
31797
31812
|
$scope.dis = dis;
|
|
31798
31813
|
$scope.$forceUpdate();
|
|
31799
31814
|
},
|
|
@@ -32101,14 +32116,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32101
32116
|
this.$router.push('/' + url);
|
|
32102
32117
|
}
|
|
32103
32118
|
// }
|
|
32119
|
+
},
|
|
32120
|
+
viewCurAddress: function viewCurAddress() {
|
|
32121
|
+
this.showCurAddress = !this.showCurAddress;
|
|
32104
32122
|
}
|
|
32105
32123
|
}
|
|
32106
32124
|
});
|
|
32107
32125
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=script&lang=js
|
|
32108
32126
|
/* harmony default export */ var src_kqdkvue_type_script_lang_js = (kqdkvue_type_script_lang_js);
|
|
32109
|
-
// 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/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32110
|
-
var
|
|
32111
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32127
|
+
// 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/kqdk/index.vue?vue&type=style&index=0&id=29926979&prod&scoped=true&lang=scss
|
|
32128
|
+
var kqdkvue_type_style_index_0_id_29926979_prod_scoped_true_lang_scss = __webpack_require__(584);
|
|
32129
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=29926979&prod&scoped=true&lang=scss
|
|
32112
32130
|
|
|
32113
32131
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue
|
|
32114
32132
|
|
|
@@ -32121,11 +32139,11 @@ var kqdkvue_type_style_index_0_id_42743616_prod_scoped_true_lang_scss = __webpac
|
|
|
32121
32139
|
|
|
32122
32140
|
var kqdk_component = normalizeComponent(
|
|
32123
32141
|
src_kqdkvue_type_script_lang_js,
|
|
32124
|
-
|
|
32125
|
-
|
|
32142
|
+
kqdkvue_type_template_id_29926979_scoped_true_render,
|
|
32143
|
+
kqdkvue_type_template_id_29926979_scoped_true_staticRenderFns,
|
|
32126
32144
|
false,
|
|
32127
32145
|
null,
|
|
32128
|
-
"
|
|
32146
|
+
"29926979",
|
|
32129
32147
|
null
|
|
32130
32148
|
|
|
32131
32149
|
)
|
package/lib/ecmoakqgl.umd.js
CHANGED
|
@@ -225,7 +225,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-6993786a] .shade{background-co
|
|
|
225
225
|
|
|
226
226
|
/***/ }),
|
|
227
227
|
|
|
228
|
-
/***/
|
|
228
|
+
/***/ 7638:
|
|
229
229
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
230
230
|
|
|
231
231
|
"use strict";
|
|
@@ -246,7 +246,7 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
246
246
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
247
247
|
var ___CSS_LOADER_URL_REPLACEMENT_1___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);
|
|
248
248
|
// Module
|
|
249
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".kq-index-title[data-v-
|
|
249
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".kq-index-title[data-v-29926979]{background:#fff;position:relative}.kq-index-title .kq-index-inner[data-v-29926979]{padding:15px 16px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.kq-index-title .kq-index-inner .kq-title-photo[data-v-29926979]{height:36px;width:36px;border-radius:50%;text-align:center;background:#53a8ff}.kq-index-title .kq-index-inner .kq-title-text[data-v-29926979]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:14px}.kq-index-title .kq-index-inner .kq-title-text .top .left[data-v-29926979]{font-size:16px}.kq-index-title .kq-index-inner .kq-title-text .top .right[data-v-29926979]{margin-left:14px;font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-text .bottom[data-v-29926979]{margin-top:5px}.kq-index-title .kq-index-inner .kq-title-text .bottom .timespan[data-v-29926979]{font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-record[data-v-29926979]{text-align:center}[data-v-29926979] .tabs_outbox .van-tabs__content{height:calc(100vh - 96px);overflow-y:auto}p[data-v-29926979]{margin:0;padding:0}.flex-rc[data-v-29926979]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-cc[data-v-29926979],.flex-rc[data-v-29926979]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.flex-cc[data-v-29926979]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-tc[data-v-29926979]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-tc[data-v-29926979],.module[data-v-29926979]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.module[data-v-29926979]{background-color:#fff;height:100%;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}small[data-v-29926979]{display:inline;color:#999}.dk-module[data-v-29926979]{padding:14px 16px 0;font-size:16px;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap}.dk-module .dk_btn[data-v-29926979]{margin-bottom:45px;-ms-flex-item-align:end;align-self:flex-end;width:100%}.dk-day b[data-v-29926979]{font-weight:400}.dk-ts>div[data-v-29926979]:first-child{width:24px}.dk-ts>div[data-v-29926979]:last-child{-webkit-box-flex:1;-ms-flex:1;flex:1}.dkEwrap[data-v-29926979]{margin-top:14px}.dkEwrap .dk-btn[data-v-29926979]{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;cursor:pointer;padding:0}.dkEwrap .dk-btn[data-v-29926979]:active{opacity:.8}.dkEwrap .dk-btn .dk-ntime[data-v-29926979]{font-weight:600;font-size:28px}.dkEwrap .dk-btn[disabled][data-v-29926979]{opacity:.6}.dkEwrap .dk-btn .dk-btn-status[data-v-29926979]{font-size:14px;color:#ddedff}.dkEwrap .dk-btn-tip[data-v-29926979]{display:inline-block;background-position-x:left;background-position-y:6px;font-size:12px;color:#333}.dk-list[data-v-29926979]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.dk-list .l-line[data-v-29926979]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:166px;height:66px;background:#f7f8fa}.dk-list .l-line .dk-time[data-v-29926979]{margin:10px 14px}.dk-list .l-line .dk-time .really[data-v-29926979]{font-size:12px;color:#666}.dk-list .l-line .dk-time .dk-status[data-v-29926979]{font-size:11px}.dk-list .l-line .dk-time .dk-avtive[data-v-29926979]{line-height:14px;display:inline-block;width:14px;height:14px;bottom:0;vertical-align:middle}.dk-list .l-line .dk-time .allow[data-v-29926979]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 0/14px}.dk-list .l-line .dk-time .success1[data-v-29926979]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 0/14px}.dk-list .dk-time .really[data-v-29926979]{font-size:15px;padding:0 5px;color:#333;font-weight:700}.dk-list .dk-cicon[data-v-29926979]{position:absolute;left:2px;top:2px}.dk-list .dk-cicon .svg-icon[data-v-29926979]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:23px;color:#999}.dk-list .dk-cicon .success_time[data-v-29926979]{color:#48ba79}.dk-list .dk-cicon .error_time[data-v-29926979]{color:#fab342}.dk-list .dk-address[data-v-29926979]{padding-left:48px;font-size:12px;color:#999;background-position-y:2px}.ec-grids[data-v-29926979]{position:relative;margin:10px 0 20px;overflow:hidden}.ec-grids[data-v-29926979]:before{right:0;height:1px;border-top:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.ec-grids[data-v-29926979]:after,.ec-grids[data-v-29926979]:before{content:\" \";position:absolute;left:0;top:0;color:#d9d9d9}.ec-grids[data-v-29926979]:after{width:1px;bottom:0;border-left:1px solid #d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.ec-grid[data-v-29926979]{position:relative;padding:20px 10px;cursor:pointer}.ec-grid[data-v-29926979]:before{top:0;width:1px;border-right:1px solid #d9d9d9;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.ec-grid[data-v-29926979]:after,.ec-grid[data-v-29926979]:before{content:\" \";position:absolute;right:0;bottom:0;color:#d9d9d9}.ec-grid[data-v-29926979]:after{left:0;height:1px;border-bottom:1px solid #d9d9d9;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.ec-grid[data-v-29926979]:active{background-color:#f8f8f8}.ec-grid img[data-v-29926979]{width:35px;height:35px;margin-bottom:7.5px}.add-box-icon[data-v-29926979]{width:50px;height:50px;border-radius:50%;-webkit-box-shadow:2px 2px 6px 1px #eee;box-shadow:2px 2px 6px 1px #eee;padding:10px;margin-bottom:10px}.add-box-li:active .add-box-icon[data-v-29926979]{-webkit-box-shadow:none;box-shadow:none}.add-box-icon img[data-v-29926979]{width:100%;height:100%}.add-box-txt[data-v-29926979]{font-size:16px;color:#333}.commodity[data-v-29926979]{animation:blink 1s infinite;-webkit-animation:blink 1s infinite}.dkhou[data-v-29926979]{width:100%;height:calc(100% - 50px);position:fixed;bottom:50px;left:0;background:rgba(0,0,0,.33);z-index:1000}.dkhou .content[data-v-29926979]{width:80%;background:#fff;margin:200px auto 0;border-radius:10px;text-align:center}.dkhou .content[data-v-29926979]:after{content:\"\";display:block;visibility:hidden;clear:both}.dkhou .content img[data-v-29926979]{width:60px;margin:25px 0}.dkhou .content hr[data-v-29926979]{margin-bottom:0;-webkit-box-sizing:content-box;box-sizing:content-box;height:0;margin-top:20px;border:0;border-top:1px solid #eee}.dkhou .content p[data-v-29926979]{font-size:16px;color:#5077aa;padding:15px 0}.dkhou p.two[data-v-29926979]{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.dkhou p.first[data-v-29926979]{border-right:1px solid #eee}section.affair .dk-day[data-v-29926979]{font-weight:400;font-size:14px;color:#333;text-align:center}section.affair .dk-ts[data-v-29926979]{color:#999;text-align:center;font-size:13px;line-height:20px;margin-top:12px}section.affair .dk-list li:not(:last-child) .dk-cicon[data-v-29926979]:after{position:absolute;content:\"\";border-left:1px dashed #ccc;height:62px;left:11px;top:20px}section.affair .dk-list li:not(:last-child) .havedk[data-v-29926979]:after{border-color:#48ba79}.isRefresh[data-v-29926979]{animation:loop-29926979 1s linear infinite;-webkit-animation:loop-29926979 1s linear infinite}@-webkit-keyframes loop-29926979{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes loop-29926979{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}", ""]);
|
|
250
250
|
// Exports
|
|
251
251
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
252
252
|
|
|
@@ -24864,19 +24864,19 @@ var update = add("42bf4989", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24864
24864
|
|
|
24865
24865
|
/***/ }),
|
|
24866
24866
|
|
|
24867
|
-
/***/
|
|
24867
|
+
/***/ 5058:
|
|
24868
24868
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
24869
24869
|
|
|
24870
24870
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
24871
24871
|
|
|
24872
24872
|
// load the styles
|
|
24873
|
-
var content = __webpack_require__(
|
|
24873
|
+
var content = __webpack_require__(7638);
|
|
24874
24874
|
if(content.__esModule) content = content.default;
|
|
24875
24875
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
24876
24876
|
if(content.locals) module.exports = content.locals;
|
|
24877
24877
|
// add the styles to the DOM
|
|
24878
24878
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
24879
|
-
var update = add("
|
|
24879
|
+
var update = add("28d94582", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24880
24880
|
|
|
24881
24881
|
/***/ }),
|
|
24882
24882
|
|
|
@@ -31322,8 +31322,8 @@ var faceguide_component = normalizeComponent(
|
|
|
31322
31322
|
)
|
|
31323
31323
|
|
|
31324
31324
|
/* harmony default export */ var faceguide = (faceguide_component.exports);
|
|
31325
|
-
;// 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/kqdk/index.vue?vue&type=template&id=
|
|
31326
|
-
var
|
|
31325
|
+
;// 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/kqdk/index.vue?vue&type=template&id=29926979&scoped=true
|
|
31326
|
+
var kqdkvue_type_template_id_29926979_scoped_true_render = function render() {
|
|
31327
31327
|
var _vm = this,
|
|
31328
31328
|
_c = _vm._self._c;
|
|
31329
31329
|
return _c('div', {
|
|
@@ -31531,13 +31531,16 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31531
31531
|
attrs: {
|
|
31532
31532
|
"name": "replay"
|
|
31533
31533
|
}
|
|
31534
|
-
})], 1), _vm.dis !==
|
|
31534
|
+
})], 1), _vm.dis !== null && _vm.dis <= _vm.gpsScope ? _c('span', {
|
|
31535
31535
|
staticClass: "dk-btn-tip"
|
|
31536
|
-
}, [_vm._v("
|
|
31537
|
-
staticClass: "dk-btn-tip iwarn"
|
|
31538
|
-
|
|
31536
|
+
}, [_vm._v("已经进入考勤打卡范围")]) : _vm.dis !== null && _vm.dis > _vm.gpsScope ? _c('span', {
|
|
31537
|
+
staticClass: "dk-btn-tip iwarn",
|
|
31538
|
+
on: {
|
|
31539
|
+
"click": _vm.viewCurAddress
|
|
31540
|
+
}
|
|
31541
|
+
}, [_vm._v("当前不在考勤打卡地点范围内")]) : _vm.dis === null ? _c('span', {
|
|
31539
31542
|
staticClass: "dk-btn-tip iwarn"
|
|
31540
|
-
}, [_vm._v("
|
|
31543
|
+
}, [_vm._v("未获取到定位信息,请手动刷新")]) : _vm._e(), _vm.timeSpanData.outWorkSign === 1 ? _c('span', {
|
|
31541
31544
|
staticStyle: {
|
|
31542
31545
|
"color": "#53a8ff",
|
|
31543
31546
|
"font-size": "12px",
|
|
@@ -31549,7 +31552,9 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31549
31552
|
return _vm.gotoPage('outside');
|
|
31550
31553
|
}
|
|
31551
31554
|
}
|
|
31552
|
-
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e()
|
|
31555
|
+
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e(), _vm.showCurAddress ? _c('span', {
|
|
31556
|
+
staticClass: "dk-btn-tip"
|
|
31557
|
+
}, [_vm._v(_vm._s(_vm.curAddress))]) : _vm._e()])])])]), _c('div', {
|
|
31553
31558
|
directives: [{
|
|
31554
31559
|
name: "show",
|
|
31555
31560
|
rawName: "v-show",
|
|
@@ -31631,9 +31636,9 @@ var kqdkvue_type_template_id_42743616_scoped_true_render = function render() {
|
|
|
31631
31636
|
}
|
|
31632
31637
|
}, [_vm._v("确认打卡")])])])]);
|
|
31633
31638
|
};
|
|
31634
|
-
var
|
|
31639
|
+
var kqdkvue_type_template_id_29926979_scoped_true_staticRenderFns = [];
|
|
31635
31640
|
|
|
31636
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=
|
|
31641
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=29926979&scoped=true
|
|
31637
31642
|
|
|
31638
31643
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=script&lang=js
|
|
31639
31644
|
function kqdkvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return kqdkvue_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; }, kqdkvue_type_script_lang_js_typeof(o); }
|
|
@@ -31671,6 +31676,10 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31671
31676
|
// 考勤范围
|
|
31672
31677
|
timeSpanData: {},
|
|
31673
31678
|
// 考勤时间
|
|
31679
|
+
showCurAddress: false,
|
|
31680
|
+
//是否显示当前地址
|
|
31681
|
+
curAddress: '',
|
|
31682
|
+
//当前地址
|
|
31674
31683
|
el: '',
|
|
31675
31684
|
isLoad: false,
|
|
31676
31685
|
gap: 1000 * 60,
|
|
@@ -31706,12 +31715,14 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31706
31715
|
this.init();
|
|
31707
31716
|
}
|
|
31708
31717
|
this.freshData();
|
|
31709
|
-
|
|
31710
|
-
|
|
31718
|
+
if (this.timer) {
|
|
31719
|
+
clearInterval(this.timer);
|
|
31720
|
+
}
|
|
31721
|
+
this.timer = setInterval(this.freshData, this.gap); //定时刷新考勤班次信息
|
|
31711
31722
|
},
|
|
31712
31723
|
beforeDestroy: function beforeDestroy() {
|
|
31713
|
-
if (this.timer
|
|
31714
|
-
if (this.getCurInterval
|
|
31724
|
+
if (this.timer) clearInterval(this.timer);
|
|
31725
|
+
if (this.getCurInterval) clearInterval(this.getCurInterval);
|
|
31715
31726
|
},
|
|
31716
31727
|
methods: {
|
|
31717
31728
|
// 初始化地图
|
|
@@ -31740,7 +31751,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31740
31751
|
// 地图定位
|
|
31741
31752
|
if (this.isOpenMapLocation === 1) {
|
|
31742
31753
|
this.getCurLocation();
|
|
31743
|
-
this.getCurInterval = setInterval(this.getCurLocation, 1000 * 30);
|
|
31754
|
+
this.getCurInterval = setInterval(this.getCurLocation, 1000 * 30); //定时刷新定位信息
|
|
31744
31755
|
} else if (device === 'qywx') {
|
|
31745
31756
|
// 企业微信定位
|
|
31746
31757
|
window.wx.getLocation({
|
|
@@ -31771,8 +31782,9 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31771
31782
|
getDis: function getDis(lng, lat) {
|
|
31772
31783
|
var $scope = this;
|
|
31773
31784
|
var p2 = new T.LngLat(lng, lat);
|
|
31774
|
-
var dis =
|
|
31785
|
+
var dis = null; // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31775
31786
|
var addrs = $scope.timeSpanData.addressList;
|
|
31787
|
+
console.log('addrs', addrs);
|
|
31776
31788
|
if (!addrs || addrs.length === 0) {
|
|
31777
31789
|
return;
|
|
31778
31790
|
} else if (addrs.length === 1) {
|
|
@@ -31780,10 +31792,12 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31780
31792
|
$scope.p1 = new T.LngLat(parseFloat(addrs[0].gpsXy.split(',')[0]), parseFloat(addrs[0].gpsXy.split(',')[1]));
|
|
31781
31793
|
dis = $scope.mapObj.getDistance($scope.p1, p2); // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31782
31794
|
$scope.gpsScope = addrs[0].gpsScope;
|
|
31795
|
+
console.log('dis', dis);
|
|
31783
31796
|
} else if (addrs.length > 1) {
|
|
31784
31797
|
addrs.forEach(function (v, i) {
|
|
31785
31798
|
var p = new T.LngLat(parseFloat(v.gpsXy.split(',')[0]), parseFloat(v.gpsXy.split(',')[1]));
|
|
31786
31799
|
var distance = $scope.mapObj.getDistance(p, p2); // 返回 当前位置到考勤地点 间的地面距离,单位:米
|
|
31800
|
+
console.log('dis' + i, distance);
|
|
31787
31801
|
if (i === 0) {
|
|
31788
31802
|
dis = distance; // 第一次赋值
|
|
31789
31803
|
$scope.dkAddr = v;
|
|
@@ -31804,6 +31818,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31804
31818
|
this.saveGpsInfo(); // 存储考勤位置信息;
|
|
31805
31819
|
this.nearest = true;
|
|
31806
31820
|
}
|
|
31821
|
+
console.log('dis', dis, $scope.gpsScope);
|
|
31807
31822
|
$scope.dis = dis;
|
|
31808
31823
|
$scope.$forceUpdate();
|
|
31809
31824
|
},
|
|
@@ -32111,14 +32126,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32111
32126
|
this.$router.push('/' + url);
|
|
32112
32127
|
}
|
|
32113
32128
|
// }
|
|
32129
|
+
},
|
|
32130
|
+
viewCurAddress: function viewCurAddress() {
|
|
32131
|
+
this.showCurAddress = !this.showCurAddress;
|
|
32114
32132
|
}
|
|
32115
32133
|
}
|
|
32116
32134
|
});
|
|
32117
32135
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=script&lang=js
|
|
32118
32136
|
/* harmony default export */ var src_kqdkvue_type_script_lang_js = (kqdkvue_type_script_lang_js);
|
|
32119
|
-
// 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/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32120
|
-
var
|
|
32121
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32137
|
+
// 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/kqdk/index.vue?vue&type=style&index=0&id=29926979&prod&scoped=true&lang=scss
|
|
32138
|
+
var kqdkvue_type_style_index_0_id_29926979_prod_scoped_true_lang_scss = __webpack_require__(5058);
|
|
32139
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=29926979&prod&scoped=true&lang=scss
|
|
32122
32140
|
|
|
32123
32141
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue
|
|
32124
32142
|
|
|
@@ -32131,11 +32149,11 @@ var kqdkvue_type_style_index_0_id_42743616_prod_scoped_true_lang_scss = __webpac
|
|
|
32131
32149
|
|
|
32132
32150
|
var kqdk_component = normalizeComponent(
|
|
32133
32151
|
src_kqdkvue_type_script_lang_js,
|
|
32134
|
-
|
|
32135
|
-
|
|
32152
|
+
kqdkvue_type_template_id_29926979_scoped_true_render,
|
|
32153
|
+
kqdkvue_type_template_id_29926979_scoped_true_staticRenderFns,
|
|
32136
32154
|
false,
|
|
32137
32155
|
null,
|
|
32138
|
-
"
|
|
32156
|
+
"29926979",
|
|
32139
32157
|
null
|
|
32140
32158
|
|
|
32141
32159
|
)
|