ecinc-cloud-moabase 9.5.232 → 9.5.233
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/ecmoabase.common.js +343 -126
- package/lib/ecmoabase.umd.js +343 -126
- package/lib/ecmoabase.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecmoabase.common.js
CHANGED
|
@@ -984,7 +984,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".AppFieldCell[data-v-1049d23a]{padding
|
|
|
984
984
|
|
|
985
985
|
/***/ }),
|
|
986
986
|
|
|
987
|
-
/***/
|
|
987
|
+
/***/ 2155:
|
|
988
988
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
989
989
|
|
|
990
990
|
"use strict";
|
|
@@ -998,7 +998,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
998
998
|
|
|
999
999
|
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()));
|
|
1000
1000
|
// Module
|
|
1001
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-
|
|
1001
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-376ac6df]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-376ac6df]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto}.App-nav-bar .App-center[data-v-376ac6df]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-376ac6df],.App-nav-bar .App-left-img[data-v-376ac6df]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-376ac6df]{text-align:center;display:inline-block;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#dfdfdf,#8a8a8a);margin-left:5px}.App-nav-bar .App-center-chat-status.on-line[data-v-376ac6df]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-376ac6df] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-376ac6df]:after{border-bottom-width:0}", ""]);
|
|
1002
1002
|
// Exports
|
|
1003
1003
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1004
1004
|
|
|
@@ -1278,7 +1278,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".top-box[data-v-08f337e4]{width:100%;b
|
|
|
1278
1278
|
|
|
1279
1279
|
/***/ }),
|
|
1280
1280
|
|
|
1281
|
-
/***/
|
|
1281
|
+
/***/ 5169:
|
|
1282
1282
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1283
1283
|
|
|
1284
1284
|
"use strict";
|
|
@@ -1292,7 +1292,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1292
1292
|
|
|
1293
1293
|
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()));
|
|
1294
1294
|
// Module
|
|
1295
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
1295
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-48cef745] .selectListDialog .data-table-container .listdata-container{height:calc(100vh - 159px - var(--headerHeight))!important}[data-v-48cef745] .van-nav-bar__title{margin-left:16px}.right-top .van-checkbox[data-v-48cef745],.right-top .van-radio[data-v-48cef745]{float:right}", ""]);
|
|
1296
1296
|
// Exports
|
|
1297
1297
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1298
1298
|
|
|
@@ -1320,7 +1320,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".view-body-article .view-article[data-
|
|
|
1320
1320
|
|
|
1321
1321
|
/***/ }),
|
|
1322
1322
|
|
|
1323
|
-
/***/
|
|
1323
|
+
/***/ 7588:
|
|
1324
1324
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1325
1325
|
|
|
1326
1326
|
"use strict";
|
|
@@ -1334,7 +1334,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1334
1334
|
|
|
1335
1335
|
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()));
|
|
1336
1336
|
// Module
|
|
1337
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
1337
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-79f5b76f] .wflow-attach .van-cell__title span{font-weight:700}.view_content[data-v-79f5b76f]{height:100vh;overflow:auto}.view_content .view_content_title[data-v-79f5b76f]{padding:15px;padding-bottom:unset;line-height:26px;font-size:20px;font-weight:600}.view_content .view_content_info[data-v-79f5b76f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:15px;font-size:12px;line-height:12px;padding:15px;border-bottom:.5px solid #ebedf0;color:#999}.view_content .view_content_info .view_content_info_creat[data-v-79f5b76f],.view_content .view_content_info .view_content_info_issueDate[data-v-79f5b76f]{margin-right:16px}.view_content .view_content_info .view_content_info_collect[data-v-79f5b76f]{width:12px;height:12px;fill:currentColor}.view_content .view_content_info_label[data-v-79f5b76f]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:15px;padding-right:5px}.view_content .view_content_info_label .view_content_info_label_item[data-v-79f5b76f]{height:14px;border-radius:13px;border:1px solid #ebedf0;-webkit-transform:.5;transform:.5;padding:5px 10px;font-size:12px;line-height:14px;margin:10px 10px 0 0;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.view_content .view_content_info_content[data-v-79f5b76f]{padding:10px 16px;overflow:hidden;line-height:20px;letter-spacing:1px;text-align:justify;font-size:14px}.view_content .view_content_info_content[data-v-79f5b76f]:after,.view_content .view_content_info_content[data-v-79f5b76f]:before{content:\"\"}.view_content .view_content_info_content[data-v-79f5b76f] table{width:100%!important}.view_content .view_content_info_content[data-v-79f5b76f] img{width:100%!important;height:auto!important}.view_content[data-v-79f5b76f] .view_content_info_content p{margin:0 0 10px 0}.view_content .view_content_special .view_content_special_group .view_content_special_group_item[data-v-79f5b76f],.view_content .view_content_special .view_content_special_group .view_content_special_item[data-v-79f5b76f]{padding:10px 16px;font-size:14px;line-height:24px;color:#333;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;overflow:hidden}.view_content .view_content_special .view_content_special_group .view_content_special_group_item[data-v-79f5b76f]:after,.view_content .view_content_special .view_content_special_group .view_content_special_item[data-v-79f5b76f]:after{content:\"\";border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);position:absolute;bottom:0;left:16px;width:100%}.view_content .view_content_special .view_content_special_group .view_content_special_last[data-v-79f5b76f]:after{content:unset}.view_content .view_content_special .view_content_special_group .view_content_special_group_item[data-v-79f5b76f]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.view_content .view_content_special .view_content_special_group .view_content_special_group_item .view_content_special_group_item_title[data-v-79f5b76f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.view_content .view_content_special .view_content_special_group .view_content_special_box .view_content_special_item[data-v-79f5b76f]:after{left:40px}.view_content .view_content_special .view_content_special_group .view_content_special_box .view_content_special_item .view_content_special_item_icon[data-v-79f5b76f]{margin-right:10px;min-width:14px}.view_content .view_content_special .view_content_special_group .view_content_special_box .view_content_special_item .view_content_special_item_title[data-v-79f5b76f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.redian[data-v-79f5b76f]{position:absolute;top:0;left:0;background-color:#ccc;border-radius:4px;padding:6px 8px;cursor:pointer}.redian .redianInner[data-v-79f5b76f]{width:14px;height:14px;background:#fff;margin:auto;border-radius:50%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.redianSon[data-v-79f5b76f]{height:24px;line-height:24px;color:#1a82e3;font-size:var(--portalFontSize12);width:100%;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.redianSon[data-v-79f5b76f]:hover{text-decoration:underline}", ""]);
|
|
1338
1338
|
// Exports
|
|
1339
1339
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1340
1340
|
|
|
@@ -25807,19 +25807,19 @@ var update = add("72d28922", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25807
25807
|
|
|
25808
25808
|
/***/ }),
|
|
25809
25809
|
|
|
25810
|
-
/***/
|
|
25810
|
+
/***/ 3281:
|
|
25811
25811
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25812
25812
|
|
|
25813
25813
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25814
25814
|
|
|
25815
25815
|
// load the styles
|
|
25816
|
-
var content = __webpack_require__(
|
|
25816
|
+
var content = __webpack_require__(2155);
|
|
25817
25817
|
if(content.__esModule) content = content.default;
|
|
25818
25818
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25819
25819
|
if(content.locals) module.exports = content.locals;
|
|
25820
25820
|
// add the styles to the DOM
|
|
25821
25821
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25822
|
-
var update = add("
|
|
25822
|
+
var update = add("482695f8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25823
25823
|
|
|
25824
25824
|
/***/ }),
|
|
25825
25825
|
|
|
@@ -26031,19 +26031,19 @@ var update = add("5477c5f8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
26031
26031
|
|
|
26032
26032
|
/***/ }),
|
|
26033
26033
|
|
|
26034
|
-
/***/
|
|
26034
|
+
/***/ 3039:
|
|
26035
26035
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
26036
26036
|
|
|
26037
26037
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
26038
26038
|
|
|
26039
26039
|
// load the styles
|
|
26040
|
-
var content = __webpack_require__(
|
|
26040
|
+
var content = __webpack_require__(5169);
|
|
26041
26041
|
if(content.__esModule) content = content.default;
|
|
26042
26042
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
26043
26043
|
if(content.locals) module.exports = content.locals;
|
|
26044
26044
|
// add the styles to the DOM
|
|
26045
26045
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
26046
|
-
var update = add("
|
|
26046
|
+
var update = add("245870f4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
26047
26047
|
|
|
26048
26048
|
/***/ }),
|
|
26049
26049
|
|
|
@@ -26063,19 +26063,19 @@ var update = add("f4008918", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
26063
26063
|
|
|
26064
26064
|
/***/ }),
|
|
26065
26065
|
|
|
26066
|
-
/***/
|
|
26066
|
+
/***/ 4538:
|
|
26067
26067
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
26068
26068
|
|
|
26069
26069
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
26070
26070
|
|
|
26071
26071
|
// load the styles
|
|
26072
|
-
var content = __webpack_require__(
|
|
26072
|
+
var content = __webpack_require__(7588);
|
|
26073
26073
|
if(content.__esModule) content = content.default;
|
|
26074
26074
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
26075
26075
|
if(content.locals) module.exports = content.locals;
|
|
26076
26076
|
// add the styles to the DOM
|
|
26077
26077
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
26078
|
-
var update = add("
|
|
26078
|
+
var update = add("653bb5e9", content, true, {"sourceMap":false,"shadowMode":false});
|
|
26079
26079
|
|
|
26080
26080
|
/***/ }),
|
|
26081
26081
|
|
|
@@ -26960,17 +26960,17 @@ var AppFieldCell_component = normalizeComponent(
|
|
|
26960
26960
|
)
|
|
26961
26961
|
|
|
26962
26962
|
/* harmony default export */ var AppFieldCell = (AppFieldCell_component.exports);
|
|
26963
|
-
;// 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/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=
|
|
26963
|
+
;// 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/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=376ac6df&scoped=true
|
|
26964
26964
|
function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
|
|
26965
26965
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26966
26966
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26967
26967
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26968
26968
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26969
26969
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26970
|
-
var
|
|
26970
|
+
var AppHeadervue_type_template_id_376ac6df_scoped_true_render = function render() {
|
|
26971
26971
|
var _vm = this,
|
|
26972
26972
|
_c = _vm._self._c;
|
|
26973
|
-
return _vm.isLoaded && _vm.isShow ? _c('van-nav-bar', {
|
|
26973
|
+
return _c('div', [_vm.isLoaded && _vm.isShow ? _c('van-nav-bar', {
|
|
26974
26974
|
staticClass: "App-nav-bar App-nav-bar__noBottomLine",
|
|
26975
26975
|
class: {
|
|
26976
26976
|
'App-nav-bar__fixed': _vm.isEditPage
|
|
@@ -27056,9 +27056,25 @@ var AppHeadervue_type_template_id_ba252c28_scoped_true_render = function render(
|
|
|
27056
27056
|
},
|
|
27057
27057
|
proxy: true
|
|
27058
27058
|
} : null], null, true)
|
|
27059
|
-
}) : _vm._e()
|
|
27059
|
+
}) : _vm._e(), _vm.showGobackBtn ? _c('FloatButtonGroup', {
|
|
27060
|
+
attrs: {
|
|
27061
|
+
"show-footer-nav-bar": _vm.showNavBar
|
|
27062
|
+
}
|
|
27063
|
+
}, [_c('van-button', {
|
|
27064
|
+
attrs: {
|
|
27065
|
+
"round": "",
|
|
27066
|
+
"plain": "",
|
|
27067
|
+
"size": "normal",
|
|
27068
|
+
"type": 'info',
|
|
27069
|
+
"icon": 'revoke',
|
|
27070
|
+
"hairline": ""
|
|
27071
|
+
},
|
|
27072
|
+
on: {
|
|
27073
|
+
"click": _vm.historyBack
|
|
27074
|
+
}
|
|
27075
|
+
})], 1) : _vm._e()], 1);
|
|
27060
27076
|
};
|
|
27061
|
-
var
|
|
27077
|
+
var AppHeadervue_type_template_id_376ac6df_scoped_true_staticRenderFns = [];
|
|
27062
27078
|
|
|
27063
27079
|
;// 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/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27064
27080
|
function AppHeadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return AppHeadervue_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; }, AppHeadervue_type_script_lang_js_typeof(o); }
|
|
@@ -27080,7 +27096,8 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27080
27096
|
leftConfig: {},
|
|
27081
27097
|
leftTextConfig: {},
|
|
27082
27098
|
rightConfig: {},
|
|
27083
|
-
headerStyleHtml: null
|
|
27099
|
+
headerStyleHtml: null,
|
|
27100
|
+
showGobackBtn: false
|
|
27084
27101
|
};
|
|
27085
27102
|
},
|
|
27086
27103
|
computed: {
|
|
@@ -27102,6 +27119,10 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27102
27119
|
if (this.$route.query.isFullScreen) {
|
|
27103
27120
|
flag = false;
|
|
27104
27121
|
}
|
|
27122
|
+
if (this.$route.name === 'Calendar') {
|
|
27123
|
+
// 处理 calendar 存在两个头部的问题
|
|
27124
|
+
flag = false;
|
|
27125
|
+
}
|
|
27105
27126
|
if (flag) {
|
|
27106
27127
|
document.body.style.setProperty('--headerHeight', 46 + this.appPadding - 1 + 'px');
|
|
27107
27128
|
document.body.style.setProperty('--headerStatusHeight', this.appPadding + 'px');
|
|
@@ -27126,35 +27147,63 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27126
27147
|
}
|
|
27127
27148
|
},
|
|
27128
27149
|
watch: {
|
|
27129
|
-
|
|
27150
|
+
$route: function () {
|
|
27130
27151
|
var _$route = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(val, oVal) {
|
|
27131
27152
|
var _this = this;
|
|
27132
27153
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27133
27154
|
while (1) switch (_context.prev = _context.next) {
|
|
27134
27155
|
case 0:
|
|
27135
27156
|
this.isLoaded = true;
|
|
27136
|
-
|
|
27157
|
+
this.showGobackBtn = false;
|
|
27158
|
+
window.layout = '';
|
|
27159
|
+
if (window.wxgobakMode === 'floatBtn') {
|
|
27160
|
+
this.$nextTick(function () {
|
|
27161
|
+
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27162
|
+
var gobackBtn = document.querySelector('.goback-btn'); //列表页面返回按钮
|
|
27163
|
+
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27164
|
+
if (!mainTabbar && !gobackBtn && !closeBtn) {
|
|
27165
|
+
_this.showGobackBtn = true;
|
|
27166
|
+
} else if (mainTabbar && location.href.indexOf('addressBook?STACK') !== -1) {
|
|
27167
|
+
//显示通讯录人员列表
|
|
27168
|
+
_this.showGobackBtn = true;
|
|
27169
|
+
}
|
|
27170
|
+
});
|
|
27171
|
+
}
|
|
27172
|
+
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27137
27173
|
_context.next = 8;
|
|
27138
27174
|
break;
|
|
27139
27175
|
}
|
|
27140
|
-
|
|
27176
|
+
if (window.wxgobakMode === 'topbarBtn') {
|
|
27177
|
+
//安卓版微信左上角导航默认功能为退出H5应用,为了方便用户退回上一页面,安卓版微信显示H5应用顶部导航
|
|
27178
|
+
window.layout = 'H5';
|
|
27179
|
+
//安卓微信版本,显示顶部导航栏,但是不需要预留顶部系统状态栏空间
|
|
27180
|
+
this.appPadding = 0;
|
|
27181
|
+
}
|
|
27182
|
+
_context.next = 15;
|
|
27183
|
+
break;
|
|
27184
|
+
case 8:
|
|
27185
|
+
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (this.appPadding === 0 || this.appPadding === 24))) {
|
|
27186
|
+
_context.next = 15;
|
|
27187
|
+
break;
|
|
27188
|
+
}
|
|
27189
|
+
_context.next = 11;
|
|
27141
27190
|
return this.$wv.getSystemStatusBarHeight();
|
|
27142
|
-
case
|
|
27191
|
+
case 11:
|
|
27143
27192
|
_context.t0 = _context.sent;
|
|
27144
27193
|
if (_context.t0) {
|
|
27145
|
-
_context.next =
|
|
27194
|
+
_context.next = 14;
|
|
27146
27195
|
break;
|
|
27147
27196
|
}
|
|
27148
27197
|
_context.t0 = 24;
|
|
27149
|
-
case
|
|
27198
|
+
case 14:
|
|
27150
27199
|
this.appPadding = _context.t0;
|
|
27151
|
-
case
|
|
27200
|
+
case 15:
|
|
27152
27201
|
this.handleBtnConfig(val);
|
|
27153
27202
|
this.handleHeaderConfig(val);
|
|
27154
27203
|
this.$nextTick(function () {
|
|
27155
27204
|
return _this.handleHeaderLineConfig(val);
|
|
27156
27205
|
});
|
|
27157
|
-
case
|
|
27206
|
+
case 18:
|
|
27158
27207
|
case "end":
|
|
27159
27208
|
return _context.stop();
|
|
27160
27209
|
}
|
|
@@ -27180,22 +27229,37 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27180
27229
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
27181
27230
|
while (1) switch (_context2.prev = _context2.next) {
|
|
27182
27231
|
case 0:
|
|
27232
|
+
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27233
|
+
_context2.next = 4;
|
|
27234
|
+
break;
|
|
27235
|
+
}
|
|
27236
|
+
if (window.wxgobakMode === 'topbarBtn') {
|
|
27237
|
+
//安卓版微信左上角导航默认功能为退出H5应用,为了方便用户退回上一页面,安卓版微信显示H5应用顶部导航
|
|
27238
|
+
window.layout = 'H5';
|
|
27239
|
+
//安卓微信版本,显示顶部导航栏,但是不需要预留顶部系统状态栏空间
|
|
27240
|
+
_this3.appPadding = 0;
|
|
27241
|
+
}
|
|
27242
|
+
_context2.next = 12;
|
|
27243
|
+
break;
|
|
27244
|
+
case 4:
|
|
27245
|
+
//非安卓微信版本,不显示返回按钮
|
|
27246
|
+
window.wxgobakMode = '';
|
|
27183
27247
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this3.appPadding === 0 || _this3.appPadding === 24))) {
|
|
27184
|
-
_context2.next =
|
|
27248
|
+
_context2.next = 12;
|
|
27185
27249
|
break;
|
|
27186
27250
|
}
|
|
27187
|
-
_context2.next =
|
|
27251
|
+
_context2.next = 8;
|
|
27188
27252
|
return _this3.$wv.getSystemStatusBarHeight();
|
|
27189
|
-
case
|
|
27253
|
+
case 8:
|
|
27190
27254
|
_context2.t0 = _context2.sent;
|
|
27191
27255
|
if (_context2.t0) {
|
|
27192
|
-
_context2.next =
|
|
27256
|
+
_context2.next = 11;
|
|
27193
27257
|
break;
|
|
27194
27258
|
}
|
|
27195
27259
|
_context2.t0 = 24;
|
|
27196
|
-
case
|
|
27260
|
+
case 11:
|
|
27197
27261
|
_this3.appPadding = _context2.t0;
|
|
27198
|
-
case
|
|
27262
|
+
case 12:
|
|
27199
27263
|
_this3.$bus.on('setTitle', _this3.handleSetTitle);
|
|
27200
27264
|
_this3.$bus.on('setCenterImage', _this3.handleSetCenterImage);
|
|
27201
27265
|
_this3.$bus.on('setLeftText', _this3.handleSetLeftText);
|
|
@@ -27203,7 +27267,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27203
27267
|
_this3.$bus.on('setRightText', _this3.handleSetRightText);
|
|
27204
27268
|
_this3.$bus.on('setRightImage', _this3.handleSetRightImage);
|
|
27205
27269
|
_this3.$bus.on('showBack', _this3.handleShowBack);
|
|
27206
|
-
case
|
|
27270
|
+
case 19:
|
|
27207
27271
|
case "end":
|
|
27208
27272
|
return _context2.stop();
|
|
27209
27273
|
}
|
|
@@ -27342,14 +27406,17 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27342
27406
|
handleShowBack: function handleShowBack(data) {
|
|
27343
27407
|
this.isCustomBackButton = true;
|
|
27344
27408
|
this.showBackBtn = !!data;
|
|
27409
|
+
},
|
|
27410
|
+
historyBack: function historyBack() {
|
|
27411
|
+
history.back();
|
|
27345
27412
|
}
|
|
27346
27413
|
}
|
|
27347
27414
|
});
|
|
27348
27415
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27349
27416
|
/* harmony default export */ var App_AppHeadervue_type_script_lang_js = (AppHeadervue_type_script_lang_js);
|
|
27350
|
-
// 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/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27351
|
-
var
|
|
27352
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27417
|
+
// 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/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=376ac6df&prod&lang=scss&scoped=true
|
|
27418
|
+
var AppHeadervue_type_style_index_0_id_376ac6df_prod_lang_scss_scoped_true = __webpack_require__(3281);
|
|
27419
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=376ac6df&prod&lang=scss&scoped=true
|
|
27353
27420
|
|
|
27354
27421
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue
|
|
27355
27422
|
|
|
@@ -27362,11 +27429,11 @@ var AppHeadervue_type_style_index_0_id_ba252c28_prod_lang_scss_scoped_true = __w
|
|
|
27362
27429
|
|
|
27363
27430
|
var AppHeader_component = normalizeComponent(
|
|
27364
27431
|
App_AppHeadervue_type_script_lang_js,
|
|
27365
|
-
|
|
27366
|
-
|
|
27432
|
+
AppHeadervue_type_template_id_376ac6df_scoped_true_render,
|
|
27433
|
+
AppHeadervue_type_template_id_376ac6df_scoped_true_staticRenderFns,
|
|
27367
27434
|
false,
|
|
27368
27435
|
null,
|
|
27369
|
-
"
|
|
27436
|
+
"376ac6df",
|
|
27370
27437
|
null
|
|
27371
27438
|
|
|
27372
27439
|
)
|
|
@@ -138933,8 +139000,8 @@ var H5appLoader_component = normalizeComponent(
|
|
|
138933
139000
|
)
|
|
138934
139001
|
|
|
138935
139002
|
/* harmony default export */ var H5appLoader = (H5appLoader_component.exports);
|
|
138936
|
-
;// 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/moabase/src/common/components/ListpageDialog/index.vue?vue&type=template&id=
|
|
138937
|
-
var
|
|
139003
|
+
;// 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/moabase/src/common/components/ListpageDialog/index.vue?vue&type=template&id=48cef745&scoped=true
|
|
139004
|
+
var ListpageDialogvue_type_template_id_48cef745_scoped_true_render = function render() {
|
|
138938
139005
|
var _vm = this,
|
|
138939
139006
|
_c = _vm._self._c;
|
|
138940
139007
|
return _c('PopupDialog', {
|
|
@@ -139011,7 +139078,7 @@ var ListpageDialogvue_type_template_id_e4316b06_scoped_true_render = function re
|
|
|
139011
139078
|
}
|
|
139012
139079
|
}, [_vm._v(_vm._s(_vm.getContent(slotProps.dataitem, _vm.listStyle.rightLabel) || ' '))])])])], 2) : _vm._e()];
|
|
139013
139080
|
}
|
|
139014
|
-
}], null, false,
|
|
139081
|
+
}], null, false, 3912100878)
|
|
139015
139082
|
}) : _vm._e()], 1) : _c('van-checkbox-group', {
|
|
139016
139083
|
model: {
|
|
139017
139084
|
value: _vm.selected,
|
|
@@ -139073,7 +139140,7 @@ var ListpageDialogvue_type_template_id_e4316b06_scoped_true_render = function re
|
|
|
139073
139140
|
}
|
|
139074
139141
|
}, [_vm._v(_vm._s(_vm.getContent(slotProps.dataitem, _vm.listStyle.rightLabel)))])])])], 2) : _vm._e()];
|
|
139075
139142
|
}
|
|
139076
|
-
}], null, false,
|
|
139143
|
+
}], null, false, 1821601972)
|
|
139077
139144
|
}) : _vm._e()], 1)], 1), _c('FooterButtonGroup', [_c('van-button', {
|
|
139078
139145
|
attrs: {
|
|
139079
139146
|
"square": "",
|
|
@@ -139085,7 +139152,7 @@ var ListpageDialogvue_type_template_id_e4316b06_scoped_true_render = function re
|
|
|
139085
139152
|
}
|
|
139086
139153
|
})], 1)], 1);
|
|
139087
139154
|
};
|
|
139088
|
-
var
|
|
139155
|
+
var ListpageDialogvue_type_template_id_48cef745_scoped_true_staticRenderFns = [];
|
|
139089
139156
|
|
|
139090
139157
|
;// 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/moabase/src/common/components/ListpageDialog/index.vue?vue&type=script&lang=js
|
|
139091
139158
|
function ListpageDialogvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ListpageDialogvue_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; }, ListpageDialogvue_type_script_lang_js_typeof(o); }
|
|
@@ -139270,10 +139337,10 @@ var moment = __webpack_require__(5093);
|
|
|
139270
139337
|
submitForm: function submitForm() {
|
|
139271
139338
|
if (this.selected.length === 0) {
|
|
139272
139339
|
this.dialogTitle = this.dialogTitle || '';
|
|
139273
|
-
// this.$dialog.alert({ message: '请选择' + this.dialogTitle.replace('管理', '').replace('请选择', '').replace('选择', '') })
|
|
139274
139340
|
this.$dialog.alert({
|
|
139275
|
-
message:
|
|
139341
|
+
message: '请选择' + this.dialogTitle.replace('管理', '').replace('请选择', '').replace('选择', '')
|
|
139276
139342
|
});
|
|
139343
|
+
// this.$dialog.alert({ message: this.$tx('common.plInputContent', `请选择${this.dialogTitle.replace('管理', '').replace('请选择', '').replace('选择', '')}`) })
|
|
139277
139344
|
} else {
|
|
139278
139345
|
this.callback({
|
|
139279
139346
|
code: 'success',
|
|
@@ -139308,9 +139375,9 @@ var moment = __webpack_require__(5093);
|
|
|
139308
139375
|
});
|
|
139309
139376
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ListpageDialog/index.vue?vue&type=script&lang=js
|
|
139310
139377
|
/* harmony default export */ var components_ListpageDialogvue_type_script_lang_js = (ListpageDialogvue_type_script_lang_js);
|
|
139311
|
-
// 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/moabase/src/common/components/ListpageDialog/index.vue?vue&type=style&index=0&id=
|
|
139312
|
-
var
|
|
139313
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ListpageDialog/index.vue?vue&type=style&index=0&id=
|
|
139378
|
+
// 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/moabase/src/common/components/ListpageDialog/index.vue?vue&type=style&index=0&id=48cef745&prod&scoped=true&lang=scss
|
|
139379
|
+
var ListpageDialogvue_type_style_index_0_id_48cef745_prod_scoped_true_lang_scss = __webpack_require__(3039);
|
|
139380
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ListpageDialog/index.vue?vue&type=style&index=0&id=48cef745&prod&scoped=true&lang=scss
|
|
139314
139381
|
|
|
139315
139382
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ListpageDialog/index.vue
|
|
139316
139383
|
|
|
@@ -139323,11 +139390,11 @@ var ListpageDialogvue_type_style_index_0_id_e4316b06_prod_scoped_true_lang_scss
|
|
|
139323
139390
|
|
|
139324
139391
|
var ListpageDialog_component = normalizeComponent(
|
|
139325
139392
|
components_ListpageDialogvue_type_script_lang_js,
|
|
139326
|
-
|
|
139327
|
-
|
|
139393
|
+
ListpageDialogvue_type_template_id_48cef745_scoped_true_render,
|
|
139394
|
+
ListpageDialogvue_type_template_id_48cef745_scoped_true_staticRenderFns,
|
|
139328
139395
|
false,
|
|
139329
139396
|
null,
|
|
139330
|
-
"
|
|
139397
|
+
"48cef745",
|
|
139331
139398
|
null
|
|
139332
139399
|
|
|
139333
139400
|
)
|
|
@@ -139578,8 +139645,8 @@ var ViewBodyArticle_component = normalizeComponent(
|
|
|
139578
139645
|
)
|
|
139579
139646
|
|
|
139580
139647
|
/* harmony default export */ var ViewBodyArticle = (ViewBodyArticle_component.exports);
|
|
139581
|
-
;// 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/moabase/src/common/components/ViewContent/index.vue?vue&type=template&id=
|
|
139582
|
-
var
|
|
139648
|
+
;// 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/moabase/src/common/components/ViewContent/index.vue?vue&type=template&id=79f5b76f&scoped=true
|
|
139649
|
+
var ViewContentvue_type_template_id_79f5b76f_scoped_true_render = function render() {
|
|
139583
139650
|
var _vm = this,
|
|
139584
139651
|
_c = _vm._self._c;
|
|
139585
139652
|
return _c('div', {
|
|
@@ -139687,7 +139754,95 @@ var ViewContentvue_type_template_id_5da5d92c_scoped_true_render = function rende
|
|
|
139687
139754
|
domProps: {
|
|
139688
139755
|
"textContent": _vm._s(_vm.vo.remark)
|
|
139689
139756
|
}
|
|
139690
|
-
})]) : _vm._e(), _vm.wfParams.viewContent === '3' ? _c('
|
|
139757
|
+
})]) : _vm._e(), _vm.wfParams.viewContent === '3' ? _c('div', [_c('div', {
|
|
139758
|
+
staticStyle: {
|
|
139759
|
+
"overflow": "auto",
|
|
139760
|
+
"background": "#fff",
|
|
139761
|
+
"flex": "1",
|
|
139762
|
+
"height": "100%",
|
|
139763
|
+
"margin": "0 10px"
|
|
139764
|
+
}
|
|
139765
|
+
}, [_c('div', {
|
|
139766
|
+
staticClass: "imgMoban",
|
|
139767
|
+
staticStyle: {
|
|
139768
|
+
"position": "relative",
|
|
139769
|
+
"width": "100%",
|
|
139770
|
+
"border": "1px solid rgb(242, 242, 242)"
|
|
139771
|
+
},
|
|
139772
|
+
on: {
|
|
139773
|
+
"contextmenu": function contextmenu($event) {
|
|
139774
|
+
return _vm.handleContextMenu($event);
|
|
139775
|
+
}
|
|
139776
|
+
}
|
|
139777
|
+
}, [[_c('img', {
|
|
139778
|
+
staticStyle: {
|
|
139779
|
+
"width": "100%",
|
|
139780
|
+
"height": "100%",
|
|
139781
|
+
"object-fit": "cover"
|
|
139782
|
+
},
|
|
139783
|
+
attrs: {
|
|
139784
|
+
"src": "apigw/zsgl/config/mapTemplate/downloadById?attachIds=".concat(_vm.selectMoObj.passenger.mbFileData && _vm.selectMoObj.passenger.mbFileData.length > 0 ? _vm.selectMoObj.passenger.mbFileData[0].id : '', "&inline=true"),
|
|
139785
|
+
"alt": ""
|
|
139786
|
+
}
|
|
139787
|
+
}), _vm._l(_vm.hotspotList, function (item, index) {
|
|
139788
|
+
return _c('div', {
|
|
139789
|
+
key: index,
|
|
139790
|
+
staticClass: "redian",
|
|
139791
|
+
style: {
|
|
139792
|
+
'scale': _vm.imgBl,
|
|
139793
|
+
'top': item.ySpace * _vm.imgBl + 'px',
|
|
139794
|
+
'transform-origin': 'top left',
|
|
139795
|
+
'left': item.xSpace * _vm.imgBl + 'px',
|
|
139796
|
+
'background': item.backColor,
|
|
139797
|
+
'fontSize': item.fontSize + 'px',
|
|
139798
|
+
'color': item.fontColor
|
|
139799
|
+
}
|
|
139800
|
+
}, [_c('div', {
|
|
139801
|
+
on: {
|
|
139802
|
+
"click": function click($event) {
|
|
139803
|
+
return _vm.redianClick(item);
|
|
139804
|
+
}
|
|
139805
|
+
}
|
|
139806
|
+
}, [_vm._v(" " + _vm._s(item.name))])]);
|
|
139807
|
+
})]], 2)]), _vm.redianiContentShow ? _c('van-popup', {
|
|
139808
|
+
staticStyle: {
|
|
139809
|
+
"width": "70%",
|
|
139810
|
+
"max-height": "70%",
|
|
139811
|
+
"padding": "10px",
|
|
139812
|
+
"border-radius": "6px"
|
|
139813
|
+
},
|
|
139814
|
+
model: {
|
|
139815
|
+
value: _vm.redianiContentShow,
|
|
139816
|
+
callback: function callback($$v) {
|
|
139817
|
+
_vm.redianiContentShow = $$v;
|
|
139818
|
+
},
|
|
139819
|
+
expression: "redianiContentShow"
|
|
139820
|
+
}
|
|
139821
|
+
}, [_c('div', [_c('div', [_vm._v("热点名称:" + _vm._s(_vm.nowRedian.name))]), _c('div', {
|
|
139822
|
+
staticStyle: {
|
|
139823
|
+
"display": "flex"
|
|
139824
|
+
}
|
|
139825
|
+
}, [_c('div', {
|
|
139826
|
+
staticStyle: {
|
|
139827
|
+
"width": "86px",
|
|
139828
|
+
"line-height": "24px",
|
|
139829
|
+
"margin-bottom": "6px"
|
|
139830
|
+
}
|
|
139831
|
+
}, [_vm._v("热点内容:")]), _c('div', {
|
|
139832
|
+
staticStyle: {
|
|
139833
|
+
"width": "calc(100% - 86px)"
|
|
139834
|
+
}
|
|
139835
|
+
}, _vm._l(_vm.jsonPFn(_vm.nowRedian.knowledge), function (val, index) {
|
|
139836
|
+
return _c('div', {
|
|
139837
|
+
key: index,
|
|
139838
|
+
staticClass: "redianSon",
|
|
139839
|
+
on: {
|
|
139840
|
+
"click": function click($event) {
|
|
139841
|
+
return _vm.redianSonClick(val);
|
|
139842
|
+
}
|
|
139843
|
+
}
|
|
139844
|
+
}, [_vm._v(_vm._s(val.name))]);
|
|
139845
|
+
}), 0)])])]) : _vm._e()], 1) : _vm._e(), _vm.wfParams.viewContent === '3' ? _c('mapCatalogue', {
|
|
139691
139846
|
staticClass: "form-containeraa",
|
|
139692
139847
|
attrs: {
|
|
139693
139848
|
"map-catalogue-tree": _vm.mapCatalogueTree
|
|
@@ -139870,7 +140025,7 @@ var ViewContentvue_type_template_id_5da5d92c_scoped_true_render = function rende
|
|
|
139870
140025
|
}], null, false, 3793652835)
|
|
139871
140026
|
}) : _vm._e()], 2);
|
|
139872
140027
|
};
|
|
139873
|
-
var
|
|
140028
|
+
var ViewContentvue_type_template_id_79f5b76f_scoped_true_staticRenderFns = [];
|
|
139874
140029
|
|
|
139875
140030
|
;// 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/moabase/src/common/components/ViewContent/index.vue?vue&type=script&lang=js
|
|
139876
140031
|
function ViewContentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ViewContentvue_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; }, ViewContentvue_type_script_lang_js_typeof(o); }
|
|
@@ -139918,7 +140073,16 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
139918
140073
|
// 是否显示评论
|
|
139919
140074
|
apiFlag: true,
|
|
139920
140075
|
// 是否需要通过调接口来获取 浏览量
|
|
139921
|
-
showBtn: false
|
|
140076
|
+
showBtn: false,
|
|
140077
|
+
// 是否显示底部按钮
|
|
140078
|
+
selectMoObj: {},
|
|
140079
|
+
mapTemplateList: [],
|
|
140080
|
+
hotspotList: [],
|
|
140081
|
+
imgMinWeidth: 700,
|
|
140082
|
+
imgBl: 1,
|
|
140083
|
+
//比例
|
|
140084
|
+
redianiContentShow: false,
|
|
140085
|
+
nowRedian: {}
|
|
139922
140086
|
};
|
|
139923
140087
|
},
|
|
139924
140088
|
computed: ViewContentvue_type_script_lang_js_objectSpread({}, mapGetters(['routes', 'loginUser'])),
|
|
@@ -140019,6 +140183,29 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140019
140183
|
this.getCollectionStatus();
|
|
140020
140184
|
},
|
|
140021
140185
|
methods: {
|
|
140186
|
+
redianClick: function redianClick(item) {
|
|
140187
|
+
console.log('item===>', item);
|
|
140188
|
+
this.nowRedian = item;
|
|
140189
|
+
this.redianiContentShow = true;
|
|
140190
|
+
},
|
|
140191
|
+
redianSonClick: function redianSonClick(val) {
|
|
140192
|
+
console.log('val===>', val);
|
|
140193
|
+
if (val.module === 'knowledgeInfo') {
|
|
140194
|
+
this.$router.push("/zsViewcontent?busiDataId=".concat(val.id, "&viewContent=1&wfEngineUrl=zsgl%2FknowledgeInfo&wflowType=getById&passageType=\u77E5\u8BC6"));
|
|
140195
|
+
// window.open(
|
|
140196
|
+
// `/#/commonHeader?workform=@/wapp/zsgl/zszt/components/ZsglViewContent&busiDataId=${val.id}&viewContent=1` + '&type=zsgl&logoTitle=' + encodeURIComponent('知识管理/知识')
|
|
140197
|
+
// )
|
|
140198
|
+
} else {
|
|
140199
|
+
this.$router.push("/zsViewcontent?busiDataId=".concat(val.id, "&viewContent=2&wfEngineUrl=zsgl%2FknowledgeInfo&wflowType=getById"));
|
|
140200
|
+
// window.open(
|
|
140201
|
+
// `/#/commonHeader?workform=@/wapp/zsgl/zszt/components/ZsglViewContent&busiDataId=${val.id}&viewContent=2` + '&type=zsgl&logoTitle=' + encodeURIComponent('知识管理/知识专题')
|
|
140202
|
+
// )
|
|
140203
|
+
}
|
|
140204
|
+
},
|
|
140205
|
+
jsonPFn: function jsonPFn(val) {
|
|
140206
|
+
console.log('val', JSON.parse(val));
|
|
140207
|
+
return JSON.parse(val);
|
|
140208
|
+
},
|
|
140022
140209
|
imgerrorfn: function imgerrorfn() {
|
|
140023
140210
|
this.noPicture = true;
|
|
140024
140211
|
},
|
|
@@ -140166,21 +140353,40 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140166
140353
|
}
|
|
140167
140354
|
if (this.wfParams.viewContent === '3') {
|
|
140168
140355
|
this.passageType = '知识地图';
|
|
140169
|
-
this.
|
|
140356
|
+
this.getMapTemplateData();
|
|
140170
140357
|
}
|
|
140171
140358
|
},
|
|
140172
|
-
|
|
140359
|
+
getMapTemplateData: function getMapTemplateData() {
|
|
140173
140360
|
var _this8 = this;
|
|
140361
|
+
this.$http({
|
|
140362
|
+
method: 'post',
|
|
140363
|
+
url: 'zsgl/config/mapTemplate/listdata',
|
|
140364
|
+
params: {
|
|
140365
|
+
pageNum: 1,
|
|
140366
|
+
pageSize: 600000,
|
|
140367
|
+
urlsearch: "orgCode:".concat(this.loginUser.orgCode),
|
|
140368
|
+
orderBy: 'createTime desc'
|
|
140369
|
+
}
|
|
140370
|
+
}).then(function (res) {
|
|
140371
|
+
if (res.code === 'success') {
|
|
140372
|
+
console.log('res', res);
|
|
140373
|
+
_this8.mapTemplateList = res.body.pageInfo.list;
|
|
140374
|
+
_this8.getMap();
|
|
140375
|
+
}
|
|
140376
|
+
});
|
|
140377
|
+
},
|
|
140378
|
+
startWflow: function startWflow() {
|
|
140379
|
+
var _this9 = this;
|
|
140174
140380
|
this.$wfEngine.loadWfInstance(this, this.wfParams).then(function (rst) {
|
|
140175
140381
|
console.log('rst', rst);
|
|
140176
140382
|
if (rst.code === 'success') {
|
|
140177
140383
|
// this.vo = rst.body.wfInstance.passenger.busiData
|
|
140178
|
-
if (!
|
|
140179
|
-
var num =
|
|
140180
|
-
|
|
140384
|
+
if (!_this9.vo.pviews) {
|
|
140385
|
+
var num = _this9.vo.visitCounts || _this9.vo.visitNum;
|
|
140386
|
+
_this9.$set(_this9.vo, 'pviews', num);
|
|
140181
140387
|
}
|
|
140182
|
-
if (
|
|
140183
|
-
|
|
140388
|
+
if (_this9.apiFlag === false || _this9.apiFlag === 'false') return;
|
|
140389
|
+
_this9.updatePviews();
|
|
140184
140390
|
}
|
|
140185
140391
|
});
|
|
140186
140392
|
},
|
|
@@ -140197,7 +140403,7 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140197
140403
|
},
|
|
140198
140404
|
// 获取知识详情
|
|
140199
140405
|
getKnowledge: function getKnowledge() {
|
|
140200
|
-
var
|
|
140406
|
+
var _this10 = this;
|
|
140201
140407
|
this.$http({
|
|
140202
140408
|
contentType: 'application/x-www-form-urlencoded',
|
|
140203
140409
|
// url: '/zsgl/knowledgeInfo/getById?id=' + this.$route.query.busiDataId,
|
|
@@ -140205,48 +140411,48 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140205
140411
|
method: 'GET',
|
|
140206
140412
|
data: {}
|
|
140207
140413
|
}).then(function (res) {
|
|
140208
|
-
|
|
140414
|
+
_this10.loading = false;
|
|
140209
140415
|
if (res.code === 'success') {
|
|
140210
|
-
|
|
140211
|
-
if (!
|
|
140212
|
-
var num =
|
|
140213
|
-
|
|
140416
|
+
_this10.vo = res.body.vo;
|
|
140417
|
+
if (!_this10.vo.pviews) {
|
|
140418
|
+
var num = _this10.vo.visitCounts || _this10.vo.visitNum;
|
|
140419
|
+
_this10.$set(_this10.vo, 'pviews', num);
|
|
140214
140420
|
}
|
|
140215
|
-
|
|
140216
|
-
|
|
140217
|
-
console.log('this.showBtn',
|
|
140218
|
-
|
|
140219
|
-
if (
|
|
140421
|
+
_this10.attachments = _this10.vo.passenger.attachments;
|
|
140422
|
+
_this10.insertBrowsingHistory(_this10.vo);
|
|
140423
|
+
console.log('this.showBtn', _this10.showBtn);
|
|
140424
|
+
_this10.$nextTick(function () {
|
|
140425
|
+
if (_this10.showBtn === true || _this10.showBtn === 'true') {
|
|
140220
140426
|
$('.commentInputBox').css({
|
|
140221
140427
|
'bottom': '60px'
|
|
140222
140428
|
});
|
|
140223
140429
|
}
|
|
140224
140430
|
});
|
|
140225
|
-
if (
|
|
140226
|
-
if (
|
|
140227
|
-
|
|
140431
|
+
if (_this10.apiFlag === false || _this10.apiFlag === 'false') return;
|
|
140432
|
+
if (_this10.wfEngineUrl === 'portal/cms/article') {
|
|
140433
|
+
_this10.updatePviewsCms();
|
|
140228
140434
|
} else {
|
|
140229
|
-
|
|
140435
|
+
_this10.updatePviews();
|
|
140230
140436
|
}
|
|
140231
140437
|
} else {
|
|
140232
|
-
|
|
140438
|
+
_this10.$toast.fail(res.message);
|
|
140233
140439
|
}
|
|
140234
140440
|
});
|
|
140235
140441
|
},
|
|
140236
140442
|
// 获取专题详情
|
|
140237
140443
|
getSpecial: function getSpecial() {
|
|
140238
|
-
var
|
|
140444
|
+
var _this11 = this;
|
|
140239
140445
|
this.$http({
|
|
140240
140446
|
contentType: 'application/x-www-form-urlencoded',
|
|
140241
140447
|
url: "/zsgl/special/special/getById?id=".concat(this.wfParams.busiDataId),
|
|
140242
140448
|
method: 'GET'
|
|
140243
140449
|
}).then(function (res) {
|
|
140244
140450
|
if (res.code === 'success') {
|
|
140245
|
-
|
|
140246
|
-
|
|
140247
|
-
|
|
140451
|
+
_this11.vo = res.body.vo;
|
|
140452
|
+
_this11.insertBrowsingHistory(_this11.vo);
|
|
140453
|
+
_this11.updatePviews();
|
|
140248
140454
|
} else {
|
|
140249
|
-
|
|
140455
|
+
_this11.$toast.fail(res.message);
|
|
140250
140456
|
}
|
|
140251
140457
|
});
|
|
140252
140458
|
this.$http({
|
|
@@ -140261,50 +140467,61 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140261
140467
|
// this.specialList.push(item)
|
|
140262
140468
|
// }
|
|
140263
140469
|
// })
|
|
140264
|
-
|
|
140470
|
+
_this11.specialList = res.body.data;
|
|
140265
140471
|
console.log(res.body.data, '666');
|
|
140266
140472
|
} else {
|
|
140267
|
-
|
|
140473
|
+
_this11.$toast.fail(res.message);
|
|
140268
140474
|
}
|
|
140269
140475
|
});
|
|
140270
140476
|
},
|
|
140271
140477
|
getMap: function getMap() {
|
|
140272
|
-
var
|
|
140478
|
+
var _this12 = this;
|
|
140273
140479
|
this.$http({
|
|
140274
140480
|
contentType: 'application/x-www-form-urlencoded',
|
|
140275
140481
|
url: "/zsgl/map/map/getById?id=".concat(this.wfParams.busiDataId),
|
|
140276
140482
|
method: 'GET'
|
|
140277
140483
|
}).then(function (res) {
|
|
140278
140484
|
if (res.code === 'success') {
|
|
140279
|
-
|
|
140280
|
-
|
|
140281
|
-
|
|
140282
|
-
|
|
140283
|
-
|
|
140284
|
-
|
|
140285
|
-
|
|
140286
|
-
|
|
140287
|
-
|
|
140288
|
-
|
|
140289
|
-
|
|
140290
|
-
|
|
140291
|
-
|
|
140292
|
-
|
|
140293
|
-
|
|
140294
|
-
|
|
140295
|
-
|
|
140296
|
-
|
|
140297
|
-
_this11.mapCatalogueTree = res.body.data;
|
|
140485
|
+
_this12.vo = res.body.vo;
|
|
140486
|
+
_this12.insertBrowsingHistory(_this12.vo);
|
|
140487
|
+
_this12.updatePviews();
|
|
140488
|
+
_this12.$options.components['mapCatalogue'] = _this12.$loadComponent('@/mapp/zsgl/zszt/components/ZsglZsztMapDefault');
|
|
140489
|
+
if (_this12.vo.templateId) {
|
|
140490
|
+
_this12.mapTemplateList.forEach(function (item) {
|
|
140491
|
+
if (item.id === _this12.vo.templateId) {
|
|
140492
|
+
_this12.selectMoObj = item;
|
|
140493
|
+
}
|
|
140494
|
+
});
|
|
140495
|
+
_this12.hotspotList = res.body.vo.passenger.mapInfos;
|
|
140496
|
+
_this12.$nextTick(function () {
|
|
140497
|
+
setTimeout(function () {
|
|
140498
|
+
var domWidth = document.querySelector('.imgMoban').offsetWidth;
|
|
140499
|
+
_this12.imgBl = domWidth / _this12.imgMinWeidth;
|
|
140500
|
+
}, 100);
|
|
140501
|
+
});
|
|
140502
|
+
}
|
|
140298
140503
|
} else {
|
|
140299
|
-
|
|
140504
|
+
_this12.$toast.fail(res.message);
|
|
140300
140505
|
}
|
|
140301
140506
|
});
|
|
140507
|
+
// this.$http({
|
|
140508
|
+
// method: 'Post',
|
|
140509
|
+
// contentType: 'application/x-www-form-urlencoded',
|
|
140510
|
+
// url: '/zsgl/map/mapCatalogue/list',
|
|
140511
|
+
// data: { type: 1, id: this.wfParams.busiDataId }
|
|
140512
|
+
// }).then((res) => {
|
|
140513
|
+
// if (res.code === 'success') {
|
|
140514
|
+
// this.mapCatalogueTree = res.body.data
|
|
140515
|
+
// } else {
|
|
140516
|
+
// this.$toast.fail(res.message)
|
|
140517
|
+
// }
|
|
140518
|
+
// })
|
|
140302
140519
|
},
|
|
140303
140520
|
hideSpecialGroupChildren: function hideSpecialGroupChildren(specialGroup) {
|
|
140304
140521
|
this.$set(specialGroup, 'hideChildren', !specialGroup.hideChildren);
|
|
140305
140522
|
},
|
|
140306
140523
|
clickSpecial: function clickSpecial(_ref) {
|
|
140307
|
-
var
|
|
140524
|
+
var _this13 = this;
|
|
140308
140525
|
var dataType = _ref.dataType,
|
|
140309
140526
|
knowledgeId = _ref.knowledgeId,
|
|
140310
140527
|
id = _ref.id,
|
|
@@ -140319,13 +140536,13 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140319
140536
|
}).then(function (res) {
|
|
140320
140537
|
if (res.code === 'success') {
|
|
140321
140538
|
if (res.body.data === 3) {
|
|
140322
|
-
|
|
140323
|
-
|
|
140539
|
+
_this13.$router.push("/zsViewcontent?busiDataId=".concat(knowledgeId, "&viewContent=1"));
|
|
140540
|
+
_this13.$forceUpdate();
|
|
140324
140541
|
} else {
|
|
140325
|
-
|
|
140542
|
+
_this13.$toast.fail('抱歉,该知识已下架无法查看');
|
|
140326
140543
|
}
|
|
140327
140544
|
} else {
|
|
140328
|
-
|
|
140545
|
+
_this13.$toast.fail(res.message);
|
|
140329
140546
|
}
|
|
140330
140547
|
});
|
|
140331
140548
|
} else if (dataType === 2 && id) {
|
|
@@ -140333,14 +140550,14 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140333
140550
|
} else if (dataType === 3 && linkUrl) {
|
|
140334
140551
|
this.externalLink = linkUrl;
|
|
140335
140552
|
setTimeout(function () {
|
|
140336
|
-
|
|
140553
|
+
_this13.wbljShow = true;
|
|
140337
140554
|
}, 200);
|
|
140338
140555
|
// location = linkUrl
|
|
140339
140556
|
}
|
|
140340
140557
|
},
|
|
140341
140558
|
// 打开新增表单方法
|
|
140342
140559
|
toCreateForm: function toCreateForm(obj, formTemplate, row, canEdit) {
|
|
140343
|
-
var
|
|
140560
|
+
var _this14 = this;
|
|
140344
140561
|
// debugger
|
|
140345
140562
|
this.$options.components['BusiForm'] = this.$loadComponent(formTemplate);
|
|
140346
140563
|
this.$router.push({
|
|
@@ -140351,9 +140568,9 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140351
140568
|
});
|
|
140352
140569
|
this.showView = 'busiform';
|
|
140353
140570
|
this.$nextTick(function () {
|
|
140354
|
-
|
|
140571
|
+
_this14.$bus.emit('openBusiform', obj, row, canEdit, function (res) {
|
|
140355
140572
|
if (res.code === 'success') {
|
|
140356
|
-
|
|
140573
|
+
_this14.$router.go(-1);
|
|
140357
140574
|
}
|
|
140358
140575
|
});
|
|
140359
140576
|
});
|
|
@@ -140369,9 +140586,9 @@ function ViewContentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
140369
140586
|
});
|
|
140370
140587
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ViewContent/index.vue?vue&type=script&lang=js
|
|
140371
140588
|
/* harmony default export */ var components_ViewContentvue_type_script_lang_js = (ViewContentvue_type_script_lang_js);
|
|
140372
|
-
// 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/moabase/src/common/components/ViewContent/index.vue?vue&type=style&index=0&id=
|
|
140373
|
-
var
|
|
140374
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ViewContent/index.vue?vue&type=style&index=0&id=
|
|
140589
|
+
// 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/moabase/src/common/components/ViewContent/index.vue?vue&type=style&index=0&id=79f5b76f&prod&scoped=true&lang=scss
|
|
140590
|
+
var ViewContentvue_type_style_index_0_id_79f5b76f_prod_scoped_true_lang_scss = __webpack_require__(4538);
|
|
140591
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ViewContent/index.vue?vue&type=style&index=0&id=79f5b76f&prod&scoped=true&lang=scss
|
|
140375
140592
|
|
|
140376
140593
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/ViewContent/index.vue
|
|
140377
140594
|
|
|
@@ -140384,11 +140601,11 @@ var ViewContentvue_type_style_index_0_id_5da5d92c_prod_scoped_true_lang_scss = _
|
|
|
140384
140601
|
|
|
140385
140602
|
var ViewContent_component = normalizeComponent(
|
|
140386
140603
|
components_ViewContentvue_type_script_lang_js,
|
|
140387
|
-
|
|
140388
|
-
|
|
140604
|
+
ViewContentvue_type_template_id_79f5b76f_scoped_true_render,
|
|
140605
|
+
ViewContentvue_type_template_id_79f5b76f_scoped_true_staticRenderFns,
|
|
140389
140606
|
false,
|
|
140390
140607
|
null,
|
|
140391
|
-
"
|
|
140608
|
+
"79f5b76f",
|
|
140392
140609
|
null
|
|
140393
140610
|
|
|
140394
140611
|
)
|