ecinc-cloud-wappaio 9.6.83 → 9.6.84

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.
@@ -42006,7 +42006,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".img-view-dialog[data-v-208a9735]{posi
42006
42006
 
42007
42007
  /***/ }),
42008
42008
 
42009
- /***/ 70553:
42009
+ /***/ 53490:
42010
42010
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
42011
42011
 
42012
42012
  "use strict";
@@ -42020,7 +42020,7 @@ __webpack_require__.r(__webpack_exports__);
42020
42020
 
42021
42021
  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()));
42022
42022
  // Module
42023
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-aa2436de] .el-dialog__body{min-height:500px}[data-v-aa2436de] .el-dialog__body .handwritingIdea{width:100px}[data-v-aa2436de] .el-table__row .cell{line-height:18px;white-space:pre-wrap}[data-v-aa2436de] .el-table__row td{padding:5px 0}[data-v-aa2436de] .el-table__row .el-checkbox__label{display:none}.el-table-toolbar[data-v-aa2436de]{margin:0 0 10px 0}.el-table-toolbar .el-row[data-v-aa2436de]{height:32px;line-height:32px}.el-table-toolbar-right[data-v-aa2436de]{text-align:right}.el-table-toolbar-right[data-v-aa2436de] .el-checkbox__input+.el-checkbox__label{color:inherit;margin-right:10px}", ""]);
42023
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-23e346d4] .el-dialog__body{min-height:500px}[data-v-23e346d4] .el-dialog__body .handwritingIdea{width:100px}[data-v-23e346d4] .el-table__row .cell{line-height:18px;white-space:pre-wrap}[data-v-23e346d4] .el-table__row td{padding:5px 0}[data-v-23e346d4] .el-table__row .el-checkbox__label{display:none}.el-table-toolbar[data-v-23e346d4]{margin:0 0 10px 0}.el-table-toolbar .el-row[data-v-23e346d4]{height:32px;line-height:32px}.el-table-toolbar-right[data-v-23e346d4]{text-align:right}.el-table-toolbar-right[data-v-23e346d4] .el-checkbox__input+.el-checkbox__label{color:inherit;margin-right:10px}", ""]);
42024
42024
  // Exports
42025
42025
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
42026
42026
 
@@ -42195,7 +42195,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-8ad32f84] .todo-row .cell{line
42195
42195
 
42196
42196
  /***/ }),
42197
42197
 
42198
- /***/ 38123:
42198
+ /***/ 57729:
42199
42199
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
42200
42200
 
42201
42201
  "use strict";
@@ -42209,7 +42209,7 @@ __webpack_require__.r(__webpack_exports__);
42209
42209
 
42210
42210
  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()));
42211
42211
  // Module
42212
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1298817d] .el-dialog__body{min-height:400px!important}.el-icon-check[data-v-1298817d],.el-icon-loading[data-v-1298817d]{font-size:20px;font-weight:900}.el-icon-check[data-v-1298817d]{color:green}.el-icon-close[data-v-1298817d]{color:red;font-size:20px;font-weight:900}", ""]);
42212
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-287b9428] .el-dialog__body{min-height:400px!important}.el-icon-check[data-v-287b9428],.el-icon-loading[data-v-287b9428]{font-size:20px;font-weight:900}.el-icon-check[data-v-287b9428]{color:green}.el-icon-close[data-v-287b9428]{color:red;font-size:20px;font-weight:900}", ""]);
42213
42213
  // Exports
42214
42214
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
42215
42215
 
@@ -150671,19 +150671,19 @@ var update = add("116b361c", content, true, {"sourceMap":false,"shadowMode":fals
150671
150671
 
150672
150672
  /***/ }),
150673
150673
 
150674
- /***/ 61207:
150674
+ /***/ 2212:
150675
150675
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
150676
150676
 
150677
150677
  // style-loader: Adds some css to the DOM by adding a <style> tag
150678
150678
 
150679
150679
  // load the styles
150680
- var content = __webpack_require__(70553);
150680
+ var content = __webpack_require__(53490);
150681
150681
  if(content.__esModule) content = content.default;
150682
150682
  if(typeof content === 'string') content = [[module.id, content, '']];
150683
150683
  if(content.locals) module.exports = content.locals;
150684
150684
  // add the styles to the DOM
150685
150685
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
150686
- var update = add("c7a88002", content, true, {"sourceMap":false,"shadowMode":false});
150686
+ var update = add("44272338", content, true, {"sourceMap":false,"shadowMode":false});
150687
150687
 
150688
150688
  /***/ }),
150689
150689
 
@@ -150815,19 +150815,19 @@ var update = add("3f6fc94d", content, true, {"sourceMap":false,"shadowMode":fals
150815
150815
 
150816
150816
  /***/ }),
150817
150817
 
150818
- /***/ 27665:
150818
+ /***/ 35111:
150819
150819
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
150820
150820
 
150821
150821
  // style-loader: Adds some css to the DOM by adding a <style> tag
150822
150822
 
150823
150823
  // load the styles
150824
- var content = __webpack_require__(38123);
150824
+ var content = __webpack_require__(57729);
150825
150825
  if(content.__esModule) content = content.default;
150826
150826
  if(typeof content === 'string') content = [[module.id, content, '']];
150827
150827
  if(content.locals) module.exports = content.locals;
150828
150828
  // add the styles to the DOM
150829
150829
  var add = (__webpack_require__(99548)/* ["default"] */ .A)
150830
- var update = add("c37b5d5a", content, true, {"sourceMap":false,"shadowMode":false});
150830
+ var update = add("34169102", content, true, {"sourceMap":false,"shadowMode":false});
150831
150831
 
150832
150832
  /***/ }),
150833
150833
 
@@ -154786,31 +154786,6 @@ __webpack_require__.d(common_utils_namespaceObject, {
154786
154786
  origin: function() { return origin; }
154787
154787
  });
154788
154788
 
154789
- // NAMESPACE OBJECT: ./packages/ecwapp/Wflowform/index.js
154790
- var Wflowform_namespaceObject = {};
154791
- __webpack_require__.r(Wflowform_namespaceObject);
154792
- __webpack_require__.d(Wflowform_namespaceObject, {
154793
- o3: function() { return Wflowform_Attachment; },
154794
- Nl: function() { return Wflowform_BodyFile; },
154795
- rK: function() { return Wflowform_CommandBar; },
154796
- _k: function() { return Wflowform_HandleIdea; },
154797
- je: function() { return Wflowform_IdeaInputBox; },
154798
- In: function() { return Wflowform_IdeaSignature; },
154799
- pS: function() { return Wflowform_ImgView; },
154800
- eQ: function() { return Wflowform_ModifyWfNodelog; },
154801
- u: function() { return Wflowform_ModifyWflogAddUser; },
154802
- VL: function() { return Wflowform_ModifyWflogIdea; },
154803
- uZ: function() { return Wflowform_ModifyWflogSubmitFile; },
154804
- Dx: function() { return Wflowform_ReplaceFile; },
154805
- J$: function() { return Wflowform_SelectOuterDeputy; },
154806
- nn: function() { return Wflowform_SubmitDialog; },
154807
- jO: function() { return Wflowform_SubmitHandle; },
154808
- aj: function() { return Wflowform_ViewBodyFile; },
154809
- G1: function() { return Wflowform_WfNodelogList; },
154810
- $c: function() { return Wflowform_WflowView; },
154811
- MS: function() { return Wflowform_WriteToReadIdea; }
154812
- });
154813
-
154814
154789
  ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
154815
154790
  /* eslint-disable no-var */
154816
154791
  // This file is imported into lib/wc client bundles.
@@ -185541,8 +185516,8 @@ var ModifyWflogSubmitFile_component = (0,componentNormalizer/* default */.A)(
185541
185516
  )
185542
185517
 
185543
185518
  /* harmony default export */ var ModifyWflogSubmitFile = (ModifyWflogSubmitFile_component.exports);
185544
- ;// 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/ModifyWfNodelog.vue?vue&type=template&id=aa2436de&scoped=true
185545
- var ModifyWfNodelogvue_type_template_id_aa2436de_scoped_true_render = function render() {
185519
+ ;// 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/ModifyWfNodelog.vue?vue&type=template&id=23e346d4&scoped=true
185520
+ var ModifyWfNodelogvue_type_template_id_23e346d4_scoped_true_render = function render() {
185546
185521
  var _vm = this,
185547
185522
  _c = _vm._self._c;
185548
185523
  return _c('div', {
@@ -185922,799 +185897,13 @@ var ModifyWfNodelogvue_type_template_id_aa2436de_scoped_true_render = function r
185922
185897
  }], null, false, 3651880594)
185923
185898
  }) : _vm._e()], 1) : _vm._e()], 1) : _vm._e(), _c('ModifyWflogAddUser'), _c('WflogAddReader'), _c('ModifyWflogSubmitFile'), _c('ModifyWflogIdea'), _c('WriteToReadIdea'), _c('ModifyFormTrace')], 1);
185924
185899
  };
185925
- var ModifyWfNodelogvue_type_template_id_aa2436de_scoped_true_staticRenderFns = [];
185900
+ var ModifyWfNodelogvue_type_template_id_23e346d4_scoped_true_staticRenderFns = [];
185926
185901
 
