ecinc-cloud-moakqgl 9.6.248 → 9.6.250
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 +43 -50
- package/lib/ecmoakqgl.umd.js +43 -50
- package/lib/ecmoakqgl.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmoakqgl.common.js
CHANGED
|
@@ -215,7 +215,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-3b07d8e5] .shade{background-co
|
|
|
215
215
|
|
|
216
216
|
/***/ }),
|
|
217
217
|
|
|
218
|
-
/***/
|
|
218
|
+
/***/ 4990:
|
|
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-82837d4e]{background:#fff;position:relative}.kq-index-title .kq-index-inner[data-v-82837d4e]{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-82837d4e]{height:36px;width:36px;border-radius:50%;text-align:center;background:#53a8ff}.kq-index-title .kq-index-inner .kq-title-text[data-v-82837d4e]{-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-82837d4e]{font-size:16px}.kq-index-title .kq-index-inner .kq-title-text .top .right[data-v-82837d4e]{margin-left:14px;font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-text .bottom[data-v-82837d4e]{margin-top:5px}.kq-index-title .kq-index-inner .kq-title-text .bottom .timespan[data-v-82837d4e]{font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-record[data-v-82837d4e]{text-align:center}[data-v-82837d4e] .tabs_outbox .van-tabs__content{height:calc(100vh - 96px);overflow-y:auto}p[data-v-82837d4e]{margin:0;padding:0}.flex-rc[data-v-82837d4e]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-cc[data-v-82837d4e],.flex-rc[data-v-82837d4e]{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-82837d4e]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-tc[data-v-82837d4e]{-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-82837d4e],.module[data-v-82837d4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.module[data-v-82837d4e]{background-color:#fff;height:100%;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}small[data-v-82837d4e]{display:inline;color:#999}.dk-module[data-v-82837d4e]{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-82837d4e]{margin-bottom:45px;-ms-flex-item-align:end;align-self:flex-end;width:100%}.dk-day b[data-v-82837d4e]{font-weight:400}.dk-ts>div[data-v-82837d4e]:first-child{width:24px}.dk-ts>div[data-v-82837d4e]:last-child{-webkit-box-flex:1;-ms-flex:1;flex:1}.dkEwrap[data-v-82837d4e]{margin-top:14px}.dkEwrap .dk-btn[data-v-82837d4e]{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-82837d4e]:active{opacity:.8}.dkEwrap .dk-btn .dk-ntime[data-v-82837d4e]{font-weight:600;font-size:28px}.dkEwrap .dk-btn[disabled][data-v-82837d4e]{opacity:.6}.dkEwrap .dk-btn .dk-btn-status[data-v-82837d4e]{font-size:14px;color:#ddedff}.dkEwrap .dk-btn-tip[data-v-82837d4e]{display:inline-block;background-position-x:left;background-position-y:6px;font-size:12px;color:#333}.dk-list[data-v-82837d4e]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.dk-list .l-line[data-v-82837d4e]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:166px;height:66px;background:#f7f8fa}.dk-list .l-line .dk-time[data-v-82837d4e]{margin:10px 14px}.dk-list .l-line .dk-time .really[data-v-82837d4e]{font-size:12px;color:#666}.dk-list .l-line .dk-time .dk-status[data-v-82837d4e]{font-size:11px}.dk-list .l-line .dk-time .dk-avtive[data-v-82837d4e]{line-height:14px;display:inline-block;width:14px;height:14px;bottom:0;vertical-align:middle}.dk-list .l-line .dk-time .allow[data-v-82837d4e]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 0/14px}.dk-list .l-line .dk-time .success1[data-v-82837d4e]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 0/14px}.dk-list .dk-time .really[data-v-82837d4e]{font-size:15px;padding:0 5px;color:#333;font-weight:700}.dk-list .dk-cicon[data-v-82837d4e]{position:absolute;left:2px;top:2px}.dk-list .dk-cicon .svg-icon[data-v-82837d4e]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:23px;color:#999}.dk-list .dk-cicon .success_time[data-v-82837d4e]{color:#48ba79}.dk-list .dk-cicon .error_time[data-v-82837d4e]{color:#fab342}.dk-list .dk-address[data-v-82837d4e]{padding-left:48px;font-size:12px;color:#999;background-position-y:2px}.ec-grids[data-v-82837d4e]{position:relative;margin:10px 0 20px;overflow:hidden}.ec-grids[data-v-82837d4e]: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-82837d4e]:after,.ec-grids[data-v-82837d4e]:before{content:\" \";position:absolute;left:0;top:0;color:#d9d9d9}.ec-grids[data-v-82837d4e]: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-82837d4e]{position:relative;padding:20px 10px;cursor:pointer}.ec-grid[data-v-82837d4e]: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-82837d4e]:after,.ec-grid[data-v-82837d4e]:before{content:\" \";position:absolute;right:0;bottom:0;color:#d9d9d9}.ec-grid[data-v-82837d4e]: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-82837d4e]:active{background-color:#f8f8f8}.ec-grid img[data-v-82837d4e]{width:35px;height:35px;margin-bottom:7.5px}.add-box-icon[data-v-82837d4e]{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-82837d4e]{-webkit-box-shadow:none;box-shadow:none}.add-box-icon img[data-v-82837d4e]{width:100%;height:100%}.add-box-txt[data-v-82837d4e]{font-size:16px;color:#333}.commodity[data-v-82837d4e]{animation:blink 1s infinite;-webkit-animation:blink 1s infinite}.dkhou[data-v-82837d4e]{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-82837d4e]{width:80%;background:#fff;margin:200px auto 0;border-radius:10px;text-align:center}.dkhou .content[data-v-82837d4e]:after{content:\"\";display:block;visibility:hidden;clear:both}.dkhou .content img[data-v-82837d4e]{width:60px;margin:25px 0}.dkhou .content hr[data-v-82837d4e]{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-82837d4e]{font-size:16px;color:#5077aa;padding:15px 0}.dkhou p.two[data-v-82837d4e]{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.dkhou p.first[data-v-82837d4e]{border-right:1px solid #eee}section.affair .dk-day[data-v-82837d4e]{font-weight:400;font-size:14px;color:#333;text-align:center}section.affair .dk-ts[data-v-82837d4e]{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-82837d4e]: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-82837d4e]:after{border-color:#48ba79}.isRefresh[data-v-82837d4e]{animation:loop-82837d4e 1s linear infinite;-webkit-animation:loop-82837d4e 1s linear infinite}@-webkit-keyframes loop-82837d4e{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes loop-82837d4e{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("bd8c9898", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24854
24854
|
|
|
24855
24855
|
/***/ }),
|
|
24856
24856
|
|
|
24857
|
-
/***/
|
|
24857
|
+
/***/ 2196:
|
|
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__(4990);
|
|
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("2c8336ad", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24870
24870
|
|
|
24871
24871
|
/***/ }),
|
|
24872
24872
|
|
|
@@ -31281,8 +31281,8 @@ var faceguide_component = normalizeComponent(
|
|
|
31281
31281
|
)
|
|
31282
31282
|
|
|
31283
31283
|
/* harmony default export */ var faceguide = (faceguide_component.exports);
|
|
31284
|
-
;// 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=
|
|
31285
|
-
var
|
|
31284
|
+
;// 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=82837d4e&scoped=true
|
|
31285
|
+
var kqdkvue_type_template_id_82837d4e_scoped_true_render = function render() {
|
|
31286
31286
|
var _vm = this,
|
|
31287
31287
|
_c = _vm._self._c;
|
|
31288
31288
|
return _c('div', {
|
|
@@ -31498,11 +31498,14 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31498
31498
|
"click": _vm.reLocation
|
|
31499
31499
|
}
|
|
31500
31500
|
}, [_vm._v("未获取到定位信息,请手动刷新")]) : _vm.dis <= _vm.gpsScope ? _c('span', {
|
|
31501
|
-
staticClass: "dk-btn-tip"
|
|
31501
|
+
staticClass: "dk-btn-tip",
|
|
31502
|
+
on: {
|
|
31503
|
+
"click": _vm.reLocation
|
|
31504
|
+
}
|
|
31502
31505
|
}, [_vm._v("已经进入考勤打卡范围")]) : _vm.dis > _vm.gpsScope ? _c('span', {
|
|
31503
31506
|
staticClass: "dk-btn-tip iwarn",
|
|
31504
31507
|
on: {
|
|
31505
|
-
"click": _vm.
|
|
31508
|
+
"click": _vm.reLocation
|
|
31506
31509
|
}
|
|
31507
31510
|
}, [_vm._v("当前地点不在考勤打卡范围内")]) : _vm.timeSpanData.timeInterval && (!_vm.timeSpanData.mobileSign || !_vm.timeSpanData.addressList || _vm.timeSpanData.addressList.length <= 0) ? _c('span', {
|
|
31508
31511
|
staticClass: "dk-btn-tip iwarn"
|
|
@@ -31519,12 +31522,15 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31519
31522
|
}
|
|
31520
31523
|
}
|
|
31521
31524
|
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e(), _c('span', {
|
|
31522
|
-
staticClass: "dk-btn-tip"
|
|
31523
|
-
|
|
31524
|
-
|
|
31525
|
-
"innerHTML": _vm._s(_vm.curAddress)
|
|
31525
|
+
staticClass: "dk-btn-tip",
|
|
31526
|
+
staticStyle: {
|
|
31527
|
+
"height": "40px"
|
|
31526
31528
|
}
|
|
31527
|
-
}
|
|
31529
|
+
}, [_vm.curAddress && _vm.showCurAddress ? _c('span', [_vm._v(_vm._s(_vm.curAddress))]) : _c('span', {
|
|
31530
|
+
staticStyle: {
|
|
31531
|
+
"color": "#ffffff"
|
|
31532
|
+
}
|
|
31533
|
+
}, [_vm._v("正在定位")])])])])])]), _c('div', {
|
|
31528
31534
|
directives: [{
|
|
31529
31535
|
name: "show",
|
|
31530
31536
|
rawName: "v-show",
|
|
@@ -31606,9 +31612,9 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31606
31612
|
}
|
|
31607
31613
|
}, [_vm._v("确认打卡")])])])]);
|
|
31608
31614
|
};
|
|
31609
|
-
var
|
|
31615
|
+
var kqdkvue_type_template_id_82837d4e_scoped_true_staticRenderFns = [];
|
|
31610
31616
|
|
|
31611
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=
|
|
31617
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=82837d4e&scoped=true
|
|
31612
31618
|
|
|
31613
31619
|
;// 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
|
|
31614
31620
|
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); }
|
|
@@ -31641,10 +31647,10 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31641
31647
|
// 考勤范围
|
|
31642
31648
|
timeSpanData: {},
|
|
31643
31649
|
// 考勤时间
|
|
31644
|
-
showCurAddress: false,
|
|
31645
|
-
//是否显示当前地址
|
|
31646
31650
|
curAddress: '',
|
|
31647
31651
|
//当前地址
|
|
31652
|
+
showCurAddress: false,
|
|
31653
|
+
//是否显示当前地址
|
|
31648
31654
|
el: '',
|
|
31649
31655
|
isLoad: false,
|
|
31650
31656
|
isOpenMapLocation: 0,
|
|
@@ -31761,16 +31767,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31761
31767
|
return new Promise(function (resolve) {
|
|
31762
31768
|
if (window.mappType === 'ecinc') {
|
|
31763
31769
|
//APP定位
|
|
31764
|
-
console.log('$wv.getLocationInformation starting,',
|
|
31770
|
+
//console.log('$wv.getLocationInformation starting,', moment(new Date()).format('HH:mm:ss'))
|
|
31765
31771
|
_this4.$wv.getLocationInformation(function (res) {
|
|
31766
|
-
console.log('$wv.getLocationInformation completed,',
|
|
31772
|
+
//console.log('$wv.getLocationInformation completed,', moment(new Date()).format('HH:mm:ss'))
|
|
31773
|
+
|
|
31767
31774
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
31768
31775
|
if (res && res.data) {
|
|
31769
31776
|
$scope.getDis(Number(res.data.longitude), Number(res.data.latitude));
|
|
31770
31777
|
$scope.getCurAddress(Number(res.data.longitude), Number(res.data.latitude));
|
|
31771
31778
|
resolve(true);
|
|
31772
31779
|
} else {
|
|
31773
|
-
console.log('$wv getCurrentPosition res =', res)
|
|
31780
|
+
//console.log('$wv getCurrentPosition res =', res)
|
|
31774
31781
|
$scope.dis = 0;
|
|
31775
31782
|
resolve(false);
|
|
31776
31783
|
}
|
|
@@ -31787,7 +31794,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31787
31794
|
_this.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
31788
31795
|
resolve(true);
|
|
31789
31796
|
} else {
|
|
31790
|
-
console.log('Geolocation getCurrentPosition status', lo.getStatus())
|
|
31797
|
+
//console.log('Geolocation getCurrentPosition status', lo.getStatus())
|
|
31791
31798
|
$scope.dis = 0;
|
|
31792
31799
|
resolve(false);
|
|
31793
31800
|
}
|
|
@@ -31823,7 +31830,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31823
31830
|
var p2 = new T.LngLat(lng, lat);
|
|
31824
31831
|
var dis = null; // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31825
31832
|
var addrs = $scope.timeSpanData.addressList;
|
|
31826
|
-
console.log('addrs', addrs)
|
|
31833
|
+
//console.log('addrs', addrs)
|
|
31827
31834
|
if (!addrs || addrs.length === 0) {
|
|
31828
31835
|
return;
|
|
31829
31836
|
} else if (addrs.length === 1) {
|
|
@@ -31831,12 +31838,13 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31831
31838
|
$scope.p1 = new T.LngLat(parseFloat(addrs[0].gpsXy.split(',')[0]), parseFloat(addrs[0].gpsXy.split(',')[1]));
|
|
31832
31839
|
dis = $scope.mapObj.getDistance($scope.p1, p2); // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31833
31840
|
$scope.gpsScope = addrs[0].gpsScope;
|
|
31834
|
-
|
|
31841
|
+
|
|
31842
|
+
//console.log('dis', dis)
|
|
31835
31843
|
} else if (addrs.length > 1) {
|
|
31836
31844
|
addrs.forEach(function (v, i) {
|
|
31837
31845
|
var p = new T.LngLat(parseFloat(v.gpsXy.split(',')[0]), parseFloat(v.gpsXy.split(',')[1]));
|
|
31838
31846
|
var distance = $scope.mapObj.getDistance(p, p2); // 返回 当前位置到考勤地点 间的地面距离,单位:米
|
|
31839
|
-
console.log('dis' + i, distance)
|
|
31847
|
+
//console.log('dis' + i, distance)
|
|
31840
31848
|
if (i === 0) {
|
|
31841
31849
|
dis = distance; // 第一次赋值
|
|
31842
31850
|
$scope.dkAddr = v;
|
|
@@ -31919,28 +31927,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31919
31927
|
var _this5 = this;
|
|
31920
31928
|
this.isReLocation = true;
|
|
31921
31929
|
this.dis = null;
|
|
31922
|
-
this.curAddress = '
|
|
31930
|
+
this.curAddress = '';
|
|
31931
|
+
this.showCurAddress = true;
|
|
31923
31932
|
setTimeout(function () {
|
|
31924
31933
|
_this5.curLocationAndDis().then(function (res) {
|
|
31925
31934
|
_this5.isReLocation = false;
|
|
31926
31935
|
});
|
|
31927
31936
|
}, 1000);
|
|
31928
31937
|
},
|
|
31929
|
-
viewCurAddress: function viewCurAddress() {
|
|
31930
|
-
var _this6 = this;
|
|
31931
|
-
this.isReLocation = true;
|
|
31932
|
-
this.dis = null;
|
|
31933
|
-
this.curAddress = '<div style="color:#ffffff">正在定位</div>';
|
|
31934
|
-
setTimeout(function () {
|
|
31935
|
-
_this6.curLocationAndDis().then(function (res) {
|
|
31936
|
-
_this6.isReLocation = false;
|
|
31937
|
-
_this6.showCurAddress = true;
|
|
31938
|
-
});
|
|
31939
|
-
}, 1000);
|
|
31940
|
-
},
|
|
31941
31938
|
// 打卡
|
|
31942
31939
|
dkEvent: function dkEvent(type) {
|
|
31943
|
-
var
|
|
31940
|
+
var _this6 = this;
|
|
31944
31941
|
var $scope = this;
|
|
31945
31942
|
// 刷新一次数据
|
|
31946
31943
|
this.freshData().then(function (res) {
|
|
@@ -32015,7 +32012,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32015
32012
|
}
|
|
32016
32013
|
}).then(function (response) {
|
|
32017
32014
|
if (response.code === 'success') {
|
|
32018
|
-
|
|
32015
|
+
_this6.freshData();
|
|
32019
32016
|
if (parseInt($scope.timeSpanData.dakaType) === 1) {
|
|
32020
32017
|
if (onTime < now) {
|
|
32021
32018
|
var diff = now - onTime;
|
|
@@ -32049,21 +32046,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32049
32046
|
},
|
|
32050
32047
|
// 跳转页面
|
|
32051
32048
|
gotoPage: function gotoPage(url) {
|
|
32052
|
-
// if (this.isOpenMapLocation === 0) {
|
|
32053
|
-
// this.$toast.fail('未接入地图定位功能')
|
|
32054
|
-
// } else {
|
|
32055
32049
|
if (url) {
|
|
32056
32050
|
this.$router.push('/' + url);
|
|
32057
32051
|
}
|
|
32058
|
-
// }
|
|
32059
32052
|
}
|
|
32060
32053
|
}
|
|
32061
32054
|
});
|
|
32062
32055
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=script&lang=js
|
|
32063
32056
|
/* harmony default export */ var src_kqdkvue_type_script_lang_js = (kqdkvue_type_script_lang_js);
|
|
32064
|
-
// 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=
|
|
32065
|
-
var
|
|
32066
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32057
|
+
// 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=82837d4e&prod&scoped=true&lang=scss
|
|
32058
|
+
var kqdkvue_type_style_index_0_id_82837d4e_prod_scoped_true_lang_scss = __webpack_require__(2196);
|
|
32059
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=82837d4e&prod&scoped=true&lang=scss
|
|
32067
32060
|
|
|
32068
32061
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue
|
|
32069
32062
|
|
|
@@ -32076,11 +32069,11 @@ var kqdkvue_type_style_index_0_id_609f8524_prod_scoped_true_lang_scss = __webpac
|
|
|
32076
32069
|
|
|
32077
32070
|
var kqdk_component = normalizeComponent(
|
|
32078
32071
|
src_kqdkvue_type_script_lang_js,
|
|
32079
|
-
|
|
32080
|
-
|
|
32072
|
+
kqdkvue_type_template_id_82837d4e_scoped_true_render,
|
|
32073
|
+
kqdkvue_type_template_id_82837d4e_scoped_true_staticRenderFns,
|
|
32081
32074
|
false,
|
|
32082
32075
|
null,
|
|
32083
|
-
"
|
|
32076
|
+
"82837d4e",
|
|
32084
32077
|
null
|
|
32085
32078
|
|
|
32086
32079
|
)
|
package/lib/ecmoakqgl.umd.js
CHANGED
|
@@ -225,7 +225,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-3b07d8e5] .shade{background-co
|
|
|
225
225
|
|
|
226
226
|
/***/ }),
|
|
227
227
|
|
|
228
|
-
/***/
|
|
228
|
+
/***/ 2990:
|
|
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-82837d4e]{background:#fff;position:relative}.kq-index-title .kq-index-inner[data-v-82837d4e]{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-82837d4e]{height:36px;width:36px;border-radius:50%;text-align:center;background:#53a8ff}.kq-index-title .kq-index-inner .kq-title-text[data-v-82837d4e]{-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-82837d4e]{font-size:16px}.kq-index-title .kq-index-inner .kq-title-text .top .right[data-v-82837d4e]{margin-left:14px;font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-text .bottom[data-v-82837d4e]{margin-top:5px}.kq-index-title .kq-index-inner .kq-title-text .bottom .timespan[data-v-82837d4e]{font-size:12px;color:#909399}.kq-index-title .kq-index-inner .kq-title-record[data-v-82837d4e]{text-align:center}[data-v-82837d4e] .tabs_outbox .van-tabs__content{height:calc(100vh - 96px);overflow-y:auto}p[data-v-82837d4e]{margin:0;padding:0}.flex-rc[data-v-82837d4e]{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-cc[data-v-82837d4e],.flex-rc[data-v-82837d4e]{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-82837d4e]{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-tc[data-v-82837d4e]{-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-82837d4e],.module[data-v-82837d4e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.module[data-v-82837d4e]{background-color:#fff;height:100%;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}small[data-v-82837d4e]{display:inline;color:#999}.dk-module[data-v-82837d4e]{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-82837d4e]{margin-bottom:45px;-ms-flex-item-align:end;align-self:flex-end;width:100%}.dk-day b[data-v-82837d4e]{font-weight:400}.dk-ts>div[data-v-82837d4e]:first-child{width:24px}.dk-ts>div[data-v-82837d4e]:last-child{-webkit-box-flex:1;-ms-flex:1;flex:1}.dkEwrap[data-v-82837d4e]{margin-top:14px}.dkEwrap .dk-btn[data-v-82837d4e]{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-82837d4e]:active{opacity:.8}.dkEwrap .dk-btn .dk-ntime[data-v-82837d4e]{font-weight:600;font-size:28px}.dkEwrap .dk-btn[disabled][data-v-82837d4e]{opacity:.6}.dkEwrap .dk-btn .dk-btn-status[data-v-82837d4e]{font-size:14px;color:#ddedff}.dkEwrap .dk-btn-tip[data-v-82837d4e]{display:inline-block;background-position-x:left;background-position-y:6px;font-size:12px;color:#333}.dk-list[data-v-82837d4e]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}.dk-list .l-line[data-v-82837d4e]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:166px;height:66px;background:#f7f8fa}.dk-list .l-line .dk-time[data-v-82837d4e]{margin:10px 14px}.dk-list .l-line .dk-time .really[data-v-82837d4e]{font-size:12px;color:#666}.dk-list .l-line .dk-time .dk-status[data-v-82837d4e]{font-size:11px}.dk-list .l-line .dk-time .dk-avtive[data-v-82837d4e]{line-height:14px;display:inline-block;width:14px;height:14px;bottom:0;vertical-align:middle}.dk-list .l-line .dk-time .allow[data-v-82837d4e]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat 0/14px}.dk-list .l-line .dk-time .success1[data-v-82837d4e]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat 0/14px}.dk-list .dk-time .really[data-v-82837d4e]{font-size:15px;padding:0 5px;color:#333;font-weight:700}.dk-list .dk-cicon[data-v-82837d4e]{position:absolute;left:2px;top:2px}.dk-list .dk-cicon .svg-icon[data-v-82837d4e]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;font-size:23px;color:#999}.dk-list .dk-cicon .success_time[data-v-82837d4e]{color:#48ba79}.dk-list .dk-cicon .error_time[data-v-82837d4e]{color:#fab342}.dk-list .dk-address[data-v-82837d4e]{padding-left:48px;font-size:12px;color:#999;background-position-y:2px}.ec-grids[data-v-82837d4e]{position:relative;margin:10px 0 20px;overflow:hidden}.ec-grids[data-v-82837d4e]: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-82837d4e]:after,.ec-grids[data-v-82837d4e]:before{content:\" \";position:absolute;left:0;top:0;color:#d9d9d9}.ec-grids[data-v-82837d4e]: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-82837d4e]{position:relative;padding:20px 10px;cursor:pointer}.ec-grid[data-v-82837d4e]: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-82837d4e]:after,.ec-grid[data-v-82837d4e]:before{content:\" \";position:absolute;right:0;bottom:0;color:#d9d9d9}.ec-grid[data-v-82837d4e]: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-82837d4e]:active{background-color:#f8f8f8}.ec-grid img[data-v-82837d4e]{width:35px;height:35px;margin-bottom:7.5px}.add-box-icon[data-v-82837d4e]{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-82837d4e]{-webkit-box-shadow:none;box-shadow:none}.add-box-icon img[data-v-82837d4e]{width:100%;height:100%}.add-box-txt[data-v-82837d4e]{font-size:16px;color:#333}.commodity[data-v-82837d4e]{animation:blink 1s infinite;-webkit-animation:blink 1s infinite}.dkhou[data-v-82837d4e]{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-82837d4e]{width:80%;background:#fff;margin:200px auto 0;border-radius:10px;text-align:center}.dkhou .content[data-v-82837d4e]:after{content:\"\";display:block;visibility:hidden;clear:both}.dkhou .content img[data-v-82837d4e]{width:60px;margin:25px 0}.dkhou .content hr[data-v-82837d4e]{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-82837d4e]{font-size:16px;color:#5077aa;padding:15px 0}.dkhou p.two[data-v-82837d4e]{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.dkhou p.first[data-v-82837d4e]{border-right:1px solid #eee}section.affair .dk-day[data-v-82837d4e]{font-weight:400;font-size:14px;color:#333;text-align:center}section.affair .dk-ts[data-v-82837d4e]{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-82837d4e]: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-82837d4e]:after{border-color:#48ba79}.isRefresh[data-v-82837d4e]{animation:loop-82837d4e 1s linear infinite;-webkit-animation:loop-82837d4e 1s linear infinite}@-webkit-keyframes loop-82837d4e{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes loop-82837d4e{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("474cde78", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
24864
24864
|
|
|
24865
24865
|
/***/ }),
|
|
24866
24866
|
|
|
24867
|
-
/***/
|
|
24867
|
+
/***/ 2250:
|
|
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__(2990);
|
|
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("a7f03ba6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
24880
24880
|
|
|
24881
24881
|
/***/ }),
|
|
24882
24882
|
|
|
@@ -31291,8 +31291,8 @@ var faceguide_component = normalizeComponent(
|
|
|
31291
31291
|
)
|
|
31292
31292
|
|
|
31293
31293
|
/* harmony default export */ var faceguide = (faceguide_component.exports);
|
|
31294
|
-
;// 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=
|
|
31295
|
-
var
|
|
31294
|
+
;// 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=82837d4e&scoped=true
|
|
31295
|
+
var kqdkvue_type_template_id_82837d4e_scoped_true_render = function render() {
|
|
31296
31296
|
var _vm = this,
|
|
31297
31297
|
_c = _vm._self._c;
|
|
31298
31298
|
return _c('div', {
|
|
@@ -31508,11 +31508,14 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31508
31508
|
"click": _vm.reLocation
|
|
31509
31509
|
}
|
|
31510
31510
|
}, [_vm._v("未获取到定位信息,请手动刷新")]) : _vm.dis <= _vm.gpsScope ? _c('span', {
|
|
31511
|
-
staticClass: "dk-btn-tip"
|
|
31511
|
+
staticClass: "dk-btn-tip",
|
|
31512
|
+
on: {
|
|
31513
|
+
"click": _vm.reLocation
|
|
31514
|
+
}
|
|
31512
31515
|
}, [_vm._v("已经进入考勤打卡范围")]) : _vm.dis > _vm.gpsScope ? _c('span', {
|
|
31513
31516
|
staticClass: "dk-btn-tip iwarn",
|
|
31514
31517
|
on: {
|
|
31515
|
-
"click": _vm.
|
|
31518
|
+
"click": _vm.reLocation
|
|
31516
31519
|
}
|
|
31517
31520
|
}, [_vm._v("当前地点不在考勤打卡范围内")]) : _vm.timeSpanData.timeInterval && (!_vm.timeSpanData.mobileSign || !_vm.timeSpanData.addressList || _vm.timeSpanData.addressList.length <= 0) ? _c('span', {
|
|
31518
31521
|
staticClass: "dk-btn-tip iwarn"
|
|
@@ -31529,12 +31532,15 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31529
31532
|
}
|
|
31530
31533
|
}
|
|
31531
31534
|
}, [_vm._v("外勤打卡")]) : _vm._e()]) : _vm._e(), _c('span', {
|
|
31532
|
-
staticClass: "dk-btn-tip"
|
|
31533
|
-
|
|
31534
|
-
|
|
31535
|
-
"innerHTML": _vm._s(_vm.curAddress)
|
|
31535
|
+
staticClass: "dk-btn-tip",
|
|
31536
|
+
staticStyle: {
|
|
31537
|
+
"height": "40px"
|
|
31536
31538
|
}
|
|
31537
|
-
}
|
|
31539
|
+
}, [_vm.curAddress && _vm.showCurAddress ? _c('span', [_vm._v(_vm._s(_vm.curAddress))]) : _c('span', {
|
|
31540
|
+
staticStyle: {
|
|
31541
|
+
"color": "#ffffff"
|
|
31542
|
+
}
|
|
31543
|
+
}, [_vm._v("正在定位")])])])])])]), _c('div', {
|
|
31538
31544
|
directives: [{
|
|
31539
31545
|
name: "show",
|
|
31540
31546
|
rawName: "v-show",
|
|
@@ -31616,9 +31622,9 @@ var kqdkvue_type_template_id_609f8524_scoped_true_render = function render() {
|
|
|
31616
31622
|
}
|
|
31617
31623
|
}, [_vm._v("确认打卡")])])])]);
|
|
31618
31624
|
};
|
|
31619
|
-
var
|
|
31625
|
+
var kqdkvue_type_template_id_82837d4e_scoped_true_staticRenderFns = [];
|
|
31620
31626
|
|
|
31621
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=
|
|
31627
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=template&id=82837d4e&scoped=true
|
|
31622
31628
|
|
|
31623
31629
|
;// 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
|
|
31624
31630
|
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); }
|
|
@@ -31651,10 +31657,10 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31651
31657
|
// 考勤范围
|
|
31652
31658
|
timeSpanData: {},
|
|
31653
31659
|
// 考勤时间
|
|
31654
|
-
showCurAddress: false,
|
|
31655
|
-
//是否显示当前地址
|
|
31656
31660
|
curAddress: '',
|
|
31657
31661
|
//当前地址
|
|
31662
|
+
showCurAddress: false,
|
|
31663
|
+
//是否显示当前地址
|
|
31658
31664
|
el: '',
|
|
31659
31665
|
isLoad: false,
|
|
31660
31666
|
isOpenMapLocation: 0,
|
|
@@ -31771,16 +31777,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31771
31777
|
return new Promise(function (resolve) {
|
|
31772
31778
|
if (window.mappType === 'ecinc') {
|
|
31773
31779
|
//APP定位
|
|
31774
|
-
console.log('$wv.getLocationInformation starting,',
|
|
31780
|
+
//console.log('$wv.getLocationInformation starting,', moment(new Date()).format('HH:mm:ss'))
|
|
31775
31781
|
_this4.$wv.getLocationInformation(function (res) {
|
|
31776
|
-
console.log('$wv.getLocationInformation completed,',
|
|
31782
|
+
//console.log('$wv.getLocationInformation completed,', moment(new Date()).format('HH:mm:ss'))
|
|
31783
|
+
|
|
31777
31784
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
31778
31785
|
if (res && res.data) {
|
|
31779
31786
|
$scope.getDis(Number(res.data.longitude), Number(res.data.latitude));
|
|
31780
31787
|
$scope.getCurAddress(Number(res.data.longitude), Number(res.data.latitude));
|
|
31781
31788
|
resolve(true);
|
|
31782
31789
|
} else {
|
|
31783
|
-
console.log('$wv getCurrentPosition res =', res)
|
|
31790
|
+
//console.log('$wv getCurrentPosition res =', res)
|
|
31784
31791
|
$scope.dis = 0;
|
|
31785
31792
|
resolve(false);
|
|
31786
31793
|
}
|
|
@@ -31797,7 +31804,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31797
31804
|
_this.getCurAddress(e.lnglat.lng, e.lnglat.lat);
|
|
31798
31805
|
resolve(true);
|
|
31799
31806
|
} else {
|
|
31800
|
-
console.log('Geolocation getCurrentPosition status', lo.getStatus())
|
|
31807
|
+
//console.log('Geolocation getCurrentPosition status', lo.getStatus())
|
|
31801
31808
|
$scope.dis = 0;
|
|
31802
31809
|
resolve(false);
|
|
31803
31810
|
}
|
|
@@ -31833,7 +31840,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31833
31840
|
var p2 = new T.LngLat(lng, lat);
|
|
31834
31841
|
var dis = null; // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31835
31842
|
var addrs = $scope.timeSpanData.addressList;
|
|
31836
|
-
console.log('addrs', addrs)
|
|
31843
|
+
//console.log('addrs', addrs)
|
|
31837
31844
|
if (!addrs || addrs.length === 0) {
|
|
31838
31845
|
return;
|
|
31839
31846
|
} else if (addrs.length === 1) {
|
|
@@ -31841,12 +31848,13 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31841
31848
|
$scope.p1 = new T.LngLat(parseFloat(addrs[0].gpsXy.split(',')[0]), parseFloat(addrs[0].gpsXy.split(',')[1]));
|
|
31842
31849
|
dis = $scope.mapObj.getDistance($scope.p1, p2); // 返回 p1 到 p2 间的地面距离,单位:米
|
|
31843
31850
|
$scope.gpsScope = addrs[0].gpsScope;
|
|
31844
|
-
|
|
31851
|
+
|
|
31852
|
+
//console.log('dis', dis)
|
|
31845
31853
|
} else if (addrs.length > 1) {
|
|
31846
31854
|
addrs.forEach(function (v, i) {
|
|
31847
31855
|
var p = new T.LngLat(parseFloat(v.gpsXy.split(',')[0]), parseFloat(v.gpsXy.split(',')[1]));
|
|
31848
31856
|
var distance = $scope.mapObj.getDistance(p, p2); // 返回 当前位置到考勤地点 间的地面距离,单位:米
|
|
31849
|
-
console.log('dis' + i, distance)
|
|
31857
|
+
//console.log('dis' + i, distance)
|
|
31850
31858
|
if (i === 0) {
|
|
31851
31859
|
dis = distance; // 第一次赋值
|
|
31852
31860
|
$scope.dkAddr = v;
|
|
@@ -31929,28 +31937,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
31929
31937
|
var _this5 = this;
|
|
31930
31938
|
this.isReLocation = true;
|
|
31931
31939
|
this.dis = null;
|
|
31932
|
-
this.curAddress = '
|
|
31940
|
+
this.curAddress = '';
|
|
31941
|
+
this.showCurAddress = true;
|
|
31933
31942
|
setTimeout(function () {
|
|
31934
31943
|
_this5.curLocationAndDis().then(function (res) {
|
|
31935
31944
|
_this5.isReLocation = false;
|
|
31936
31945
|
});
|
|
31937
31946
|
}, 1000);
|
|
31938
31947
|
},
|
|
31939
|
-
viewCurAddress: function viewCurAddress() {
|
|
31940
|
-
var _this6 = this;
|
|
31941
|
-
this.isReLocation = true;
|
|
31942
|
-
this.dis = null;
|
|
31943
|
-
this.curAddress = '<div style="color:#ffffff">正在定位</div>';
|
|
31944
|
-
setTimeout(function () {
|
|
31945
|
-
_this6.curLocationAndDis().then(function (res) {
|
|
31946
|
-
_this6.isReLocation = false;
|
|
31947
|
-
_this6.showCurAddress = true;
|
|
31948
|
-
});
|
|
31949
|
-
}, 1000);
|
|
31950
|
-
},
|
|
31951
31948
|
// 打卡
|
|
31952
31949
|
dkEvent: function dkEvent(type) {
|
|
31953
|
-
var
|
|
31950
|
+
var _this6 = this;
|
|
31954
31951
|
var $scope = this;
|
|
31955
31952
|
// 刷新一次数据
|
|
31956
31953
|
this.freshData().then(function (res) {
|
|
@@ -32025,7 +32022,7 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32025
32022
|
}
|
|
32026
32023
|
}).then(function (response) {
|
|
32027
32024
|
if (response.code === 'success') {
|
|
32028
|
-
|
|
32025
|
+
_this6.freshData();
|
|
32029
32026
|
if (parseInt($scope.timeSpanData.dakaType) === 1) {
|
|
32030
32027
|
if (onTime < now) {
|
|
32031
32028
|
var diff = now - onTime;
|
|
@@ -32059,21 +32056,17 @@ var kqdkvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
32059
32056
|
},
|
|
32060
32057
|
// 跳转页面
|
|
32061
32058
|
gotoPage: function gotoPage(url) {
|
|
32062
|
-
// if (this.isOpenMapLocation === 0) {
|
|
32063
|
-
// this.$toast.fail('未接入地图定位功能')
|
|
32064
|
-
// } else {
|
|
32065
32059
|
if (url) {
|
|
32066
32060
|
this.$router.push('/' + url);
|
|
32067
32061
|
}
|
|
32068
|
-
// }
|
|
32069
32062
|
}
|
|
32070
32063
|
}
|
|
32071
32064
|
});
|
|
32072
32065
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=script&lang=js
|
|
32073
32066
|
/* harmony default export */ var src_kqdkvue_type_script_lang_js = (kqdkvue_type_script_lang_js);
|
|
32074
|
-
// 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=
|
|
32075
|
-
var
|
|
32076
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=
|
|
32067
|
+
// 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=82837d4e&prod&scoped=true&lang=scss
|
|
32068
|
+
var kqdkvue_type_style_index_0_id_82837d4e_prod_scoped_true_lang_scss = __webpack_require__(2250);
|
|
32069
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue?vue&type=style&index=0&id=82837d4e&prod&scoped=true&lang=scss
|
|
32077
32070
|
|
|
32078
32071
|
;// CONCATENATED MODULE: ./packages/ecmoa/kqgl/src/kqdk/index.vue
|
|
32079
32072
|
|
|
@@ -32086,11 +32079,11 @@ var kqdkvue_type_style_index_0_id_609f8524_prod_scoped_true_lang_scss = __webpac
|
|
|
32086
32079
|
|
|
32087
32080
|
var kqdk_component = normalizeComponent(
|
|
32088
32081
|
src_kqdkvue_type_script_lang_js,
|
|
32089
|
-
|
|
32090
|
-
|
|
32082
|
+
kqdkvue_type_template_id_82837d4e_scoped_true_render,
|
|
32083
|
+
kqdkvue_type_template_id_82837d4e_scoped_true_staticRenderFns,
|
|
32091
32084
|
false,
|
|
32092
32085
|
null,
|
|
32093
|
-
"
|
|
32086
|
+
"82837d4e",
|
|
32094
32087
|
null
|
|
32095
32088
|
|
|
32096
32089
|
)
|