ecinc-cloud-wappaio 9.6.199 → 9.6.201

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.
@@ -9335,6 +9335,9 @@ var getters = {
9335
9335
  },
9336
9336
  productCodeAll: function productCodeAll(state) {
9337
9337
  return state.user.productCodeAll;
9338
+ },
9339
+ maxFileSize: function maxFileSize(state) {
9340
+ return state.user.maxFileSize;
9338
9341
  }
9339
9342
  };
9340
9343
  /* harmony default export */ var store_getters = (getters);
@@ -9555,7 +9558,9 @@ var state = {
9555
9558
  organList: [],
9556
9559
  productCodeList: [],
9557
9560
  //登录用户单位已开通“系统代码-产品代码”key-value列表
9558
- productCodeAll: [] //平台内所有产品代码列表
9561
+ productCodeAll: [],
9562
+ //平台内所有产品代码列表
9563
+ maxFileSize: -1 //上传单个文件最大字节数
9559
9564
  };
9560
9565
  var mutations = {
9561
9566
  SET_TOKEN: function SET_TOKEN(state, token) {
@@ -9605,6 +9610,9 @@ var mutations = {
9605
9610
  },
9606
9611
  SET_PRODUCT_CODE_ALL: function SET_PRODUCT_CODE_ALL(state, productCodeAll) {
9607
9612
  state.productCodeAll = productCodeAll || [];
9613
+ },
9614
+ SET_MAX_FILE_SIZE: function SET_MAX_FILE_SIZE(state, maxFileSize) {
9615
+ state.maxFileSize = maxFileSize;
9608
9616
  }
9609
9617
  };
9610
9618
  function add_css(str_css) {
@@ -9674,6 +9682,7 @@ var actions = {
9674
9682
  commit('SET_PERSON_ORGAN_LIST', data['PERSON_ORGAN_LIST']);
9675
9683
  commit('SET_PRODUCT_CODE_LIST', data['PRODUCT_CODE_LIST']);
9676
9684
  commit('SET_PRODUCT_CODE_ALL', data['PRODUCT_CODE_ALL']);
9685
+ commit('SET_MAX_FILE_SIZE', data['MAX_FILE_SIZE']);
9677
9686
  } else {
9678
9687
  window.$auth.setToken(jwtToken);
9679
9688
  window.$auth.setTicket(data[window.ecwebTicket || 'ecweb-ticket']);
@@ -9730,9 +9739,10 @@ var actions = {
9730
9739
  commit('SET_PERSON_ORGAN_LIST', data['PERSON_ORGAN_LIST']);
9731
9740
  commit('SET_PRODUCT_CODE_LIST', data['PRODUCT_CODE_LIST']);
9732
9741
  commit('SET_PRODUCT_CODE_ALL', data['PRODUCT_CODE_ALL']);
9742
+ commit('SET_MAX_FILE_SIZE', data['MAX_FILE_SIZE']);
9733
9743
  commit('SET_AVATAR', "/apigw" + '/base/user/download?id=' + loginUser.userId + '&dataField=photoData&nameField=photoName&csrfToken=' + data['ecweb-csrf-token']);
9734
9744
  resolve();
9735
- case 17:
9745
+ case 18:
9736
9746
  case "end":
9737
9747
  return _context2.stop();
9738
9748
  }
@@ -9782,6 +9792,7 @@ var actions = {
9782
9792
  commit('SET_PERSON_ORGAN_LIST', data['PERSON_ORGAN_LIST']);
9783
9793
  commit('SET_PRODUCT_CODE_LIST', data['PRODUCT_CODE_LIST']);
9784
9794
  commit('SET_PRODUCT_CODE_ALL', data['PRODUCT_CODE_ALL']);
9795
+ commit('SET_MAX_FILE_SIZE', data['MAX_FILE_SIZE']);
9785
9796
  if (data['STAFF_INFO_LIST'] && data['STAFF_INFO_LIST'].length > 0) {
9786
9797
  loginUser.staffList = data['STAFF_INFO_LIST'];
9787
9798
  } else {
@@ -9903,6 +9914,7 @@ var actions = {
9903
9914
  commit('SET_PERSON_ORGAN_LIST', data['PERSON_ORGAN_LIST']);
9904
9915
  commit('SET_PRODUCT_CODE_LIST', data['PRODUCT_CODE_LIST']);
9905
9916
  commit('SET_PRODUCT_CODE_ALL', data['PRODUCT_CODE_ALL']);
9917
+ commit('SET_MAX_FILE_SIZE', data['MAX_FILE_SIZE']);
9906
9918
  if (data['STAFF_INFO_LIST'] && data['STAFF_INFO_LIST'].length > 0) {
9907
9919
  loginUser.staffList = data['STAFF_INFO_LIST'];
9908
9920
  } else {
@@ -10925,7 +10937,8 @@ module.exports = {
10925
10937
  notSupportSaveas: 'Unuploaded local files do not support saving as!',
10926
10938
  noDowmAttach: 'There are no downloadable attachments.',
10927
10939
  needSaveadAttach: 'Please select the attachment that needs to be saved separately.',
10928
- selectReaderScope: 'Please select View permissions'
10940
+ selectReaderScope: 'Please select View permissions',
10941
+ maxFileSize: 'Uploading a single file size is not allowed to exceed {maxFileSize}'
10929
10942
  },
10930
10943
  BodyFile: {
10931
10944
  bodyText: 'Main text',
@@ -11461,7 +11474,9 @@ module.exports = {
11461
11474
  attchUploadFile: '附件全部上传成功',
11462
11475
  notSupportSaveas: '未上传的本地文件不支持另存!',
11463
11476
  noDowmAttach: '没有可下载的附件。',
11464
- needSaveadAttach: '请选择需要另存的附件。'
11477
+ needSaveadAttach: '请选择需要另存的附件。',
11478
+ selectReaderScope: '请选择查阅权限',
11479
+ maxFileSize: '上传单个文件大小不允许超过{maxFileSize}'
11465
11480
  },
11466
11481
  BodyFile: {
11467
11482
  bodyText: '正文',
@@ -42129,7 +42144,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-4ff4cf75] .wf-names-checkbox .
42129
42144
 
42130
42145
  /***/ }),
42131
42146
 
42132
- /***/ 47510:
42147
+ /***/ 18766:
42133
42148
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
42134
42149
 
42135
42150
  "use strict";
@@ -42143,14 +42158,14 @@ __webpack_require__.r(__webpack_exports__);
42143
42158
 
42144
42159
  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()));
42145
42160
  // Module
42146
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-ce9bce06]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.el-form[data-v-ce9bce06]{margin-top:20px}.el-form .svg-icon[data-v-ce9bce06]{margin:0 5px}.el-form .el-button[data-v-ce9bce06]{padding:7px 5px}.el-form .el-button[data-v-ce9bce06]:active{color:#606266}.el-form .el-button+.el-button[data-v-ce9bce06]{margin-left:0}.el-form .el-link[data-v-ce9bce06]{line-height:20px;color:var(--subjectColor);cursor:pointer!important}.el-form .is-disabled[data-v-ce9bce06]{color:#c4c5c7!important}.el-form .fileHovering[data-v-ce9bce06]{background:#a5c45d}.el-form .fileHovering table[data-v-ce9bce06]{opacity:.5}.el-form[data-v-ce9bce06] .attach-name{max-width:100%}.el-form[data-v-ce9bce06] .attach-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-row[data-v-ce9bce06]{padding-top:5px;padding-bottom:5px;line-height:21px}.no-attachments[data-v-ce9bce06]{height:50px;line-height:20px}.drag-handler[data-v-ce9bce06]{cursor:move}[data-v-ce9bce06] .atach-draggable .sortable-chosen{background:#f5f7fa}[data-v-ce9bce06] .el-progress-bar{padding-right:40px!important;margin-right:-47px!important}[data-v-ce9bce06] .el-progress__text{float:right}.attach-row[data-v-ce9bce06]:last-child{border-bottom:0!important}.docform-attach-container[data-v-ce9bce06]{padding:20px;margin:0!important;background-color:#fff;height:calc(100vh - 70px)}.attachment-sidebar .sidebar-area[data-v-ce9bce06]{border-bottom:1px solid #eee}.attachment-sidebar .sidebar-area .sidebar-area-title[data-v-ce9bce06]{font-weight:600;line-height:24px;padding:10px}.attachment-sidebar .sidebar-area .sidebar-area-title .el-button--primary[data-v-ce9bce06]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.attachment-sidebar .sidebar-area .sidebar-area-title div[data-v-ce9bce06]{display:inline-block;vertical-align:top}.attachment-sidebar .sidebar-area .sidebar-area-content[data-v-ce9bce06]{padding-left:20px;padding-right:10px;padding-bottom:10px}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row[data-v-ce9bce06]{border-bottom:1px solid #f3f3f3}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-ce9bce06]{margin-top:-3px;width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.attachment-sidebar .sidebar-area[data-v-ce9bce06]:last-child{border-bottom:0}.tb-row-attach-container .el-button--mini[data-v-ce9bce06]{font-size:12px;margin-right:6px}.drag-upload[data-v-ce9bce06]{display:-webkit-box;display:-ms-flexbox;display:flex;height:36px}.drag-upload[data-v-ce9bce06] .el-upload,.drag-upload[data-v-ce9bce06] .el-upload-dragger{width:100%!important;height:100%!important}.drag-upload[data-v-ce9bce06] .el-upload-dragger .drag-upload-box{height:100%;background:#f9fbff}.upload-view .up-btn[data-v-ce9bce06]{text-align:end}.upload-view .up-btn .down[data-v-ce9bce06]{font-size:16px;margin-right:24px;color:#999}.upload-view .upload-box[data-v-ce9bce06]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.upload-view .upload-box .upload-box-left[data-v-ce9bce06]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:40%}.upload-view .upload-box .upload-box-left .upload-label[data-v-ce9bce06]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-left .upload-label .label-l[data-v-ce9bce06]{width:20px;height:24px;margin-left:6px}.upload-view .upload-box .upload-box-left .upload-label .label-l img[data-v-ce9bce06]{width:100%;height:100%}.upload-view .upload-box .upload-box-left .upload-label .label-r[data-v-ce9bce06]{font-size:14px;color:#333;margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-view .upload-box .upload-box-right[data-v-ce9bce06]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-right .up-text[data-v-ce9bce06]{font-size:12px;color:#999}.upload-view .upload-box .upload-box-right .up-person[data-v-ce9bce06]{text-align:end;margin-right:60px;margin-left:15px}.upload-view .upload-box .upload-box-right .up-person .upload-name[data-v-ce9bce06]{margin-right:15px}@media (max-width:1740px){.up-person .upload-name[data-v-ce9bce06]{margin-right:5px!important}}", ""]);
42161
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-402a2ed3]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.el-form[data-v-402a2ed3]{margin-top:20px}.el-form .svg-icon[data-v-402a2ed3]{margin:0 5px}.el-form .el-button[data-v-402a2ed3]{padding:7px 5px}.el-form .el-button[data-v-402a2ed3]:active{color:#606266}.el-form .el-button+.el-button[data-v-402a2ed3]{margin-left:0}.el-form .el-link[data-v-402a2ed3]{line-height:20px;color:var(--subjectColor);cursor:pointer!important}.el-form .is-disabled[data-v-402a2ed3]{color:#c4c5c7!important}.el-form .fileHovering[data-v-402a2ed3]{background:#a5c45d}.el-form .fileHovering table[data-v-402a2ed3]{opacity:.5}.el-form[data-v-402a2ed3] .attach-name{max-width:100%}.el-form[data-v-402a2ed3] .attach-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-row[data-v-402a2ed3]{padding-top:5px;padding-bottom:5px;line-height:21px}.no-attachments[data-v-402a2ed3]{height:50px;line-height:20px}.drag-handler[data-v-402a2ed3]{cursor:move}[data-v-402a2ed3] .atach-draggable .sortable-chosen{background:#f5f7fa}[data-v-402a2ed3] .el-progress-bar{padding-right:40px!important;margin-right:-47px!important}[data-v-402a2ed3] .el-progress__text{float:right}.attach-row[data-v-402a2ed3]:last-child{border-bottom:0!important}.docform-attach-container[data-v-402a2ed3]{padding:20px;margin:0!important;background-color:#fff;height:calc(100vh - 70px)}.attachment-sidebar .sidebar-area[data-v-402a2ed3]{border-bottom:1px solid #eee}.attachment-sidebar .sidebar-area .sidebar-area-title[data-v-402a2ed3]{font-weight:600;line-height:24px;padding:10px}.attachment-sidebar .sidebar-area .sidebar-area-title .el-button--primary[data-v-402a2ed3]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.attachment-sidebar .sidebar-area .sidebar-area-title div[data-v-402a2ed3]{display:inline-block;vertical-align:top}.attachment-sidebar .sidebar-area .sidebar-area-content[data-v-402a2ed3]{padding-left:20px;padding-right:10px;padding-bottom:10px}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row[data-v-402a2ed3]{border-bottom:1px solid #f3f3f3}.attachment-sidebar .sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-402a2ed3]{margin-top:-3px;width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.attachment-sidebar .sidebar-area[data-v-402a2ed3]:last-child{border-bottom:0}.tb-row-attach-container .el-button--mini[data-v-402a2ed3]{font-size:12px;margin-right:6px}.drag-upload[data-v-402a2ed3]{display:-webkit-box;display:-ms-flexbox;display:flex;height:36px}.drag-upload[data-v-402a2ed3] .el-upload,.drag-upload[data-v-402a2ed3] .el-upload-dragger{width:100%!important;height:100%!important}.drag-upload[data-v-402a2ed3] .el-upload-dragger .drag-upload-box{height:100%;background:#f9fbff}.upload-view .up-btn[data-v-402a2ed3]{text-align:end}.upload-view .up-btn .down[data-v-402a2ed3]{font-size:16px;margin-right:24px;color:#999}.upload-view .upload-box[data-v-402a2ed3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.upload-view .upload-box .upload-box-left[data-v-402a2ed3]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:40%}.upload-view .upload-box .upload-box-left .upload-label[data-v-402a2ed3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-left .upload-label .label-l[data-v-402a2ed3]{width:20px;height:24px;margin-left:6px}.upload-view .upload-box .upload-box-left .upload-label .label-l img[data-v-402a2ed3]{width:100%;height:100%}.upload-view .upload-box .upload-box-left .upload-label .label-r[data-v-402a2ed3]{font-size:14px;color:#333;margin-left:10px;-webkit-box-flex:1;-ms-flex:1;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-view .upload-box .upload-box-right[data-v-402a2ed3]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.upload-view .upload-box .upload-box-right .up-text[data-v-402a2ed3]{font-size:12px;color:#999}.upload-view .upload-box .upload-box-right .up-person[data-v-402a2ed3]{text-align:end;margin-right:60px;margin-left:15px}.upload-view .upload-box .upload-box-right .up-person .upload-name[data-v-402a2ed3]{margin-right:15px}@media (max-width:1740px){.up-person .upload-name[data-v-402a2ed3]{margin-right:5px!important}}.upload-err-desc[data-v-402a2ed3]{color:red;width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}", ""]);
42147
42162
  // Exports
42148
42163
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
42149
42164
 
42150
42165
 
42151
42166
  /***/ }),
42152
42167
 
42153
- /***/ 75216:
42168
+ /***/ 85707:
42154
42169
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
42155
42170
 
42156
42171
  "use strict";
@@ -42164,7 +42179,7 @@ __webpack_require__.r(__webpack_exports__);
42164
42179
 
42165
42180
  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()));
