ecinc-cloud-moaecoav9 9.6.282 → 9.7.1
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/ecmoaecoa.common.js +335 -157
- package/lib/ecmoaecoa.umd.js +949 -771
- package/lib/ecmoaecoa.umd.min.js +1 -283
- package/package.json +1 -1
package/lib/ecmoaecoa.common.js
CHANGED
|
@@ -1499,7 +1499,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#mine[data-v-36366459]{height:100%;bac
|
|
|
1499
1499
|
|
|
1500
1500
|
/***/ }),
|
|
1501
1501
|
|
|
1502
|
-
/***/
|
|
1502
|
+
/***/ 1421:
|
|
1503
1503
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1504
1504
|
|
|
1505
1505
|
"use strict";
|
|
@@ -1513,7 +1513,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1513
1513
|
|
|
1514
1514
|
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()));
|
|
1515
1515
|
// Module
|
|
1516
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".changeMobilePage[data-v-
|
|
1516
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".changeMobilePage[data-v-5752dbfb]{padding-top:35px;background:#fff}.changeMobilePage .tips[data-v-5752dbfb]{font-size:12px;color:#9c9c9c;padding:13px 16px;line-height:18px}", ""]);
|
|
1517
1517
|
// Exports
|
|
1518
1518
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1519
1519
|
|
|
@@ -1649,7 +1649,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "#OrgChange[data-v-37fdf25d]{height:100
|
|
|
1649
1649
|
|
|
1650
1650
|
/***/ }),
|
|
1651
1651
|
|
|
1652
|
-
/***/
|
|
1652
|
+
/***/ 7270:
|
|
1653
1653
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1654
1654
|
|
|
1655
1655
|
"use strict";
|
|
@@ -1663,14 +1663,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1663
1663
|
|
|
1664
1664
|
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()));
|
|
1665
1665
|
// Module
|
|
1666
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".CancelAccount[data-v-
|
|
1666
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".CancelAccount[data-v-c984b872]{padding-top:35px}.CancelAccount .notice[data-v-c984b872]{font-size:12px;color:#9c9c9c;margin-bottom:10px;padding:0 16px}.CancelAccount[data-v-c984b872] .van-cell__title{font-size:18px}", ""]);
|
|
1667
1667
|
// Exports
|
|
1668
1668
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1669
1669
|
|
|
1670
1670
|
|
|
1671
1671
|
/***/ }),
|
|
1672
1672
|
|
|
1673
|
-
/***/
|
|
1673
|
+
/***/ 9504:
|
|
1674
1674
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1675
1675
|
|
|
1676
1676
|
"use strict";
|
|
@@ -1684,7 +1684,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1684
1684
|
|
|
1685
1685
|
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()));
|
|
1686
1686
|
// Module
|
|
1687
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
1687
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0ad892c4] input{font-size:16px}", ""]);
|
|
1688
1688
|
// Exports
|
|
1689
1689
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1690
1690
|
|
|
@@ -2531,7 +2531,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "div[data-v-7e721607]{margin:2rem auto}
|
|
|
2531
2531
|
|
|
2532
2532
|
/***/ }),
|
|
2533
2533
|
|
|
2534
|
-
/***/
|
|
2534
|
+
/***/ 1763:
|
|
2535
2535
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2536
2536
|
|
|
2537
2537
|
"use strict";
|
|
@@ -2545,7 +2545,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2545
2545
|
|
|
2546
2546
|
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()));
|
|
2547
2547
|
// Module
|
|
2548
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
2548
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-587c9eaa] .toolBar{width:100%;margin-left:16px;margin-right:16px}[data-v-587c9eaa] .toolBar .van-col--1{height:44px}[data-v-587c9eaa] .toolBar .van-col--1 .van-icon{margin-top:14px}[data-v-587c9eaa] .toolBar .van-col--22{text-align:left;padding-left:16px;padding-right:16px}[data-v-587c9eaa] .toolBar .van-button--mini{height:44px;border:0;font-size:16px}.popup-body[data-v-587c9eaa]{height:calc(100vh - 46px);overflow-y:auto;background-color:#f7f8fa}.editor[data-v-587c9eaa]{margin-top:-44px;width:100%;height:calc(100vh - 2px)}", ""]);
|
|
2549
2549
|
// Exports
|
|
2550
2550
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
2551
2551
|
|
|
@@ -25173,7 +25173,7 @@ function addNumericSeparator(num, str) {
|
|
|
25173
25173
|
return $replace.call(str, sepRegex, '$&_');
|
|
25174
25174
|
}
|
|
25175
25175
|
|
|
25176
|
-
var utilInspect = __webpack_require__(
|
|
25176
|
+
var utilInspect = __webpack_require__(2634);
|
|
25177
25177
|
var inspectCustom = utilInspect.custom;
|
|
25178
25178
|
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
25179
25179
|
|
|
@@ -27157,19 +27157,19 @@ var update = add("1c6df683", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27157
27157
|
|
|
27158
27158
|
/***/ }),
|
|
27159
27159
|
|
|
27160
|
-
/***/
|
|
27160
|
+
/***/ 3675:
|
|
27161
27161
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27162
27162
|
|
|
27163
27163
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27164
27164
|
|
|
27165
27165
|
// load the styles
|
|
27166
|
-
var content = __webpack_require__(
|
|
27166
|
+
var content = __webpack_require__(1421);
|
|
27167
27167
|
if(content.__esModule) content = content.default;
|
|
27168
27168
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27169
27169
|
if(content.locals) module.exports = content.locals;
|
|
27170
27170
|
// add the styles to the DOM
|
|
27171
27171
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27172
|
-
var update = add("
|
|
27172
|
+
var update = add("7fb7934c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27173
27173
|
|
|
27174
27174
|
/***/ }),
|
|
27175
27175
|
|
|
@@ -27269,35 +27269,35 @@ var update = add("b0ff45ac", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27269
27269
|
|
|
27270
27270
|
/***/ }),
|
|
27271
27271
|
|
|
27272
|
-
/***/
|
|
27272
|
+
/***/ 4464:
|
|
27273
27273
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27274
27274
|
|
|
27275
27275
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27276
27276
|
|
|
27277
27277
|
// load the styles
|
|
27278
|
-
var content = __webpack_require__(
|
|
27278
|
+
var content = __webpack_require__(7270);
|
|
27279
27279
|
if(content.__esModule) content = content.default;
|
|
27280
27280
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27281
27281
|
if(content.locals) module.exports = content.locals;
|
|
27282
27282
|
// add the styles to the DOM
|
|
27283
27283
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27284
|
-
var update = add("
|
|
27284
|
+
var update = add("27615a6a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27285
27285
|
|
|
27286
27286
|
/***/ }),
|
|
27287
27287
|
|
|
27288
|
-
/***/
|
|
27288
|
+
/***/ 7450:
|
|
27289
27289
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27290
27290
|
|
|
27291
27291
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27292
27292
|
|
|
27293
27293
|
// load the styles
|
|
27294
|
-
var content = __webpack_require__(
|
|
27294
|
+
var content = __webpack_require__(9504);
|
|
27295
27295
|
if(content.__esModule) content = content.default;
|
|
27296
27296
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27297
27297
|
if(content.locals) module.exports = content.locals;
|
|
27298
27298
|
// add the styles to the DOM
|
|
27299
27299
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27300
|
-
var update = add("
|
|
27300
|
+
var update = add("2052157c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27301
27301
|
|
|
27302
27302
|
/***/ }),
|
|
27303
27303
|
|
|
@@ -27925,19 +27925,19 @@ var update = add("20921687", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
27925
27925
|
|
|
27926
27926
|
/***/ }),
|
|
27927
27927
|
|
|
27928
|
-
/***/
|
|
27928
|
+
/***/ 2345:
|
|
27929
27929
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
27930
27930
|
|
|
27931
27931
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
27932
27932
|
|
|
27933
27933
|
// load the styles
|
|
27934
|
-
var content = __webpack_require__(
|
|
27934
|
+
var content = __webpack_require__(1763);
|
|
27935
27935
|
if(content.__esModule) content = content.default;
|
|
27936
27936
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
27937
27937
|
if(content.locals) module.exports = content.locals;
|
|
27938
27938
|
// add the styles to the DOM
|
|
27939
27939
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
27940
|
-
var update = add("
|
|
27940
|
+
var update = add("08a68915", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27941
27941
|
|
|
27942
27942
|
/***/ }),
|
|
27943
27943
|
|
|
@@ -28415,7 +28415,7 @@ module.exports = "data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TL
|
|
|
28415
28415
|
|
|
28416
28416
|
/***/ }),
|
|
28417
28417
|
|
|
28418
|
-
/***/
|
|
28418
|
+
/***/ 2634:
|
|
28419
28419
|
/***/ (function() {
|
|
28420
28420
|
|
|
28421
28421
|
/* (ignored) */
|
|
@@ -38396,8 +38396,8 @@ var user_component = normalizeComponent(
|
|
|
38396
38396
|
)
|
|
38397
38397
|
|
|
38398
38398
|
/* harmony default export */ var user = (user_component.exports);
|
|
38399
|
-
;// 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/ecoa/src/mine/settings/changeMobile.vue?vue&type=template&id=
|
|
38400
|
-
var
|
|
38399
|
+
;// 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/ecoa/src/mine/settings/changeMobile.vue?vue&type=template&id=5752dbfb&scoped=true
|
|
38400
|
+
var changeMobilevue_type_template_id_5752dbfb_scoped_true_render = function render() {
|
|
38401
38401
|
var _vm = this,
|
|
38402
38402
|
_c = _vm._self._c;
|
|
38403
38403
|
return _c('div', {
|
|
@@ -38478,10 +38478,9 @@ var changeMobilevue_type_template_id_666bd167_scoped_true_render = function rend
|
|
|
38478
38478
|
}
|
|
38479
38479
|
}, [_vm._v("下一步")])], 1)], 2);
|
|
38480
38480
|
};
|
|
38481
|
-
var
|
|
38481
|
+
var changeMobilevue_type_template_id_5752dbfb_scoped_true_staticRenderFns = [];
|
|
38482
38482
|
|
|
38483
38483
|
;// 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/ecoa/src/mine/settings/changeMobile.vue?vue&type=script&lang=js
|
|
38484
|
-
var encrypt = new window.JSEncrypt();
|
|
38485
38484
|
/* harmony default export */ var changeMobilevue_type_script_lang_js = ({
|
|
38486
38485
|
data: function data() {
|
|
38487
38486
|
return {
|
|
@@ -38524,7 +38523,8 @@ var encrypt = new window.JSEncrypt();
|
|
|
38524
38523
|
url: 'login/getRsaPublicKey'
|
|
38525
38524
|
}).then(function (res) {
|
|
38526
38525
|
if (res.code === 'success') {
|
|
38527
|
-
|
|
38526
|
+
var _encrypt = new window.JSEncrypt();
|
|
38527
|
+
_encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
38528
38528
|
}
|
|
38529
38529
|
});
|
|
38530
38530
|
},
|
|
@@ -38590,9 +38590,9 @@ var encrypt = new window.JSEncrypt();
|
|
|
38590
38590
|
});
|
|
38591
38591
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/changeMobile.vue?vue&type=script&lang=js
|
|
38592
38592
|
/* harmony default export */ var settings_changeMobilevue_type_script_lang_js = (changeMobilevue_type_script_lang_js);
|
|
38593
|
-
// 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/ecoa/src/mine/settings/changeMobile.vue?vue&type=style&index=0&id=
|
|
38594
|
-
var
|
|
38595
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/changeMobile.vue?vue&type=style&index=0&id=
|
|
38593
|
+
// 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/ecoa/src/mine/settings/changeMobile.vue?vue&type=style&index=0&id=5752dbfb&prod&lang=scss&scoped=true
|
|
38594
|
+
var changeMobilevue_type_style_index_0_id_5752dbfb_prod_lang_scss_scoped_true = __webpack_require__(3675);
|
|
38595
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/changeMobile.vue?vue&type=style&index=0&id=5752dbfb&prod&lang=scss&scoped=true
|
|
38596
38596
|
|
|
38597
38597
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/changeMobile.vue
|
|
38598
38598
|
|
|
@@ -38605,11 +38605,11 @@ var changeMobilevue_type_style_index_0_id_666bd167_prod_lang_scss_scoped_true =
|
|
|
38605
38605
|
|
|
38606
38606
|
var changeMobile_component = normalizeComponent(
|
|
38607
38607
|
settings_changeMobilevue_type_script_lang_js,
|
|
38608
|
-
|
|
38609
|
-
|
|
38608
|
+
changeMobilevue_type_template_id_5752dbfb_scoped_true_render,
|
|
38609
|
+
changeMobilevue_type_template_id_5752dbfb_scoped_true_staticRenderFns,
|
|
38610
38610
|
false,
|
|
38611
38611
|
null,
|
|
38612
|
-
"
|
|
38612
|
+
"5752dbfb",
|
|
38613
38613
|
null
|
|
38614
38614
|
|
|
38615
38615
|
)
|
|
@@ -40163,8 +40163,8 @@ var account_component = normalizeComponent(
|
|
|
40163
40163
|
)
|
|
40164
40164
|
|
|
40165
40165
|
/* harmony default export */ var account = (account_component.exports);
|
|
40166
|
-
;// 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/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=template&id=
|
|
40167
|
-
var
|
|
40166
|
+
;// 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/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=template&id=0ad892c4&scoped=true
|
|
40167
|
+
var changePasswordvue_type_template_id_0ad892c4_scoped_true_render = function render() {
|
|
40168
40168
|
var _vm = this,
|
|
40169
40169
|
_c = _vm._self._c;
|
|
40170
40170
|
return _c('div', {
|
|
@@ -40269,10 +40269,9 @@ var changePasswordvue_type_template_id_783598b4_scoped_true_render = function re
|
|
|
40269
40269
|
}
|
|
40270
40270
|
}, [_vm._v("确定")])], 1)], 1);
|
|
40271
40271
|
};
|
|
40272
|
-
var
|
|
40272
|
+
var changePasswordvue_type_template_id_0ad892c4_scoped_true_staticRenderFns = [];
|
|
40273
40273
|
|
|
40274
40274
|
;// 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/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=script&lang=js
|
|
40275
|
-
var changePasswordvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
40276
40275
|
/* harmony default export */ var changePasswordvue_type_script_lang_js = ({
|
|
40277
40276
|
data: function data() {
|
|
40278
40277
|
return {
|
|
@@ -40295,7 +40294,8 @@ var changePasswordvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
|
40295
40294
|
url: 'login/getRsaPublicKey'
|
|
40296
40295
|
}).then(function (res) {
|
|
40297
40296
|
if (res.code === 'success') {
|
|
40298
|
-
|
|
40297
|
+
var _encrypt = new window.JSEncrypt();
|
|
40298
|
+
_encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
40299
40299
|
}
|
|
40300
40300
|
});
|
|
40301
40301
|
},
|
|
@@ -40308,8 +40308,8 @@ var changePasswordvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
|
40308
40308
|
return this.$toast('两次密码填写不一致!');
|
|
40309
40309
|
}
|
|
40310
40310
|
var params = {};
|
|
40311
|
-
params.oldPw =
|
|
40312
|
-
params.newPw =
|
|
40311
|
+
params.oldPw = encrypt.encrypt(this.pageData.originalPsw);
|
|
40312
|
+
params.newPw = encrypt.encrypt(this.pageData.newPsw);
|
|
40313
40313
|
params.encrypt = true;
|
|
40314
40314
|
this.$http({
|
|
40315
40315
|
method: 'POST',
|
|
@@ -40330,9 +40330,9 @@ var changePasswordvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
|
40330
40330
|
});
|
|
40331
40331
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=script&lang=js
|
|
40332
40332
|
/* harmony default export */ var sys_changePasswordvue_type_script_lang_js = (changePasswordvue_type_script_lang_js);
|
|
40333
|
-
// 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/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=style&index=0&id=
|
|
40334
|
-
var
|
|
40335
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=style&index=0&id=
|
|
40333
|
+
// 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/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=style&index=0&id=0ad892c4&prod&lang=scss&scoped=true
|
|
40334
|
+
var changePasswordvue_type_style_index_0_id_0ad892c4_prod_lang_scss_scoped_true = __webpack_require__(7450);
|
|
40335
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/changePassword.vue?vue&type=style&index=0&id=0ad892c4&prod&lang=scss&scoped=true
|
|
40336
40336
|
|
|
40337
40337
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/changePassword.vue
|
|
40338
40338
|
|
|
@@ -40345,18 +40345,18 @@ var changePasswordvue_type_style_index_0_id_783598b4_prod_lang_scss_scoped_true
|
|
|
40345
40345
|
|
|
40346
40346
|
var changePassword_component = normalizeComponent(
|
|
40347
40347
|
sys_changePasswordvue_type_script_lang_js,
|
|
40348
|
-
|
|
40349
|
-
|
|
40348
|
+
changePasswordvue_type_template_id_0ad892c4_scoped_true_render,
|
|
40349
|
+
changePasswordvue_type_template_id_0ad892c4_scoped_true_staticRenderFns,
|
|
40350
40350
|
false,
|
|
40351
40351
|
null,
|
|
40352
|
-
"
|
|
40352
|
+
"0ad892c4",
|
|
40353
40353
|
null
|
|
40354
40354
|
|
|
40355
40355
|
)
|
|
40356
40356
|
|
|
40357
40357
|
/* harmony default export */ var changePassword = (changePassword_component.exports);
|
|
40358
|
-
;// 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/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=template&id=
|
|
40359
|
-
var
|
|
40358
|
+
;// 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/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=template&id=c984b872&scoped=true
|
|
40359
|
+
var cancelAccountvue_type_template_id_c984b872_scoped_true_render = function render() {
|
|
40360
40360
|
var _vm = this,
|
|
40361
40361
|
_c = _vm._self._c;
|
|
40362
40362
|
return _c('div', {
|
|
@@ -40399,10 +40399,9 @@ var cancelAccountvue_type_template_id_32d7e362_scoped_true_render = function ren
|
|
|
40399
40399
|
}
|
|
40400
40400
|
}, [_vm._v("申请账号注销")])], 1)], 1);
|
|
40401
40401
|
};
|
|
40402
|
-
var
|
|
40402
|
+
var cancelAccountvue_type_template_id_c984b872_scoped_true_staticRenderFns = [];
|
|
40403
40403
|
|
|
40404
40404
|
;// 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/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=script&lang=js
|
|
40405
|
-
var cancelAccountvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
40406
40405
|
/* harmony default export */ var cancelAccountvue_type_script_lang_js = ({
|
|
40407
40406
|
data: function data() {
|
|
40408
40407
|
return {
|
|
@@ -40421,14 +40420,15 @@ var cancelAccountvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
|
40421
40420
|
url: 'login/getRsaPublicKey'
|
|
40422
40421
|
}).then(function (res) {
|
|
40423
40422
|
if (res.code === 'success') {
|
|
40424
|
-
|
|
40423
|
+
var _encrypt = new window.JSEncrypt();
|
|
40424
|
+
_encrypt.setPublicKey(res.body.rsaPublicKey);
|
|
40425
40425
|
}
|
|
40426
40426
|
});
|
|
40427
40427
|
},
|
|
40428
40428
|
handleSubmit: function handleSubmit() {
|
|
40429
40429
|
var _this = this;
|
|
40430
40430
|
var params = {};
|
|
40431
|
-
params.userPassword =
|
|
40431
|
+
params.userPassword = encrypt.encrypt(this.pageData.password);
|
|
40432
40432
|
this.$dialog.confirm({
|
|
40433
40433
|
title: '账号注销提示',
|
|
40434
40434
|
message: '是否再次确认注销账号?'
|
|
@@ -40453,9 +40453,9 @@ var cancelAccountvue_type_script_lang_js_encrypt = new window.JSEncrypt();
|
|
|
40453
40453
|
});
|
|
40454
40454
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=script&lang=js
|
|
40455
40455
|
/* harmony default export */ var sys_cancelAccountvue_type_script_lang_js = (cancelAccountvue_type_script_lang_js);
|
|
40456
|
-
// 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/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=style&index=0&id=
|
|
40457
|
-
var
|
|
40458
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=style&index=0&id=
|
|
40456
|
+
// 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/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=style&index=0&id=c984b872&prod&lang=scss&scoped=true
|
|
40457
|
+
var cancelAccountvue_type_style_index_0_id_c984b872_prod_lang_scss_scoped_true = __webpack_require__(4464);
|
|
40458
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/cancelAccount.vue?vue&type=style&index=0&id=c984b872&prod&lang=scss&scoped=true
|
|
40459
40459
|
|
|
40460
40460
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/mine/settings/sys/cancelAccount.vue
|
|
40461
40461
|
|
|
@@ -40468,11 +40468,11 @@ var cancelAccountvue_type_style_index_0_id_32d7e362_prod_lang_scss_scoped_true =
|
|
|
40468
40468
|
|
|
40469
40469
|
var cancelAccount_component = normalizeComponent(
|
|
40470
40470
|
sys_cancelAccountvue_type_script_lang_js,
|
|
40471
|
-
|
|
40472
|
-
|
|
40471
|
+
cancelAccountvue_type_template_id_c984b872_scoped_true_render,
|
|
40472
|
+
cancelAccountvue_type_template_id_c984b872_scoped_true_staticRenderFns,
|
|
40473
40473
|
false,
|
|
40474
40474
|
null,
|
|
40475
|
-
"
|
|
40475
|
+
"c984b872",
|
|
40476
40476
|
null
|
|
40477
40477
|
|
|
40478
40478
|
)
|
|
@@ -45128,8 +45128,8 @@ var ecweboffice_component = normalizeComponent(
|
|
|
45128
45128
|
)
|
|
45129
45129
|
|
|
45130
45130
|
/* harmony default export */ var ecweboffice = (ecweboffice_component.exports);
|
|
45131
|
-
;// 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/ecoa/src/webOffice/H5Office.vue?vue&type=template&id=
|
|
45132
|
-
var
|
|
45131
|
+
;// 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/ecoa/src/webOffice/H5Office.vue?vue&type=template&id=587c9eaa&scoped=true
|
|
45132
|
+
var H5Officevue_type_template_id_587c9eaa_scoped_true_render = function render() {
|
|
45133
45133
|
var _vm = this,
|
|
45134
45134
|
_c = _vm._self._c;
|
|
45135
45135
|
return _vm.dialogVisible ? _c('van-popup', {
|
|
@@ -45226,7 +45226,7 @@ var H5Officevue_type_template_id_41efcb3c_scoped_true_render = function render()
|
|
|
45226
45226
|
}
|
|
45227
45227
|
}) : _vm._e()]], 2)]) : _vm._e();
|
|
45228
45228
|
};
|
|
45229
|
-
var
|
|
45229
|
+
var H5Officevue_type_template_id_587c9eaa_scoped_true_staticRenderFns = [];
|
|
45230
45230
|
|
|
45231
45231
|
;// 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/ecoa/src/webOffice/H5Office.vue?vue&type=script&lang=js
|
|
45232
45232
|
function H5Officevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return H5Officevue_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; }, H5Officevue_type_script_lang_js_typeof(o); }
|
|
@@ -45267,7 +45267,8 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45267
45267
|
attachType: null,
|
|
45268
45268
|
appUrl: '',
|
|
45269
45269
|
openType: '',
|
|
45270
|
-
componentKey: Date.now()
|
|
45270
|
+
componentKey: Date.now(),
|
|
45271
|
+
foxitDocId: ''
|
|
45271
45272
|
};
|
|
45272
45273
|
},
|
|
45273
45274
|
computed: {},
|
|
@@ -45376,6 +45377,8 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45376
45377
|
_this3.btnOpenYzdocEditorClick($scope, [], downUrl, attach.fileId || attach.id, attach.fileVer);
|
|
45377
45378
|
} else if (_this3.officeType === 'ech5') {
|
|
45378
45379
|
_this3.btnOpenEcdocEditorClick($scope, [], downUrl, attach.fileId || attach.id, attach.fileVer);
|
|
45380
|
+
} else if (_this3.officeType === 'foxith5') {
|
|
45381
|
+
_this3.btnOpenFoxitjjEditorClick($scope, [], downUrl, 'edit', {});
|
|
45379
45382
|
}
|
|
45380
45383
|
});
|
|
45381
45384
|
},
|
|
@@ -45521,6 +45524,8 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45521
45524
|
_this4.btnOpenYzdocEditorClick($scope, bookmarks, data, params, openType);
|
|
45522
45525
|
} else if (_this4.officeType === 'ech5') {
|
|
45523
45526
|
_this4.btnOpenEcdocEditorClick($scope, bookmarks, downUrl, fileId, fileVer, data);
|
|
45527
|
+
} else if (_this4.officeType === 'foxith5') {
|
|
45528
|
+
_this4.btnOpenFoxitjjEditorClick($scope, bookmarks, downUrl, openType, data);
|
|
45524
45529
|
}
|
|
45525
45530
|
});
|
|
45526
45531
|
}, function (errmsg) {
|
|
@@ -45694,7 +45699,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45694
45699
|
onSaveDocClick: function onSaveDocClick() {
|
|
45695
45700
|
var _this6 = this;
|
|
45696
45701
|
return H5Officevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/H5Officevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
45697
|
-
var saveRst, uploadUrl;
|
|
45702
|
+
var saveRst, editorIframe, saveTimer, uploadUrl;
|
|
45698
45703
|
return H5Officevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
45699
45704
|
while (1) switch (_context4.prev = _context4.next) {
|
|
45700
45705
|
case 0:
|
|
@@ -45735,6 +45740,28 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45735
45740
|
setTimeout(function () {
|
|
45736
45741
|
_this6.checkYzdocEditorFinished(_this6.$scope, _this6.$scope.fileVersionId, 0, _this6.openType);
|
|
45737
45742
|
}, 1000);
|
|
45743
|
+
} else if (_this6.officeType === 'foxith5') {
|
|
45744
|
+
_this6.$toast({
|
|
45745
|
+
type: 'html',
|
|
45746
|
+
message: '<p style="padding:20px">' + _this6.$tx('ecoa.message.savingFile', '正在保存文件...') + '</p>',
|
|
45747
|
+
duration: 0,
|
|
45748
|
+
forbidClick: true
|
|
45749
|
+
}); //, overlay: true
|
|
45750
|
+
editorIframe = document.querySelector('#editor');
|
|
45751
|
+
if (editorIframe && editorIframe.contentWindow) {
|
|
45752
|
+
editorIframe.contentWindow.saveDocument();
|
|
45753
|
+
}
|
|
45754
|
+
saveTimer = window.setInterval(function () {
|
|
45755
|
+
if (editorIframe.contentWindow.saveVersion) {
|
|
45756
|
+
window.clearInterval(saveTimer);
|
|
45757
|
+
if (editorIframe.contentWindow.saveVersion.status) {
|
|
45758
|
+
_this6.checkFoxitjjdocEditorFinished(_this6.$scope, _this6.foxitDocId, 0, _this6.openType);
|
|
45759
|
+
} else {
|
|
45760
|
+
//this.$dialog.alert({ message: '保存文件失败', type: 'error' })
|
|
45761
|
+
_this6.closeDialog;
|
|
45762
|
+
}
|
|
45763
|
+
}
|
|
45764
|
+
}, 500);
|
|
45738
45765
|
} else if (_this6.officeType === 'ech5') {
|
|
45739
45766
|
// const editor = document.querySelector('#editor').contentWindow
|
|
45740
45767
|
// console.log(editor, 'editor')
|
|
@@ -45771,8 +45798,157 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45771
45798
|
}, _callee4);
|
|
45772
45799
|
}))();
|
|
45773
45800
|
},
|
|
45774
|
-
|
|
45801
|
+
btnOpenFoxitjjEditorClick: function btnOpenFoxitjjEditorClick($scope, bookmarks, downUrl, openType, data) {
|
|
45775
45802
|
var _this7 = this;
|
|
45803
|
+
var appUrl = location.href.split('#')[0].split('mindex.html')[0];
|
|
45804
|
+
if (appUrl.indexOf('//127') !== -1) {
|
|
45805
|
+
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
45806
|
+
}
|
|
45807
|
+
var WFBusiDataId = $scope.vo.id;
|
|
45808
|
+
var WFBodyDocId = $scope.wfInstance.bodyDocId;
|
|
45809
|
+
var WfModule = $scope.wfInstance.module;
|
|
45810
|
+
var attachName = WFBodyDocId + '.doc';
|
|
45811
|
+
var attachType = this.attachType;
|
|
45812
|
+
if (downUrl.indexOf('=ATTACH') !== -1) {
|
|
45813
|
+
attachName = downUrl.split('attachsName=')[1].split('&')[0];
|
|
45814
|
+
}
|
|
45815
|
+
if (openType === 'Redlining' || openType === 'RedliningOnce') {
|
|
45816
|
+
attachName = 'RedTitle_' + WFBodyDocId + '.doc';
|
|
45817
|
+
}
|
|
45818
|
+
var uploadUrl = appUrl + "/apigw".substring(1) + '/' + $scope.wfAttachUrl + '/upload';
|
|
45819
|
+
uploadUrl += '?busiDataId=' + WFBusiDataId;
|
|
45820
|
+
uploadUrl += '&bodyDocId=' + WFBodyDocId;
|
|
45821
|
+
uploadUrl += '&module=' + WfModule;
|
|
45822
|
+
uploadUrl += '&attachsName=' + attachName;
|
|
45823
|
+
uploadUrl += '&attachsType=' + attachType;
|
|
45824
|
+
uploadUrl += '&topdf=true';
|
|
45825
|
+
uploadUrl += '&saveAs=' + attachName;
|
|
45826
|
+
uploadUrl += '&r=' + Math.random();
|
|
45827
|
+
var foxitOpenType = 'openPreview';
|
|
45828
|
+
if (openType !== 'view') {
|
|
45829
|
+
foxitOpenType = 'openEditor';
|
|
45830
|
+
}
|
|
45831
|
+
var fileTitle = attachName;
|
|
45832
|
+
if (attachType === 'BODY') {
|
|
45833
|
+
fileTitle = $scope.vo.flSubject + '.doc';
|
|
45834
|
+
}
|
|
45835
|
+
this.$http({
|
|
45836
|
+
method: 'GET',
|
|
45837
|
+
url: 'foxitEditor/getEditorUrl',
|
|
45838
|
+
params: {
|
|
45839
|
+
module: WfModule,
|
|
45840
|
+
busiDataId: WFBusiDataId,
|
|
45841
|
+
attachId: '',
|
|
45842
|
+
attachName: attachName,
|
|
45843
|
+
attachType: attachType,
|
|
45844
|
+
fileTitle: fileTitle,
|
|
45845
|
+
bodyDocId: WFBodyDocId,
|
|
45846
|
+
downUrl: appUrl + (data.insertFileUrl || downUrl),
|
|
45847
|
+
uploadUrl: uploadUrl,
|
|
45848
|
+
openType: foxitOpenType
|
|
45849
|
+
}
|
|
45850
|
+
}).then(function (res) {
|
|
45851
|
+
_this7.loaded = false;
|
|
45852
|
+
if (res.code === 'success') {
|
|
45853
|
+
_this7.foxitDocId = res.body.docId;
|
|
45854
|
+
var docId = res.body.docId;
|
|
45855
|
+
var openUrl = './plugins/foxitjj/editor.html?docId=' + docId + '&attachName=' + attachName + '&fileUrl=' + encodeURI(res.body.url);
|
|
45856
|
+
_this7.bodyFileUrl = openUrl;
|
|
45857
|
+
_this7.$scope = $scope;
|
|
45858
|
+
data.bodyFileUrl = appUrl + downUrl + '&ecweb-ticket-' + productCode + '=' + encodeURIComponent(window.$auth.getTicket()) + '&productCode=' + productCode;
|
|
45859
|
+
data.bodyDocId = $scope.wfInstance.bodyDocId;
|
|
45860
|
+
window.redTitleData = data;
|
|
45861
|
+
} else {
|
|
45862
|
+
_this7.$dialog.alert({
|
|
45863
|
+
message: res.message,
|
|
45864
|
+
type: 'error'
|
|
45865
|
+
});
|
|
45866
|
+
}
|
|
45867
|
+
});
|
|
45868
|
+
},
|
|
45869
|
+
checkFoxitjjdocEditorFinished: function checkFoxitjjdocEditorFinished($scope, docId, checkCount, openType) {
|
|
45870
|
+
var _this8 = this;
|
|
45871
|
+
var WFBusiDataId = $scope.vo.id;
|
|
45872
|
+
var WFBodyDocId = $scope.wfInstance.bodyDocId;
|
|
45873
|
+
var WfModule = $scope.wfInstance.module;
|
|
45874
|
+
this.$http({
|
|
45875
|
+
method: 'GET',
|
|
45876
|
+
url: 'foxitEditor/checkFinished',
|
|
45877
|
+
params: {
|
|
45878
|
+
module: WfModule,
|
|
45879
|
+
busiDataId: WFBusiDataId,
|
|
45880
|
+
bodyDocId: WFBodyDocId,
|
|
45881
|
+
docId: docId,
|
|
45882
|
+
checkCount: checkCount
|
|
45883
|
+
}
|
|
45884
|
+
}).then(function (chkRes) {
|
|
45885
|
+
if (chkRes.code === 'success') {
|
|
45886
|
+
if (chkRes.body.waiting) {
|
|
45887
|
+
setTimeout(function () {
|
|
45888
|
+
_this8.checkFoxitjjdocEditorFinished($scope, docId, ++checkCount, openType);
|
|
45889
|
+
}, 1000);
|
|
45890
|
+
} else if (chkRes.body.finished) {
|
|
45891
|
+
_this8.closeDialog();
|
|
45892
|
+
} else if (chkRes.body.saved) {
|
|
45893
|
+
if (_this8.attachType === 'BODY') {
|
|
45894
|
+
var haveDoc = $scope.wfInstance.haveDoc;
|
|
45895
|
+
var signedFileName = $scope.vo.signedFileName;
|
|
45896
|
+
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
45897
|
+
if (!_this8.openType) {
|
|
45898
|
+
$scope.wfInstance.haveDoc = 1;
|
|
45899
|
+
} else if (_this8.openType === 'Redlining' || _this8.openType === 'RedliningOnce') {
|
|
45900
|
+
$scope.wfInstance.haveDoc = 2;
|
|
45901
|
+
}
|
|
45902
|
+
} else {
|
|
45903
|
+
$scope.wfInstance.haveDoc = 2;
|
|
45904
|
+
}
|
|
45905
|
+
if ($scope.vo.signedFileName) $scope.vo.signedFileName = null;
|
|
45906
|
+
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45907
|
+
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
45908
|
+
_this8.$set($scope, 'bodyfile', attach);
|
|
45909
|
+
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
45910
|
+
$scope.bodyfile.fileName = $scope.vo.flSubject + '.' + $scope.bodyfile.originalName.split('.')[1];
|
|
45911
|
+
}
|
|
45912
|
+
_this8.updateAttachFileVer($scope, attach);
|
|
45913
|
+
});
|
|
45914
|
+
if ($scope.wfInstance.status === -1 || haveDoc !== $scope.wfInstance.haveDoc || signedFileName !== $scope.vo.signedFileName || chkRes.body.uploadAttachList[0].fileVer) {
|
|
45915
|
+
_this8.$nextTick(function () {
|
|
45916
|
+
_this8.$bus.emit('reloadBodyFile');
|
|
45917
|
+
$scope.btnSubmitClick('Save');
|
|
45918
|
+
_this8.closeDialog();
|
|
45919
|
+
});
|
|
45920
|
+
} else {
|
|
45921
|
+
$scope.btnSubmitClick('Save');
|
|
45922
|
+
_this8.$bus.emit('reloadBodyFile');
|
|
45923
|
+
_this8.closeDialog();
|
|
45924
|
+
}
|
|
45925
|
+
_this8.$bus.emit('onTabChanged', 1);
|
|
45926
|
+
} else {
|
|
45927
|
+
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45928
|
+
_this8.updateAttachFileVer($scope, attach);
|
|
45929
|
+
});
|
|
45930
|
+
_this8.closeDialog();
|
|
45931
|
+
}
|
|
45932
|
+
_this8.loaded = true;
|
|
45933
|
+
}
|
|
45934
|
+
} else {
|
|
45935
|
+
_this8.$bus.emit('closeDoingDialog');
|
|
45936
|
+
_this8.$dialog.alert({
|
|
45937
|
+
message: chkRes.message,
|
|
45938
|
+
type: 'error'
|
|
45939
|
+
});
|
|
45940
|
+
}
|
|
45941
|
+
}, function (err) {
|
|
45942
|
+
_this8.$bus.emit('closeDoingDialog');
|
|
45943
|
+
_this8.$dialog.alert({
|
|
45944
|
+
message: err.message,
|
|
45945
|
+
type: 'error'
|
|
45946
|
+
});
|
|
45947
|
+
console.log(err);
|
|
45948
|
+
});
|
|
45949
|
+
},
|
|
45950
|
+
checkWpsEditorFinished: function checkWpsEditorFinished($scope, attachId, uploadUrl, checkCount) {
|
|
45951
|
+
var _this9 = this;
|
|
45776
45952
|
this.$http({
|
|
45777
45953
|
method: 'GET',
|
|
45778
45954
|
url: 'wpsOffice/checkFinished',
|
|
@@ -45786,12 +45962,12 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45786
45962
|
if (chkRes.code === 'success') {
|
|
45787
45963
|
if (chkRes.body.waiting) {
|
|
45788
45964
|
setTimeout(function () {
|
|
45789
|
-
|
|
45965
|
+
_this9.checkWpsEditorFinished($scope, attachId, uploadUrl, ++checkCount);
|
|
45790
45966
|
}, 1000);
|
|
45791
45967
|
} else if (chkRes.body.finished) {
|
|
45792
|
-
|
|
45968
|
+
_this9.closeDialog();
|
|
45793
45969
|
} else if (chkRes.body.saved) {
|
|
45794
|
-
if (
|
|
45970
|
+
if (_this9.attachType === 'BODY') {
|
|
45795
45971
|
var haveDoc = $scope.wfInstance.haveDoc;
|
|
45796
45972
|
if (haveDoc !== 2 || $scope.vo.signedFileName) {
|
|
45797
45973
|
$scope.wfInstance.haveDoc = 2;
|
|
@@ -45799,32 +45975,32 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45799
45975
|
}
|
|
45800
45976
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45801
45977
|
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
45802
|
-
|
|
45978
|
+
_this9.$set($scope, 'bodyfile', attach);
|
|
45803
45979
|
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
45804
45980
|
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
45805
45981
|
}
|
|
45806
|
-
|
|
45982
|
+
_this9.updateAttachFileVer($scope, attach);
|
|
45807
45983
|
});
|
|
45808
45984
|
if ($scope.wfInstance.status === -1 || haveDoc === 0) {
|
|
45809
|
-
|
|
45810
|
-
|
|
45985
|
+
_this9.$nextTick(function () {
|
|
45986
|
+
_this9.$bus.emit('reloadBodyFile');
|
|
45811
45987
|
$scope.btnSubmitClick('Save');
|
|
45812
|
-
|
|
45988
|
+
_this9.closeDialog();
|
|
45813
45989
|
});
|
|
45814
45990
|
} else {
|
|
45815
|
-
|
|
45816
|
-
|
|
45991
|
+
_this9.$bus.emit('reloadBodyFile');
|
|
45992
|
+
_this9.closeDialog();
|
|
45817
45993
|
}
|
|
45818
45994
|
} else {
|
|
45819
45995
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45820
|
-
|
|
45996
|
+
_this9.updateAttachFileVer($scope, attach);
|
|
45821
45997
|
});
|
|
45822
|
-
|
|
45998
|
+
_this9.closeDialog();
|
|
45823
45999
|
}
|
|
45824
46000
|
}
|
|
45825
46001
|
} else {
|
|
45826
|
-
|
|
45827
|
-
|
|
46002
|
+
_this9.$bus.emit('closeDoingDialog');
|
|
46003
|
+
_this9.$dialog.alert({
|
|
45828
46004
|
message: chkRes.message,
|
|
45829
46005
|
type: 'error'
|
|
45830
46006
|
});
|
|
@@ -45832,7 +46008,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45832
46008
|
});
|
|
45833
46009
|
},
|
|
45834
46010
|
btnOpenYzdocEditorClick: function btnOpenYzdocEditorClick($scope, bookmarks, data, params, openType) {
|
|
45835
|
-
var
|
|
46011
|
+
var _this10 = this;
|
|
45836
46012
|
var appUrl = location.href.split('#')[0].split('mindex.html')[0];
|
|
45837
46013
|
if (appUrl.indexOf('//127') !== -1 || appUrl.indexOf('//192') !== -1) {
|
|
45838
46014
|
appUrl = 'http://toa.ecinc.com.cn:2028/';
|
|
@@ -45864,20 +46040,20 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45864
46040
|
}
|
|
45865
46041
|
console.log(requestObj, 'requestObj.data');
|
|
45866
46042
|
this.$http(requestObj).then(function (res) {
|
|
45867
|
-
|
|
46043
|
+
_this10.loaded = false;
|
|
45868
46044
|
if (res.code === 'success') {
|
|
45869
46045
|
var apiUrl = res.body.apiUrl;
|
|
45870
46046
|
var appId = res.body.appId;
|
|
45871
46047
|
var sign = res.body.sign;
|
|
45872
46048
|
var fileVersionId = res.body.fileVersionId;
|
|
45873
|
-
|
|
45874
|
-
var fileUrl = apiUrl + 'api/edit/file?fileVersionId=' + fileVersionId + '&userRight=0' + '&appId=' + appId + '&userName=' +
|
|
46049
|
+
_this10.$bus.emit('closeDoingDialog');
|
|
46050
|
+
var fileUrl = apiUrl + 'api/edit/file?fileVersionId=' + fileVersionId + '&userRight=0' + '&appId=' + appId + '&userName=' + _this10.loginUser.personName + '&sign=' + sign;
|
|
45875
46051
|
// const fileUrl = 'api/edit/file?fileVersionId=' + fileVersionId + '&userRight=0' + '&appId=' + appId + '&userName=' + this.loginUser.personName + '&sign=' + sign
|
|
45876
46052
|
|
|
45877
|
-
|
|
46053
|
+
_this10.bodyFileUrl = fileUrl;
|
|
45878
46054
|
console.log(fileUrl);
|
|
45879
|
-
|
|
45880
|
-
|
|
46055
|
+
_this10.$scope = $scope;
|
|
46056
|
+
_this10.$scope.fileVersionId = fileVersionId;
|
|
45881
46057
|
|
|
45882
46058
|
// const docEditor = window.open(fileUrl)
|
|
45883
46059
|
// this.doctimer = setInterval(() => {
|
|
@@ -45889,7 +46065,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45889
46065
|
// }
|
|
45890
46066
|
// }, 500)
|
|
45891
46067
|
} else {
|
|
45892
|
-
|
|
46068
|
+
_this10.$dialog.alert({
|
|
45893
46069
|
message: res.message,
|
|
45894
46070
|
type: 'error'
|
|
45895
46071
|
});
|
|
@@ -45897,7 +46073,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45897
46073
|
});
|
|
45898
46074
|
},
|
|
45899
46075
|
checkYzdocEditorFinished: function checkYzdocEditorFinished($scope, fileVersionId, checkCount, openType) {
|
|
45900
|
-
var
|
|
46076
|
+
var _this11 = this;
|
|
45901
46077
|
var WFBusiDataId = $scope.vo.id;
|
|
45902
46078
|
var WFBodyDocId = $scope.wfInstance.bodyDocId;
|
|
45903
46079
|
var WfModule = $scope.wfInstance.module;
|
|
@@ -45918,21 +46094,21 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45918
46094
|
if (chkRes.code === 'success') {
|
|
45919
46095
|
if (chkRes.body.waiting) {
|
|
45920
46096
|
setTimeout(function () {
|
|
45921
|
-
|
|
46097
|
+
_this11.checkYzdocEditorFinished($scope, fileVersionId, ++checkCount, openType);
|
|
45922
46098
|
}, 1000);
|
|
45923
46099
|
} else if (chkRes.body.finished) {
|
|
45924
|
-
|
|
46100
|
+
_this11.closeDialog();
|
|
45925
46101
|
} else if (chkRes.body.saved) {
|
|
45926
|
-
if (
|
|
46102
|
+
if (_this11.attachType === 'BODY') {
|
|
45927
46103
|
console.log(chkRes.body, 'chkRes.body ----- > 永中保存完成 ------ 》 406');
|
|
45928
46104
|
var haveDoc = $scope.wfInstance.haveDoc;
|
|
45929
46105
|
var signedFileName = $scope.vo.signedFileName;
|
|
45930
46106
|
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
45931
46107
|
// NoTitle 模式下
|
|
45932
|
-
if (!
|
|
46108
|
+
if (!_this11.openType) {
|
|
45933
46109
|
// 编辑正文且无红头
|
|
45934
46110
|
$scope.wfInstance.haveDoc = 1;
|
|
45935
|
-
} else if (
|
|
46111
|
+
} else if (_this11.openType === 'Redlining' || _this11.openType === 'RedliningOnce') {
|
|
45936
46112
|
// 套红
|
|
45937
46113
|
$scope.wfInstance.haveDoc = 2;
|
|
45938
46114
|
}
|
|
@@ -45943,44 +46119,46 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45943
46119
|
if ($scope.vo.signedFileName) $scope.vo.signedFileName = null;
|
|
45944
46120
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45945
46121
|
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
45946
|
-
|
|
46122
|
+
_this11.$set($scope, 'bodyfile', attach);
|
|
46123
|
+
$scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
|
|
46124
|
+
$scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
|
|
45947
46125
|
}
|
|
45948
|
-
|
|
46126
|
+
_this11.updateAttachFileVer($scope, attach);
|
|
45949
46127
|
});
|
|
45950
46128
|
if ($scope.wfInstance.status === -1 || haveDoc !== $scope.wfInstance.haveDoc || signedFileName !== $scope.vo.signedFileName || chkRes.body.uploadAttachList[0].fileVer) {
|
|
45951
46129
|
// 保存并刷新
|
|
45952
|
-
|
|
45953
|
-
|
|
46130
|
+
_this11.$nextTick(function () {
|
|
46131
|
+
_this11.$bus.emit('reloadBodyFile');
|
|
45954
46132
|
$scope.btnSubmitClick('Save');
|
|
45955
|
-
|
|
46133
|
+
_this11.closeDialog();
|
|
45956
46134
|
});
|
|
45957
46135
|
} else {
|
|
45958
46136
|
// 仅编辑正文,重置当前正文部分显示
|
|
45959
46137
|
$scope.btnSubmitClick('Save');
|
|
45960
|
-
|
|
45961
|
-
|
|
46138
|
+
_this11.$bus.emit('reloadBodyFile');
|
|
46139
|
+
_this11.closeDialog();
|
|
45962
46140
|
}
|
|
45963
46141
|
|
|
45964
46142
|
// 更新正文位置的按钮
|
|
45965
|
-
|
|
46143
|
+
_this11.$bus.emit('onTabChanged', 1);
|
|
45966
46144
|
} else {
|
|
45967
46145
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
45968
|
-
|
|
46146
|
+
_this11.updateAttachFileVer($scope, attach);
|
|
45969
46147
|
});
|
|
45970
|
-
|
|
46148
|
+
_this11.closeDialog();
|
|
45971
46149
|
}
|
|
45972
|
-
|
|
46150
|
+
_this11.loaded = true;
|
|
45973
46151
|
}
|
|
45974
46152
|
} else {
|
|
45975
|
-
|
|
45976
|
-
|
|
46153
|
+
_this11.$bus.emit('closeDoingDialog');
|
|
46154
|
+
_this11.$dialog.alert({
|
|
45977
46155
|
message: chkRes.message,
|
|
45978
46156
|
type: 'error'
|
|
45979
46157
|
});
|
|
45980
46158
|
}
|
|
45981
46159
|
}, function (err) {
|
|
45982
|
-
|
|
45983
|
-
|
|
46160
|
+
_this11.$bus.emit('closeDoingDialog');
|
|
46161
|
+
_this11.$dialog.alert({
|
|
45984
46162
|
message: err.message,
|
|
45985
46163
|
type: 'error'
|
|
45986
46164
|
});
|
|
@@ -45988,9 +46166,9 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
45988
46166
|
});
|
|
45989
46167
|
},
|
|
45990
46168
|
getSessionId: function getSessionId() {
|
|
45991
|
-
var
|
|
46169
|
+
var _this12 = this;
|
|
45992
46170
|
return new Promise(function (resolve, reject) {
|
|
45993
|
-
|
|
46171
|
+
_this12.$http({
|
|
45994
46172
|
method: 'GET',
|
|
45995
46173
|
params: {
|
|
45996
46174
|
timeLength: 60
|
|
@@ -46006,13 +46184,13 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46006
46184
|
});
|
|
46007
46185
|
},
|
|
46008
46186
|
btnOpenEcdocEditorClick: function btnOpenEcdocEditorClick($scope, bookmarks, downUrl, fileId, fileVer, data) {
|
|
46009
|
-
var
|
|
46187
|
+
var _this13 = this;
|
|
46010
46188
|
return H5Officevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/H5Officevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
|
|
46011
46189
|
var _this, appUrl, fileName, attachType, insertFileUrl, tSessionId;
|
|
46012
46190
|
return H5Officevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
46013
46191
|
while (1) switch (_context5.prev = _context5.next) {
|
|
46014
46192
|
case 0:
|
|
46015
|
-
_this =
|
|
46193
|
+
_this = _this13;
|
|
46016
46194
|
appUrl = location.href.split('#')[0].split('mindex.html')[0]; // if (appUrl.indexOf('//127') !== -1) {
|
|
46017
46195
|
// appUrl = 'http://192.168.0.100:9529/'
|
|
46018
46196
|
// }
|
|
@@ -46036,7 +46214,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46036
46214
|
insertFileUrl = downUrl;
|
|
46037
46215
|
downUrl = data.insertFileUrl;
|
|
46038
46216
|
_context5.next = 12;
|
|
46039
|
-
return
|
|
46217
|
+
return _this13.getSessionId();
|
|
46040
46218
|
case 12:
|
|
46041
46219
|
tSessionId = _context5.sent;
|
|
46042
46220
|
insertFileUrl += '&tSessionId=' + tSessionId;
|
|
@@ -46044,7 +46222,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46044
46222
|
console.log(downUrl, 'downUrl');
|
|
46045
46223
|
console.log(insertFileUrl, 'insertFileUrl');
|
|
46046
46224
|
// encodeURIComponent()
|
|
46047
|
-
|
|
46225
|
+
_this13.$http({
|
|
46048
46226
|
method: 'GET',
|
|
46049
46227
|
url: 'wopi/getAccessToken',
|
|
46050
46228
|
params: {
|
|
@@ -46052,20 +46230,20 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46052
46230
|
fileName: fileName
|
|
46053
46231
|
}
|
|
46054
46232
|
}).then(function (res) {
|
|
46055
|
-
|
|
46233
|
+
_this13.loaded = false;
|
|
46056
46234
|
if (res.code === 'success') {
|
|
46057
|
-
|
|
46235
|
+
_this13.tSessionId = res.body.tSessionId;
|
|
46058
46236
|
// this.$bus.emit('closeDoingDialog')
|
|
46059
46237
|
|
|
46060
46238
|
var editorUrl = res.body.editorUrl;
|
|
46061
46239
|
if (editorUrl.indexOf('lang=') < 0) {
|
|
46062
46240
|
editorUrl += '&lang=zh-CN';
|
|
46063
46241
|
}
|
|
46064
|
-
|
|
46242
|
+
_this13.editorUrl = editorUrl;
|
|
46065
46243
|
var docEditor;
|
|
46066
46244
|
new Promise(function (resolve, reject) {
|
|
46067
46245
|
_this.$nextTick(function () {
|
|
46068
|
-
|
|
46246
|
+
_this13.ecweboffice = true;
|
|
46069
46247
|
_this.$nextTick(function () {
|
|
46070
46248
|
docEditor = _this.$refs.ecweboffice;
|
|
46071
46249
|
if (docEditor) {
|
|
@@ -46083,7 +46261,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46083
46261
|
var bodyInsered = false;
|
|
46084
46262
|
|
|
46085
46263
|
// const reloadMsg = '正在保存附件,请稍候...'
|
|
46086
|
-
|
|
46264
|
+
_this13.doctimer = setInterval(function () {
|
|
46087
46265
|
// 在线编辑代码开始
|
|
46088
46266
|
docEditor.ShowInsertButton(false);
|
|
46089
46267
|
if (!bodyInsered && data && data.bkInsertFile && data.insertFileUrl) {
|
|
@@ -46105,19 +46283,19 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46105
46283
|
docEditor.InsertBookmarks(bookmarks);
|
|
46106
46284
|
setBookmarked = true;
|
|
46107
46285
|
}
|
|
46108
|
-
if (!
|
|
46109
|
-
clearInterval(
|
|
46286
|
+
if (!_this13.ecweboffice && !_this13.waiting) {
|
|
46287
|
+
clearInterval(_this13.doctimer);
|
|
46110
46288
|
if (window.fileStatus > 0) {
|
|
46111
46289
|
// this.$bus.emit('showDoingDialog', reloadMsg)
|
|
46112
46290
|
|
|
46113
46291
|
var _uploadUrl = appUrl + "/apigw".substring(1) + '/' + $scope.wfAttachUrl + '/upload';
|
|
46114
|
-
|
|
46292
|
+
_this13.checkEcincEditorFinished($scope, _this13.tSessionId, _uploadUrl, 0);
|
|
46115
46293
|
}
|
|
46116
46294
|
}
|
|
46117
46295
|
// 在线编辑代码结束
|
|
46118
|
-
if (!
|
|
46119
|
-
clearInterval(
|
|
46120
|
-
|
|
46296
|
+
if (!_this13.ecweboffice) {
|
|
46297
|
+
clearInterval(_this13.doctimer);
|
|
46298
|
+
_this13.btnEcdocSavedClick(true);
|
|
46121
46299
|
}
|
|
46122
46300
|
}, 100);
|
|
46123
46301
|
});
|
|
@@ -46130,24 +46308,24 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46130
46308
|
uploadUrl += '&bodyDocId=' + $scope.wfInstance.bodyDocId;
|
|
46131
46309
|
uploadUrl += '&module=' + $scope.wfInstance.module;
|
|
46132
46310
|
var attachsName = '';
|
|
46133
|
-
if (
|
|
46134
|
-
attachsName = 'RedTitle_' +
|
|
46311
|
+
if (_this13.openType === 'Redlining' || _this13.openType === 'RedliningOnce') {
|
|
46312
|
+
attachsName = 'RedTitle_' + _this13.WFBodyDocId + '.doc';
|
|
46135
46313
|
} else {
|
|
46136
|
-
attachsName =
|
|
46314
|
+
attachsName = _this13.WFBodyDocId + '.doc';
|
|
46137
46315
|
}
|
|
46138
46316
|
uploadUrl += '&attachsName=' + attachsName;
|
|
46139
46317
|
uploadUrl += '&attachsType=' + attachType;
|
|
46140
46318
|
uploadUrl += '&topdf=true';
|
|
46141
|
-
uploadUrl += '&saveAs=' +
|
|
46319
|
+
uploadUrl += '&saveAs=' + _this13.WFBodyDocId + '.doc';
|
|
46142
46320
|
uploadUrl += '&r=' + Math.random();
|
|
46143
46321
|
document.querySelector('#btnSaveDoc').uploadUrl = uploadUrl;
|
|
46144
46322
|
document.querySelector('#btnSaveDoc').checkSave = false;
|
|
46145
46323
|
} else {
|
|
46146
|
-
|
|
46324
|
+
_this13.$dialog.alert({
|
|
46147
46325
|
message: res.message,
|
|
46148
46326
|
type: 'error'
|
|
46149
46327
|
});
|
|
46150
|
-
|
|
46328
|
+
_this13.dialogVisible = false;
|
|
46151
46329
|
}
|
|
46152
46330
|
});
|
|
46153
46331
|
case 17:
|
|
@@ -46158,7 +46336,7 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46158
46336
|
}))();
|
|
46159
46337
|
},
|
|
46160
46338
|
checkEcincEditorFinished: function checkEcincEditorFinished($scope, fileId, uploadUrl, checkCount) {
|
|
46161
|
-
var
|
|
46339
|
+
var _this14 = this;
|
|
46162
46340
|
this.$http({
|
|
46163
46341
|
method: 'GET',
|
|
46164
46342
|
url: 'wopi/checkFinished',
|
|
@@ -46171,15 +46349,15 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46171
46349
|
if (chkRes.code === 'success') {
|
|
46172
46350
|
if (chkRes.body.waiting) {
|
|
46173
46351
|
setTimeout(function () {
|
|
46174
|
-
|
|
46352
|
+
_this14.checkEcincEditorFinished($scope, fileId, uploadUrl, ++checkCount);
|
|
46175
46353
|
}, 1000);
|
|
46176
46354
|
} else if (chkRes.body.finished) {
|
|
46177
46355
|
// this.$bus.emit('closeDoingDialog')
|
|
46178
|
-
|
|
46356
|
+
_this14.closeDialog();
|
|
46179
46357
|
} else if (chkRes.body.saved) {
|
|
46180
|
-
|
|
46181
|
-
|
|
46182
|
-
if (
|
|
46358
|
+
_this14.loaded = true;
|
|
46359
|
+
_this14.dialogVisible = false;
|
|
46360
|
+
if (_this14.attachType === 'BODY') {
|
|
46183
46361
|
var haveDoc = $scope.wfInstance.haveDoc;
|
|
46184
46362
|
var signedFileName = $scope.vo.signedFileName;
|
|
46185
46363
|
// if (haveDoc !== 2 || $scope.vo.signedFileName) {
|
|
@@ -46189,10 +46367,10 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46189
46367
|
|
|
46190
46368
|
if ($scope.wfInstance.passenger.docEditMode === 'NoTitle') {
|
|
46191
46369
|
// NoTitle 模式
|
|
46192
|
-
if (!
|
|
46370
|
+
if (!_this14.openType) {
|
|
46193
46371
|
// 编辑正文且无红头
|
|
46194
46372
|
$scope.wfInstance.haveDoc = 1;
|
|
46195
|
-
} else if (
|
|
46373
|
+
} else if (_this14.openType === 'Redlining' || _this14.openType === 'RedliningOnce') {
|
|
46196
46374
|
// 套红
|
|
46197
46375
|
$scope.wfInstance.haveDoc = 2;
|
|
46198
46376
|
}
|
|
@@ -46204,33 +46382,33 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46204
46382
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
46205
46383
|
if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
|
|
46206
46384
|
attach.fileName = '文件正文.pdf';
|
|
46207
|
-
|
|
46385
|
+
_this14.$set($scope, 'bodyfile', attach);
|
|
46208
46386
|
}
|
|
46209
|
-
|
|
46387
|
+
_this14.updateAttachFileVer($scope, attach);
|
|
46210
46388
|
});
|
|
46211
46389
|
if ($scope.wfInstance.status === -1 || haveDoc !== $scope.wfInstance.haveDoc || signedFileName !== $scope.vo.signedFileName || chkRes.body.uploadAttachList[0].fileVer) {
|
|
46212
46390
|
// 保存并刷新
|
|
46213
|
-
|
|
46391
|
+
_this14.$nextTick(function () {
|
|
46214
46392
|
if ($scope.wfInstance.status === -1) {
|
|
46215
46393
|
$scope.btnSubmitClick('AutoSave', function () {
|
|
46216
|
-
|
|
46217
|
-
|
|
46394
|
+
_this14.$bus.emit('reloadBodyFile');
|
|
46395
|
+
_this14.closeDialog();
|
|
46218
46396
|
});
|
|
46219
46397
|
} else {
|
|
46220
46398
|
$scope.btnSubmitClick('SaveAndReload');
|
|
46221
|
-
|
|
46399
|
+
_this14.closeDialog();
|
|
46222
46400
|
}
|
|
46223
46401
|
});
|
|
46224
46402
|
} else {
|
|
46225
46403
|
// 仅编辑正文,重置当前正文部分显示
|
|
46226
46404
|
$scope.btnSubmitClick('AutoSave', function () {
|
|
46227
|
-
|
|
46405
|
+
_this14.$bus.emit('reloadBodyFile');
|
|
46228
46406
|
});
|
|
46229
|
-
|
|
46407
|
+
_this14.closeDialog();
|
|
46230
46408
|
}
|
|
46231
46409
|
|
|
46232
46410
|
// 更新正文位置的按钮
|
|
46233
|
-
|
|
46411
|
+
_this14.$bus.emit('onTabChanged', 0);
|
|
46234
46412
|
|
|
46235
46413
|
// if ($scope.wfInstance.status === -1 || haveDoc === 0) {
|
|
46236
46414
|
// this.$nextTick(() => {
|
|
@@ -46245,17 +46423,17 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46245
46423
|
// }
|
|
46246
46424
|
} else {
|
|
46247
46425
|
chkRes.body.uploadAttachList.forEach(function (attach) {
|
|
46248
|
-
|
|
46426
|
+
_this14.updateAttachFileVer($scope, attach);
|
|
46249
46427
|
});
|
|
46250
|
-
|
|
46428
|
+
_this14.closeDialog();
|
|
46251
46429
|
}
|
|
46252
46430
|
}
|
|
46253
46431
|
} else {
|
|
46254
|
-
|
|
46432
|
+
_this14.$dialog.alert({
|
|
46255
46433
|
message: chkRes.message,
|
|
46256
46434
|
type: 'error'
|
|
46257
46435
|
});
|
|
46258
|
-
|
|
46436
|
+
_this14.$bus.emit('closeDoingDialog');
|
|
46259
46437
|
}
|
|
46260
46438
|
});
|
|
46261
46439
|
},
|
|
@@ -46292,9 +46470,9 @@ function H5Officevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != H5O
|
|
|
46292
46470
|
});
|
|
46293
46471
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/webOffice/H5Office.vue?vue&type=script&lang=js
|
|
46294
46472
|
/* harmony default export */ var webOffice_H5Officevue_type_script_lang_js = (H5Officevue_type_script_lang_js);
|
|
46295
|
-
// 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/ecoa/src/webOffice/H5Office.vue?vue&type=style&index=0&id=
|
|
46296
|
-
var
|
|
46297
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/webOffice/H5Office.vue?vue&type=style&index=0&id=
|
|
46473
|
+
// 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/ecoa/src/webOffice/H5Office.vue?vue&type=style&index=0&id=587c9eaa&prod&scoped=true&lang=scss
|
|
46474
|
+
var H5Officevue_type_style_index_0_id_587c9eaa_prod_scoped_true_lang_scss = __webpack_require__(2345);
|
|
46475
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/webOffice/H5Office.vue?vue&type=style&index=0&id=587c9eaa&prod&scoped=true&lang=scss
|
|
46298
46476
|
|
|
46299
46477
|
;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/webOffice/H5Office.vue
|
|
46300
46478
|
|
|
@@ -46307,11 +46485,11 @@ var H5Officevue_type_style_index_0_id_41efcb3c_prod_scoped_true_lang_scss = __we
|
|
|
46307
46485
|
|
|
46308
46486
|
var H5Office_component = normalizeComponent(
|
|
46309
46487
|
webOffice_H5Officevue_type_script_lang_js,
|
|
46310
|
-
|
|
46311
|
-
|
|
46488
|
+
H5Officevue_type_template_id_587c9eaa_scoped_true_render,
|
|
46489
|
+
H5Officevue_type_template_id_587c9eaa_scoped_true_staticRenderFns,
|
|
46312
46490
|
false,
|
|
46313
46491
|
null,
|
|
46314
|
-
"
|
|
46492
|
+
"587c9eaa",
|
|
46315
46493
|
null
|
|
46316
46494
|
|
|
46317
46495
|
)
|