ecinc-cloud-moaecoav9 9.6.281 → 9.6.283

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.
@@ -2531,7 +2531,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "div[data-v-7e721607]{margin:2rem auto}
2531
2531
 
2532
2532
  /***/ }),
2533
2533
 
2534
- /***/ 6463:
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-41efcb3c] .toolBar{width:100%;margin-left:16px;margin-right:16px}[data-v-41efcb3c] .toolBar .van-col--1{height:44px}[data-v-41efcb3c] .toolBar .van-col--1 .van-icon{margin-top:14px}[data-v-41efcb3c] .toolBar .van-col--22{text-align:left;padding-left:16px;padding-right:16px}[data-v-41efcb3c] .toolBar .van-button--mini{height:44px;border:0;font-size:16px}.popup-body[data-v-41efcb3c]{height:calc(100vh - 46px);overflow-y:auto;background-color:#f7f8fa}.editor[data-v-41efcb3c]{margin-top:-44px;width:100%;height:calc(100vh - 2px)}", ""]);
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
 
@@ -2594,7 +2594,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popup-content[data-v-4b3a9d6a]{height
2594
2594
 
2595
2595
  /***/ }),
2596
2596
 
2597
- /***/ 8649:
2597
+ /***/ 6499:
2598
2598
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2599
2599
 
2600
2600
  "use strict";
@@ -2608,7 +2608,7 @@ __webpack_require__.r(__webpack_exports__);
2608
2608
 
2609
2609
  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()));
2610
2610
  // Module
2611
- ___CSS_LOADER_EXPORT___.push([module.id, ".popup_dialog[data-v-534df5d4]{border-radius:5px;-webkit-transform:none;transform:none}.popup_dialog.van-popup--center[data-v-534df5d4]{top:100%}.popup_cell.van-cell[data-v-534df5d4]:after{left:0;right:0;border-bottom:1px solid #ebedf0}.popup_cell.van-cell .apply-img[data-v-534df5d4]{height:20px;margin-right:10px}.popup_cell.van-cell .van-cell__title[data-v-534df5d4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.top[data-v-534df5d4]{color:#333}.top .readed[data-v-534df5d4]{color:#777}", ""]);
2611
+ ___CSS_LOADER_EXPORT___.push([module.id, ".popup_dialog[data-v-495f4af2]{border-radius:5px;-webkit-transform:none;transform:none}.popup_dialog.van-popup--center[data-v-495f4af2]{top:100%}.popup_cell.van-cell[data-v-495f4af2]:after{left:0;right:0;border-bottom:1px solid #ebedf0}.popup_cell.van-cell .apply-img[data-v-495f4af2]{height:20px;margin-right:10px}.popup_cell.van-cell .van-cell__title[data-v-495f4af2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.top[data-v-495f4af2]{color:#333}.top .readed[data-v-495f4af2]{color:#777}", ""]);
2612
2612
  // Exports
2613
2613
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
2614
2614
 
@@ -27925,19 +27925,19 @@ var update = add("20921687", content, true, {"sourceMap":false,"shadowMode":fals
27925
27925
 
27926
27926
  /***/ }),
27927
27927
 
27928
- /***/ 137:
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__(6463);
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("fc467972", content, true, {"sourceMap":false,"shadowMode":false});
27940
+ var update = add("08a68915", content, true, {"sourceMap":false,"shadowMode":false});
27941
27941
 
27942
27942
  /***/ }),
27943
27943
 
@@ -27973,19 +27973,19 @@ var update = add("c70d0fea", content, true, {"sourceMap":false,"shadowMode":fals
27973
27973
 
27974
27974
  /***/ }),
27975
27975
 
27976
- /***/ 4603:
27976
+ /***/ 3926:
27977
27977
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
27978
27978
 
27979
27979
  // style-loader: Adds some css to the DOM by adding a <style> tag
27980
27980
 
27981
27981
  // load the styles
27982
- var content = __webpack_require__(8649);
27982
+ var content = __webpack_require__(6499);
27983
27983
  if(content.__esModule) content = content.default;
27984
27984
  if(typeof content === 'string') content = [[module.id, content, '']];
27985
27985
  if(content.locals) module.exports = content.locals;
27986
27986
  // add the styles to the DOM