42166
42181
  // Module
42167
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-23ae9f44] .el-upload--text{width:100%}[data-v-23ae9f44] .el-upload .el-input-group .el-input__inner{display:inline-block;vertical-align:baseline}.docfileIcon[data-v-23ae9f44]{padding-left:10px;padding-right:10px}.file-right-box[data-v-23ae9f44]{position:fixed;bottom:0;top:73px;height:calc(100vh - 73px)!important;z-index:1199}.file-right-box .right-box-div1[data-v-23ae9f44]{float:left;height:100%;background:#fff;border-left:1px solid #ddd;overflow:hidden;font-size:14px}.file-right-box .right-box-div1[data-v-23ae9f44] .el-scrollbar{height:calc(100vh - 112px);width:100%}.file-right-box .right-box-div1[data-v-23ae9f44] .el-scrollbar .el-scrollbar__wrap{overflow-x:auto}.file-right-box .right-box-div1 .navbar[data-v-23ae9f44]{padding:11px 12px 10px 12px;font-size:14px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex}.file-right-box .right-box-div1 .navbar[data-v-23ae9f44] .el-icon-close{float:right;cursor:pointer}.file-right-box .right-box-div1 .fileitem[data-v-23ae9f44]{padding:10px;font-size:13px;border-bottom:1px solid #f3f3f3;border-top:1px solid #f3f3f3}.file-right-box .right-box-div1 .fileitem .el-dropdown-link[data-v-23ae9f44]{cursor:pointer}@media (max-width:1569px){.right-box-div1[data-v-23ae9f44]{width:280px}}@media (min-width:1570px){.right-box-div1[data-v-23ae9f44]{width:350px}}.sidebar-area[data-v-23ae9f44]{border-bottom:1px solid #eee}.sidebar-area .sidebar-area-title[data-v-23ae9f44]{font-weight:600;line-height:24px;padding:10px}.sidebar-area .sidebar-area-title .el-button--primary[data-v-23ae9f44]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.sidebar-area .sidebar-area-title div[data-v-23ae9f44]{display:inline-block;vertical-align:top}.sidebar-area .sidebar-area-title i[data-v-23ae9f44]{margin:3px 5px 0 10px;font-size:14px}.sidebar-area .sidebar-area-content[data-v-23ae9f44]{padding-left:20px;padding-right:10px;padding-bottom:10px}.sidebar-area .sidebar-area-content .attach-row[data-v-23ae9f44]{line-height:21px}.sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-23ae9f44]{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sidebar-area .sidebar-area-content .no-attachments[data-v-23ae9f44]{height:50px;line-height:50px}.table-row .attach-name[data-v-23ae9f44]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.table-row .removeBodyfileIcon[data-v-23ae9f44]{display:block}", ""]);
42182
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-539379b5] .el-upload--text{width:100%}[data-v-539379b5] .el-upload .el-input-group .el-input__inner{display:inline-block;vertical-align:baseline}.docfileIcon[data-v-539379b5]{padding-left:10px;padding-right:10px}.file-right-box[data-v-539379b5]{position:fixed;bottom:0;top:73px;height:calc(100vh - 73px)!important;z-index:1199}.file-right-box .right-box-div1[data-v-539379b5]{float:left;height:100%;background:#fff;border-left:1px solid #ddd;overflow:hidden;font-size:14px}.file-right-box .right-box-div1[data-v-539379b5] .el-scrollbar{height:calc(100vh - 112px);width:100%}.file-right-box .right-box-div1[data-v-539379b5] .el-scrollbar .el-scrollbar__wrap{overflow-x:auto}.file-right-box .right-box-div1 .navbar[data-v-539379b5]{padding:11px 12px 10px 12px;font-size:14px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex}.file-right-box .right-box-div1 .navbar[data-v-539379b5] .el-icon-close{float:right;cursor:pointer}.file-right-box .right-box-div1 .fileitem[data-v-539379b5]{padding:10px;font-size:13px;border-bottom:1px solid #f3f3f3;border-top:1px solid #f3f3f3}.file-right-box .right-box-div1 .fileitem .el-dropdown-link[data-v-539379b5]{cursor:pointer}@media (max-width:1569px){.right-box-div1[data-v-539379b5]{width:280px}}@media (min-width:1570px){.right-box-div1[data-v-539379b5]{width:350px}}.sidebar-area[data-v-539379b5]{border-bottom:1px solid #eee}.sidebar-area .sidebar-area-title[data-v-539379b5]{font-weight:600;line-height:24px;padding:10px}.sidebar-area .sidebar-area-title .el-button--primary[data-v-539379b5]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.sidebar-area .sidebar-area-title div[data-v-539379b5]{display:inline-block;vertical-align:top}.sidebar-area .sidebar-area-title i[data-v-539379b5]{margin:3px 5px 0 10px;font-size:14px}.sidebar-area .sidebar-area-content[data-v-539379b5]{padding-left:20px;padding-right:10px;padding-bottom:10px}.sidebar-area .sidebar-area-content .attach-row[data-v-539379b5]{line-height:21px}.sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-539379b5]{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sidebar-area .sidebar-area-content .no-attachments[data-v-539379b5]{height:50px;line-height:50px}.table-row .attach-name[data-v-539379b5]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.table-row .removeBodyfileIcon[data-v-539379b5]{display:block}", ""]);
42168
42183
  // Exports
42169
42184
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
42170
42185
 
@@ -134777,35 +134792,35 @@ var update = add("215aea34", content, true, {"sourceMap":false,"shadowMode":fals
134777
134792
 
134778
134793
  /***/ }),
134779
134794
 
134780
- /***/ 84044:
134795
+ /***/ 19840:
134781
134796
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134782
134797
 
134783
134798
  // style-loader: Adds some css to the DOM by adding a <style> tag
134784
134799
 
134785
134800
  // load the styles
134786
- var content = __webpack_require__(47510);
134801
+ var content = __webpack_require__(18766);
134787
134802
  if(content.__esModule) content = content.default;
134788
134803
  if(typeof content === 'string') content = [[module.id, content, '']];
134789
134804
  if(content.locals) module.exports = content.locals;
134790
134805
  // add the styles to the DOM
134791
134806
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134792
- var update = add("32597c40", content, true, {"sourceMap":false,"shadowMode":false});
134807
+ var update = add("7acea73a", content, true, {"sourceMap":false,"shadowMode":false});
134793
134808
 
134794
134809
  /***/ }),