185927
- ;// 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/WflogAddReader.vue?vue&type=template&id=1298817d&scoped=true
185928
- var WflogAddReadervue_type_template_id_1298817d_scoped_true_render = function render() {
185929
- var _vm = this,
185930
- _c = _vm._self._c;
185931
- return _vm.dialogFormVisible ? _c('el-dialog', {
185932
- directives: [{
185933
- name: "el-drag-dialog",
185934
- rawName: "v-el-drag-dialog"
185935
- }],
185936
- attrs: {
185937
- "visible": _vm.dialogFormVisible,
185938
- "close-on-click-modal": false,
185939
- "destroy-on-close": true,
185940
- "width": "1000px",
185941
- "append-to-body": true,
185942
- "title": _vm.winTitle
185943
- },
185944
- on: {
185945
- "update:visible": function updateVisible($event) {
185946
- _vm.dialogFormVisible = $event;
185947
- },
185948
- "close": _vm.handleDialogClose
185949
- }
185950
- }, [_vm.loading ? _c('div', {
185951
- directives: [{
185952
- name: "loading",
185953
- rawName: "v-loading",
185954
- value: _vm.loading,
185955
- expression: "loading"
185956
- }],
185957
- staticClass: "el-dialog__body"
185958
- }) : _vm._e(), !_vm.loading && !_vm.showTable ? _c('el-table', {
185959
- staticStyle: {
185960
- "width": "100%"
185961
- },
185962
- attrs: {
185963
- "data": _vm.wfItemList,
185964
- "border": "",
185965
- "row-class-name": _vm.rowClassName
185966
- }
185967
- }, [_c('el-table-column', {
185968
- attrs: {
185969
- "label": _vm.$tx('ecwapp.Common.index', '序号'),
185970
- "type": "index",
185971
- "width": "45",
185972
- "align": "center"
185973
- }
185974
- }), _c('el-table-column', {
185975
- attrs: {
185976
- "label": _vm.$tx('ecwapp.Common.fileTitle', '文件标题'),
185977
- "prop": "title"
185978
- }
185979
- }), _c('el-table-column', {
185980
- attrs: {
185981
- "label": _vm.$tx('ecwapp.ecwapp.Common.fileType', '文件类型'),
185982
- "prop": "wfName",
185983
- "width": "140",
185984
- "align": "center"
185985
- }
185986
- }), _c('el-table-column', {
185987
- attrs: {
185988
- "label": _vm.$tx('ecwapp.Common.processingSteps', '处理环节'),
185989
- "prop": "wfNodeName",
185990
- "width": "140",
185991
- "align": "center"
185992
- }
185993
- }), _c('el-table-column', {
185994
- attrs: {
185995
- "label": _vm.$tx('ecwapp.Common.processingStatus', '处理状态'),
185996
- "prop": "limitTime",
185997
- "width": "90",
185998
- "align": "center"
185999
- },
186000
- scopedSlots: _vm._u([{
186001
- key: "default",
186002
- fn: function fn(scope) {
186003
- return [scope.row.icon != undefined ? _c('i', {
186004
- class: 'el-icon-' + scope.row.icon
186005
- }) : _vm._e()];
186006
- }
186007
- }], null, false, 2167969890)
186008
- })], 1) : _vm._e(), !_vm.loading && _vm.showTable ? _c('el-form', {
186009
- staticClass: "form-container"
186010
- }, [_c('div', {
186011
- staticClass: "el-table el-table--fit el-table--border"
186012
- }, [_c('div', {
186013
- staticClass: "el-table__body-wrapper"
186014
- }, [_c('table', {
186015
- staticClass: "el-table__body",
186016
- attrs: {
186017
- "cellspacing": "0",
186018
- "cellpadding": "0",
186019
- "border": "0"
186020
- }
186021
- }, [_c('tbody', [_c('tr', [_c('td', {
186022
- directives: [{
186023
- name: "text-lbl",
186024
- rawName: "v-text-lbl",
186025
- value: 'ecwapp.Common.fileTitle',
186026
- expression: "'ecwapp.Common.fileTitle'"
186027
- }],
186028
- staticClass: "el-table__cell tdlbl tdw17"
186029
- }, [_vm._v("文件标题")]), _c('td', {
186030
- staticClass: "el-table__cell tdcont tdw83",
186031
- attrs: {
186032
- "colspan": "3"
186033
- }
186034
- }, [_vm._v(" " + _vm._s(_vm.wfInstance.title) + " ")])]), _c('tr', [_c('td', {
186035
- staticClass: "el-table__cell tdlbl tdw17"
186036
- }, [_c('span', {
186037
- staticClass: "required"
186038
- }, [_vm._v("*")]), _c('span', {
186039
- directives: [{
186040
- name: "text-lbl",
186041
- rawName: "v-text-lbl",
186042
- value: 'ecwapp.Wflowform.WflogAddReader.readers',
186043
- expression: "'ecwapp.Wflowform.WflogAddReader.readers'"
186044
- }]
186045
- }, [_vm._v("传阅人员")])]), _c('td', {
186046
- staticClass: "el-table__cell tdcont tdw83",
186047
- attrs: {
186048
- "colspan": "3"
186049
- }
186050
- }, [_c('ValidationProvider', {
186051
- ref: "ValidationProvider",
186052
- attrs: {
186053
- "name": _vm.$tx('ecwapp.Wflowform.WflogAddReader.readers', '传阅人员'),
186054
- "rules": "required"
186055
- },
186056
- scopedSlots: _vm._u([{
186057
- key: "default",
186058
- fn: function fn(_ref) {
186059
- var errors = _ref.errors;
186060
- return [_c('el-tooltip', {
186061
- class: {
186062
- 'invalid-field': errors !== undefined && errors[0] !== undefined
186063
- },
186064
- attrs: {
186065
- "disabled": errors === undefined || errors[0] === undefined,
186066
- "content": errors === undefined ? '' : errors[0],
186067
- "popper-class": "error-popper-class",
186068
- "placement": "right-start",
186069
- "effect": "dark"
186070
- }
186071
- }, [_c('el-input', {
186072
- directives: [{
186073
- name: "select-dialog",
186074
- rawName: "v-select-dialog",
186075
- value: _vm.dialogType,
186076
- expression: "dialogType"
186077
- }],
186078
- attrs: {
186079
- "multiple": true,
186080
- "placeholder": _vm.$tx('ecwapp.Wflowform.WflogAddReader.selReaders', '请选择传阅人员'),
186081
- "readonly": ""
186082
- },
186083
- model: {
186084
- value: _vm.vo.addNewStaffName,
186085
- callback: function callback($$v) {
186086
- _vm.$set(_vm.vo, "addNewStaffName", $$v);
186087
- },
186088
- expression: "vo.addNewStaffName"
186089
- }
186090
- })], 1)];
186091
- }
186092
- }], null, false, 4133504810)
186093
- })], 1)]), _c('tr', [_c('td', {
186094
- staticClass: "el-table__cell tdlbl tdw17"
186095
- }, [_c('span', {
186096
- staticClass: "required"
186097
- }, [_vm._v("*")]), _c('span', {
186098
- directives: [{
186099
- name: "text-lbl",
186100
- rawName: "v-text-lbl",
186101
- value: 'ecwapp.Wflowform.WflogAddReader.timeLimit',
186102
- expression: "'ecwapp.Wflowform.WflogAddReader.timeLimit'"
186103
- }]
186104
- }, [_vm._v("传阅结束时间")])]), _c('td', {
186105
- staticClass: "el-table__cell tdcont tdw83",
186106
- attrs: {
186107
- "colspan": "3"
186108
- }
186109
- }, [_c('ValidationProvider', {
186110
- ref: "ValidationProvider",
186111
- attrs: {
186112
- "name": _vm.$tx('ecwapp.Wflowform.WflogAddReader.timeLimit', '传阅结束时间'),
186113
- "rules": "required"
186114
- },
186115
- scopedSlots: _vm._u([{
186116
- key: "default",
186117
- fn: function fn(_ref2) {
186118
- var errors = _ref2.errors;
186119
- return [_c('el-tooltip', {
186120
- class: {
186121
- 'invalid-field': errors !== undefined && errors[0] !== undefined
186122
- },
186123
- attrs: {
186124
- "disabled": errors === undefined || errors[0] === undefined,
186125
- "content": errors === undefined ? '' : errors[0],
186126
- "popper-class": "error-popper-class",
186127
- "placement": "right-start",
186128
- "effect": "dark"
186129
- }
186130
- }, [_c('el-date-picker', {
186131
- staticStyle: {
186132
- "width": "100%"
186133
- },
186134
- attrs: {
186135
- "type": "datetime",
186136
- "format": 'yyyy-MM-dd HH:mm:ss',
186137
- "placeholder": _vm.$tx('ecwapp.Wflowform.WflogAddReader.selTimeLimit', '请选择传阅结束时间'),
186138
- "value-format": "yyyy-MM-dd HH:mm:ss"
186139
- },
186140
- model: {
186141
- value: _vm.vo.timeLimit,
186142
- callback: function callback($$v) {
186143
- _vm.$set(_vm.vo, "timeLimit", $$v);
186144
- },
186145
- expression: "vo.timeLimit"
186146
- }
186147
- })], 1)];
186148
- }
186149
- }], null, false, 1331491746)
186150
- })], 1)]), _c('tr', [_c('td', {
186151
- staticClass: "el-table__cell tdlbl tdw17"
186152
- }, [_c('span', {
186153
- staticClass: "required"
186154
- }, [_vm._v("*")]), _c('span', {
186155
- directives: [{
186156
- name: "text-lbl",
186157
- rawName: "v-text-lbl",
186158
- value: 'ecwapp.Wflowform.WflogAddReader.viewHistoryIdea',
186159
- expression: "'ecwapp.Wflowform.WflogAddReader.viewHistoryIdea'"
186160
- }]
186161
- }, [_vm._v("是否可查看审批意见")])]), _c('td', {
186162
- staticClass: "el-table__cell tdcont tdw83",
186163
- attrs: {
186164
- "colspan": "3"
186165
- }
186166
- }, [_c('el-radio-group', {
186167
- model: {
186168
- value: _vm.vo.disabledViewIdea,
186169
- callback: function callback($$v) {
186170
- _vm.$set(_vm.vo, "disabledViewIdea", $$v);
186171
- },
186172
- expression: "vo.disabledViewIdea"
186173
- }
186174
- }, [_c('el-radio', {
186175
- directives: [{
186176
- name: "text-lbl",
186177
- rawName: "v-text-lbl",
186178
- value: 'common.yes',
186179
- expression: "'common.yes'"
186180
- }],
186181
- attrs: {
186182
- "label": 0
186183
- }
186184
- }, [_vm._v("是")]), _c('el-radio', {
186185
- directives: [{
186186
- name: "text-lbl",
186187
- rawName: "v-text-lbl",
186188
- value: 'common.no',
186189
- expression: "'common.no'"
186190
- }],
186191
- attrs: {
186192
- "label": 1
186193
- }
186194
- }, [_vm._v("否")])], 1)], 1)]), _c('tr', [_c('td', {
186195
- staticClass: "el-table__cell tdlbl tdw17"
186196
- }, [_c('span', {
186197
- directives: [{
186198
- name: "text-lbl",
186199
- rawName: "v-text-lbl",
186200
- value: 'ecwapp.Wflowform.WflogAddReader.sendToOther',
186201
- expression: "'ecwapp.Wflowform.WflogAddReader.sendToOther'"
186202
- }]
186203
- }, [_vm._v("允许继续传阅")])]), _c('td', {
186204
- staticClass: "el-table__cell tdcont tdw83",
186205
- attrs: {
186206
- "colspan": "3"
186207
- }
186208
- }, [_c('el-radio-group', {
186209
- model: {
186210
- value: _vm.vo.sendToOther,
186211
- callback: function callback($$v) {
186212
- _vm.$set(_vm.vo, "sendToOther", $$v);
186213
- },
186214
- expression: "vo.sendToOther"
186215
- }
186216
- }, [_c('el-radio', {
186217
- directives: [{
186218
- name: "text-lbl",
186219
- rawName: "v-text-lbl",
186220
- value: 'common.yes',
186221
- expression: "'common.yes'"
186222
- }],
186223
- attrs: {
186224
- "label": 1
186225
- }
186226
- }, [_vm._v("是")]), _c('el-radio', {
186227
- directives: [{
186228
- name: "text-lbl",
186229
- rawName: "v-text-lbl",
186230
- value: 'common.no',
186231
- expression: "'common.no'"
186232
- }],
186233
- attrs: {
186234
- "label": 0
186235
- }
186236
- }, [_vm._v("否")])], 1)], 1)]), _c('tr', [_c('td', {
186237
- directives: [{
186238
- name: "text-lbl",
186239
- rawName: "v-text-lbl",
186240
- value: 'ecwapp.ModifyWfNodelog.selectNoticeType',
186241
- expression: "'ecwapp.ModifyWfNodelog.selectNoticeType'"
186242
- }],
186243
- staticClass: "el-table__cell tdlbl tdw17"
186244
- }, [_vm._v("通知方式")]), _c('td', {
186245
- staticClass: "el-table__cell tdcont tdw83",
186246
- attrs: {
186247
- "colspan": "3"
186248
- }
186249
- }, [_c('ValidationProvider', {
186250
- ref: "ValidationProvider",
186251
- attrs: {
186252
- "name": _vm.$tx('ecwapp.ModifyWfNodelog.selectNoticeType', '通知方式'),
186253
- "rules": "required"
186254
- },
186255
- scopedSlots: _vm._u([{
186256
- key: "default",
186257
- fn: function fn(_ref3) {
186258
- var errors = _ref3.errors;
186259
- return [_c('el-tooltip', {
186260
- class: {
186261
- 'invalid-field': errors[0] !== undefined
186262
- },
186263
- attrs: {
186264
- "disabled": errors[0] === undefined,
186265
- "content": errors[0],
186266
- "popper-class": "error-popper-class",
186267
- "placement": "right-start",
186268
- "effect": "dark"
186269
- }
186270
- }, [_c('el-checkbox-group', {
186271
- model: {
186272
- value: _vm.vo.msgTypes,
186273
- callback: function callback($$v) {
186274
- _vm.$set(_vm.vo, "msgTypes", $$v);
186275
- },
186276
- expression: "vo.msgTypes"
186277
- }
186278
- }, _vm._l(_vm.msgTypeList, function (option, optKey) {
186279
- return _c('el-checkbox', {
186280
- directives: [{
186281
- name: "option-lbl",
186282
- rawName: "v-option-lbl",
186283
- value: 'msgTypes',
186284
- expression: "'msgTypes'"
186285
- }],
186286
- key: optKey,
186287
- attrs: {
186288
- "label": option.value
186289
- }
186290
- }, [_vm._v(_vm._s(option.text))]);
186291
- }), 1)], 1)];
186292
- }
186293
- }], null, false, 1930615039)
186294
- })], 1)])])])])])]) : _vm._e(), _c('div', {
186295
- staticClass: "dialog-footer",
186296
- attrs: {
186297
- "slot": "footer"
186298
- },
186299
- slot: "footer"
186300
- }, [_c('el-button', {
186301
- directives: [{
186302
- name: "pageBtn-lbl",
186303
- rawName: "v-pageBtn-lbl",
186304
- value: 'cancel',
186305
- expression: "'cancel'"
186306
- }],
186307
- attrs: {
186308
- "plain": "",
186309
- "icon": "el-icon-close",
186310
- "type": "default"
186311
- },
186312
- on: {
186313
- "click": _vm.handleDialogClose
186314
- }
186315
- }, [_vm._v("取 消")]), _c('el-button', {
186316
- directives: [{
186317
- name: "pageBtn-lbl",
186318
- rawName: "v-pageBtn-lbl",
186319
- value: 'sure',
186320
- expression: "'sure'"
186321
- }],
186322
- attrs: {
186323
- "icon": "el-icon-check",
186324
- "type": "primary",
186325
- "disabled": _vm.doing
186326
- },
186327
- on: {
186328
- "click": _vm.handleSubmitForm
186329
- }
186330
- }, [_vm._v("确 定")])], 1)], 1) : _vm._e();
186331
- };
186332
- var WflogAddReadervue_type_template_id_1298817d_scoped_true_staticRenderFns = [];
186333
-
186334
- ;// 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/WflogAddReader.vue?vue&type=script&lang=js
186335
- function WflogAddReadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return WflogAddReadervue_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; }, WflogAddReadervue_type_script_lang_js_typeof(o); }
186336
- function WflogAddReadervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ WflogAddReadervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == WflogAddReadervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(WflogAddReadervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
186337
- function WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
186338
- function WflogAddReadervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
186339
-
186340
-
186341
- /* harmony default export */ var WflogAddReadervue_type_script_lang_js = ({
186342
- name: 'AddReader',
186343
- components: {},
186344
- props: {},
186345
- data: function data() {
186346
- return {
186347
- dialogType: 'staff',
186348
- winTitle: this.$tx('ecwapp.Wflowform.WflogAddReader.circulation', '传阅'),
186349
- wfNodeName: '',
186350
- dialogFormVisible: false,
186351
- wfInstance: {},
186352
- vo: {
186353
- timeLimit: '',
186354
- disabledViewIdea: 0,
186355
- sendToOther: 0,
186356
- addNewStaffName: '',
186357
- msgTypes: []
186358
- },
186359
- reqData: {},
186360
- msgTypeList: [],
186361
- wfEngineUrl: '',
186362
- loading: false,
186363
- doing: false,
186364
- selsctRows: [],
186365
- $scope: null,
186366
- showTable: false
186367
- };
186368
- },
186369
- computed: {},
186370
- watch: {},
186371
- created: function created() {
186372
- this.$bus.on('btnAddReader', this.btnAddReaderClick);
186373
- },
186374
- beforeDestroy: function beforeDestroy() {
186375
- this.$bus.off('btnAddReader', this.btnAddReaderClick);
186376
- },
186377
- mounted: function mounted() {},
186378
- methods: {
186379
- btnAddReaderClick: function btnAddReaderClick($scope, toReadNodeName, dialogTitle, dialogType, selsctRows) {
186380
- var _this2 = this;
186381
- this.showTable = true;
186382
- this.$scope = $scope;
186383
- if (selsctRows && selsctRows.length > 0) {
186384
- this.selsctRows = selsctRows;
186385
- this.wfItemList = selsctRows;
186386
- dialogType = dialogType || 'staff';
186387
- var _this = this;
186388
- if (_this.loading) {
186389
- return;
186390
- }
186391
- _this.loading = true;
186392
- _this.winTitle = dialogTitle || _this.$tx('ecwapp.WfNodelogList.toread', _this.winTitle);
186393
- _this.wfInstance = JSON.parse(JSON.stringify(selsctRows[0]));
186394
- // _this.wfInstance.passenger.busiData = $scope.vo
186395
- // _this.wfNodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName || '阅知'
186396
- _this.vo = {
186397
- timeLimit: '',
186398
- disabledViewIdea: 0,
186399
- sendToOther: 0,
186400
- addNewStaffName: '',
186401
- msgTypes: [],
186402
- nodeName: this.wfNodeName || _this.$tx('ecwapp.WfNodelogList.toread', _this.winTitle)
186403
- };
186404
- var curTime = new Date();
186405
- curTime = curTime.getTime() + 7 * 24 * 60 * 60 * 1000;
186406
- _this.vo.timeLimit = (0,utils/* formatTime */.fU)(new Date(curTime), 'YYYY-MM-DD HH:mm:ss');
186407
- _this.dialogFormVisible = true;
186408
- _this.doing = false;
186409
-
186410
- // 获取系统配置消息通知方式
186411
- this.$http({
186412
- method: 'GET',
186413
- contentType: 'application/x-www-form-urlencoded',
186414
- url: 'base/sysSetup/queryOpenMsgType'
186415
- }).then(function (response) {
186416
- _this.loading = false;
186417
- if (response.code === 'success') {
186418
- var openMsgType = response.body.listdata || [];
186419
- if (openMsgType.length === 0) {
186420
- openMsgType.push({
186421
- value: '0',
186422
- text: '站内信'
186423
- }, {
186424
- value: '1',
186425
- text: '短信通知'
186426
- });
186427
- } else {
186428
- openMsgType.forEach(function (msgType) {
186429
- msgType.value += '';
186430
- });
186431
- }
186432
- _this2.msgTypeList = openMsgType;
186433
- }
186434
- }, function (err) {
186435
- console.log(err);
186436
- });
186437
- } else {
186438
- dialogType = dialogType || 'staff';
186439
- var _this3 = this;
186440
- if (_this3.loading) {
186441
- return;
186442
- }
186443
- _this3.loading = true;
186444
- _this3.winTitle = dialogTitle || _this3.$tx('ecwapp.WfNodelogList.toread', _this3.winTitle);
186445
- _this3.wfInstance = JSON.parse(JSON.stringify($scope.wfInstance));
186446
- _this3.wfInstance.passenger.busiData = $scope.vo;
186447
- _this3.wfNodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName || '阅知';
186448
- _this3.vo = {
186449
- timeLimit: '',
186450
- disabledViewIdea: 0,
186451
- sendToOther: 0,
186452
- addNewStaffName: '',
186453
- msgTypes: [],
186454
- nodeName: this.wfNodeName || _this3.$tx('ecwapp.WfNodelogList.toread', _this3.winTitle)
186455
- };
186456
- var _curTime = new Date();
186457
- _curTime = _curTime.getTime() + 7 * 24 * 60 * 60 * 1000;
186458
- _this3.vo.timeLimit = (0,utils/* formatTime */.fU)(new Date(_curTime), 'YYYY-MM-DD HH:mm:ss');
186459
- _this3.dialogFormVisible = true;
186460
- _this3.doing = false;
186461
-
186462
- // 获取系统配置消息通知方式
186463
- this.$http({
186464
- method: 'GET',
186465
- contentType: 'application/x-www-form-urlencoded',
186466
- url: 'base/sysSetup/queryOpenMsgType'
186467
- }).then(function (response) {
186468
- _this3.loading = false;
186469
- if (response.code === 'success') {
186470
- var openMsgType = response.body.listdata || [];
186471
- if (openMsgType.length === 0) {
186472
- openMsgType.push({
186473
- value: '0',
186474
- text: '站内信'
186475
- }, {
186476
- value: '1',
186477
- text: '短信通知'
186478
- });
186479
- } else {
186480
- openMsgType.forEach(function (msgType) {
186481
- msgType.value += '';
186482
- });
186483
- }
186484
- _this2.msgTypeList = openMsgType;
186485
- }
186486
- }, function (err) {
186487
- console.log(err);
186488
- });
186489
- }
186490
- },
186491
- onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
186492
- var reqData = {};
186493
- if (selectedNodes.length > 0) {
186494
- var $scope = this.$vnode.context.$vnode.context;
186495
- reqData = {
186496
- wfInstance: JSON.stringify(this.wfInstance)
186497
- };
186498
- reqData.openUrl = $scope.submitHandle ? $scope.submitHandle.openUrl : '';
186499
- reqData.parentId = $scope.curTN ? $scope.curTN.tnID : '';
186500
- reqData.sender = $scope.curTN ? $scope.curTN.userName : '';
186501
- reqData.senderDept = $scope.curTN ? $scope.curTN.staffOrgName : '';
186502
- reqData.senderStaffId = $scope.curTN ? $scope.curTN.staffID : '';
186503
- reqData.leaders = [];
186504
- var selectedReaders = '';
186505
- selectedNodes.forEach(function (node) {
186506
- // 公司领导:潘健/panjian@402881033860d2d5013860d7e2b20004
186507
- reqData.leaders.push(node.orgFullName + ':' + node.name + '/' + node.account + '@' + node.id);
186508
- if (selectedReaders) selectedReaders += '、';
186509
- selectedReaders += node.name;
186510
- });
186511
- this.vo.addNewStaffName = selectedReaders;
186512
- reqData.leaders = reqData.leaders.join(',');
186513
- }
186514
- this.reqData = reqData;
186515
- },
186516
- wfInstanceFn: function wfInstanceFn(item, url) {
186517
- var _this4 = this;
186518
- return WflogAddReadervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/WflogAddReadervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
186519
- var res;
186520
- return WflogAddReadervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
186521
- while (1) switch (_context.prev = _context.next) {
186522
- case 0:
186523
- _context.next = 2;
186524
- return _this4.$http({
186525
- method: 'POST',
186526
- contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
186527
- url: url + '/activeWfInstanceById',
186528
- params: {
186529
- wfEngineUrl: url,
186530
- wfInstanceId: item.wfInstanceId ? item.wfInstanceId : item.id,
186531
- orgCode: _this4.$store.getters.loginUser.orgCode,
186532
- copyWfNodeUser: 1,
186533
- asyncLoading: 1,
186534
- submitMode: 'sidebar'
186535
- }
186536
- }).then(function (resp) {
186537
- res = resp;
186538
- });
186539
- case 2:
186540
- return _context.abrupt("return", res);
186541
- case 3:
186542
- case "end":
186543
- return _context.stop();
186544
- }
186545
- }, _callee);
186546
- }))();
186547
- },
186548
- handleSubmitForm: function handleSubmitForm() {
186549
- var _this5 = this;
186550
- return WflogAddReadervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/WflogAddReadervue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
186551
- var $scope, hasShownMessage, url, i, wfItem, item, urlStr, rst, busiData, curTN;
186552
- return WflogAddReadervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
186553
- while (1) switch (_context2.prev = _context2.next) {
186554
- case 0:
186555
- if (!(_this5.selsctRows && _this5.selsctRows.length > 0)) {
186556
- _context2.next = 41;
186557
- break;
186558
- }
186559
- _this5.loading = false;
186560
- _this5.showTable = false;
186561
- $scope = _this5.$scope;
186562
- hasShownMessage = false; // 在循环外部定义标志变量
186563
- url = $scope.moduleInfo.listDataUrl.split('/')[0] + '/' + $scope.moduleInfo.listDataUrl.split('/')[1];
186564
- i = 0;
186565
- case 7:
186566
- if (!(i < _this5.selsctRows.length)) {
186567
- _context2.next = 39;
186568
- break;
186569
- }
186570
- wfItem = _this5.wfItemList[i];
186571
- _this5.$set(wfItem, 'icon', 'loading');
186572
- item = _this5.selsctRows[i];
186573
- if (item.itemUrl && item.itemUrl.indexOf('wfEngineUrl=') > -1) {
186574
- urlStr = item.itemUrl.split('wfEngineUrl=')[1];
186575
- url = urlStr.split('&')[0];
186576
- }
186577
- _context2.next = 14;
186578
- return _this5.wfInstanceFn(item, url);
186579
- case 14:
186580
- rst = _context2.sent;
186581
- if (!(rst.code === 'success')) {
186582
- _context2.next = 35;
186583
- break;
186584
- }
186585
- if (rst.code === 'success') {
186586
- _this5.$set(wfItem, 'icon', 'check');
186587
- } else {
186588
- _this5.$set(wfItem, 'icon', 'close');
186589
- }
186590
- busiData = JSON.parse(JSON.stringify(rst.body.wfInstance.passenger.busiData));
186591
- rst.body.wfInstance.passenger = {};
186592
- rst.body.wfInstance.passenger.busiData = busiData;
186593
- curTN = rst.body.curTN;
186594
- _this5.reqData.wfInstance = JSON.stringify(rst.body.wfInstance);
186595
- _this5.reqData.openUrl = item.itemUrl ? item.itemUrl : '/wflow?wfEngineUrl=' + url;
186596
- _this5.reqData.parentId = curTN.tnID;
186597
- _this5.reqData.sender = curTN.userName;
186598
- _this5.reqData.senderDept = curTN.staffOrgName;
186599
- _this5.reqData.senderStaffId = curTN.staffID;
186600
- _this5.reqData.timeLimit = _this5.vo.timeLimit;
186601
- _this5.reqData.disabledViewIdea = _this5.vo.disabledViewIdea;
186602
- _this5.reqData.sendToOther = _this5.vo.sendToOther;
186603
- _this5.reqData.askMsgTypes = _this5.vo.msgTypes.join(',');
186604
- _this5.reqData.nodeName = '阅知';
186605
- _this5.$http({
186606
- method: 'POST',
186607
- contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
186608
- data: lib_default().stringify(_this5.reqData),
186609
- url: 'workflow/wfInstance/createToReadItem'
186610
- }).then(function (response) {
186611
- if (response.code === 'success' && !hasShownMessage) {
186612
- _this5.$message({
186613
- type: 'success',
186614
- message: response.message,
186615
- showClose: true,
186616
- onClose: function onClose() {
186617
- _this5.showTable = false;
186618
- _this5.$bus.emit('refreshListData');
186619
- _this5.handleDialogClose();
186620
- }
186621
- });
186622
- hasShownMessage = true; // 设置标志变量为 true,确保只触发一次
186623
- } else if (response.code !== 'success') {
186624
- _this5.$alert(response.message, _this5.$tx('common.operationTip', '操作提示'), {
186625
- confirmButtonText: _this5.$tx('ecwapp.PageBtns.sure', '确定'),
186626
- type: 'warning'
186627
- });
186628
- }
186629
- }).catch(function (error) {
186630
- console.error('请求失败:', error);
186631
- // 处理错误情况
186632
- });
186633
- _context2.next = 36;
186634
- break;
186635
- case 35:
186636
- return _context2.abrupt("return", _this5.$message.error(rst.message));
186637
- case 36:
186638
- i++;
186639
- _context2.next = 7;
186640
- break;
186641
- case 39:
186642
- _context2.next = 48;
186643
- break;
186644
- case 41:
186645
- _this5.$bus.emit('showDoingDialog');
186646
- _this5.reqData.timeLimit = _this5.vo.timeLimit;
186647
- _this5.reqData.disabledViewIdea = _this5.vo.disabledViewIdea;
186648
- _this5.reqData.sendToOther = _this5.vo.sendToOther;
186649
- _this5.reqData.askMsgTypes = _this5.vo.msgTypes.join(',');
186650
- _this5.reqData.nodeName = _this5.vo.nodeName;
186651
- _this5.$http({
186652
- method: 'POST',
186653
- contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
186654
- data: lib_default().stringify(_this5.reqData),
186655
- url: 'workflow/wfInstance/createToReadItem'
186656
- }).then(function (response) {
186657
- _this5.$bus.emit('closeDoingDialog');
186658
- if (response.code === 'success') {
186659
- _this5.$message.success(_this5.$tx('ecwapp.Wflowform.WfNodelogList.addReadersSuccess', '已成功添加传阅人员!'));
186660
- _this5.handleDialogClose();
186661
- } else {
186662
- _this5.$alert(response.message, _this5.$tx('common.operationTip', '操作提示'), {
186663
- confirmButtonText: _this5.$tx('ecwapp.PageBtns.sure', '确定'),
186664
- type: 'warning'
186665
- });
186666
- }
186667
- });
186668
- case 48:
186669
- case "end":
186670
- return _context2.stop();
186671
- }
186672
- }, _callee2);
186673
- }))();
186674
- },
186675
- handleDialogClose: function handleDialogClose() {
186676
- this.dialogFormVisible = false;
186677
- this.wfInstance = {};
186678
- this.wflog = {};
186679
- this.wfdNodeList = [];
186680
- }
186681
- }
186682
- });
186683
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue?vue&type=script&lang=js
186684
- /* harmony default export */ var src_WflogAddReadervue_type_script_lang_js = (WflogAddReadervue_type_script_lang_js);
186685
- // 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/WflogAddReader.vue?vue&type=style&index=0&id=1298817d&prod&scoped=true&lang=scss
186686
- var WflogAddReadervue_type_style_index_0_id_1298817d_prod_scoped_true_lang_scss = __webpack_require__(27665);
186687
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue?vue&type=style&index=0&id=1298817d&prod&scoped=true&lang=scss
186688
-
186689
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue
186690
-
186691
-
186692
-
186693
- ;
186694
-
186695
-
186696
- /* normalize component */
186697
-
186698
- var WflogAddReader_component = (0,componentNormalizer/* default */.A)(
186699
- src_WflogAddReadervue_type_script_lang_js,
186700
- WflogAddReadervue_type_template_id_1298817d_scoped_true_render,
186701
- WflogAddReadervue_type_template_id_1298817d_scoped_true_staticRenderFns,
186702
- false,
186703
- null,
186704
- "1298817d",
186705
- null
186706
-
186707
- )
186708
-
186709
- /* harmony default export */ var WflogAddReader = (WflogAddReader_component.exports);
186710
185902
  ;// 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/ModifyWfNodelog.vue?vue&type=script&lang=js
