ecinc-cloud-moadesktop 9.6.272 → 9.6.273
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/lang/en.js +2 -1
- package/lang/zhCN.js +2 -1
- package/lib/ecmoadesktop.common.js +46 -26
- package/lib/ecmoadesktop.umd.js +46 -26
- package/lib/ecmoadesktop.umd.min.js +4 -4
- package/package.json +1 -1
package/lang/en.js
CHANGED
|
@@ -40,7 +40,8 @@ module.exports = {
|
|
|
40
40
|
latestToDoList: 'Latest To-Do List',
|
|
41
41
|
officeDocument: 'Document Handling',
|
|
42
42
|
holdWork: 'Handle Affairs',
|
|
43
|
-
HoldMeeting: 'Hold Meeting'
|
|
43
|
+
HoldMeeting: 'Hold Meeting',
|
|
44
|
+
mapServiceError: 'Map service loading failed. Retry?'
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
}
|
package/lang/zhCN.js
CHANGED
|
@@ -131,7 +131,8 @@ module.exports = {
|
|
|
131
131
|
latestToDoList: 'Latest To-Do List',
|
|
132
132
|
officeDocument: 'Document Handling',
|
|
133
133
|
holdWork: 'Handle Affairs',
|
|
134
|
-
HoldMeeting: 'Hold Meeting'
|
|
134
|
+
HoldMeeting: 'Hold Meeting',
|
|
135
|
+
mapServiceError: 'Map service loading failed. Retry?'
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
138
|
};
|
|
@@ -227,7 +228,8 @@ module.exports = {
|
|
|
227
228
|
latestToDoList: '最新待办',
|
|
228
229
|
officeDocument: '办文',
|
|
229
230
|
holdWork: '办事',
|
|
230
|
-
HoldMeeting: '办会'
|
|
231
|
+
HoldMeeting: '办会',
|
|
232
|
+
mapServiceError: '地图服务加载失败,是否重试?'
|
|
231
233
|
}
|
|
232
234
|
}
|
|
233
235
|
};
|
|
@@ -256,7 +258,10 @@ var canDk = true;
|
|
|
256
258
|
var dakaType = ['不可打卡', '上班打卡', '下班打卡', '更新打卡']; // 打卡按钮状态
|
|
257
259
|
var loginUser = '';
|
|
258
260
|
var mapObj = null;
|
|
259
|
-
var lo =
|
|
261
|
+
var lo = null;
|
|
262
|
+
if (window.T) {
|
|
263
|
+
lo = new T.Geolocation();
|
|
264
|
+
}
|
|
260
265
|
var moment = __webpack_require__(5093);
|
|
261
266
|
|
|
262
267
|
/**
|
|
@@ -367,7 +372,10 @@ function curLocationAndDis() {
|
|
|
367
372
|
}
|
|
368
373
|
}
|
|
369
374
|
if (!locationed) {
|
|
370
|
-
if (
|
|
375
|
+
if (!lo) {
|
|
376
|
+
//天地图服务加载失败
|
|
377
|
+
resolve(false);
|
|
378
|
+
} else if (window.mappType === 'ecinc') {
|
|
371
379
|
//APP定位
|
|
372
380
|
$parent.$wv.getLocationInformation(function (res) {
|
|
373
381
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
@@ -658,7 +666,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
658
666
|
|
|
659
667
|
/***/ }),
|
|
660
668
|
|
|
661
|
-
/***/
|
|
669
|
+
/***/ 67:
|
|
662
670
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
663
671
|
|
|
664
672
|
"use strict";
|
|
@@ -677,7 +685,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
677
685
|
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()));
|
|
678
686
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
679
687
|
// Module
|
|
680
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
688
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-129e43c6] .van-ellipsis{font-size:18px;color:#fff}[data-v-129e43c6] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-129e43c6] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-129e43c6] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-129e43c6] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-129e43c6] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-129e43c6] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-129e43c6]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .3s;transition:height .3s}.work_pageHeader[data-v-129e43c6],.work_pageHeader .flex-horizon-bw[data-v-129e43c6]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-129e43c6]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-129e43c6]{font-size:18px;font-weight:500;color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px;height:48px;line-height:48px}.work_pageHeader .pageHeader_name[data-v-129e43c6]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-129e43c6]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-129e43c6]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-129e43c6]{width:14px;height:14px}.check_time span[data-v-129e43c6]{margin-left:5px}.check_button[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
681
689
|
// Exports
|
|
682
690
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
683
691
|
|
|
@@ -22705,19 +22713,19 @@ var update = add("b0496ae0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22705
22713
|
|
|
22706
22714
|
/***/ }),
|
|
22707
22715
|
|
|
22708
|
-
/***/
|
|
22716
|
+
/***/ 5013:
|
|
22709
22717
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22710
22718
|
|
|
22711
22719
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22712
22720
|
|
|
22713
22721
|
// load the styles
|
|
22714
|
-
var content = __webpack_require__(
|
|
22722
|
+
var content = __webpack_require__(67);
|
|
22715
22723
|
if(content.__esModule) content = content.default;
|
|
22716
22724
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22717
22725
|
if(content.locals) module.exports = content.locals;
|
|
22718
22726
|
// add the styles to the DOM
|
|
22719
22727
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22720
|
-
var update = add("
|
|
22728
|
+
var update = add("0316488b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22721
22729
|
|
|
22722
22730
|
/***/ }),
|
|
22723
22731
|
|
|
@@ -27736,8 +27744,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27736
27744
|
)
|
|
27737
27745
|
|
|
27738
27746
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27739
|
-
;// 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/desktop/src/components/workHead.vue?vue&type=template&id=
|
|
27740
|
-
var
|
|
27747
|
+
;// 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/desktop/src/components/workHead.vue?vue&type=template&id=129e43c6&scoped=true
|
|
27748
|
+
var workHeadvue_type_template_id_129e43c6_scoped_true_render = function render() {
|
|
27741
27749
|
var _vm = this,
|
|
27742
27750
|
_c = _vm._self._c;
|
|
27743
27751
|
return _c('div', {
|
|
@@ -27861,7 +27869,7 @@ var workHeadvue_type_template_id_209caa6f_scoped_true_render = function render()
|
|
|
27861
27869
|
staticClass: "pageHeader_timer"
|
|
27862
27870
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27863
27871
|
};
|
|
27864
|
-
var
|
|
27872
|
+
var workHeadvue_type_template_id_129e43c6_scoped_true_staticRenderFns = [];
|
|
27865
27873
|
|
|
27866
27874
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27867
27875
|
/*!
|
|
@@ -29167,6 +29175,8 @@ var workClock = __webpack_require__(2396);
|
|
|
29167
29175
|
document.querySelector('.work_pageHeader').style.background = 'url(' + url + ')';
|
|
29168
29176
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
29169
29177
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
29178
|
+
} else {
|
|
29179
|
+
document.querySelector('.work_pageHeader').style.background = 'url(./images/m-imgs/workBg/workBg.png)';
|
|
29170
29180
|
}
|
|
29171
29181
|
case 8:
|
|
29172
29182
|
case "end":
|
|
@@ -29248,10 +29258,12 @@ var workClock = __webpack_require__(2396);
|
|
|
29248
29258
|
workClock.default.freshData(_this5);
|
|
29249
29259
|
}
|
|
29250
29260
|
_this5.curInterval = setInterval(function () {
|
|
29251
|
-
if (
|
|
29252
|
-
workClock.freshData
|
|
29253
|
-
|
|
29254
|
-
workClock.default
|
|
29261
|
+
if (_this5.$route.path == '/main') {
|
|
29262
|
+
if (workClock.freshData) {
|
|
29263
|
+
workClock.freshData(_this5);
|
|
29264
|
+
} else if (workClock.default) {
|
|
29265
|
+
workClock.default.freshData(_this5);
|
|
29266
|
+
}
|
|
29255
29267
|
}
|
|
29256
29268
|
}, 1000 * 60);
|
|
29257
29269
|
});
|
|
@@ -29264,10 +29276,18 @@ var workClock = __webpack_require__(2396);
|
|
|
29264
29276
|
},
|
|
29265
29277
|
// 检查打卡
|
|
29266
29278
|
checkWork: function checkWork() {
|
|
29267
|
-
if (
|
|
29268
|
-
workClock.dkEvent
|
|
29269
|
-
|
|
29270
|
-
workClock.default
|
|
29279
|
+
if (window.T) {
|
|
29280
|
+
if (workClock.dkEvent) {
|
|
29281
|
+
workClock.dkEvent(this);
|
|
29282
|
+
} else if (workClock.default) {
|
|
29283
|
+
workClock.default.dkEvent(this);
|
|
29284
|
+
}
|
|
29285
|
+
} else {
|
|
29286
|
+
this.$dialog.confirm({
|
|
29287
|
+
message: this.$tx('desktop.components.mapServiceError', '地图服务加载失败,是否重试?')
|
|
29288
|
+
}).then(function () {
|
|
29289
|
+
location.reload();
|
|
29290
|
+
});
|
|
29271
29291
|
}
|
|
29272
29292
|
},
|
|
29273
29293
|
formatNowDay: function formatNowDay() {
|
|
@@ -29347,9 +29367,9 @@ var workClock = __webpack_require__(2396);
|
|
|
29347
29367
|
});
|
|
29348
29368
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
29349
29369
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
29350
|
-
// 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29351
|
-
var
|
|
29352
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29370
|
+
// 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=129e43c6&prod&scoped=true&lang=scss
|
|
29371
|
+
var workHeadvue_type_style_index_0_id_129e43c6_prod_scoped_true_lang_scss = __webpack_require__(5013);
|
|
29372
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=129e43c6&prod&scoped=true&lang=scss
|
|
29353
29373
|
|
|
29354
29374
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
29355
29375
|
|
|
@@ -29362,11 +29382,11 @@ var workHeadvue_type_style_index_0_id_209caa6f_prod_scoped_true_lang_scss = __we
|
|
|
29362
29382
|
|
|
29363
29383
|
var workHead_component = normalizeComponent(
|
|
29364
29384
|
components_workHeadvue_type_script_lang_js,
|
|
29365
|
-
|
|
29366
|
-
|
|
29385
|
+
workHeadvue_type_template_id_129e43c6_scoped_true_render,
|
|
29386
|
+
workHeadvue_type_template_id_129e43c6_scoped_true_staticRenderFns,
|
|
29367
29387
|
false,
|
|
29368
29388
|
null,
|
|
29369
|
-
"
|
|
29389
|
+
"129e43c6",
|
|
29370
29390
|
null
|
|
29371
29391
|
|
|
29372
29392
|
)
|
package/lib/ecmoadesktop.umd.js
CHANGED
|
@@ -141,7 +141,8 @@ module.exports = {
|
|
|
141
141
|
latestToDoList: 'Latest To-Do List',
|
|
142
142
|
officeDocument: 'Document Handling',
|
|
143
143
|
holdWork: 'Handle Affairs',
|
|
144
|
-
HoldMeeting: 'Hold Meeting'
|
|
144
|
+
HoldMeeting: 'Hold Meeting',
|
|
145
|
+
mapServiceError: 'Map service loading failed. Retry?'
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
};
|
|
@@ -237,7 +238,8 @@ module.exports = {
|
|
|
237
238
|
latestToDoList: '最新待办',
|
|
238
239
|
officeDocument: '办文',
|
|
239
240
|
holdWork: '办事',
|
|
240
|
-
HoldMeeting: '办会'
|
|
241
|
+
HoldMeeting: '办会',
|
|
242
|
+
mapServiceError: '地图服务加载失败,是否重试?'
|
|
241
243
|
}
|
|
242
244
|
}
|
|
243
245
|
};
|
|
@@ -266,7 +268,10 @@ var canDk = true;
|
|
|
266
268
|
var dakaType = ['不可打卡', '上班打卡', '下班打卡', '更新打卡']; // 打卡按钮状态
|
|
267
269
|
var loginUser = '';
|
|
268
270
|
var mapObj = null;
|
|
269
|
-
var lo =
|
|
271
|
+
var lo = null;
|
|
272
|
+
if (window.T) {
|
|
273
|
+
lo = new T.Geolocation();
|
|
274
|
+
}
|
|
270
275
|
var moment = __webpack_require__(5093);
|
|
271
276
|
|
|
272
277
|
/**
|
|
@@ -377,7 +382,10 @@ function curLocationAndDis() {
|
|
|
377
382
|
}
|
|
378
383
|
}
|
|
379
384
|
if (!locationed) {
|
|
380
|
-
if (
|
|
385
|
+
if (!lo) {
|
|
386
|
+
//天地图服务加载失败
|
|
387
|
+
resolve(false);
|
|
388
|
+
} else if (window.mappType === 'ecinc') {
|
|
381
389
|
//APP定位
|
|
382
390
|
$parent.$wv.getLocationInformation(function (res) {
|
|
383
391
|
if (typeof res === 'string') res = JSON.parse(res);
|
|
@@ -668,7 +676,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
668
676
|
|
|
669
677
|
/***/ }),
|
|
670
678
|
|
|
671
|
-
/***/
|
|
679
|
+
/***/ 2787:
|
|
672
680
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
673
681
|
|
|
674
682
|
"use strict";
|
|
@@ -687,7 +695,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
687
695
|
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()));
|
|
688
696
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
689
697
|
// Module
|
|
690
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
698
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-129e43c6] .van-ellipsis{font-size:18px;color:#fff}[data-v-129e43c6] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-129e43c6] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-129e43c6] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-129e43c6] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-129e43c6] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-129e43c6] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-129e43c6]{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");padding:0 16px;height:123px;font-size:16px;color:#fff;background-repeat:no-repeat;background-size:cover;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .3s;transition:height .3s}.work_pageHeader[data-v-129e43c6],.work_pageHeader .flex-horizon-bw[data-v-129e43c6]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-129e43c6]{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.work_pageHeader .pageHeader_compony[data-v-129e43c6]{font-size:18px;font-weight:500;color:#fff;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:10px;height:48px;line-height:48px}.work_pageHeader .pageHeader_name[data-v-129e43c6]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-129e43c6]{width:122px;border-radius:15px;background:hsla(0,0%,100%,.8);padding:7px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;font-size:12px}.work_pageHeader .pageHeader_timer[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;color:#fff;font-size:14px;line-height:30px;margin-right:16px}.work_pageHeader .more_compony[data-v-129e43c6]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;border-right:1px solid #999;text-align:left;font-size:13px;color:#333;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.check_time img[data-v-129e43c6]{width:14px;height:14px}.check_time span[data-v-129e43c6]{margin-left:5px}.check_button[data-v-129e43c6]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
691
699
|
// Exports
|
|
692
700
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
693
701
|
|
|
@@ -22715,19 +22723,19 @@ var update = add("300ba1e0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22715
22723
|
|
|
22716
22724
|
/***/ }),
|
|
22717
22725
|
|
|
22718
|
-
/***/
|
|
22726
|
+
/***/ 2895:
|
|
22719
22727
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22720
22728
|
|
|
22721
22729
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22722
22730
|
|
|
22723
22731
|
// load the styles
|
|
22724
|
-
var content = __webpack_require__(
|
|
22732
|
+
var content = __webpack_require__(2787);
|
|
22725
22733
|
if(content.__esModule) content = content.default;
|
|
22726
22734
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22727
22735
|
if(content.locals) module.exports = content.locals;
|
|
22728
22736
|
// add the styles to the DOM
|
|
22729
22737
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22730
|
-
var update = add("
|
|
22738
|
+
var update = add("43352d0b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22731
22739
|
|
|
22732
22740
|
/***/ }),
|
|
22733
22741
|
|
|
@@ -27746,8 +27754,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27746
27754
|
)
|
|
27747
27755
|
|
|
27748
27756
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27749
|
-
;// 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/desktop/src/components/workHead.vue?vue&type=template&id=
|
|
27750
|
-
var
|
|
27757
|
+
;// 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/desktop/src/components/workHead.vue?vue&type=template&id=129e43c6&scoped=true
|
|
27758
|
+
var workHeadvue_type_template_id_129e43c6_scoped_true_render = function render() {
|
|
27751
27759
|
var _vm = this,
|
|
27752
27760
|
_c = _vm._self._c;
|
|
27753
27761
|
return _c('div', {
|
|
@@ -27871,7 +27879,7 @@ var workHeadvue_type_template_id_209caa6f_scoped_true_render = function render()
|
|
|
27871
27879
|
staticClass: "pageHeader_timer"
|
|
27872
27880
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27873
27881
|
};
|
|
27874
|
-
var
|
|
27882
|
+
var workHeadvue_type_template_id_129e43c6_scoped_true_staticRenderFns = [];
|
|
27875
27883
|
|
|
27876
27884
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27877
27885
|
/*!
|
|
@@ -29177,6 +29185,8 @@ var workClock = __webpack_require__(2554);
|
|
|
29177
29185
|
document.querySelector('.work_pageHeader').style.background = 'url(' + url + ')';
|
|
29178
29186
|
document.querySelector('.work_pageHeader').style.backgroundSize = 'cover';
|
|
29179
29187
|
document.querySelector('.work_pageHeader').style.backgroundRepeat = 'no-repeat';
|
|
29188
|
+
} else {
|
|
29189
|
+
document.querySelector('.work_pageHeader').style.background = 'url(./images/m-imgs/workBg/workBg.png)';
|
|
29180
29190
|
}
|
|
29181
29191
|
case 8:
|
|
29182
29192
|
case "end":
|
|
@@ -29258,10 +29268,12 @@ var workClock = __webpack_require__(2554);
|
|
|
29258
29268
|
workClock.default.freshData(_this5);
|
|
29259
29269
|
}
|
|
29260
29270
|
_this5.curInterval = setInterval(function () {
|
|
29261
|
-
if (
|
|
29262
|
-
workClock.freshData
|
|
29263
|
-
|
|
29264
|
-
workClock.default
|
|
29271
|
+
if (_this5.$route.path == '/main') {
|
|
29272
|
+
if (workClock.freshData) {
|
|
29273
|
+
workClock.freshData(_this5);
|
|
29274
|
+
} else if (workClock.default) {
|
|
29275
|
+
workClock.default.freshData(_this5);
|
|
29276
|
+
}
|
|
29265
29277
|
}
|
|
29266
29278
|
}, 1000 * 60);
|
|
29267
29279
|
});
|
|
@@ -29274,10 +29286,18 @@ var workClock = __webpack_require__(2554);
|
|
|
29274
29286
|
},
|
|
29275
29287
|
// 检查打卡
|
|
29276
29288
|
checkWork: function checkWork() {
|
|
29277
|
-
if (
|
|
29278
|
-
workClock.dkEvent
|
|
29279
|
-
|
|
29280
|
-
workClock.default
|
|
29289
|
+
if (window.T) {
|
|
29290
|
+
if (workClock.dkEvent) {
|
|
29291
|
+
workClock.dkEvent(this);
|
|
29292
|
+
} else if (workClock.default) {
|
|
29293
|
+
workClock.default.dkEvent(this);
|
|
29294
|
+
}
|
|
29295
|
+
} else {
|
|
29296
|
+
this.$dialog.confirm({
|
|
29297
|
+
message: this.$tx('desktop.components.mapServiceError', '地图服务加载失败,是否重试?')
|
|
29298
|
+
}).then(function () {
|
|
29299
|
+
location.reload();
|
|
29300
|
+
});
|
|
29281
29301
|
}
|
|
29282
29302
|
},
|
|
29283
29303
|
formatNowDay: function formatNowDay() {
|
|
@@ -29357,9 +29377,9 @@ var workClock = __webpack_require__(2554);
|
|
|
29357
29377
|
});
|
|
29358
29378
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
29359
29379
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
29360
|
-
// 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29361
|
-
var
|
|
29362
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29380
|
+
// 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/desktop/src/components/workHead.vue?vue&type=style&index=0&id=129e43c6&prod&scoped=true&lang=scss
|
|
29381
|
+
var workHeadvue_type_style_index_0_id_129e43c6_prod_scoped_true_lang_scss = __webpack_require__(2895);
|
|
29382
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=129e43c6&prod&scoped=true&lang=scss
|
|
29363
29383
|
|
|
29364
29384
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
29365
29385
|
|
|
@@ -29372,11 +29392,11 @@ var workHeadvue_type_style_index_0_id_209caa6f_prod_scoped_true_lang_scss = __we
|
|
|
29372
29392
|
|
|
29373
29393
|
var workHead_component = normalizeComponent(
|
|
29374
29394
|
components_workHeadvue_type_script_lang_js,
|
|
29375
|
-
|
|
29376
|
-
|
|
29395
|
+
workHeadvue_type_template_id_129e43c6_scoped_true_render,
|
|
29396
|
+
workHeadvue_type_template_id_129e43c6_scoped_true_staticRenderFns,
|
|
29377
29397
|
false,
|
|
29378
29398
|
null,
|
|
29379
|
-
"
|
|
29399
|
+
"129e43c6",
|
|
29380
29400
|
null
|
|
29381
29401
|
|
|
29382
29402
|
)
|