134795
134810
 
134796
- /***/ 14542:
134811
+ /***/ 47277:
134797
134812
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
134798
134813
 
134799
134814
  // style-loader: Adds some css to the DOM by adding a <style> tag
134800
134815
 
134801
134816
  // load the styles
134802
- var content = __webpack_require__(75216);
134817
+ var content = __webpack_require__(85707);
134803
134818
  if(content.__esModule) content = content.default;
134804
134819
  if(typeof content === 'string') content = [[module.id, content, '']];
134805
134820
  if(content.locals) module.exports = content.locals;
134806
134821
  // add the styles to the DOM
134807
134822
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
134808
- var update = add("6dd32bdf", content, true, {"sourceMap":false,"shadowMode":false});
134823
+ var update = add("b94b044c", content, true, {"sourceMap":false,"shadowMode":false});
134809
134824
 
134810
134825
  /***/ }),
134811
134826
 
@@ -143229,56 +143244,65 @@ service.interceptors.response.use(function (response) {
143229
143244
  } else if (error.response && error.response.data && error.response.data.code) {
143230
143245
  return error.response.data;
143231
143246
  } else if (error.response && error.response.data) {
143232
- var _errrst = {
143247
+ var errrst = {
143233
143248
  code: 'error',
143234
143249
  body: {}
143235
143250
  };
143236
143251
  if (error.response.data.message) {
143237
- _errrst.message = error.response.data.message;
143252
+ errrst.message = error.response.data.message;
143238
143253
  } else if (error.response.data.error) {
143239
143254
  if (error.response.data.status === 404) {
143240
- _errrst.message = window.$tx('request.status404');
143255
+ errrst.message = window.$tx('request.status404');
143241
143256
  } else {
143242
- _errrst.message = error.response.data.error;
143257
+ errrst.message = error.response.data.error;
143243
143258
  }
143244
143259
  } else if (error.response.data.msg) {
143245
- _errrst.message = error.response.data.msg;
143260
+ errrst.message = error.response.data.msg;
143246
143261
  } else {
143247
- _errrst.message = error.response.data;
143262
+ errrst.message = error.response.data;
143248
143263
  }
143249
- _errrst.message += '<br>' + error.config.url;
143264
+ errrst.message += '<br>' + error.config.url;
143250
143265
  if (window.vType === 'wapp') {
143251
- window.$alert(_errrst.message, window.$tx('common.operationTip'), {
143266
+ window.$alert(errrst.message, window.$tx('common.operationTip'), {
143252
143267
  type: 'error',
143253
143268
  dangerouslyUseHTMLString: true
143254
143269
  });
143255
143270
  } else {
143256
143271
  window.$alert({
143257
- message: _errrst.message,
143272
+ message: errrst.message,
143258
143273
  type: 'error',
143259
143274
  allowHtml: true
143260
143275
  });
143261
143276
  }
143262
- return Promise.reject(_errrst.message);
143277
+ return Promise.reject(errrst.message);
143263
143278
  } else {
143264
143279
  var errmsg = error;
143265
143280
  if (typeof errmsg !== 'string' && error.message) {
143266
143281
  errmsg = error.message;
143267
143282
  }
143268
- errmsg += '<br>' + error.config.url;
143269
- if (window.vType === 'wapp') {
143270
- window.$alert(errmsg, window.$tx('common.operationTip'), {
143271
- type: 'error',
143272
- dangerouslyUseHTMLString: true
143273
- });
143274
- } else {
143275
- window.$alert({
143283
+ if (error.config.onUploadProgress) {
143284
+ //上传文件时tomcat服务器超过max-file-size异常,全局异常拦截未捕获
143285
+ return {
143286
+ code: 'failure',
143276
143287
  message: errmsg,
143277
- type: 'error',
143278
- allowHtml: true
143279
- });
143288
+ body: {}
143289
+ };
143290
+ } else {
143291
+ errmsg += '<br>' + error.config.url;
143292
+ if (window.vType === 'wapp') {
143293
+ window.$alert(errmsg, window.$tx('common.operationTip'), {
143294
+ type: 'error',
143295
+ dangerouslyUseHTMLString: true
143296
+ });
143297
+ } else {
143298
+ window.$alert({
143299
+ message: errmsg,
143300
+ type: 'error',
143301
+ allowHtml: true
143302
+ });
143303
+ }
143304
+ return Promise.reject(errmsg);
143280
143305
  }
143281
- return Promise.reject(errrst);
143282
143306
  }
143283
143307
  });
143284
143308
  /* harmony default export */ var request = (service);
@@ -144259,9 +144283,13 @@ var wfengine_install = function install(Vue) {
144259
144283
  }
144260
144284
  }
144261
144285
  if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
144262
- if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
144286
+ if ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
144263
144287
  $scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
144264
- $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
144288
+ if ($scope.bodyfile.fileName.indexOf('SignedFile_') === 0 && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) == -1) {
144289
+ $scope.bodyfile.fileName = $scope.bodyfile.split('SignedFile_')[1];
144290
+ } else {
144291
+ $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
144292
+ }
144265
144293
  }
144266
144294
  if ($scope.wfInstance.status > 0) {
144267
144295
  $scope.bodyfile.notDelete = true;
@@ -162007,8 +162035,8 @@ WfNames_src.install = function (Vue) {
162007
162035
  Vue.component(WfNames_src.name, WfNames_src);
162008
162036
  };
162009
162037
  /* harmony default export */ var WfNames = (WfNames_src);
162010
- ;// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=template&id=ce9bce06&scoped=true
162011
- var Attachmentvue_type_template_id_ce9bce06_scoped_true_render = function render() {
162038
+ ;// 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=template&id=402a2ed3&scoped=true
162039
+ var Attachmentvue_type_template_id_402a2ed3_scoped_true_render = function render() {
162012
162040
  var _vm = this,
162013
162041
  _c = _vm._self._c;
162014
162042
  return _c('div', [_vm.showMode == 'table' ? _c('el-form', {
@@ -162479,7 +162507,7 @@ var Attachmentvue_type_template_id_ce9bce06_scoped_true_render = function render
162479
162507
  "cursor": "auto"
162480
162508
  },
162481
162509
  style: {
162482
- width: _vm.showCanDownloadCol ? '540px' : '360px'
162510
+ width: _vm.waitUploadColWidth
162483
162511
  },
162484
162512
  attrs: {
162485
162513
  "colspan": _vm.showCanDownloadCol ? '4' : '3'
@@ -162502,10 +162530,7 @@ var Attachmentvue_type_template_id_ce9bce06_scoped_true_render = function render
162502
162530
  "width": "100%"
162503
162531
  }
162504
162532
  }, [_vm._v("待上传")]) : _vm._e(), attach.file.message ? _c('div', {
162505
- staticStyle: {
162506
- "color": "#ff0000",
162507
- "width": "100%"
162508
- }
162533
+ staticClass: "upload-err-desc"
162509
162534
  }, [_vm._v(" " + _vm._s(attach.file.message) + " ")]) : _vm._e()], 1)], 2);