186711
185903
 
186712
-
186713
185904
  /* harmony default export */ var ModifyWfNodelogvue_type_script_lang_js = ({
186714
185905
  name: 'ModifyWfNodelog',
186715
- components: {
186716
- WflogAddReader: WflogAddReader
186717
- },
185906
+ components: {},
186718
185907
  props: {
186719
185908
  callbackOrderBy: {
186720
185909
  type: String,
@@ -187132,9 +186321,9 @@ var WflogAddReader_component = (0,componentNormalizer/* default */.A)(
187132
186321
  });
187133
186322
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ModifyWfNodelog.vue?vue&type=script&lang=js
187134
186323
  /* harmony default export */ var src_ModifyWfNodelogvue_type_script_lang_js = (ModifyWfNodelogvue_type_script_lang_js);
187135
- // 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/ModifyWfNodelog.vue?vue&type=style&index=0&id=aa2436de&prod&scoped=true&lang=scss
187136
- var ModifyWfNodelogvue_type_style_index_0_id_aa2436de_prod_scoped_true_lang_scss = __webpack_require__(61207);
187137
- ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ModifyWfNodelog.vue?vue&type=style&index=0&id=aa2436de&prod&scoped=true&lang=scss
186324
+ // 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/ModifyWfNodelog.vue?vue&type=style&index=0&id=23e346d4&prod&scoped=true&lang=scss
186325
+ var ModifyWfNodelogvue_type_style_index_0_id_23e346d4_prod_scoped_true_lang_scss = __webpack_require__(2212);
186326
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ModifyWfNodelog.vue?vue&type=style&index=0&id=23e346d4&prod&scoped=true&lang=scss
187138
186327
 
187139
186328
  ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/ModifyWfNodelog.vue
187140
186329
 
@@ -187147,11 +186336,11 @@ var ModifyWfNodelogvue_type_style_index_0_id_aa2436de_prod_scoped_true_lang_scss
187147
186336
 
187148
186337
  var ModifyWfNodelog_component = (0,componentNormalizer/* default */.A)(
187149
186338
  src_ModifyWfNodelogvue_type_script_lang_js,
187150
- ModifyWfNodelogvue_type_template_id_aa2436de_scoped_true_render,
187151
- ModifyWfNodelogvue_type_template_id_aa2436de_scoped_true_staticRenderFns,
186339
+ ModifyWfNodelogvue_type_template_id_23e346d4_scoped_true_render,
186340
+ ModifyWfNodelogvue_type_template_id_23e346d4_scoped_true_staticRenderFns,
187152
186341
  false,
187153
186342
  null,
187154
- "aa2436de",
186343
+ "23e346d4",
187155
186344
  null
187156
186345
 
187157
186346
  )
@@ -191365,6 +190554,789 @@ var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
191365
190554
  )
191366
190555
 
191367
190556
  /* harmony default export */ var WfNodelogList = (WfNodelogList_component.exports);
190557
+ ;// 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/WflogAddReader.vue?vue&type=template&id=287b9428&scoped=true
190558
+ var WflogAddReadervue_type_template_id_287b9428_scoped_true_render = function render() {
190559
+ var _vm = this,
190560
+ _c = _vm._self._c;
190561
+ return _vm.dialogFormVisible ? _c('el-dialog', {
190562
+ directives: [{
190563
+ name: "el-drag-dialog",
190564
+ rawName: "v-el-drag-dialog"
190565
+ }],
190566
+ attrs: {
190567
+ "visible": _vm.dialogFormVisible,
190568
+ "close-on-click-modal": false,
190569
+ "destroy-on-close": true,
190570
+ "width": "1000px",
190571
+ "append-to-body": true,
190572
+ "title": _vm.winTitle
190573
+ },
190574
+ on: {
190575
+ "update:visible": function updateVisible($event) {
190576
+ _vm.dialogFormVisible = $event;
190577
+ },
190578
+ "close": _vm.handleDialogClose
190579
+ }
190580
+ }, [_vm.loading ? _c('div', {
190581
+ directives: [{
190582
+ name: "loading",
190583
+ rawName: "v-loading",
190584
+ value: _vm.loading,
190585
+ expression: "loading"
190586
+ }],
190587
+ staticClass: "el-dialog__body"
190588
+ }) : _vm._e(), !_vm.loading && !_vm.showTable ? _c('el-table', {
190589
+ staticStyle: {
190590
+ "width": "100%"
190591
+ },
190592
+ attrs: {
190593
+ "data": _vm.wfItemList,
190594
+ "border": "",
190595
+ "row-class-name": _vm.rowClassName
190596
+ }
190597
+ }, [_c('el-table-column', {
190598
+ attrs: {
190599
+ "label": _vm.$tx('ecwapp.Common.index', '序号'),
190600
+ "type": "index",
190601
+ "width": "45",
190602
+ "align": "center"
190603
+ }
190604
+ }), _c('el-table-column', {
190605
+ attrs: {
190606
+ "label": _vm.$tx('ecwapp.Common.fileTitle', '文件标题'),
190607
+ "prop": "title"
190608
+ }
190609
+ }), _c('el-table-column', {
190610
+ attrs: {
190611
+ "label": _vm.$tx('ecwapp.ecwapp.Common.fileType', '文件类型'),
190612
+ "prop": "wfName",
190613
+ "width": "140",
190614
+ "align": "center"
190615
+ }
190616
+ }), _c('el-table-column', {
190617
+ attrs: {
190618
+ "label": _vm.$tx('ecwapp.Common.processingSteps', '处理环节'),
190619
+ "prop": "wfNodeName",
190620
+ "width": "140",
190621
+ "align": "center"
190622
+ }
190623
+ }), _c('el-table-column', {
190624
+ attrs: {
190625
+ "label": _vm.$tx('ecwapp.Common.processingStatus', '处理状态'),
190626
+ "prop": "limitTime",
190627
+ "width": "90",
190628
+ "align": "center"
190629
+ },
190630
+ scopedSlots: _vm._u([{
190631
+ key: "default",
190632
+ fn: function fn(scope) {
190633
+ return [scope.row.icon != undefined ? _c('i', {
190634
+ class: 'el-icon-' + scope.row.icon
190635
+ }) : _vm._e()];
190636
+ }
190637
+ }], null, false, 2167969890)
190638
+ })], 1) : _vm._e(), !_vm.loading && _vm.showTable ? _c('el-form', {
190639
+ staticClass: "form-container"
190640
+ }, [_c('div', {
190641
+ staticClass: "el-table el-table--fit el-table--border"
190642
+ }, [_c('div', {
190643
+ staticClass: "el-table__body-wrapper"
190644
+ }, [_c('table', {
190645
+ staticClass: "el-table__body",
190646
+ attrs: {
190647
+ "cellspacing": "0",
190648
+ "cellpadding": "0",
190649
+ "border": "0"
190650
+ }
190651
+ }, [_c('tbody', [_c('tr', [_c('td', {
190652
+ directives: [{
190653
+ name: "text-lbl",
190654
+ rawName: "v-text-lbl",
190655
+ value: 'ecwapp.Common.fileTitle',
190656
+ expression: "'ecwapp.Common.fileTitle'"
190657
+ }],
190658
+ staticClass: "el-table__cell tdlbl tdw17"
190659
+ }, [_vm._v("文件标题")]), _c('td', {
190660
+ staticClass: "el-table__cell tdcont tdw83",
190661
+ attrs: {
190662
+ "colspan": "3"
190663
+ }
190664
+ }, [_vm._v(" " + _vm._s(_vm.wfInstance.title) + " ")])]), _c('tr', [_c('td', {
190665
+ staticClass: "el-table__cell tdlbl tdw17"
190666
+ }, [_c('span', {
190667
+ staticClass: "required"
190668
+ }, [_vm._v("*")]), _c('span', {
190669
+ directives: [{
190670
+ name: "text-lbl",
190671
+ rawName: "v-text-lbl",
190672
+ value: 'ecwapp.Wflowform.WflogAddReader.readers',
190673
+ expression: "'ecwapp.Wflowform.WflogAddReader.readers'"
190674
+ }]
190675
+ }, [_vm._v("传阅人员")])]), _c('td', {
190676
+ staticClass: "el-table__cell tdcont tdw83",
190677
+ attrs: {
190678
+ "colspan": "3"
190679
+ }
190680
+ }, [_c('ValidationProvider', {
190681
+ ref: "ValidationProvider",
190682
+ attrs: {
190683
+ "name": _vm.$tx('ecwapp.Wflowform.WflogAddReader.readers', '传阅人员'),
190684
+ "rules": "required"
190685
+ },
190686
+ scopedSlots: _vm._u([{
190687
+ key: "default",
190688
+ fn: function fn(_ref) {
190689
+ var errors = _ref.errors;
190690
+ return [_c('el-tooltip', {
190691
+ class: {
190692
+ 'invalid-field': errors !== undefined && errors[0] !== undefined
190693
+ },
190694
+ attrs: {
190695
+ "disabled": errors === undefined || errors[0] === undefined,
190696
+ "content": errors === undefined ? '' : errors[0],
190697
+ "popper-class": "error-popper-class",
190698
+ "placement": "right-start",
190699
+ "effect": "dark"
190700
+ }
190701
+ }, [_c('el-input', {
190702
+ directives: [{
190703
+ name: "select-dialog",
190704
+ rawName: "v-select-dialog",
190705
+ value: _vm.dialogType,
190706
+ expression: "dialogType"
190707
+ }],
190708
+ attrs: {
190709
+ "multiple": true,
190710
+ "placeholder": _vm.$tx('ecwapp.Wflowform.WflogAddReader.selReaders', '请选择传阅人员'),
190711
+ "readonly": ""
190712
+ },
190713
+ model: {
190714
+ value: _vm.vo.addNewStaffName,
190715
+ callback: function callback($$v) {
190716
+ _vm.$set(_vm.vo, "addNewStaffName", $$v);
190717
+ },
190718
+ expression: "vo.addNewStaffName"
190719
+ }
190720
+ })], 1)];
190721
+ }
190722
+ }], null, false, 4133504810)
190723
+ })], 1)]), _c('tr', [_c('td', {
190724
+ staticClass: "el-table__cell tdlbl tdw17"
190725
+ }, [_c('span', {
190726
+ staticClass: "required"
190727
+ }, [_vm._v("*")]), _c('span', {
190728
+ directives: [{
190729
+ name: "text-lbl",
190730
+ rawName: "v-text-lbl",
190731
+ value: 'ecwapp.Wflowform.WflogAddReader.timeLimit',
190732
+ expression: "'ecwapp.Wflowform.WflogAddReader.timeLimit'"
190733
+ }]
190734
+ }, [_vm._v("传阅结束时间")])]), _c('td', {
190735
+ staticClass: "el-table__cell tdcont tdw83",
190736
+ attrs: {
190737
+ "colspan": "3"
190738
+ }
190739
+ }, [_c('ValidationProvider', {
190740
+ ref: "ValidationProvider",
190741
+ attrs: {
190742
+ "name": _vm.$tx('ecwapp.Wflowform.WflogAddReader.timeLimit', '传阅结束时间'),
190743
+ "rules": "required"
190744
+ },
190745
+ scopedSlots: _vm._u([{
190746
+ key: "default",
190747
+ fn: function fn(_ref2) {
190748
+ var errors = _ref2.errors;
190749
+ return [_c('el-tooltip', {
190750
+ class: {
190751
+ 'invalid-field': errors !== undefined && errors[0] !== undefined
190752
+ },
190753
+ attrs: {
190754
+ "disabled": errors === undefined || errors[0] === undefined,
190755
+ "content": errors === undefined ? '' : errors[0],
190756
+ "popper-class": "error-popper-class",
190757
+ "placement": "right-start",
190758
+ "effect": "dark"
190759
+ }
190760
+ }, [_c('el-date-picker', {
190761
+ staticStyle: {
190762
+ "width": "100%"
190763
+ },
190764
+ attrs: {
190765
+ "type": "datetime",
190766
+ "format": 'yyyy-MM-dd HH:mm:ss',
190767
+ "placeholder": _vm.$tx('ecwapp.Wflowform.WflogAddReader.selTimeLimit', '请选择传阅结束时间'),
190768
+ "value-format": "yyyy-MM-dd HH:mm:ss"
190769
+ },
190770
+ model: {
190771
+ value: _vm.vo.timeLimit,
190772
+ callback: function callback($$v) {
190773
+ _vm.$set(_vm.vo, "timeLimit", $$v);
190774
+ },
190775
+ expression: "vo.timeLimit"
190776
+ }
190777
+ })], 1)];
190778
+ }
190779
+ }], null, false, 1331491746)
190780
+ })], 1)]), _c('tr', [_c('td', {
190781
+ staticClass: "el-table__cell tdlbl tdw17"
190782
+ }, [_c('span', {
190783
+ staticClass: "required"
190784
+ }, [_vm._v("*")]), _c('span', {
190785
+ directives: [{
190786
+ name: "text-lbl",
190787
+ rawName: "v-text-lbl",
190788
+ value: 'ecwapp.Wflowform.WflogAddReader.viewHistoryIdea',
190789
+ expression: "'ecwapp.Wflowform.WflogAddReader.viewHistoryIdea'"
190790
+ }]
190791
+ }, [_vm._v("是否可查看审批意见")])]), _c('td', {
190792
+ staticClass: "el-table__cell tdcont tdw83",
190793
+ attrs: {
190794
+ "colspan": "3"
190795
+ }
190796
+ }, [_c('el-radio-group', {
190797
+ model: {
190798
+ value: _vm.vo.disabledViewIdea,
190799
+ callback: function callback($$v) {
190800
+ _vm.$set(_vm.vo, "disabledViewIdea", $$v);
190801
+ },
190802
+ expression: "vo.disabledViewIdea"
190803
+ }
190804
+ }, [_c('el-radio', {
190805
+ directives: [{
190806
+ name: "text-lbl",
190807
+ rawName: "v-text-lbl",
190808
+ value: 'common.yes',
190809
+ expression: "'common.yes'"
190810
+ }],
190811
+ attrs: {
190812
+ "label": 0
190813
+ }
190814
+ }, [_vm._v("是")]), _c('el-radio', {
190815
+ directives: [{
190816
+ name: "text-lbl",
190817
+ rawName: "v-text-lbl",
190818
+ value: 'common.no',
190819
+ expression: "'common.no'"
190820
+ }],
190821
+ attrs: {
190822
+ "label": 1
190823
+ }
190824
+ }, [_vm._v("否")])], 1)], 1)]), _c('tr', [_c('td', {
190825
+ staticClass: "el-table__cell tdlbl tdw17"
190826
+ }, [_c('span', {
190827
+ directives: [{
190828
+ name: "text-lbl",
190829
+ rawName: "v-text-lbl",
190830
+ value: 'ecwapp.Wflowform.WflogAddReader.sendToOther',
190831
+ expression: "'ecwapp.Wflowform.WflogAddReader.sendToOther'"
190832
+ }]
190833
+ }, [_vm._v("允许继续传阅")])]), _c('td', {
190834
+ staticClass: "el-table__cell tdcont tdw83",
190835
+ attrs: {
190836
+ "colspan": "3"
190837
+ }
190838
+ }, [_c('el-radio-group', {
190839
+ model: {
190840
+ value: _vm.vo.sendToOther,
190841
+ callback: function callback($$v) {
190842
+ _vm.$set(_vm.vo, "sendToOther", $$v);
190843
+ },
190844
+ expression: "vo.sendToOther"
190845
+ }
190846
+ }, [_c('el-radio', {
190847
+ directives: [{
190848
+ name: "text-lbl",
190849
+ rawName: "v-text-lbl",
190850
+ value: 'common.yes',
190851
+ expression: "'common.yes'"
190852
+ }],
190853
+ attrs: {
190854
+ "label": 1
190855
+ }
190856
+ }, [_vm._v("是")]), _c('el-radio', {
190857
+ directives: [{
190858
+ name: "text-lbl",
190859
+ rawName: "v-text-lbl",
190860
+ value: 'common.no',
190861
+ expression: "'common.no'"
190862
+ }],
190863
+ attrs: {
190864
+ "label": 0
190865
+ }
190866
+ }, [_vm._v("否")])], 1)], 1)]), _c('tr', [_c('td', {
190867
+ directives: [{
190868
+ name: "text-lbl",
190869
+ rawName: "v-text-lbl",
190870
+ value: 'ecwapp.ModifyWfNodelog.selectNoticeType',
190871
+ expression: "'ecwapp.ModifyWfNodelog.selectNoticeType'"
190872
+ }],
190873
+ staticClass: "el-table__cell tdlbl tdw17"
190874
+ }, [_vm._v("通知方式")]), _c('td', {
190875
+ staticClass: "el-table__cell tdcont tdw83",
190876
+ attrs: {
190877
+ "colspan": "3"
190878
+ }
190879
+ }, [_c('ValidationProvider', {
190880
+ ref: "ValidationProvider",
190881
+ attrs: {
190882
+ "name": _vm.$tx('ecwapp.ModifyWfNodelog.selectNoticeType', '通知方式'),
190883
+ "rules": "required"
190884
+ },
190885
+ scopedSlots: _vm._u([{
190886
+ key: "default",
190887
+ fn: function fn(_ref3) {
190888
+ var errors = _ref3.errors;
190889
+ return [_c('el-tooltip', {
190890
+ class: {
190891
+ 'invalid-field': errors[0] !== undefined
190892
+ },
190893
+ attrs: {
190894
+ "disabled": errors[0] === undefined,
190895
+ "content": errors[0],
190896
+ "popper-class": "error-popper-class",
190897
+ "placement": "right-start",
190898
+ "effect": "dark"
190899
+ }
190900
+ }, [_c('el-checkbox-group', {
190901
+ model: {
190902
+ value: _vm.vo.msgTypes,
190903
+ callback: function callback($$v) {
190904
+ _vm.$set(_vm.vo, "msgTypes", $$v);
190905
+ },
190906
+ expression: "vo.msgTypes"
190907
+ }
190908
+ }, _vm._l(_vm.msgTypeList, function (option, optKey) {
190909
+ return _c('el-checkbox', {
190910
+ directives: [{
190911
+ name: "option-lbl",
190912
+ rawName: "v-option-lbl",
190913
+ value: 'msgTypes',
190914
+ expression: "'msgTypes'"
190915
+ }],
190916
+ key: optKey,
190917
+ attrs: {
190918
+ "label": option.value
190919
+ }
190920
+ }, [_vm._v(_vm._s(option.text))]);
190921
+ }), 1)], 1)];
190922
+ }
190923
+ }], null, false, 1930615039)
190924
+ })], 1)])])])])])]) : _vm._e(), _c('div', {
190925
+ staticClass: "dialog-footer",
190926
+ attrs: {
190927
+ "slot": "footer"
190928
+ },
190929
+ slot: "footer"
190930
+ }, [_c('el-button', {
190931
+ directives: [{
190932
+ name: "pageBtn-lbl",
190933
+ rawName: "v-pageBtn-lbl",
190934
+ value: 'cancel',
190935
+ expression: "'cancel'"
190936
+ }],
190937
+ attrs: {
190938
+ "plain": "",
190939
+ "icon": "el-icon-close",
190940
+ "type": "default"
190941
+ },
190942
+ on: {
190943
+ "click": _vm.handleDialogClose
190944
+ }
190945
+ }, [_vm._v("取 消")]), _c('el-button', {
190946
+ directives: [{
190947
+ name: "pageBtn-lbl",
190948
+ rawName: "v-pageBtn-lbl",
190949
+ value: 'sure',
190950
+ expression: "'sure'"
190951
+ }],
190952
+ attrs: {
190953
+ "icon": "el-icon-check",
190954
+ "type": "primary",
190955
+ "disabled": _vm.doing
190956
+ },
190957
+ on: {
190958
+ "click": _vm.handleSubmitForm
190959
+ }
190960
+ }, [_vm._v("确 定")])], 1)], 1) : _vm._e();
190961
+ };
190962
+ var WflogAddReadervue_type_template_id_287b9428_scoped_true_staticRenderFns = [];
190963
+
190964
+ ;// 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/WflogAddReader.vue?vue&type=script&lang=js
190965
+ function WflogAddReadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return WflogAddReadervue_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; }, WflogAddReadervue_type_script_lang_js_typeof(o); }
190966
+ function WflogAddReadervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ WflogAddReadervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == WflogAddReadervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(WflogAddReadervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
190967
+ function WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
190968
+ function WflogAddReadervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { WflogAddReadervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
190969
+
190970
+
190971
+ /* harmony default export */ var WflogAddReadervue_type_script_lang_js = ({
190972
+ name: 'WflogAddReader',
190973
+ components: {},
190974
+ props: {},
190975
+ data: function data() {
190976
+ return {
190977
+ dialogType: 'staff',
190978
+ winTitle: this.$tx('ecwapp.Wflowform.WflogAddReader.circulation', '传阅'),
190979
+ wfNodeName: '',
190980
+ dialogFormVisible: false,
190981
+ wfInstance: {},
190982
+ vo: {
190983
+ timeLimit: '',
190984
+ disabledViewIdea: 0,
190985
+ sendToOther: 0,
190986
+ addNewStaffName: '',
190987
+ msgTypes: []
190988
+ },
190989
+ reqData: {},
190990
+ msgTypeList: [],
190991
+ wfEngineUrl: '',
190992
+ loading: false,
190993
+ doing: false,
190994
+ selsctRows: [],
190995
+ $scope: null,
190996
+ showTable: false
190997
+ };
190998
+ },
190999
+ computed: {},
191000
+ watch: {},
191001
+ created: function created() {
191002
+ this.$bus.on('btnAddReader', this.btnAddReaderClick);
191003
+ },
191004
+ beforeDestroy: function beforeDestroy() {
191005
+ this.$bus.off('btnAddReader', this.btnAddReaderClick);
191006
+ },
191007
+ mounted: function mounted() {},
191008
+ methods: {
191009
+ btnAddReaderClick: function btnAddReaderClick($scope, toReadNodeName, dialogTitle, dialogType, selsctRows) {
191010
+ var _this2 = this;
191011
+ this.showTable = true;
191012
+ this.$scope = $scope;
191013
+ if (selsctRows && selsctRows.length > 0) {
191014
+ this.selsctRows = selsctRows;
191015
+ this.wfItemList = selsctRows;
191016
+ dialogType = dialogType || 'staff';
191017
+ var _this = this;
191018
+ if (_this.loading) {
191019
+ return;
191020
+ }
191021
+ _this.loading = true;
191022
+ _this.winTitle = dialogTitle || _this.$tx('ecwapp.WfNodelogList.toread', _this.winTitle);
191023
+ _this.wfInstance = JSON.parse(JSON.stringify(selsctRows[0]));
191024
+ // _this.wfInstance.passenger.busiData = $scope.vo
191025
+ // _this.wfNodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName || '阅知'
191026
+ _this.vo = {
191027
+ timeLimit: '',
191028
+ disabledViewIdea: 0,
191029
+ sendToOther: 0,
191030
+ addNewStaffName: '',
191031
+ msgTypes: [],
191032
+ nodeName: this.wfNodeName || _this.$tx('ecwapp.WfNodelogList.toread', _this.winTitle)
191033
+ };
191034
+ var curTime = new Date();
191035
+ curTime = curTime.getTime() + 7 * 24 * 60 * 60 * 1000;
191036
+ _this.vo.timeLimit = (0,utils/* formatTime */.fU)(new Date(curTime), 'YYYY-MM-DD HH:mm:ss');
191037
+ _this.dialogFormVisible = true;
191038
+ _this.doing = false;
191039
+
191040
+ // 获取系统配置消息通知方式
191041
+ this.$http({
191042
+ method: 'GET',
191043
+ contentType: 'application/x-www-form-urlencoded',
191044
+ url: 'base/sysSetup/queryOpenMsgType'
191045
+ }).then(function (response) {
191046
+ _this.loading = false;
191047
+ if (response.code === 'success') {
191048
+ var openMsgType = response.body.listdata || [];
191049
+ if (openMsgType.length === 0) {
191050
+ openMsgType.push({
191051
+ value: '0',
191052
+ text: '站内信'
191053
+ }, {
191054
+ value: '1',
191055
+ text: '短信通知'
191056
+ });
191057
+ } else {
191058
+ openMsgType.forEach(function (msgType) {
191059
+ msgType.value += '';
191060
+ });
191061
+ }
191062
+ _this2.msgTypeList = openMsgType;
191063
+ }
191064
+ }, function (err) {
191065
+ console.log(err);
191066
+ });
191067
+ } else {
191068
+ dialogType = dialogType || 'staff';
191069
+ var _this3 = this;
191070
+ if (_this3.loading) {
191071
+ return;
191072
+ }
191073
+ _this3.loading = true;
191074
+ _this3.winTitle = dialogTitle || _this3.$tx('ecwapp.WfNodelogList.toread', _this3.winTitle);
191075
+ _this3.wfInstance = JSON.parse(JSON.stringify($scope.wfInstance));
191076
+ _this3.wfInstance.passenger.busiData = $scope.vo;
191077
+ _this3.wfNodeName = toReadNodeName || $scope.curTN.passenger.toReadedNodeName || '阅知';
191078
+ _this3.vo = {
191079
+ timeLimit: '',
191080
+ disabledViewIdea: 0,
191081
+ sendToOther: 0,
191082
+ addNewStaffName: '',
191083
+ msgTypes: [],
191084
+ nodeName: this.wfNodeName || _this3.$tx('ecwapp.WfNodelogList.toread', _this3.winTitle)
191085
+ };
191086
+ var _curTime = new Date();
191087
+ _curTime = _curTime.getTime() + 7 * 24 * 60 * 60 * 1000;
191088
+ _this3.vo.timeLimit = (0,utils/* formatTime */.fU)(new Date(_curTime), 'YYYY-MM-DD HH:mm:ss');
191089
+ _this3.dialogFormVisible = true;
191090
+ _this3.doing = false;
191091
+
191092
+ // 获取系统配置消息通知方式
191093
+ this.$http({
191094
+ method: 'GET',
191095
+ contentType: 'application/x-www-form-urlencoded',
191096
+ url: 'base/sysSetup/queryOpenMsgType'
191097
+ }).then(function (response) {
191098
+ _this3.loading = false;
191099
+ if (response.code === 'success') {
191100
+ var openMsgType = response.body.listdata || [];
191101
+ if (openMsgType.length === 0) {
191102
+ openMsgType.push({
191103
+ value: '0',
191104
+ text: '站内信'
191105
+ }, {
191106
+ value: '1',
191107
+ text: '短信通知'
191108
+ });
191109
+ } else {
191110
+ openMsgType.forEach(function (msgType) {
191111
+ msgType.value += '';
191112
+ });
191113
+ }
191114
+ _this2.msgTypeList = openMsgType;
191115
+ }
191116
+ }, function (err) {
191117
+ console.log(err);
191118
+ });
191119
+ }
191120
+ },
191121
+ onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
191122
+ var reqData = {};
191123
+ if (selectedNodes.length > 0) {
191124
+ var $scope = this.$vnode.context.$vnode.context;
191125
+ reqData = {
191126
+ wfInstance: JSON.stringify(this.wfInstance)
191127
+ };
191128
+ reqData.openUrl = $scope.submitHandle ? $scope.submitHandle.openUrl : '';
191129
+ reqData.parentId = $scope.curTN ? $scope.curTN.tnID : '';
191130
+ reqData.sender = $scope.curTN ? $scope.curTN.userName : '';
191131
+ reqData.senderDept = $scope.curTN ? $scope.curTN.staffOrgName : '';
191132
+ reqData.senderStaffId = $scope.curTN ? $scope.curTN.staffID : '';
191133
+ reqData.leaders = [];
191134
+ var selectedReaders = '';
191135
+ selectedNodes.forEach(function (node) {
191136
+ // 公司领导:潘健/panjian@402881033860d2d5013860d7e2b20004
191137
+ reqData.leaders.push(node.orgFullName + ':' + node.name + '/' + node.account + '@' + node.id);
191138
+ if (selectedReaders) selectedReaders += '、';
191139
+ selectedReaders += node.name;
191140
+ });
191141
+ this.vo.addNewStaffName = selectedReaders;
191142
+ reqData.leaders = reqData.leaders.join(',');
191143
+ }
191144
+ this.reqData = reqData;
191145
+ },
191146
+ wfInstanceFn: function wfInstanceFn(item, url) {
191147
+ var _this4 = this;
191148
+ return WflogAddReadervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/WflogAddReadervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
191149
+ var res;
191150
+ return WflogAddReadervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
191151
+ while (1) switch (_context.prev = _context.next) {
191152
+ case 0:
191153
+ _context.next = 2;
191154
+ return _this4.$http({
191155
+ method: 'POST',
191156
+ contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
191157
+ url: url + '/activeWfInstanceById',
191158
+ params: {
191159
+ wfEngineUrl: url,
191160
+ wfInstanceId: item.wfInstanceId ? item.wfInstanceId : item.id,
191161
+ orgCode: _this4.$store.getters.loginUser.orgCode,
191162
+ copyWfNodeUser: 1,
191163
+ asyncLoading: 1,
191164
+ submitMode: 'sidebar'
191165
+ }
191166
+ }).then(function (resp) {
191167
+ res = resp;
191168
+ });
191169
+ case 2:
191170
+ return _context.abrupt("return", res);
191171
+ case 3:
191172
+ case "end":
191173
+ return _context.stop();
191174
+ }
191175
+ }, _callee);
191176
+ }))();
191177
+ },
191178
+ handleSubmitForm: function handleSubmitForm() {
191179
+ var _this5 = this;
191180
+ return WflogAddReadervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/WflogAddReadervue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
191181
+ var $scope, hasShownMessage, url, i, wfItem, item, urlStr, rst, busiData, curTN;
191182
+ return WflogAddReadervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
191183
+ while (1) switch (_context2.prev = _context2.next) {
191184
+ case 0:
191185
+ if (!(_this5.selsctRows && _this5.selsctRows.length > 0)) {
191186
+ _context2.next = 41;
191187
+ break;
191188
+ }
191189
+ _this5.loading = false;
191190
+ _this5.showTable = false;
191191
+ $scope = _this5.$scope;
191192
+ hasShownMessage = false; // 在循环外部定义标志变量
191193
+ url = $scope.moduleInfo.listDataUrl.split('/')[0] + '/' + $scope.moduleInfo.listDataUrl.split('/')[1];
191194
+ i = 0;
191195
+ case 7:
191196
+ if (!(i < _this5.selsctRows.length)) {
191197
+ _context2.next = 39;
191198
+ break;
191199
+ }
191200
+ wfItem = _this5.wfItemList[i];
191201
+ _this5.$set(wfItem, 'icon', 'loading');
191202
+ item = _this5.selsctRows[i];
191203
+ if (item.itemUrl && item.itemUrl.indexOf('wfEngineUrl=') > -1) {
191204
+ urlStr = item.itemUrl.split('wfEngineUrl=')[1];
191205
+ url = urlStr.split('&')[0];
191206
+ }
191207
+ _context2.next = 14;
191208
+ return _this5.wfInstanceFn(item, url);
191209
+ case 14:
191210
+ rst = _context2.sent;
191211
+ if (!(rst.code === 'success')) {
191212
+ _context2.next = 35;
191213
+ break;
191214
+ }
191215
+ if (rst.code === 'success') {
191216
+ _this5.$set(wfItem, 'icon', 'check');
191217
+ } else {
191218
+ _this5.$set(wfItem, 'icon', 'close');
191219
+ }
191220
+ busiData = JSON.parse(JSON.stringify(rst.body.wfInstance.passenger.busiData));
191221
+ rst.body.wfInstance.passenger = {};
191222
+ rst.body.wfInstance.passenger.busiData = busiData;
191223
+ curTN = rst.body.curTN;
191224
+ _this5.reqData.wfInstance = JSON.stringify(rst.body.wfInstance);
191225
+ _this5.reqData.openUrl = item.itemUrl ? item.itemUrl : '/wflow?wfEngineUrl=' + url;
191226
+ _this5.reqData.parentId = curTN.tnID;
191227
+ _this5.reqData.sender = curTN.userName;
191228
+ _this5.reqData.senderDept = curTN.staffOrgName;
191229
+ _this5.reqData.senderStaffId = curTN.staffID;
191230
+ _this5.reqData.timeLimit = _this5.vo.timeLimit;
191231
+ _this5.reqData.disabledViewIdea = _this5.vo.disabledViewIdea;
191232
+ _this5.reqData.sendToOther = _this5.vo.sendToOther;
191233
+ _this5.reqData.askMsgTypes = _this5.vo.msgTypes.join(',');
191234
+ _this5.reqData.nodeName = '阅知';
191235
+ _this5.$http({
191236
+ method: 'POST',
191237
+ contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
191238
+ data: lib_default().stringify(_this5.reqData),
191239
+ url: 'workflow/wfInstance/createToReadItem'
191240
+ }).then(function (response) {
191241
+ if (response.code === 'success' && !hasShownMessage) {
191242
+ _this5.$message({
191243
+ type: 'success',
191244
+ message: response.message,
191245
+ showClose: true,
191246
+ onClose: function onClose() {
191247
+ _this5.showTable = false;
191248
+ _this5.$bus.emit('refreshListData');
191249
+ _this5.handleDialogClose();
191250
+ }
191251
+ });
191252
+ hasShownMessage = true; // 设置标志变量为 true,确保只触发一次
191253
+ } else if (response.code !== 'success') {
191254
+ _this5.$alert(response.message, _this5.$tx('common.operationTip', '操作提示'), {
191255
+ confirmButtonText: _this5.$tx('ecwapp.PageBtns.sure', '确定'),
191256
+ type: 'warning'
191257
+ });
191258
+ }
191259
+ }).catch(function (error) {
191260
+ console.error('请求失败:', error);
191261
+ // 处理错误情况
191262
+ });
191263
+ _context2.next = 36;
191264
+ break;
191265
+ case 35:
191266
+ return _context2.abrupt("return", _this5.$message.error(rst.message));
191267
+ case 36:
191268
+ i++;
191269
+ _context2.next = 7;
191270
+ break;
191271
+ case 39:
191272
+ _context2.next = 48;
191273
+ break;
191274
+ case 41:
191275
+ _this5.$bus.emit('showDoingDialog');
191276
+ _this5.reqData.timeLimit = _this5.vo.timeLimit;
191277
+ _this5.reqData.disabledViewIdea = _this5.vo.disabledViewIdea;
191278
+ _this5.reqData.sendToOther = _this5.vo.sendToOther;
191279
+ _this5.reqData.askMsgTypes = _this5.vo.msgTypes.join(',');
191280
+ _this5.reqData.nodeName = _this5.vo.nodeName;
191281
+ _this5.$http({
191282
+ method: 'POST',
191283
+ contentType: 'application/x-www-form-urlencoded;charset=UTF-8',
191284
+ data: lib_default().stringify(_this5.reqData),
191285
+ url: 'workflow/wfInstance/createToReadItem'
191286
+ }).then(function (response) {
191287
+ _this5.$bus.emit('closeDoingDialog');
191288
+ if (response.code === 'success') {
191289
+ _this5.$message.success(_this5.$tx('ecwapp.Wflowform.WfNodelogList.addReadersSuccess', '已成功添加传阅人员!'));
191290
+ _this5.handleDialogClose();
191291
+ } else {
191292
+ _this5.$alert(response.message, _this5.$tx('common.operationTip', '操作提示'), {
191293
+ confirmButtonText: _this5.$tx('ecwapp.PageBtns.sure', '确定'),
191294
+ type: 'warning'
191295
+ });
191296
+ }
191297
+ });
191298
+ case 48:
191299
+ case "end":
191300
+ return _context2.stop();
191301
+ }
191302
+ }, _callee2);
191303
+ }))();
191304
+ },
191305
+ handleDialogClose: function handleDialogClose() {
191306
+ this.dialogFormVisible = false;
191307
+ this.wfInstance = {};
191308
+ this.wflog = {};
191309
+ this.wfdNodeList = [];
191310
+ }
191311
+ }
191312
+ });
191313
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue?vue&type=script&lang=js
191314
+ /* harmony default export */ var src_WflogAddReadervue_type_script_lang_js = (WflogAddReadervue_type_script_lang_js);
191315
+ // 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/WflogAddReader.vue?vue&type=style&index=0&id=287b9428&prod&scoped=true&lang=scss
191316
+ var WflogAddReadervue_type_style_index_0_id_287b9428_prod_scoped_true_lang_scss = __webpack_require__(35111);
191317
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue?vue&type=style&index=0&id=287b9428&prod&scoped=true&lang=scss
191318
+
191319
+ ;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WflogAddReader.vue
191320
+
191321
+
191322
+
191323
+ ;
191324
+
191325
+
191326
+ /* normalize component */
191327
+
191328
+ var WflogAddReader_component = (0,componentNormalizer/* default */.A)(
191329
+ src_WflogAddReadervue_type_script_lang_js,
191330
+ WflogAddReadervue_type_template_id_287b9428_scoped_true_render,
191331
+ WflogAddReadervue_type_template_id_287b9428_scoped_true_staticRenderFns,
191332
+ false,
191333
+ null,
191334
+ "287b9428",
191335
+ null
191336
+
191337
+ )
191338
+
191339
+ /* harmony default export */ var WflogAddReader = (WflogAddReader_component.exports);
191368
191340
  ;// 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/WflowView.vue?vue&type=template&id=0ad5803a
