ecinc-cloud-moadesktop 9.6.235 → 9.6.237
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/ecmoadesktop.common.js +49 -38
- package/lib/ecmoadesktop.umd.js +49 -38
- package/lib/ecmoadesktop.umd.min.js +5 -5
- package/package.json +1 -1
|
@@ -296,6 +296,9 @@ function getDis(lng, lat) {
|
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
+
if (dis === null || dis > gpsScope) {
|
|
300
|
+
$parent.dakaType = dakaType[0];
|
|
301
|
+
}
|
|
299
302
|
}
|
|
300
303
|
/**
|
|
301
304
|
* 通过经纬度 获取当前的位置信息
|
|
@@ -326,7 +329,14 @@ function getCurLocation() {
|
|
|
326
329
|
// 定位
|
|
327
330
|
function curLocationAndDis() {
|
|
328
331
|
var device = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('device');
|
|
329
|
-
if (
|
|
332
|
+
if (window.isOpenMapLocation === 1) {
|
|
333
|
+
// 地图定位
|
|
334
|
+
getCurLocation();
|
|
335
|
+
if (getCurInterval) {
|
|
336
|
+
clearInterval(getCurInterval);
|
|
337
|
+
}
|
|
338
|
+
getCurInterval = setInterval(getCurLocation(), 1000 * 30); ////定时刷新定位信息
|
|
339
|
+
} else if (device === 'qywx') {
|
|
330
340
|
// 企业微信定位
|
|
331
341
|
window.wx.getLocation({
|
|
332
342
|
type: 'gcj02',
|
|
@@ -341,13 +351,6 @@ function curLocationAndDis() {
|
|
|
341
351
|
// var accuracy = res.accuracy; // 位置精度
|
|
342
352
|
}
|
|
343
353
|
});
|
|
344
|
-
} else {
|
|
345
|
-
// 地图定位
|
|
346
|
-
getCurLocation();
|
|
347
|
-
if (getCurInterval) {
|
|
348
|
-
clearInterval(getCurInterval);
|
|
349
|
-
}
|
|
350
|
-
getCurInterval = setInterval(getCurLocation(), 1000 * 30);
|
|
351
354
|
}
|
|
352
355
|
}
|
|
353
356
|
var defaultMethods = {
|
|
@@ -586,7 +589,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
586
589
|
|
|
587
590
|
/***/ }),
|
|
588
591
|
|
|
589
|
-
/***/
|
|
592
|
+
/***/ 7509:
|
|
590
593
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
591
594
|
|
|
592
595
|
"use strict";
|
|
@@ -605,7 +608,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
605
608
|
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()));
|
|
606
609
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
607
610
|
// Module
|
|
608
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
611
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-51f70cc4] .van-ellipsis{font-size:18px;color:#fff}[data-v-51f70cc4] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-51f70cc4] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-51f70cc4] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-51f70cc4] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-51f70cc4] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-51f70cc4] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-51f70cc4]{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-51f70cc4],.work_pageHeader .flex-horizon-bw[data-v-51f70cc4]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-51f70cc4]{-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-51f70cc4]{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-51f70cc4]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-51f70cc4]{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-51f70cc4]{-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-51f70cc4]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-51f70cc4]{-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-51f70cc4]{width:14px;height:14px}.check_time span[data-v-51f70cc4]{margin-left:5px}.check_button[data-v-51f70cc4]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
609
612
|
// Exports
|
|
610
613
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
611
614
|
|
|
@@ -22633,19 +22636,19 @@ var update = add("b0496ae0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22633
22636
|
|
|
22634
22637
|
/***/ }),
|
|
22635
22638
|
|
|
22636
|
-
/***/
|
|
22639
|
+
/***/ 8975:
|
|
22637
22640
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22638
22641
|
|
|
22639
22642
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22640
22643
|
|
|
22641
22644
|
// load the styles
|
|
22642
|
-
var content = __webpack_require__(
|
|
22645
|
+
var content = __webpack_require__(7509);
|
|
22643
22646
|
if(content.__esModule) content = content.default;
|
|
22644
22647
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22645
22648
|
if(content.locals) module.exports = content.locals;
|
|
22646
22649
|
// add the styles to the DOM
|
|
22647
22650
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22648
|
-
var update = add("
|
|
22651
|
+
var update = add("20f5bd86", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22649
22652
|
|
|
22650
22653
|
/***/ }),
|
|
22651
22654
|
|
|
@@ -27664,8 +27667,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27664
27667
|
)
|
|
27665
27668
|
|
|
27666
27669
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27667
|
-
;// 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=
|
|
27668
|
-
var
|
|
27670
|
+
;// 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=51f70cc4&scoped=true
|
|
27671
|
+
var workHeadvue_type_template_id_51f70cc4_scoped_true_render = function render() {
|
|
27669
27672
|
var _vm = this,
|
|
27670
27673
|
_c = _vm._self._c;
|
|
27671
27674
|
return _c('div', {
|
|
@@ -27703,7 +27706,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27703
27706
|
"color": "white",
|
|
27704
27707
|
"margin-left": "8px"
|
|
27705
27708
|
}
|
|
27706
|
-
}, [_vm._v(_vm._s(_vm.loginUser.orgName))])], 1), _c('div', [_c('van-icon', {
|
|
27709
|
+
}, [_vm._v(_vm._s(_vm.loginUser.orgName))])], 1), _c('div', [_vm.search ? _c('van-icon', {
|
|
27707
27710
|
attrs: {
|
|
27708
27711
|
"size": "18",
|
|
27709
27712
|
"name": "search"
|
|
@@ -27713,7 +27716,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27713
27716
|
return _vm.$router.push('/fullTextSearch');
|
|
27714
27717
|
}
|
|
27715
27718
|
}
|
|
27716
|
-
}), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27719
|
+
}) : _vm._e(), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27717
27720
|
staticClass: "chat_icon",
|
|
27718
27721
|
staticStyle: {
|
|
27719
27722
|
"margin-left": "20px"
|
|
@@ -27724,11 +27727,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27724
27727
|
"badge": Number(_vm.unreadNum) > 99 ? '99+' : _vm.unreadNum
|
|
27725
27728
|
},
|
|
27726
27729
|
on: {
|
|
27727
|
-
"click":
|
|
27728
|
-
return _vm.$router.push({
|
|
27729
|
-
path: '/chatList'
|
|
27730
|
-
});
|
|
27731
|
-
}
|
|
27730
|
+
"click": _vm.gotoChatlist
|
|
27732
27731
|
}
|
|
27733
27732
|
})] : [_c('van-icon', {
|
|
27734
27733
|
staticClass: "chat_icon",
|
|
@@ -27740,11 +27739,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27740
27739
|
"size": "18"
|
|
27741
27740
|
},
|
|
27742
27741
|
on: {
|
|
27743
|
-
"click":
|
|
27744
|
-
return _vm.$router.push({
|
|
27745
|
-
path: '/chatList'
|
|
27746
|
-
});
|
|
27747
|
-
}
|
|
27742
|
+
"click": _vm.gotoChatlist
|
|
27748
27743
|
}
|
|
27749
27744
|
})], _c('van-icon', {
|
|
27750
27745
|
staticStyle: {
|
|
@@ -27797,7 +27792,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27797
27792
|
staticClass: "pageHeader_timer"
|
|
27798
27793
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27799
27794
|
};
|
|
27800
|
-
var
|
|
27795
|
+
var workHeadvue_type_template_id_51f70cc4_scoped_true_staticRenderFns = [];
|
|
27801
27796
|
|
|
27802
27797
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27803
27798
|
/*!
|
|
@@ -28974,7 +28969,12 @@ function _toPrimitive(t, r) { if ("object" != workHeadvue_type_script_lang_js_ty
|
|
|
28974
28969
|
var workClock = __webpack_require__(2396);
|
|
28975
28970
|
/* harmony default export */ var workHeadvue_type_script_lang_js = ({
|
|
28976
28971
|
components: {},
|
|
28977
|
-
props: {
|
|
28972
|
+
props: {
|
|
28973
|
+
search: {
|
|
28974
|
+
type: Boolean,
|
|
28975
|
+
default: false
|
|
28976
|
+
}
|
|
28977
|
+
},
|
|
28978
28978
|
data: function data() {
|
|
28979
28979
|
return {
|
|
28980
28980
|
organList: this.$store.getters.organList,
|
|
@@ -29023,9 +29023,6 @@ var workClock = __webpack_require__(2396);
|
|
|
29023
29023
|
setInterval(function () {
|
|
29024
29024
|
_this2.getTime();
|
|
29025
29025
|
}, 1000 * 60);
|
|
29026
|
-
setTimeout(function () {
|
|
29027
|
-
_this2.checkWork();
|
|
29028
|
-
}, 1000);
|
|
29029
29026
|
},
|
|
29030
29027
|
methods: {
|
|
29031
29028
|
scan: function scan() {
|
|
@@ -29245,14 +29242,28 @@ var workClock = __webpack_require__(2396);
|
|
|
29245
29242
|
_this6.$toast.fail(response.message);
|
|
29246
29243
|
}
|
|
29247
29244
|
});
|
|
29245
|
+
},
|
|
29246
|
+
gotoChatlist: function gotoChatlist() {
|
|
29247
|
+
var navbarList = this.$vnode.context.$vnode.context.navbarList;
|
|
29248
|
+
var path = '/chatList';
|
|
29249
|
+
if (navbarList) {
|
|
29250
|
+
navbarList.forEach(function (navbar) {
|
|
29251
|
+
if (navbar.show && (navbar.key === 'chat' || navbar.name === 'chatList')) {
|
|
29252
|
+
path = navbar.routeTo;
|
|
29253
|
+
}
|
|
29254
|
+
});
|
|
29255
|
+
}
|
|
29256
|
+
this.$router.push({
|
|
29257
|
+
path: path
|
|
29258
|
+
});
|
|
29248
29259
|
}
|
|
29249
29260
|
}
|
|
29250
29261
|
});
|
|
29251
29262
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
29252
29263
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
29253
|
-
// 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=
|
|
29254
|
-
var
|
|
29255
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29264
|
+
// 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=51f70cc4&prod&scoped=true&lang=scss
|
|
29265
|
+
var workHeadvue_type_style_index_0_id_51f70cc4_prod_scoped_true_lang_scss = __webpack_require__(8975);
|
|
29266
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=51f70cc4&prod&scoped=true&lang=scss
|
|
29256
29267
|
|
|
29257
29268
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
29258
29269
|
|
|
@@ -29265,11 +29276,11 @@ var workHeadvue_type_style_index_0_id_eb4ac8d2_prod_scoped_true_lang_scss = __we
|
|
|
29265
29276
|
|
|
29266
29277
|
var workHead_component = normalizeComponent(
|
|
29267
29278
|
components_workHeadvue_type_script_lang_js,
|
|
29268
|
-
|
|
29269
|
-
|
|
29279
|
+
workHeadvue_type_template_id_51f70cc4_scoped_true_render,
|
|
29280
|
+
workHeadvue_type_template_id_51f70cc4_scoped_true_staticRenderFns,
|
|
29270
29281
|
false,
|
|
29271
29282
|
null,
|
|
29272
|
-
"
|
|
29283
|
+
"51f70cc4",
|
|
29273
29284
|
null
|
|
29274
29285
|
|
|
29275
29286
|
)
|
package/lib/ecmoadesktop.umd.js
CHANGED
|
@@ -306,6 +306,9 @@ function getDis(lng, lat) {
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
}
|
|
309
|
+
if (dis === null || dis > gpsScope) {
|
|
310
|
+
$parent.dakaType = dakaType[0];
|
|
311
|
+
}
|
|
309
312
|
}
|
|
310
313
|
/**
|
|
311
314
|
* 通过经纬度 获取当前的位置信息
|
|
@@ -336,7 +339,14 @@ function getCurLocation() {
|
|
|
336
339
|
// 定位
|
|
337
340
|
function curLocationAndDis() {
|
|
338
341
|
var device = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('device');
|
|
339
|
-
if (
|
|
342
|
+
if (window.isOpenMapLocation === 1) {
|
|
343
|
+
// 地图定位
|
|
344
|
+
getCurLocation();
|
|
345
|
+
if (getCurInterval) {
|
|
346
|
+
clearInterval(getCurInterval);
|
|
347
|
+
}
|
|
348
|
+
getCurInterval = setInterval(getCurLocation(), 1000 * 30); ////定时刷新定位信息
|
|
349
|
+
} else if (device === 'qywx') {
|
|
340
350
|
// 企业微信定位
|
|
341
351
|
window.wx.getLocation({
|
|
342
352
|
type: 'gcj02',
|
|
@@ -351,13 +361,6 @@ function curLocationAndDis() {
|
|
|
351
361
|
// var accuracy = res.accuracy; // 位置精度
|
|
352
362
|
}
|
|
353
363
|
});
|
|
354
|
-
} else {
|
|
355
|
-
// 地图定位
|
|
356
|
-
getCurLocation();
|
|
357
|
-
if (getCurInterval) {
|
|
358
|
-
clearInterval(getCurInterval);
|
|
359
|
-
}
|
|
360
|
-
getCurInterval = setInterval(getCurLocation(), 1000 * 30);
|
|
361
364
|
}
|
|
362
365
|
}
|
|
363
366
|
var defaultMethods = {
|
|
@@ -596,7 +599,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".no-data[data-v-ef203e2e]{display:-web
|
|
|
596
599
|
|
|
597
600
|
/***/ }),
|
|
598
601
|
|
|
599
|
-
/***/
|
|
602
|
+
/***/ 229:
|
|
600
603
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
601
604
|
|
|
602
605
|
"use strict";
|
|
@@ -615,7 +618,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
|
|
|
615
618
|
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()));
|
|
616
619
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
|
|
617
620
|
// Module
|
|
618
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
621
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-51f70cc4] .van-ellipsis{font-size:18px;color:#fff}[data-v-51f70cc4] .van-dropdown-menu__title{color:#fff!important;padding:0 8px 0 0!important}[data-v-51f70cc4] .van-dropdown-menu .van-dropdown-menu__bar .van-dropdown-menu__title--active{color:#fff!important}[data-v-51f70cc4] .van-dropdown-menu__title:after{border-color:transparent transparent #fff #fff!important;right:0}[data-v-51f70cc4] .van-dropdown-menu__bar{background-color:unset!important;-webkit-box-shadow:unset!important;box-shadow:unset!important}[data-v-51f70cc4] .van-dropdown-menu__item{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}[data-v-51f70cc4] .chat_icon .van-info{top:5px!important;right:-4px!important}.work_pageHeader[data-v-51f70cc4]{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-51f70cc4],.work_pageHeader .flex-horizon-bw[data-v-51f70cc4]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.work_pageHeader .flex-horizon-bw[data-v-51f70cc4]{-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-51f70cc4]{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-51f70cc4]{font-size:14px;margin-left:8px}.work_pageHeader .pageHeader_check_work[data-v-51f70cc4]{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-51f70cc4]{-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-51f70cc4]{position:relative;-webkit-transform:rotate(90deg);transform:rotate(90deg);font-size:10px;margin-left:6px}.check_time[data-v-51f70cc4]{-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-51f70cc4]{width:14px;height:14px}.check_time span[data-v-51f70cc4]{margin-left:5px}.check_button[data-v-51f70cc4]{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:18px}", ""]);
|
|
619
622
|
// Exports
|
|
620
623
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
621
624
|
|
|
@@ -22643,19 +22646,19 @@ var update = add("300ba1e0", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
22643
22646
|
|
|
22644
22647
|
/***/ }),
|
|
22645
22648
|
|
|
22646
|
-
/***/
|
|
22649
|
+
/***/ 9049:
|
|
22647
22650
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22648
22651
|
|
|
22649
22652
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
22650
22653
|
|
|
22651
22654
|
// load the styles
|
|
22652
|
-
var content = __webpack_require__(
|
|
22655
|
+
var content = __webpack_require__(229);
|
|
22653
22656
|
if(content.__esModule) content = content.default;
|
|
22654
22657
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
22655
22658
|
if(content.locals) module.exports = content.locals;
|
|
22656
22659
|
// add the styles to the DOM
|
|
22657
22660
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
22658
|
-
var update = add("
|
|
22661
|
+
var update = add("2fa405bd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
22659
22662
|
|
|
22660
22663
|
/***/ }),
|
|
22661
22664
|
|
|
@@ -27674,8 +27677,8 @@ var commonApps_component = normalizeComponent(
|
|
|
27674
27677
|
)
|
|
27675
27678
|
|
|
27676
27679
|
/* harmony default export */ var commonApps = (commonApps_component.exports);
|
|
27677
|
-
;// 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=
|
|
27678
|
-
var
|
|
27680
|
+
;// 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=51f70cc4&scoped=true
|
|
27681
|
+
var workHeadvue_type_template_id_51f70cc4_scoped_true_render = function render() {
|
|
27679
27682
|
var _vm = this,
|
|
27680
27683
|
_c = _vm._self._c;
|
|
27681
27684
|
return _c('div', {
|
|
@@ -27713,7 +27716,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27713
27716
|
"color": "white",
|
|
27714
27717
|
"margin-left": "8px"
|
|
27715
27718
|
}
|
|
27716
|
-
}, [_vm._v(_vm._s(_vm.loginUser.orgName))])], 1), _c('div', [_c('van-icon', {
|
|
27719
|
+
}, [_vm._v(_vm._s(_vm.loginUser.orgName))])], 1), _c('div', [_vm.search ? _c('van-icon', {
|
|
27717
27720
|
attrs: {
|
|
27718
27721
|
"size": "18",
|
|
27719
27722
|
"name": "search"
|
|
@@ -27723,7 +27726,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27723
27726
|
return _vm.$router.push('/fullTextSearch');
|
|
27724
27727
|
}
|
|
27725
27728
|
}
|
|
27726
|
-
}), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27729
|
+
}) : _vm._e(), Number(_vm.unreadNum) > 0 ? [_c('van-icon', {
|
|
27727
27730
|
staticClass: "chat_icon",
|
|
27728
27731
|
staticStyle: {
|
|
27729
27732
|
"margin-left": "20px"
|
|
@@ -27734,11 +27737,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27734
27737
|
"badge": Number(_vm.unreadNum) > 99 ? '99+' : _vm.unreadNum
|
|
27735
27738
|
},
|
|
27736
27739
|
on: {
|
|
27737
|
-
"click":
|
|
27738
|
-
return _vm.$router.push({
|
|
27739
|
-
path: '/chatList'
|
|
27740
|
-
});
|
|
27741
|
-
}
|
|
27740
|
+
"click": _vm.gotoChatlist
|
|
27742
27741
|
}
|
|
27743
27742
|
})] : [_c('van-icon', {
|
|
27744
27743
|
staticClass: "chat_icon",
|
|
@@ -27750,11 +27749,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27750
27749
|
"size": "18"
|
|
27751
27750
|
},
|
|
27752
27751
|
on: {
|
|
27753
|
-
"click":
|
|
27754
|
-
return _vm.$router.push({
|
|
27755
|
-
path: '/chatList'
|
|
27756
|
-
});
|
|
27757
|
-
}
|
|
27752
|
+
"click": _vm.gotoChatlist
|
|
27758
27753
|
}
|
|
27759
27754
|
})], _c('van-icon', {
|
|
27760
27755
|
staticStyle: {
|
|
@@ -27807,7 +27802,7 @@ var workHeadvue_type_template_id_eb4ac8d2_scoped_true_render = function render()
|
|
|
27807
27802
|
staticClass: "pageHeader_timer"
|
|
27808
27803
|
}, [_c('span', [_vm._v(_vm._s(_vm.nowDay))])])])]);
|
|
27809
27804
|
};
|
|
27810
|
-
var
|
|
27805
|
+
var workHeadvue_type_template_id_51f70cc4_scoped_true_staticRenderFns = [];
|
|
27811
27806
|
|
|
27812
27807
|
;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
|
|
27813
27808
|
/*!
|
|
@@ -28984,7 +28979,12 @@ function _toPrimitive(t, r) { if ("object" != workHeadvue_type_script_lang_js_ty
|
|
|
28984
28979
|
var workClock = __webpack_require__(2554);
|
|
28985
28980
|
/* harmony default export */ var workHeadvue_type_script_lang_js = ({
|
|
28986
28981
|
components: {},
|
|
28987
|
-
props: {
|
|
28982
|
+
props: {
|
|
28983
|
+
search: {
|
|
28984
|
+
type: Boolean,
|
|
28985
|
+
default: false
|
|
28986
|
+
}
|
|
28987
|
+
},
|
|
28988
28988
|
data: function data() {
|
|
28989
28989
|
return {
|
|
28990
28990
|
organList: this.$store.getters.organList,
|
|
@@ -29033,9 +29033,6 @@ var workClock = __webpack_require__(2554);
|
|
|
29033
29033
|
setInterval(function () {
|
|
29034
29034
|
_this2.getTime();
|
|
29035
29035
|
}, 1000 * 60);
|
|
29036
|
-
setTimeout(function () {
|
|
29037
|
-
_this2.checkWork();
|
|
29038
|
-
}, 1000);
|
|
29039
29036
|
},
|
|
29040
29037
|
methods: {
|
|
29041
29038
|
scan: function scan() {
|
|
@@ -29255,14 +29252,28 @@ var workClock = __webpack_require__(2554);
|
|
|
29255
29252
|
_this6.$toast.fail(response.message);
|
|
29256
29253
|
}
|
|
29257
29254
|
});
|
|
29255
|
+
},
|
|
29256
|
+
gotoChatlist: function gotoChatlist() {
|
|
29257
|
+
var navbarList = this.$vnode.context.$vnode.context.navbarList;
|
|
29258
|
+
var path = '/chatList';
|
|
29259
|
+
if (navbarList) {
|
|
29260
|
+
navbarList.forEach(function (navbar) {
|
|
29261
|
+
if (navbar.show && (navbar.key === 'chat' || navbar.name === 'chatList')) {
|
|
29262
|
+
path = navbar.routeTo;
|
|
29263
|
+
}
|
|
29264
|
+
});
|
|
29265
|
+
}
|
|
29266
|
+
this.$router.push({
|
|
29267
|
+
path: path
|
|
29268
|
+
});
|
|
29258
29269
|
}
|
|
29259
29270
|
}
|
|
29260
29271
|
});
|
|
29261
29272
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=script&lang=js
|
|
29262
29273
|
/* harmony default export */ var components_workHeadvue_type_script_lang_js = (workHeadvue_type_script_lang_js);
|
|
29263
|
-
// 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=
|
|
29264
|
-
var
|
|
29265
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=
|
|
29274
|
+
// 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=51f70cc4&prod&scoped=true&lang=scss
|
|
29275
|
+
var workHeadvue_type_style_index_0_id_51f70cc4_prod_scoped_true_lang_scss = __webpack_require__(9049);
|
|
29276
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue?vue&type=style&index=0&id=51f70cc4&prod&scoped=true&lang=scss
|
|
29266
29277
|
|
|
29267
29278
|
;// CONCATENATED MODULE: ./packages/ecmoa/desktop/src/components/workHead.vue
|
|
29268
29279
|
|
|
@@ -29275,11 +29286,11 @@ var workHeadvue_type_style_index_0_id_eb4ac8d2_prod_scoped_true_lang_scss = __we
|
|
|
29275
29286
|
|
|
29276
29287
|
var workHead_component = normalizeComponent(
|
|
29277
29288
|
components_workHeadvue_type_script_lang_js,
|
|
29278
|
-
|
|
29279
|
-
|
|
29289
|
+
workHeadvue_type_template_id_51f70cc4_scoped_true_render,
|
|
29290
|
+
workHeadvue_type_template_id_51f70cc4_scoped_true_staticRenderFns,
|
|
29280
29291
|
false,
|
|
29281
29292
|
null,
|
|
29282
|
-
"
|
|
29293
|
+
"51f70cc4",
|
|
29283
29294
|
null
|
|
29284
29295
|
|
|
29285
29296
|
)
|