162510
162535
  }), !_vm.hasAttachment ? _c('tr', [_c('td', {
162511
162536
  staticClass: "el-table__cell",
@@ -163060,378 +163085,384 @@ var Attachmentvue_type_template_id_ce9bce06_scoped_true_render = function render
163060
163085
  "auto-upload": false,
163061
163086
  "with-credentials": true
163062
163087
  }
163063
- }, [_vm.curTN.tnCanEdit === 1 && _vm.canUpload && !_vm.isOpenFile ? _c('el-button', {
163064
- attrs: {
163065
- "slot": "trigger",
163066
- "id": "btnUpload",
163067
- "size": "mini"
163068
- },
163069
- on: {
163070
- "click": _vm.openFileBefore
163071
- },
163072
- slot: "trigger"
163073
- }, [_c('svg-icon', {
163074
- staticStyle: {
163075
- "color": "green"
163076
- },
163077
- attrs: {
163078
- "icon-class": "add"
163079
- }
163080
- }), _vm._v(" " + _vm._s(_vm.emptyMessage ? _vm.$tx('pageBtns.addTo', '添加') : _vm.$tx('pageBtns.addToAttach', '添加附件')) + " ")], 1) : _vm._e(), _vm.attachments.filter(function (obj) {
163081
- return obj.fileType === _vm.attachsType;
163082
- }).length > 1 && _vm.curTN.tnCanEdit === 1 ? _c('el-button', {
163083
- attrs: {
163084
- "slot": "trigger",
163085
- "id": "btnUpload",
163086
- "size": "mini"
163087
- },
163088
- on: {
163089
- "click": function click($event) {
163090
- $event.stopPropagation();
163091
- return _vm.handleUploadRemove();
163092
- }
163093
- },
163094
- slot: "trigger"
163095
- }, [_c('svg-icon', {
163096
- attrs: {
163097
- "icon-class": "wjzx_delcopy"
163098
- }
163099
- }), _vm._v(" " + _vm._s(_vm.deleteBtnName) + " ")], 1) : _vm._e(), _vm.attachments.filter(function (obj) {
163100
- return obj.fileType === _vm.attachsType;
163101
- }).length > 1 ? _c('el-button', {
163102
- attrs: {
163103
- "slot": "trigger",
163104
- "id": "btnUpload",
163105
- "size": "mini"
163106
- },
163107
- on: {
163108
- "click": function click($event) {
163109
- $event.stopPropagation();
163110
- return _vm.handleFileDownload();
163111
- }
163112
- },
163113
- slot: "trigger"
163114
- }, [_c('svg-icon', {
163115
- attrs: {
163116
- "icon-class": "wjzx_downcopy"
163117
- }
163118
- }), _vm._v(" " + _vm._s(_vm.saveasBtnName) + " ")], 1) : _vm._e()], 1) : _vm._e(), _vm._l(_vm.attachments.filter(function (obj) {
163119
- return obj.fileType === _vm.attachsType;
163120
- }), function (attach, index) {
163121
- return _c('el-row', {
163122
- key: index,
163123
- staticClass: "attach-row",
163124
- attrs: {
163125
- "align": "middle"
163126
- }
163127
- }, [_c('el-col', {
163128
- staticStyle: {
163129
- "overflow": "hidden",
163130
- "display": "flex"
163131
- },
163088
+ }, [_vm._t("button", function () {
163089
+ return [_vm.curTN.tnCanEdit === 1 && _vm.canUpload && !_vm.isOpenFile ? _c('el-button', {
163132
163090
  attrs: {
163133
- "span": "24"
163134
- }
163135
- }, [_vm.attachments.filter(function (obj) {
163136
- return obj.fileType === _vm.attachsType;
163137
- }).length > 1 ? _c('el-checkbox', {
163138
- staticStyle: {
163139
- "margin-right": "5px"
163140
- },
163141
- attrs: {
163142
- "name": "checkbox"
163091
+ "slot": "trigger",
163092
+ "id": "btnUpload",
163093
+ "size": "mini"
163143
163094
  },
163144
163095
  on: {
163145
- "change": _vm.attachCheckedChange
163146
- },
163147
- model: {
163148
- value: attach.checked,
163149
- callback: function callback($$v) {
163150
- _vm.$set(attach, "checked", $$v);
163151
- },
163152
- expression: "attach.checked"
163153
- }
163154
- }) : _vm._e(), _c('div', {
163155
- staticStyle: {
163156
- "font-size": "16px",
163157
- "margin-right": "5px"
163096
+ "click": _vm.openFileBefore
163158
163097
  },
163159
- style: {
163160
- 'line-height': !attach.id ? '22px' : ''
163161
- }
163162
- }, [_c('img', {
163098
+ slot: "trigger"
163099
+ }, [_c('svg-icon', {
163163
163100
  staticStyle: {
163164
- "width": "12px"
163101
+ "color": "green"
163165
163102
  },
163166
163103
  attrs: {
163167
- "src": _vm.imgUrl(attach),
163168
- "alt": ""
163169
- }
163170
- })]), attach.id ? _c('div', {
163171
- staticStyle: {
163172
- "width": "calc(100% - 22px)",
163173
- "float": "left"
163104
+ "icon-class": "add"
163174
163105
  }
163175
- }, [_c('div', {
163176
- staticStyle: {
163177
- "float": "left",
163178
- "width": "calc(100% - 180px)"
163179
- }
163180
- }, [_c('el-link', {
163181
- staticClass: "attach-name",
163182
- staticStyle: {
163183
- "margin-top": "-3px",
163184
- "max-width": "calc(100% - 100px)"
163185
- },
163106
+ }), _vm._v(" " + _vm._s(_vm.emptyMessage ? _vm.$tx('pageBtns.addTo', '添加') : _vm.$tx('pageBtns.addToAttach', '添加附件')) + " ")], 1) : _vm._e(), _vm.attachments.filter(function (obj) {
163107
+ return obj.fileType === _vm.attachsType;
163108
+ }).length > 1 && _vm.curTN.tnCanEdit === 1 ? _c('el-button', {
163186
163109
  attrs: {
163187
- "type": "primary",
163188
- "title": attach.fileName
163110
+ "slot": "trigger",
163111
+ "id": "btnUpload",
163112
+ "size": "mini"
163189
163113
  },
163190
163114
  on: {
163191
163115
  "click": function click($event) {
163192
- return _vm.handleUploadPreview(attach);
163116
+ $event.stopPropagation();
163117
+ return _vm.handleUploadRemove();
163193
163118
  }
163194
- }
163195
- }, [_vm._v(_vm._s(attach.fileName))]), _c('span', {
163196
- staticStyle: {
163197
- "color": "#a7a7a7",
163198
- "padding-left": "5px",
163199
- "padding-right": "5px"
163200
- }
163201
- }, [_vm._v(_vm._s(attach.fileSize))]), _vm.curTN.tnCanEdit === 1 && _vm.onlineEditor !== '' ? _c('el-link', {
163202
- staticStyle: {
163203
- "margin-right": "5px"
163204
163119
  },
163120
+ slot: "trigger"
163121
+ }, [_c('svg-icon', {
163205
163122
  attrs: {
163206
- "underline": false,
163207
- "disabled": !attach.canModify
163208
- },
163209
- on: {
163210
- "click": function click($event) {
163211
- return _vm.handleOpenEditor(attach);
163212
- }
163213
- }
163214
- }, [_c('el-tooltip', {
163215
- attrs: {
163216
- "disabled": !attach.canModify,
163217
- "content": _vm.$tx('pageBtns.edit', '编辑')
163123
+ "icon-class": "wjzx_delcopy"
163218
163124
  }
163219
- }, [_c('i', {
163220
- class: 'el-icon-edit',
163221
- staticStyle: {
163222
- "font-size": "16px"
163223
- }
163224
- })])], 1) : _vm._e(), _vm.setReaderScope && _vm.curTN.userName && _vm.curTN.tnCanEdit === 1 && attach.uploadBy === _vm.curTN.userName ? _c('el-link', {
163125
+ }), _vm._v(" " + _vm._s(_vm.deleteBtnName) + " ")], 1) : _vm._e(), _vm.attachments.filter(function (obj) {
163126
+ return obj.fileType === _vm.attachsType;
163127
+ }).length > 1 ? _c('el-button', {
163225
163128
  attrs: {
163226
- "underline": false
163129
+ "slot": "trigger",
163130
+ "id": "btnUpload",
163131
+ "size": "mini"
163227
163132
  },
163228
163133
  on: {
163229
163134
  "click": function click($event) {
163230
- return _vm.showReaderScopeDialog(attach);
163135
+ $event.stopPropagation();
163136
+ return _vm.handleFileDownload();
163231
163137
  }
163232
- }
163233
- }, [_c('el-tooltip', {
163234
- attrs: {
163235
- "content": _vm.$tx('ecwapp.Common.readerScope', '查阅权限')
163236
- }
163237
- }, [_c('i', {
163238
- class: 'el-icon-view',
163239
- staticStyle: {
163240
- "font-size": "18px",
163241
- "margin-top": "1px",
163242
- "margin-left": "5px"
163243
- }
163244
- })])], 1) : _vm._e(), _c('el-link', {
163245
- directives: [{
163246
- name: "show",
163247
- rawName: "v-show",
163248
- value: _vm.curTN.tnCanEdit === 1 && _vm.canReupload,
163249
- expression: "curTN.tnCanEdit === 1 && canReupload"
163250
- }],
163251
- staticStyle: {
163252
- "margin-right": "5px"
163253
- },
163254
- attrs: {
163255
- "underline": false
163256
163138
  },
163257
- on: {
163258
- "click": function click($event) {
163259
- return _vm.handleReupload(attach);
163260
- }
163261
- }
163262
- }, [_c('el-tooltip', {
163263
- attrs: {
163264
- "content": _vm.$tx('ecwapp.Common.reUpload', '重新上传')
163265
- }
163266
- }, [_c('i', {
163267
- class: 'el-icon-upload2',
163268
- staticStyle: {
163269
- "font-size": "18px",
163270
- "margin-top": "1px",
163271
- "margin-left": "5px"
163272
- }
163273
- })])], 1), _c('el-link', {
163274
- directives: [{
163275
- name: "show",
163276
- rawName: "v-show",
163277
- value: _vm.curTN.tnCanEdit === 1 && _vm.canDelete,
163278
- expression: "curTN.tnCanEdit === 1 && canDelete"
163279
- }],
163139
+ slot: "trigger"
163140
+ }, [_c('svg-icon', {
163280
163141
  attrs: {
163281
- "underline": false
163282
- },
163283
- on: {
163284
- "click": function click($event) {
163285
- return _vm.handleUploadRemove(attach);
163286
- }
163142
+ "icon-class": "wjzx_downcopy"
163287
163143
  }
163288
- }, [_c('el-tooltip', {
163144
+ }), _vm._v(" " + _vm._s(_vm.saveasBtnName) + " ")], 1) : _vm._e()];
163145
+ })], 2) : _vm._e(), _vm._l(_vm.attachments.filter(function (obj) {
163146
+ return obj.fileType === _vm.attachsType;
163147
+ }), function (attach, index) {
163148
+ return _c('el-row', {
163149
+ key: index,
163150
+ staticClass: "attach-row",
163289
163151
  attrs: {
163290
- "content": _vm.$tx('pageBtns.del', '删除')
163152
+ "align": "middle"
163291
163153
  }
163292
- }, [_c('svg-icon', {
163154
+ }, [_c('el-col', {
163293
163155
  staticStyle: {
163294
- "color": "red"
163156
+ "overflow": "hidden",
163157
+ "display": "flex"
163295
163158
  },
163296
163159
  attrs: {
163297
- "icon-class": "remove"
163160
+ "span": "24"
163298
163161
  }
163299
- })], 1)], 1), _c('el-link', {
163300
- directives: [{
163301
- name: "show",
163302
- rawName: "v-show",
163303
- value: attach.canDownload !== 0,
163304
- expression: "attach.canDownload !== 0"
163305
- }],
163306
- attrs: {
163307
- "title": '下载'
163308
- },
163309
- on: {
163310
- "click": function click($event) {
163311
- return _vm.handleOneFileDownload(attach);
163162
+ }, [_vm._t("attachment", function () {
163163
+ return [_vm.attachments.filter(function (obj) {
163164
+ return obj.fileType === _vm.attachsType;
163165
+ }).length > 1 ? _c('el-checkbox', {
163166
+ staticStyle: {
163167
+ "margin-right": "5px"
163168
+ },
163169
+ attrs: {
163170
+ "name": "checkbox"
163171
+ },
163172
+ on: {
163173
+ "change": _vm.attachCheckedChange
163174
+ },
163175
+ model: {
163176
+ value: attach.checked,
163177
+ callback: function callback($$v) {
163178
+ _vm.$set(attach, "checked", $$v);
163179
+ },
163180
+ expression: "attach.checked"
163312
163181
  }
163313
- }
163314
- }, [_c('i', {
163315
- class: 'el-icon-download',
163316
- staticStyle: {
163317
- "font-size": "16px",
163318
- "color": "#409eff"
163319
- }
163320
- })])], 1), _c('span', {
163321
- staticStyle: {
163322
- "color": "#a7a7a7",
163323
- "float": "right"
163324
- }
163325
- }, [_vm._v(_vm._s(attach.uploadTime))])]) : _c('div', {
163326
- staticStyle: {
163327
- "width": "calc(100% - 22px)",
163328
- "float": "left"
163329
- }
163330
- }, [_c('div', {
163331
- staticStyle: {
163332
- "line-height": "21px",
163333
- "width": "100%"
163334
- }
163335
- }, [_c('div', {
163336
- staticClass: "attach-name",
163337
- staticStyle: {
163338
- "float": "left",
163339
- "max-width": "calc(100% - 113px)"
163340
- }
163341
- }, [_c('span', {
163342
- staticStyle: {
163343
- "display": "block"
163344
- }
163345
- }, [_vm._v(_vm._s(attach.fileName))])]), _c('span', {
163346
- staticStyle: {
163347
- "color": "#a7a7a7",
163348
- "padding-left": "5px",
163349
- "padding-right": "5px"
163350
- }
163351
- }, [_vm._v(_vm._s(attach.fileSize))]), _c('el-link', {
163352
- directives: [{
163353
- name: "show",
163354
- rawName: "v-show",
163355
- value: attach.file.progress == 0 && _vm.canReupload,
163356
- expression: "attach.file.progress == 0 && canReupload"
163357
- }],
163358
- attrs: {
163359
- "underline": false
163360
- },
163361
- on: {
163362
- "click": function click($event) {
163363
- return _vm.handleReupload(attach);
163182
+ }) : _vm._e(), _c('div', {
163183
+ staticStyle: {
163184
+ "font-size": "16px",
163185
+ "margin-right": "5px"
163186
+ },
163187
+ style: {
163188
+ 'line-height': !attach.id ? '22px' : ''
163364
163189
  }
163365
- }
163366
- }, [_c('el-tooltip', {
163367
- attrs: {
163368
- "content": _vm.$tx('ecwapp.Common.reUpload', '重新上传')
163369
- }
163370
- }, [_c('i', {
163371
- class: 'el-icon-upload2',
163372
- staticStyle: {
163373
- "font-size": "18px",
163374
- "margin-top": "1px",
163375
- "margin-left": "5px"
163376
- }
163377
- })])], 1), _c('el-link', {
163378
- directives: [{
163379
- name: "show",
163380
- rawName: "v-show",
163381
- value: attach.file.progress == 0,
163382
- expression: "attach.file.progress == 0"
163383
- }],
163384
- staticStyle: {
163385
- "margin-top": "-5px"
163386
- },
163387
- attrs: {
163388
- "underline": false
163389
- },
163390
- on: {
163391
- "click": function click($event) {
163392
- return _vm.handleUploadRemove(attach);
163190
+ }, [_c('img', {
163191
+ staticStyle: {
163192
+ "width": "12px"
163193
+ },
163194
+ attrs: {
163195
+ "src": _vm.imgUrl(attach),
163196
+ "alt": ""
163393
163197
  }
163394
- }
163395
- }, [_c('el-tooltip', {
163396
- attrs: {
163397
- "content": _vm.$tx('pageBtns.del', '删除')
163398
- }
163399
- }, [_c('svg-icon', {
163400
- staticStyle: {
163401
- "color": "red"
163402
- },
163403
- attrs: {
163404
- "icon-class": "remove"
163405
- }
163406
- })], 1)], 1)], 1), !attach.file.message && attach.file.progress > 0 ? _c('el-progress', {
163407
- staticStyle: {
163408
- "margin": "0px auto"
163409
- },
163410
- attrs: {
163411
- "color": '#409eff',
163412
- "percentage": attach.file.progress,
163413
- "status": attach.file.progress == 100 ? 'success' : ''
163414
- }
163415
- }) : _vm._e(), attach.file.message ? _c('div', {
163416
- staticClass: "attach-name",
163417
- staticStyle: {
163418
- "color": "#ff0000",
163419
- "width": "100%",
163420
- "overflow": "hidden"
163421
- }
163422
- }, [_c('span', [_vm._v(_vm._s(attach.file.message))])]) : _vm._e()], 1)], 1)], 1);
163198
+ })]), attach.id ? _c('div', {
163199
+ staticStyle: {
163200
+ "width": "calc(100% - 22px)",
163201
+ "float": "left"
163202
+ }
163203
+ }, [_c('div', {
163204
+ staticStyle: {
163205
+ "float": "left",
163206
+ "width": "calc(100% - 180px)"
163207
+ }
163208
+ }, [_c('el-link', {
163209
+ staticClass: "attach-name",
163210
+ staticStyle: {
163211
+ "margin-top": "-3px",
163212
+ "max-width": "calc(100% - 100px)"
163213
+ },
163214
+ attrs: {
163215
+ "type": "primary",
163216
+ "title": attach.fileName
163217
+ },
163218
+ on: {
163219
+ "click": function click($event) {
163220
+ return _vm.handleUploadPreview(attach);
163221
+ }
163222
+ }
163223
+ }, [_vm._v(_vm._s(attach.fileName))]), _c('span', {
163224
+ staticStyle: {
163225
+ "color": "#a7a7a7",
163226
+ "padding-left": "5px",
163227
+ "padding-right": "5px"
163228
+ }
163229
+ }, [_vm._v(_vm._s(attach.fileSize))]), _vm.curTN.tnCanEdit === 1 && _vm.onlineEditor !== '' ? _c('el-link', {
163230
+ staticStyle: {
163231
+ "margin-right": "5px"
163232
+ },
163233
+ attrs: {
163234
+ "underline": false,
163235
+ "disabled": !attach.canModify
163236
+ },
163237
+ on: {
163238
+ "click": function click($event) {
163239
+ return _vm.handleOpenEditor(attach);
163240
+ }
163241
+ }
163242
+ }, [_c('el-tooltip', {
163243
+ attrs: {
163244
+ "disabled": !attach.canModify,
163245
+ "content": _vm.$tx('pageBtns.edit', '编辑')
163246
+ }
163247
+ }, [_c('i', {
163248
+ class: 'el-icon-edit',
163249
+ staticStyle: {
163250
+ "font-size": "16px"
163251
+ }
163252
+ })])], 1) : _vm._e(), _vm.setReaderScope && _vm.curTN.userName && _vm.curTN.tnCanEdit === 1 && attach.uploadBy === _vm.curTN.userName ? _c('el-link', {
163253
+ attrs: {
163254
+ "underline": false
163255
+ },
163256
+ on: {
163257
+ "click": function click($event) {
163258
+ return _vm.showReaderScopeDialog(attach);
163259
+ }
163260
+ }
163261
+ }, [_c('el-tooltip', {
163262
+ attrs: {
163263
+ "content": _vm.$tx('ecwapp.Common.readerScope', '查阅权限')
163264
+ }
163265
+ }, [_c('i', {
163266
+ class: 'el-icon-view',
163267
+ staticStyle: {
163268
+ "font-size": "18px",
163269
+ "margin-top": "1px",
163270
+ "margin-left": "5px"
163271
+ }
163272
+ })])], 1) : _vm._e(), _c('el-link', {
163273
+ directives: [{
163274
+ name: "show",
163275
+ rawName: "v-show",
163276
+ value: _vm.curTN.tnCanEdit === 1 && _vm.canReupload,
163277
+ expression: "curTN.tnCanEdit === 1 && canReupload"
163278
+ }],
163279
+ staticStyle: {
163280
+ "margin-right": "5px"
163281
+ },
163282
+ attrs: {
163283
+ "underline": false
163284
+ },
163285
+ on: {
163286
+ "click": function click($event) {
163287
+ return _vm.handleReupload(attach);
163288
+ }
163289
+ }
163290
+ }, [_c('el-tooltip', {
163291
+ attrs: {
163292
+ "content": _vm.$tx('ecwapp.Common.reUpload', '重新上传')
163293
+ }
163294
+ }, [_c('i', {
163295
+ class: 'el-icon-upload2',
163296
+ staticStyle: {
163297
+ "font-size": "18px",
163298
+ "margin-top": "1px",
163299
+ "margin-left": "5px"
163300
+ }
163301
+ })])], 1), _c('el-link', {
163302
+ directives: [{
163303
+ name: "show",
163304
+ rawName: "v-show",
163305
+ value: _vm.curTN.tnCanEdit === 1 && _vm.canDelete,
163306
+ expression: "curTN.tnCanEdit === 1 && canDelete"
163307
+ }],
163308
+ attrs: {
163309
+ "underline": false
163310
+ },
163311
+ on: {
163312
+ "click": function click($event) {
163313
+ return _vm.handleUploadRemove(attach);
163314
+ }
163315
+ }
163316
+ }, [_c('el-tooltip', {
163317
+ attrs: {
163318
+ "content": _vm.$tx('pageBtns.del', '删除')
163319
+ }
163320
+ }, [_c('svg-icon', {
163321
+ staticStyle: {
163322
+ "color": "red"
163323
+ },
163324
+ attrs: {
163325
+ "icon-class": "remove"
163326
+ }
163327
+ })], 1)], 1), _c('el-link', {
163328
+ directives: [{
163329
+ name: "show",
163330
+ rawName: "v-show",
163331
+ value: attach.canDownload !== 0,
163332
+ expression: "attach.canDownload !== 0"
163333
+ }],
163334
+ attrs: {
163335
+ "title": '下载'
163336
+ },
163337
+ on: {
163338
+ "click": function click($event) {
163339
+ return _vm.handleOneFileDownload(attach);
163340
+ }
163341
+ }
163342
+ }, [_c('i', {
163343
+ class: 'el-icon-download',
163344
+ staticStyle: {
163345
+ "font-size": "16px",
163346
+ "color": "#409eff"
163347
+ }
163348
+ })])], 1), _c('span', {
163349
+ staticStyle: {
163350
+ "color": "#a7a7a7",
163351
+ "float": "right"
163352
+ }
163353
+ }, [_vm._v(_vm._s(attach.uploadTime))])]) : _c('div', {
163354
+ staticStyle: {
163355
+ "width": "calc(100% - 22px)",
163356
+ "float": "left"
163357
+ }
163358
+ }, [_c('div', {
163359
+ staticStyle: {
163360
+ "line-height": "21px",
163361
+ "width": "100%"
163362
+ }
163363
+ }, [_c('div', {
163364
+ staticClass: "attach-name",
163365
+ staticStyle: {
163366
+ "float": "left",
163367
+ "max-width": "calc(100% - 113px)"
163368
+ }
163369
+ }, [_c('span', {
163370
+ staticStyle: {
163371
+ "display": "block"
163372
+ }
163373
+ }, [_vm._v(_vm._s(attach.fileName))])]), _c('span', {
163374
+ staticStyle: {
163375
+ "color": "#a7a7a7",
163376
+ "padding-left": "5px",
163377
+ "padding-right": "5px"
163378
+ }
163379
+ }, [_vm._v(_vm._s(attach.fileSize))]), _c('el-link', {
163380
+ directives: [{
163381
+ name: "show",
163382
+ rawName: "v-show",
163383
+ value: attach.file.progress == 0 && _vm.canReupload,
163384
+ expression: "attach.file.progress == 0 && canReupload"
163385
+ }],
163386
+ attrs: {
163387
+ "underline": false
163388
+ },
163389
+ on: {
163390
+ "click": function click($event) {
163391
+ return _vm.handleReupload(attach);
163392
+ }
163393
+ }
163394
+ }, [_c('el-tooltip', {
163395
+ attrs: {
163396
+ "content": _vm.$tx('ecwapp.Common.reUpload', '重新上传')
163397
+ }
163398
+ }, [_c('i', {
163399
+ class: 'el-icon-upload2',
163400
+ staticStyle: {
163401
+ "font-size": "18px",
163402
+ "margin-top": "1px",
163403
+ "margin-left": "5px"
163404
+ }
163405
+ })])], 1), _c('el-link', {
163406
+ directives: [{
163407
+ name: "show",
163408
+ rawName: "v-show",
163409
+ value: attach.file.progress == 0,
163410
+ expression: "attach.file.progress == 0"
163411
+ }],
163412
+ staticStyle: {
163413
+ "margin-top": "-5px"
163414
+ },
163415
+ attrs: {
163416
+ "underline": false
163417
+ },
163418
+ on: {
163419
+ "click": function click($event) {
163420
+ return _vm.handleUploadRemove(attach);
163421
+ }
163422
+ }
163423
+ }, [_c('el-tooltip', {
163424
+ attrs: {
163425
+ "content": _vm.$tx('pageBtns.del', '删除')
163426
+ }
163427
+ }, [_c('svg-icon', {
163428
+ staticStyle: {
163429
+ "color": "red"
163430
+ },
163431
+ attrs: {
163432
+ "icon-class": "remove"
163433
+ }
163434
+ })], 1)], 1)], 1), !attach.file.message && attach.file.progress > 0 ? _c('el-progress', {
163435
+ staticStyle: {
163436
+ "margin": "0px auto"
163437
+ },
163438
+ attrs: {
163439
+ "color": '#409eff',
163440
+ "percentage": attach.file.progress,
163441
+ "status": attach.file.progress == 100 ? 'success' : ''
163442
+ }
163443
+ }) : _vm._e(), attach.file.message ? _c('div', {
163444
+ staticClass: "attach-name",
163445
+ staticStyle: {
163446
+ "color": "#ff0000",
163447
+ "width": "100%",
163448
+ "overflow": "hidden"
163449
+ }
163450
+ }, [_c('span', [_vm._v(_vm._s(attach.file.message))])]) : _vm._e()], 1)];
163451
+ })], 2)], 1);
163423
163452
  }), _vm.attachments.filter(function (obj) {
163424
163453
  return obj.fileType === _vm.attachsType;
163425
163454
  }).length == 0 ? _c('el-row', {
163426
163455
  staticClass: "no-attachments"
163427
- }, [_c('el-col', {
163428
- staticStyle: {
163429
- "padding": "15px 0 15px 0"
163430
- },
163431
- attrs: {
163432
- "span": "24"
163433
- }
163434
- }, [_vm._v(" " + _vm._s(_vm.emptyMessage ? _vm.emptyMessage : _vm.$tx('ecwapp.Wflowform.Attachment.noAttachments', '暂无附件')) + " ")])], 1) : _vm._e()], 2), _vm.attachVo ? _c('el-dialog', {
163456
+ }, [_vm._t("no-attachments", function () {
163457
+ return [_c('el-col', {
163458
+ staticStyle: {
163459
+ "padding": "15px 0 15px 0"
163460
+ },
163461
+ attrs: {
163462
+ "span": "24"
163463
+ }
163464
+ }, [_vm._v(" " + _vm._s(_vm.emptyMessage ? _vm.emptyMessage : _vm.$tx('ecwapp.Wflowform.Attachment.noAttachments', '暂无附件')) + " ")])];
163465
+ })], 2) : _vm._e()], 2), _vm.attachVo ? _c('el-dialog', {
163435
163466
  directives: [{
163436
163467
  name: "el-drag-dialog",
163437
163468
  rawName: "v-el-drag-dialog"
@@ -163570,7 +163601,7 @@ var Attachmentvue_type_template_id_ce9bce06_scoped_true_render = function render
163570
163601
  }
163571
163602
  }, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
163572
163603
  };
163573
- var Attachmentvue_type_template_id_ce9bce06_scoped_true_staticRenderFns = [];
163604
+ var Attachmentvue_type_template_id_402a2ed3_scoped_true_staticRenderFns = [];
163574
163605
 
163575
163606
  // EXTERNAL MODULE: ./node_modules/sortablejs/modular/sortable.esm.js
163576
163607
  var sortable_esm = __webpack_require__(10246);
@@ -163831,8 +163862,20 @@ var Attachmentvue_type_script_lang_js_this = null;
163831
163862
  } else {
163832
163863
  return false;
163833
163864
  }