191369
191341
  var WflowViewvue_type_template_id_0ad5803a_render = function render() {
191370
191342
  var _vm = this,
@@ -192556,6 +192528,7 @@ var ViewBodyFile_component = (0,componentNormalizer/* default */.A)(
192556
192528
 
192557
192529
 
192558
192530
 
192531
+
192559
192532
 
192560
192533
  // 为组件添加 install 方法,用于按需引入
192561
192534
  Attachment.install = function (Vue) {
@@ -192600,6 +192573,9 @@ SubmitDialog.install = function (Vue) {
192600
192573
  WfNodelogList.install = function (Vue) {
192601
192574
  Vue.component(WfNodelogList.name, WfNodelogList);
192602
192575
  };
192576
+ WflogAddReader.install = function (Vue) {
192577
+ Vue.component(WflogAddReader.name, WflogAddReader);
192578
+ };
192603
192579
  WflowView.install = function (Vue) {
192604
192580
  Vue.component(WflowView.name, WflowView);
192605
192581
  };
@@ -192629,6 +192605,7 @@ var Wflowform_SelectOuterDeputy = SelectOuterDeputy;
192629
192605
  var Wflowform_SubmitHandle = SubmitHandle;
192630
192606
  var Wflowform_SubmitDialog = SubmitDialog;
192631
192607
  var Wflowform_WfNodelogList = WfNodelogList;
192608
+ var Wflowform_WflogAddReader = WflogAddReader;
192632
192609
  var Wflowform_WflowView = WflowView;
192633
192610
  var Wflowform_ImgView = ImgView;
192634
192611
  var Wflowform_IdeaSignature = IdeaSignature;
@@ -279201,7 +279178,7 @@ __webpack_require__(32618);
279201
279178
 
279202
279179
 
279203
279180
  // 以数组的结构保存组件,便于遍历
279204
- var components = [app, auth, eventBus, user, Basicform, BatchProcessing, BatchProcessing_TaskItemTypeTree, Basicform_DynamicForm, Basicform_FormItem, DataTable, DataTable_Toolbar, DatetimeRange, DoingDialog, InnerTable, LRLayout, LeftPanel, RightPanel, ModifyFormTrace, PageHeader, PageContent, PdfTools, ResRoles_ResRoles, ResRoles_RoleInfoForm, ResRoles_RolePermissionForm, Product_Product, ProductRoleMgr, Module/* ModuleIndex */.$U, Module/* SysSetup */.DY, Module/* CopyMenu */.tT, Module/* ModuleMenu */.Mq, ResRoles_PermissionMatrixMgr, Module/* FrameLoader */.vT, Organ_ImportPersonOrg, Organ_ImportWorkgroupMember, Organ_OrgPersonMgr, Organ_OrgTreeMgr, Organ_JobMatrixMgr, Organ_OrgUserList, Organ_OrgTreeLRLayout, Organ_ColumnEdit, RichtextEditor, ScrollPane, SelectDialog, SelectGroup, SidebarLogo, SvgIcon, WfNames, BusiformDesigner, FromEventEdit, ListPageDesigner, TableEntityDesigner_DbSearchPanel, TableEntityDesigner_TableEntityBatchAdd, UdmGenerator_UserModuleForm, TableEntityDesigner_TableEntityForm, TableEntityDesigner_TableFieldForm, TableEntityDesigner_TableFieldList, TableEntityDesigner_ImportModuleCode, TableEntityDesigner_ExportModuleCode, PortalPageDesigner, PortalPageDesigner_PageEvent, PortalPageDesigner_ModuleStyle, UdmGenerator, UdmGenerator_UserModuleForm, SystemDesigner, ResRoles_RoleMgr, ResRoles_RolePermissionSet, ResRoles_UserPermissionSet, WfdList, AdminConsole_BusiformList, AdminConsole_BusiformMgr, AdminConsole_ListpageList, AdminConsole_ListpageMgr, AdminConsole_CodeEditor, AdminConsole_SyncRestfulApi, AdminConsole_TableEntityList, AdminConsole_TableEntityMgr, wfengine, WorkflowDesigner, ImportWf, FlowTrace, Tester, Wflowform_Attachment, Wflowform_BodyFile, Wflowform_CommandBar, Wflowform_HandleIdea, Wflowform_IdeaInputBox, Wflowform_ModifyWflogAddUser, Wflowform_ModifyWflogSubmitFile, Wflowform_ModifyWflogIdea, Wflowform_WriteToReadIdea, Wflowform_ModifyWfNodelog, Wflowform_SelectOuterDeputy, Wflowform_SubmitHandle, Wflowform_SubmitDialog, Wflowform_WfNodelogList, Wflowform_namespaceObject.WflogAddReader, Wflowform_WflowView, Wflowform_ImgView, Wflowform_IdeaSignature, Wflowform_ReplaceFile, Wflowform_ViewBodyFile, TextRecognition_PDFInjector, TextRecognition_TextRecognition];
279181
+ var components = [app, auth, eventBus, user, Basicform, BatchProcessing, BatchProcessing_TaskItemTypeTree, Basicform_DynamicForm, Basicform_FormItem, DataTable, DataTable_Toolbar, DatetimeRange, DoingDialog, InnerTable, LRLayout, LeftPanel, RightPanel, ModifyFormTrace, PageHeader, PageContent, PdfTools, ResRoles_ResRoles, ResRoles_RoleInfoForm, ResRoles_RolePermissionForm, Product_Product, ProductRoleMgr, Module/* ModuleIndex */.$U, Module/* SysSetup */.DY, Module/* CopyMenu */.tT, Module/* ModuleMenu */.Mq, ResRoles_PermissionMatrixMgr, Module/* FrameLoader */.vT, Organ_ImportPersonOrg, Organ_ImportWorkgroupMember, Organ_OrgPersonMgr, Organ_OrgTreeMgr, Organ_JobMatrixMgr, Organ_OrgUserList, Organ_OrgTreeLRLayout, Organ_ColumnEdit, RichtextEditor, ScrollPane, SelectDialog, SelectGroup, SidebarLogo, SvgIcon, WfNames, BusiformDesigner, FromEventEdit, ListPageDesigner, TableEntityDesigner_DbSearchPanel, TableEntityDesigner_TableEntityBatchAdd, UdmGenerator_UserModuleForm, TableEntityDesigner_TableEntityForm, TableEntityDesigner_TableFieldForm, TableEntityDesigner_TableFieldList, TableEntityDesigner_ImportModuleCode, TableEntityDesigner_ExportModuleCode, PortalPageDesigner, PortalPageDesigner_PageEvent, PortalPageDesigner_ModuleStyle, UdmGenerator, UdmGenerator_UserModuleForm, SystemDesigner, ResRoles_RoleMgr, ResRoles_RolePermissionSet, ResRoles_UserPermissionSet, WfdList, AdminConsole_BusiformList, AdminConsole_BusiformMgr, AdminConsole_ListpageList, AdminConsole_ListpageMgr, AdminConsole_CodeEditor, AdminConsole_SyncRestfulApi, AdminConsole_TableEntityList, AdminConsole_TableEntityMgr, wfengine, WorkflowDesigner, ImportWf, FlowTrace, Tester, Wflowform_Attachment, Wflowform_BodyFile, Wflowform_CommandBar, Wflowform_HandleIdea, Wflowform_IdeaInputBox, Wflowform_ModifyWflogAddUser, Wflowform_ModifyWflogSubmitFile, Wflowform_ModifyWflogIdea, Wflowform_WriteToReadIdea, Wflowform_ModifyWfNodelog, Wflowform_SelectOuterDeputy, Wflowform_SubmitHandle, Wflowform_SubmitDialog, Wflowform_WfNodelogList, Wflowform_WflogAddReader, Wflowform_WflowView, Wflowform_ImgView, Wflowform_IdeaSignature, Wflowform_ReplaceFile, Wflowform_ViewBodyFile, TextRecognition_PDFInjector, TextRecognition_TextRecognition];
279205
279182
 
279206
279183
  // 定义 install 方法
279207
279184
  var wappaio_install = function install(Vue) {