27987
27987
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
27988
- var update = add("11a796c8", content, true, {"sourceMap":false,"shadowMode":false});
27988
+ var update = add("8854ab84", content, true, {"sourceMap":false,"shadowMode":false});
27989
27989
 
27990
27990
  /***/ }),
27991
27991
 
@@ -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=41efcb3c&scoped=true
45132
- var H5Officevue_type_template_id_41efcb3c_scoped_true_render = function render() {
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 H5Officevue_type_template_id_41efcb3c_scoped_true_staticRenderFns = [];
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
- checkWpsEditorFinished: function checkWpsEditorFinished($scope, attachId, uploadUrl, checkCount) {
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
- _this7.checkWpsEditorFinished($scope, attachId, uploadUrl, ++checkCount);
45965
+ _this9.checkWpsEditorFinished($scope, attachId, uploadUrl, ++checkCount);
45790
45966
  }, 1000);
45791
45967
  } else if (chkRes.body.finished) {
45792
- _this7.closeDialog();
45968
+ _this9.closeDialog();
45793
45969
  } else if (chkRes.body.saved) {
45794
- if (_this7.attachType === 'BODY') {
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
- _this7.$set($scope, 'bodyfile', attach);
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
- _this7.updateAttachFileVer($scope, attach);
45982
+ _this9.updateAttachFileVer($scope, attach);
45807
45983
  });
45808
45984
  if ($scope.wfInstance.status === -1 || haveDoc === 0) {
45809
- _this7.$nextTick(function () {
45810
- _this7.$bus.emit('reloadBodyFile');
45985
+ _this9.$nextTick(function () {
45986
+ _this9.$bus.emit('reloadBodyFile');
45811
45987
  $scope.btnSubmitClick('Save');
45812
- _this7.closeDialog();
45988
+ _this9.closeDialog();
45813
45989
  });
45814
45990
  } else {
45815
- _this7.$bus.emit('reloadBodyFile');
45816
- _this7.closeDialog();
45991
+ _this9.$bus.emit('reloadBodyFile');
45992
+ _this9.closeDialog();
45817
45993
  }
45818
45994
  } else {
45819
45995
  chkRes.body.uploadAttachList.forEach(function (attach) {
45820
- _this7.updateAttachFileVer($scope, attach);
45996
+ _this9.updateAttachFileVer($scope, attach);
45821
45997
  });
45822
- _this7.closeDialog();
45998
+ _this9.closeDialog();
45823
45999
  }
45824
46000
  }