163865
+ },
163866
+ waitUploadColWidth: function waitUploadColWidth() {
163867
+ var width = 180 + 80;
163868
+ if (this.showCanDownloadCol) width + 200;
163869
+ if (this.curTN.tnCanEdit === 1 && this.onlineEditor !== '' || this.showDownloadLink) {
163870
+ if ((this.curTN.tnCanEdit !== 1 || this.onlineEditor === '') && this.showDownloadLink) {
163871
+ width += 80;
163872
+ } else {
163873
+ width += 100;
163874
+ }
163875
+ }
163876
+ return width + 'px';
163834
163877
  }
163835
- }, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
163878
+ }, (0,vuex_esm/* mapGetters */.L8)(['loginUser', 'maxFileSize'])),
163836
163879
  watch: {
163837
163880
  uploadAttach: function uploadAttach(val) {
163838
163881
  var _this4 = this;
@@ -164605,7 +164648,7 @@ var Attachmentvue_type_script_lang_js_this = null;
164605
164648
  if (extName === '' || (this.accept + ',').indexOf(extName + ',') === -1) {
164606
164649
  this.$message({
164607
164650
  message: this.$tx('ecwapp.Basicform.unsupportedMessage', '不支持的文件格式!'),
164608
- type: 'warning'
164651
+ type: 'error'
164609
164652
  });
164610
164653
  fileList.remove(file);
164611
164654
  return;
@@ -164653,7 +164696,7 @@ var Attachmentvue_type_script_lang_js_this = null;
164653
164696
  var _this = this;
164654
164697
  return new Promise( /*#__PURE__*/function () {
164655
164698
  var _ref = Attachmentvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Attachmentvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(resole) {
164656
- var uploadAttach, forwardAttachs, uploadAttachFile, _uploadAttachFile, bodyfile, resp, uploadBodyfile, fileName, extName, docEditMode, key, hasAttachment;
164699
+ var uploadAttach, maxFileSizeStr, forwardAttachs, uploadAttachFile, _uploadAttachFile, bodyfile, resp, uploadBodyfile, fileName, extName, docEditMode, key, hasAttachment;
164657
164700
  return Attachmentvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
164658
164701
  while (1) switch (_context4.prev = _context4.next) {
164659
164702
  case 0:
@@ -164664,12 +164707,17 @@ var Attachmentvue_type_script_lang_js_this = null;
164664
164707
  while (1) switch (_context3.prev = _context3.next) {
164665
164708
  case 0:
164666
164709
  file = attach.file;
164710
+ _this.$set(file, 'progress', 1);
164711
+ if (attach.uploadIndex !== undefined) {
164712
+ _this.attachments.splice(attach.uploadIndex, 1, attach);
164713
+ }
164667
164714
  config = {
164668
164715
  onUploadProgress: function onUploadProgress(progressEvent) {
164669
164716
  var complete = progressEvent.loaded / progressEvent.total * 100 | 0;
164670
164717
  _this.$set(file, 'progress', complete);
164671
- _this.$set(attach, 'file', file);
164672
- _this.$forceUpdate();
164718
+ if (attach.uploadIndex !== undefined) {
164719
+ _this.attachments.splice(attach.uploadIndex, 1, attach);
164720
+ }
164673
164721
  }
164674
164722
  };
164675
164723
  module = $scope.wfInstance.module;
@@ -164697,12 +164745,17 @@ var Attachmentvue_type_script_lang_js_this = null;
164697
164745
  if (_this.$vnode.context.moduleInfo && _this.$vnode.context.moduleInfo.uploadAttach) {
164698
164746
  uploadUrl = _this.$vnode.context.moduleInfo.uploadAttach;
164699
164747
  }
164700
- _context3.next = 10;
164748
+
164749
+ //开始上传
164750
+ _context3.next = 12;
164701
164751
  return _this.$wfEngine.upload(_this, uploadUrl, file.raw, reqData, config);
164702
- case 10:
164752
+ case 12:
164703
164753
  uploadRst = _context3.sent;
164754
+ if (attach.uploadIndex !== undefined) {
164755
+ _this.attachments.splice(attach.uploadIndex, 1, attach);
164756
+ }
164704
164757
  return _context3.abrupt("return", uploadRst);
164705
- case 12:
164758
+ case 15:
164706
164759
  case "end":
164707
164760
  return _context3.stop();
164708
164761
  }
@@ -164721,6 +164774,7 @@ var Attachmentvue_type_script_lang_js_this = null;
164721
164774
  }
164722
164775
  });
164723
164776
  }
164777
+ maxFileSizeStr = (0,utils/* formatFileSize */.v7)(_this16.maxFileSize);
164724
164778
  forwardAttachs = [];
164725
164779
  _this.attachments.forEach(function (attach, index) {
164726
164780
  if (attach.file != null && !attach.file.complete && attach.uploadIndex === undefined) {
@@ -164728,7 +164782,18 @@ var Attachmentvue_type_script_lang_js_this = null;
164728
164782
  attach.file.message = null;
164729
164783
  attach.file.fileType = attach.fileType || _this16.attachsType;
164730
164784
  attach.uploadIndex = index;
164731
- uploadAttach.push(attach);
164785
+ if (_this16.maxFileSize && _this16.maxFileSize !== -1) {
164786
+ if (attach.file.size > _this16.maxFileSize) {
164787
+ attach.file.message = _this.$tx('ecwapp.Wflowform.Attachment.maxFileSize', {
164788
+ maxFileSize: maxFileSizeStr
164789
+ }, "\u4E0A\u4F20\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u4E0D\u5141\u8BB8\u8D85\u8FC7".concat(maxFileSizeStr));
164790
+ _this.attachments.splice(attach.uploadIndex, 1, attach);
164791
+ } else {
164792
+ uploadAttach.push(attach);
164793
+ }
164794
+ } else {
164795
+ uploadAttach.push(attach);
164796
+ }
164732
164797
  }
164733
164798
  } else if (attach.forward) {
164734
164799
  forwardAttachs.push(attach);
@@ -164742,15 +164807,15 @@ var Attachmentvue_type_script_lang_js_this = null;
164742
164807
 
164743
164808
  // 先上传正文
164744
164809
  if (!($scope.bodyfile && $scope.bodyfile.file !== undefined && $scope.bodyfile.file !== null && $scope.bodyfile.file.progress === 0)) {
164745
- _context4.next = 15;
164810
+ _context4.next = 16;
164746
164811
  break;
164747
164812
  }
164748
164813
  bodyfile = $scope.bodyfile;
164749
164814
  bodyfile.file.message = null;
164750
164815
  bodyfile.file.fileType = bodyfile.fileType || _this16.attachsType;
164751
- _context4.next = 13;
164816
+ _context4.next = 14;
164752
164817
  return uploadAttachFile(bodyfile);
164753
- case 13:
164818
+ case 14:
164754
164819
  resp = _context4.sent;
164755
164820
  if (resp.code === 'success') {
164756
164821
  bodyfile.file.complete = true;
@@ -164759,6 +164824,14 @@ var Attachmentvue_type_script_lang_js_this = null;
164759
164824
  $scope.attachments.push(attach);
164760
164825
  if (attach.fileName.indexOf('.pdf') || attach.fileName.indexOf('.ofd')) {
164761
164826
  // $scope.$set($scope, 'bodyfile', attach),浏览器刷新
164827
+ if (attach.fileName.indexOf('SignedFile_') === 0) {
164828
+ attach.bodyFileName = attach.fileName;
164829
+ if (attach.fileName.indexOf(_this16.$vnode.context.wfInstance.bodyDocId) !== -1) {
164830
+ attach.fileName = '文件正文' + attach.fileName.substring(attach.fileName.lastIndexOf('.'));
164831
+ } else {
164832
+ attach.fileName = attach.fileName.split('SignedFile_')[1];
164833
+ }
164834
+ }
164762
164835
  uploadBodyfile = attach;
164763
164836
  $scope.bodyfile = attach;
164764
164837
  if (typeof $scope.vo.flBodyFilename !== 'undefined') {
@@ -164832,7 +164905,7 @@ var Attachmentvue_type_script_lang_js_this = null;
164832
164905
  bodyfile.file.message = resp.message;
164833
164906
  if (uploadAttach.length === 0) resole(resp);
164834
164907
  }
164835
- case 15:
164908
+ case 16:
164836
164909
  if (uploadAttach.length === 0) {
164837
164910
  hasAttachment = _this.attachments.some(function (attach) {
164838
164911
  return attach.fileType === _this.attachsType;
@@ -164909,7 +164982,7 @@ var Attachmentvue_type_script_lang_js_this = null;
164909
164982
  };
164910
164983
  }());
164911
164984
  }
164912
- case 16:
164985
+ case 17:
164913
164986
  case "end":
164914
164987
  return _context4.stop();
164915
164988
  }
@@ -165066,9 +165139,9 @@ var Attachmentvue_type_script_lang_js_this = null;
165066
165139
  });
165067
165140
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
165068
165141
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
165069
- // 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=ce9bce06&prod&scoped=true&lang=scss
165070
- var Attachmentvue_type_style_index_0_id_ce9bce06_prod_scoped_true_lang_scss = __webpack_require__(84044);
165071
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=ce9bce06&prod&scoped=true&lang=scss
165142
+ // 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/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=402a2ed3&prod&scoped=true&lang=scss
165143
+ var Attachmentvue_type_style_index_0_id_402a2ed3_prod_scoped_true_lang_scss = __webpack_require__(19840);
165144
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=402a2ed3&prod&scoped=true&lang=scss
165072
165145
 
165073
165146
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/Attachment.vue
165074
165147
 
@@ -165081,18 +165154,18 @@ var Attachmentvue_type_style_index_0_id_ce9bce06_prod_scoped_true_lang_scss = __
165081
165154
 
165082
165155
  var Attachment_component = (0,componentNormalizer/* default */.A)(
165083
165156
  src_Attachmentvue_type_script_lang_js,
165084
- Attachmentvue_type_template_id_ce9bce06_scoped_true_render,
165085
- Attachmentvue_type_template_id_ce9bce06_scoped_true_staticRenderFns,
165157
+ Attachmentvue_type_template_id_402a2ed3_scoped_true_render,
165158
+ Attachmentvue_type_template_id_402a2ed3_scoped_true_staticRenderFns,
165086
165159
  false,
165087
165160
  null,
165088
- "ce9bce06",
165161
+ "402a2ed3",
165089
165162
  null
165090
165163
 
165091
165164
  )
165092
165165
 
165093
165166
  /* harmony default export */ var Attachment = (Attachment_component.exports);
165094
- ;// 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/ecwapp/Wflowform/src/BodyFile.vue?vue&type=template&id=23ae9f44&scoped=true
165095
- var BodyFilevue_type_template_id_23ae9f44_scoped_true_render = function render() {
165167
+ ;// 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/ecwapp/Wflowform/src/BodyFile.vue?vue&type=template&id=539379b5&scoped=true
165168
+ var BodyFilevue_type_template_id_539379b5_scoped_true_render = function render() {
165096
165169
  var _vm = this,
165097
165170
  _c = _vm._self._c;
165098
165171
  return _c('div', [_vm.bodyFileShow === 'sidebar-area' ? _c('div', {
@@ -165260,11 +165333,11 @@ var BodyFilevue_type_template_id_23ae9f44_scoped_true_render = function render()
165260
165333
  }, "\u8BF7\u9009\u62E9".concat(_vm.bodyFileTitle))
165261
165334
  },
165262
165335
  model: {
165263
- value: _vm.flBodyfile.file.name,
165336
+ value: _vm.flBodyfile.fileName,
165264
165337
  callback: function callback($$v) {
165265
- _vm.$set(_vm.flBodyfile.file, "name", $$v);
165338
+ _vm.$set(_vm.flBodyfile, "fileName", $$v);
165266
165339
  },
165267
- expression: "flBodyfile.file.name"
165340
+ expression: "flBodyfile.fileName"
165268
165341
  }
165269
165342
  }, [_c('el-button', {
165270
165343
  staticClass: "uploadBodyBtn",
@@ -165603,12 +165676,12 @@ var BodyFilevue_type_template_id_23ae9f44_scoped_true_render = function render()
165603
165676
  "command": 'download_' + attach.id
165604
165677
  }
165605
165678
  }, [_vm._v("下载")])], 1)], 1)], 1)], 1)], 1);