45825
46001
  } else {
45826
- _this7.$bus.emit('closeDoingDialog');
45827
- _this7.$dialog.alert({
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 _this8 = this;
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
- _this8.loaded = false;
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
- _this8.$bus.emit('closeDoingDialog');
45874
- var fileUrl = apiUrl + 'api/edit/file?fileVersionId=' + fileVersionId + '&userRight=0' + '&appId=' + appId + '&userName=' + _this8.loginUser.personName + '&sign=' + sign;
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
- _this8.bodyFileUrl = fileUrl;
46053
+ _this10.bodyFileUrl = fileUrl;
45878
46054
  console.log(fileUrl);
45879
- _this8.$scope = $scope;
45880
- _this8.$scope.fileVersionId = fileVersionId;
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
- _this8.$dialog.alert({
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 _this9 = this;
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
- _this9.checkYzdocEditorFinished($scope, fileVersionId, ++checkCount, openType);
46097
+ _this11.checkYzdocEditorFinished($scope, fileVersionId, ++checkCount, openType);
45922
46098
  }, 1000);
45923
46099
  } else if (chkRes.body.finished) {
45924
- _this9.closeDialog();
46100
+ _this11.closeDialog();
45925
46101
  } else if (chkRes.body.saved) {
45926
- if (_this9.attachType === 'BODY') {
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 (!_this9.openType) {
46108
+ if (!_this11.openType) {
45933
46109
  // 编辑正文且无红头
45934
46110
  $scope.wfInstance.haveDoc = 1;
45935
- } else if (_this9.openType === 'Redlining' || _this9.openType === 'RedliningOnce') {
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
- _this9.$set($scope, 'bodyfile', attach);
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
- _this9.updateAttachFileVer($scope, attach);
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
- _this9.$nextTick(function () {
45953
- _this9.$bus.emit('reloadBodyFile');
46130
+ _this11.$nextTick(function () {
46131
+ _this11.$bus.emit('reloadBodyFile');
45954
46132
  $scope.btnSubmitClick('Save');
45955
- _this9.closeDialog();
46133
+ _this11.closeDialog();
45956
46134
  });
45957
46135
  } else {
45958
46136
  // 仅编辑正文,重置当前正文部分显示
45959
46137
  $scope.btnSubmitClick('Save');
45960
- _this9.$bus.emit('reloadBodyFile');
45961
- _this9.closeDialog();
46138
+ _this11.$bus.emit('reloadBodyFile');
46139
+ _this11.closeDialog();
45962
46140
  }
45963
46141
 
45964
46142
  // 更新正文位置的按钮
45965
- _this9.$bus.emit('onTabChanged', 1);
46143
+ _this11.$bus.emit('onTabChanged', 1);
45966
46144
  } else {
45967
46145
  chkRes.body.uploadAttachList.forEach(function (attach) {
45968
- _this9.updateAttachFileVer($scope, attach);
46146
+ _this11.updateAttachFileVer($scope, attach);
45969
46147
  });
45970
- _this9.closeDialog();
46148
+ _this11.closeDialog();
45971
46149
  }
45972
- _this9.loaded = true;
46150
+ _this11.loaded = true;
45973
46151
  }
45974
46152
  } else {
45975
- _this9.$bus.emit('closeDoingDialog');
45976
- _this9.$dialog.alert({
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
- _this9.$bus.emit('closeDoingDialog');
45983
- _this9.$dialog.alert({
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 _this10 = this;
46169
+ var _this12 = this;
45992
46170
  return new Promise(function (resolve, reject) {
45993
- _this10.$http({
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 _this11 = this;
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 = _this11;
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 _this11.getSessionId();
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
- _this11.$http({
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
- _this11.loaded = false;
46233
+ _this13.loaded = false;
46056
46234
  if (res.code === 'success') {
46057
- _this11.tSessionId = res.body.tSessionId;
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
- _this11.editorUrl = editorUrl;
46242
+ _this13.editorUrl = editorUrl;
46065
46243
  var docEditor;
46066
46244
  new Promise(function (resolve, reject) {
46067
46245
  _this.$nextTick(function () {
46068
- _this11.ecweboffice = true;
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
- _this11.doctimer = setInterval(function () {
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 (!_this11.ecweboffice && !_this11.waiting) {
46109
- clearInterval(_this11.doctimer);
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
- _this11.checkEcincEditorFinished($scope, _this11.tSessionId, _uploadUrl, 0);
46292
+ _this13.checkEcincEditorFinished($scope, _this13.tSessionId, _uploadUrl, 0);
46115
46293
  }
46116
46294
  }
46117
46295
  // 在线编辑代码结束
46118
- if (!_this11.ecweboffice) {
46119
- clearInterval(_this11.doctimer);
46120
- _this11.btnEcdocSavedClick(true);
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 (_this11.openType === 'Redlining' || _this11.openType === 'RedliningOnce') {
46134
- attachsName = 'RedTitle_' + _this11.WFBodyDocId + '.doc';
46311
+ if (_this13.openType === 'Redlining' || _this13.openType === 'RedliningOnce') {
46312
+ attachsName = 'RedTitle_' + _this13.WFBodyDocId + '.doc';
46135
46313
  } else {
46136
- attachsName = _this11.WFBodyDocId + '.doc';
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=' + _this11.WFBodyDocId + '.doc';
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
- _this11.$dialog.alert({
46324
+ _this13.$dialog.alert({
46147
46325
  message: res.message,
46148
46326
  type: 'error'
46149
46327
  });
46150
- _this11.dialogVisible = false;
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 _this12 = this;
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
- _this12.checkEcincEditorFinished($scope, fileId, uploadUrl, ++checkCount);
46352
+ _this14.checkEcincEditorFinished($scope, fileId, uploadUrl, ++checkCount);
46175
46353
  }, 1000);
46176
46354
  } else if (chkRes.body.finished) {
46177
46355
  // this.$bus.emit('closeDoingDialog')
46178
- _this12.closeDialog();
46356
+ _this14.closeDialog();
46179
46357
  } else if (chkRes.body.saved) {
46180
- _this12.loaded = true;
46181
- _this12.dialogVisible = false;
46182
- if (_this12.attachType === 'BODY') {
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 (!_this12.openType) {
46370
+ if (!_this14.openType) {
46193
46371
  // 编辑正文且无红头
46194
46372
  $scope.wfInstance.haveDoc = 1;
46195
- } else if (_this12.openType === 'Redlining' || _this12.openType === 'RedliningOnce') {
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
- _this12.$set($scope, 'bodyfile', attach);
46385
+ _this14.$set($scope, 'bodyfile', attach);
46208
46386
  }
46209
- _this12.updateAttachFileVer($scope, attach);
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
- _this12.$nextTick(function () {
46391
+ _this14.$nextTick(function () {
46214
46392
  if ($scope.wfInstance.status === -1) {
46215
46393
  $scope.btnSubmitClick('AutoSave', function () {
46216
- _this12.$bus.emit('reloadBodyFile');
46217
- _this12.closeDialog();
46394
+ _this14.$bus.emit('reloadBodyFile');
46395
+ _this14.closeDialog();
46218
46396
  });
46219
46397
  } else {
46220
46398
  $scope.btnSubmitClick('SaveAndReload');
46221
- _this12.closeDialog();
46399
+ _this14.closeDialog();
46222
46400
  }
46223
46401
  });
46224
46402
  } else {
46225
46403
  // 仅编辑正文,重置当前正文部分显示
46226
46404
  $scope.btnSubmitClick('AutoSave', function () {
46227
- _this12.$bus.emit('reloadBodyFile');
46405
+ _this14.$bus.emit('reloadBodyFile');
46228
46406
  });
46229
- _this12.closeDialog();
46407
+ _this14.closeDialog();
46230
46408
  }
46231
46409
 
46232
46410
  // 更新正文位置的按钮
46233
- _this12.$bus.emit('onTabChanged', 0);
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
- _this12.updateAttachFileVer($scope, attach);
46426
+ _this14.updateAttachFileVer($scope, attach);
46249
46427
  });
46250
- _this12.closeDialog();
46428
+ _this14.closeDialog();
46251
46429
  }
46252
46430
  }
46253
46431
  } else {
46254
- _this12.$dialog.alert({
46432
+ _this14.$dialog.alert({
46255
46433
  message: chkRes.message,
46256
46434
  type: 'error'
46257
46435
  });
46258
- _this12.$bus.emit('closeDoingDialog');
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=41efcb3c&prod&scoped=true&lang=scss
46296
- var H5Officevue_type_style_index_0_id_41efcb3c_prod_scoped_true_lang_scss = __webpack_require__(137);
46297
- ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/webOffice/H5Office.vue?vue&type=style&index=0&id=41efcb3c&prod&scoped=true&lang=scss
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,18 +46485,18 @@ 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
- H5Officevue_type_template_id_41efcb3c_scoped_true_render,
46311
- H5Officevue_type_template_id_41efcb3c_scoped_true_staticRenderFns,
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
- "41efcb3c",
46492
+ "587c9eaa",
46315
46493
  null
46316
46494
 
46317
46495
  )
46318
46496
 
46319
46497
  /* harmony default export */ var H5Office = (H5Office_component.exports);
46320
- ;// 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/wfTaskItem/index.vue?vue&type=template&id=534df5d4&scoped=true
46321
- var wfTaskItemvue_type_template_id_534df5d4_scoped_true_render = function render() {
46498
+ ;// 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/wfTaskItem/index.vue?vue&type=template&id=495f4af2&scoped=true
46499
+ var wfTaskItemvue_type_template_id_495f4af2_scoped_true_render = function render() {
46322
46500
  var _vm = this,
46323
46501
  _c = _vm._self._c;
46324
46502
  return _c('div', {
@@ -46465,7 +46643,7 @@ var wfTaskItemvue_type_template_id_534df5d4_scoped_true_render = function render
46465
46643
  })]) : _vm._e(), _c('span', [_vm._v(_vm._s(flow.name))])])], 2);
46466
46644
  }), 1)], 1) : _vm._e(), _c('TaskItemTypeTree')], 1);
46467
46645
  };
46468
- var wfTaskItemvue_type_template_id_534df5d4_scoped_true_staticRenderFns = [];
46646
+ var wfTaskItemvue_type_template_id_495f4af2_scoped_true_staticRenderFns = [];
46469
46647
 
46470
46648
  ;// 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/wfTaskItem/TaskItemTypeTree.vue?vue&type=template&id=4b3a9d6a&scoped=true
46471
46649
  var TaskItemTypeTreevue_type_template_id_4b3a9d6a_scoped_true_render = function render() {
@@ -47652,7 +47830,11 @@ function wfTaskItemvue_type_script_lang_js_asyncToGenerator(n) { return function
47652
47830
 
47653
47831
  // }
47654
47832
  if (itemType == 'TODO' || itemType == 'DRAFT') {
47655
- val.status == 1 ? itemType = 'DONE' : 'TODO';
47833
+ if (val.status == 1) {
47834
+ itemType = 'DONE';
47835
+ } else {
47836
+ itemType = 'TODO';
47837
+ }
47656
47838
  url = 'workflow/wfTaskItemAttend/setAttend';
47657
47839
  params = {
47658
47840
  attend: 0,
@@ -47660,14 +47842,18 @@ function wfTaskItemvue_type_script_lang_js_asyncToGenerator(n) { return function
47660
47842
  itemType: itemType
47661
47843
  };
47662
47844
  } else if (itemType == 'TOREAD') {
47663
- itemType = 'READED';
47845
+ if (val.status == 1) {
47846
+ itemType = 'DONE';
47847
+ } else {
47848
+ itemType = 'TODO';
47849
+ }
47664
47850
  params = {
47665
47851
  attend: 0,
47666
47852
  id: val.id,
47667
47853
  itemType: itemType
47668
47854
  };
47669
47855
  if (val.attend === 1) {
47670
- itemType = 'Attend';
47856
+ // itemType = 'Attend'
47671
47857
  url = 'workflow/wfTaskItemAttend/batchAttend';
47672
47858
  params = {
47673
47859
  attend: 0,
@@ -47871,9 +48057,9 @@ function wfTaskItemvue_type_script_lang_js_asyncToGenerator(n) { return function
47871
48057
  });
47872
48058
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/wfTaskItem/index.vue?vue&type=script&lang=js
47873
48059
  /* harmony default export */ var src_wfTaskItemvue_type_script_lang_js = (wfTaskItemvue_type_script_lang_js);
47874
- // 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/wfTaskItem/index.vue?vue&type=style&index=0&id=534df5d4&prod&scoped=true&lang=scss
47875
- var wfTaskItemvue_type_style_index_0_id_534df5d4_prod_scoped_true_lang_scss = __webpack_require__(4603);
47876
- ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/wfTaskItem/index.vue?vue&type=style&index=0&id=534df5d4&prod&scoped=true&lang=scss
48060
+ // 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/wfTaskItem/index.vue?vue&type=style&index=0&id=495f4af2&prod&scoped=true&lang=scss
48061
+ var wfTaskItemvue_type_style_index_0_id_495f4af2_prod_scoped_true_lang_scss = __webpack_require__(3926);
48062
+ ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/wfTaskItem/index.vue?vue&type=style&index=0&id=495f4af2&prod&scoped=true&lang=scss
47877
48063
 
47878
48064
  ;// CONCATENATED MODULE: ./packages/ecmoa/ecoa/src/wfTaskItem/index.vue
47879
48065
 
@@ -47886,11 +48072,11 @@ var wfTaskItemvue_type_style_index_0_id_534df5d4_prod_scoped_true_lang_scss = __
47886
48072
 
47887
48073
  var wfTaskItem_component = normalizeComponent(
47888
48074
  src_wfTaskItemvue_type_script_lang_js,
47889
- wfTaskItemvue_type_template_id_534df5d4_scoped_true_render,
47890
- wfTaskItemvue_type_template_id_534df5d4_scoped_true_staticRenderFns,
48075
+ wfTaskItemvue_type_template_id_495f4af2_scoped_true_render,
48076
+ wfTaskItemvue_type_template_id_495f4af2_scoped_true_staticRenderFns,
47891
48077
  false,
47892
48078
  null,
47893
- "534df5d4",
48079
+ "495f4af2",
47894
48080
  null
47895
48081
 
47896
48082
  )