165606
- }), 0)], 1)]) : _vm._e(), _c('el-dialog', {
165679
+ }), 0)], 1)]) : _vm._e(), _vm.isPdfFileStampType ? _c('el-dialog', {
165607
165680
  attrs: {
165608
165681
  "title": _vm.$tx('ecwapp.Wflowform.BodyFile.uploadStamped', '上传盖章文件'),
165609
165682
  "visible": _vm.isPdfFileStampType,
165610
- "width": '1000px',
165611
- "before-close": _vm.handleClose
165683
+ "close-on-click-modal": false,
165684
+ "width": '1000px'
165612
165685
  },
165613
165686
  on: {
165614
165687
  "update:visible": function updateVisible($event) {
@@ -165696,7 +165769,7 @@ var BodyFilevue_type_template_id_23ae9f44_scoped_true_render = function render()
165696
165769
  slot: "append"
165697
165770
  })], 1)], 1)], 1)];
165698
165771
  }
165699
- }])
165772
+ }], null, false, 280928540)
165700
165773
  })], 1)]), _c('tr', [_c('td', {
165701
165774
  directives: [{
165702
165775
  name: "text-lbl",
@@ -165770,9 +165843,9 @@ var BodyFilevue_type_template_id_23ae9f44_scoped_true_render = function render()
165770
165843
  on: {
165771
165844
  "click": _vm.StampClick
165772
165845
  }
165773
- }, [_vm._v("确 定")])], 1)], 1)], 1);
165846
+ }, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
165774
165847
  };
165775
- var BodyFilevue_type_template_id_23ae9f44_scoped_true_staticRenderFns = [];
165848
+ var BodyFilevue_type_template_id_539379b5_scoped_true_staticRenderFns = [];
165776
165849
 
165777
165850
  ;// 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/ecwapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
165778
165851
  function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_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; }, BodyFilevue_type_script_lang_js_typeof(o); }
@@ -166161,6 +166234,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166161
166234
  var docEditMode = this.$vnode.context.wfInstance.passenger.docEditMode;
166162
166235
  var haveDoc = this.$vnode.context.wfInstance.haveDoc;
166163
166236
  var signedFileName = this.$vnode.context.vo.signedFileName;
166237
+ this.flBodysignedFile.fileName = '';
166164
166238
  if (docEditMode === 'RedTitle') {
166165
166239
  if (haveDoc === 2) {
166166
166240
  if (signedFileName && signedFileName !== null && signedFileName !== '') {
@@ -166200,11 +166274,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166200
166274
  this.isPdfFileStampType = true;
166201
166275
  }
166202
166276
  },
166203
- handleClose: function handleClose(done) {
166204
- this.$confirm(this.$tx('ecwapp.Wflowform.BodyFile.sureToClose', '确认关闭?')).then(function (_) {
166205
- done();
166206
- }).catch(function (_) {});
166207
- },
166208
166277
  handleUploadsignedFile: function handleUploadsignedFile(file, fileList) {
166209
166278
  var extName = file.name.substring(file.name.lastIndexOf('.')).toLowerCase();
166210
166279
  if (extName !== '.pdf') {
@@ -166222,13 +166291,11 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166222
166291
  }
166223
166292
  }
166224
166293
  }
166225
- this.flBodysignedFile.fileName = file.name;
166226
166294
  this.flBodyfile = {
166227
166295
  file: {
166228
166296
  name: ''
166229
166297
  }
166230
166298
  }; // 上传盖章文件载荷
166231
- console.log(this.bodyfile);
166232
166299
  var attach = {};
166233
166300
  attach.fileName = file.name;
166234
166301
  attach.fileSize = (0,utils/* formatFileSize */.v7)(file.size);
@@ -166236,14 +166303,12 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166236
166303
  attach.uploadBy = this.loginUser.personName;
166237
166304
  attach.uploadTime = '待上传';
166238
166305
  attach.file = file;
166239
- attach.file.name = 'SignedFile_' + this.$vnode.context.wfInstance.bodyDocId + extName;
166306
+ attach.file.name = 'SignedFile_' + file.name;
166240
166307
  attach.checked = false;
166241
- //this.$vnode.context.vo.signedFileName = 'SignedFile_' + this.$vnode.context.wfInstance.bodyDocId + extName
166242
- //this.$vnode.context.signedFileName = this.$vnode.context.vo.signedFileName
166243
166308
  file.progress = 0;
166244
166309
  this.haveFile = true;
166245
- this.flBodyfile = attach;
166246
- this.$vnode.context.bodyfile = attach;
166310
+ //this.flBodyfile = attach
166311
+ this.flBodysignedFile = attach;
166247
166312
  console.log('上传盖章文件', this.bodyfile);
166248
166313
  },
166249
166314
  StampClick: function StampClick() {
@@ -166261,21 +166326,23 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166261
166326
  case 3:
166262
166327
  _this6.$bus.emit('showDoingDialog', _this6.$tx('ecwapp.Wflowform.BodyFile.uploadingStamped', '正在上传盖章文件...'));
166263
166328
  _context2.prev = 4;
166264
- _context2.next = 7;
166329
+ _this6.$vnode.context.bodyfile = _this6.flBodysignedFile;
166330
+ _this6.$vnode.context.vo.signedFileName = attach.file.name;
166331
+ _context2.next = 9;
166265
166332
  return _this6.$vnode.context.btnSubmitClick('AutoSave');
166266
- case 7:
166333
+ case 9:
166267
166334
  _this6.isPdfFileStampType = false;
166268
- _context2.next = 13;
166335
+ _context2.next = 15;
166269
166336
  break;
166270
- case 10:
166271
- _context2.prev = 10;
166337
+ case 12:
166338
+ _context2.prev = 12;
166272
166339
  _context2.t0 = _context2["catch"](4);
166273
166340
  console.error(_context2.t0);
166274
- case 13:
166341
+ case 15:
166275
166342
  case "end":
166276
166343
  return _context2.stop();
166277
166344
  }
166278
- }, _callee2, null, [[4, 10]]);
166345
+ }, _callee2, null, [[4, 12]]);
166279
166346
  }))();
166280
166347
  },
166281
166348
  viewHistoryfile: function viewHistoryfile(file) {
@@ -166369,9 +166436,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
166369
166436
  });
166370
166437
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
166371
166438
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
166372
- // 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/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=23ae9f44&prod&scoped=true&lang=scss
166373
- var BodyFilevue_type_style_index_0_id_23ae9f44_prod_scoped_true_lang_scss = __webpack_require__(14542);
166374
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=23ae9f44&prod&scoped=true&lang=scss
166439
+ // 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/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=539379b5&prod&scoped=true&lang=scss
166440
+ var BodyFilevue_type_style_index_0_id_539379b5_prod_scoped_true_lang_scss = __webpack_require__(47277);
166441
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=539379b5&prod&scoped=true&lang=scss
166375
166442
 
166376
166443
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue
166377
166444
 
@@ -166384,11 +166451,11 @@ var BodyFilevue_type_style_index_0_id_23ae9f44_prod_scoped_true_lang_scss = __we
166384
166451
 
166385
166452
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
166386
166453
  src_BodyFilevue_type_script_lang_js,
166387
- BodyFilevue_type_template_id_23ae9f44_scoped_true_render,
166388
- BodyFilevue_type_template_id_23ae9f44_scoped_true_staticRenderFns,
166454
+ BodyFilevue_type_template_id_539379b5_scoped_true_render,
166455
+ BodyFilevue_type_template_id_539379b5_scoped_true_staticRenderFns,
166389
166456
  false,
166390
166457
  null,
166391
- "23ae9f44",
166458
+ "539379b5",
166392
166459
  null
166393
166460
 
166394
166461
  )