eoss-ui 0.4.61 → 0.4.63

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.
Files changed (98) hide show
  1. package/lib/button-group.js +46 -44
  2. package/lib/button.js +46 -44
  3. package/lib/card.js +2 -2
  4. package/lib/cascader.js +2 -2
  5. package/lib/checkbox-group.js +61 -69
  6. package/lib/clients.js +2 -2
  7. package/lib/data-table-form.js +44 -42
  8. package/lib/data-table.js +107 -91
  9. package/lib/date-picker.js +53 -51
  10. package/lib/dialog.js +51 -50
  11. package/lib/editor.js +6 -6
  12. package/lib/enterprise.js +2 -2
  13. package/lib/eoss-ui.common.js +2408 -5194
  14. package/lib/error-page.js +2 -2
  15. package/lib/flow-group.js +127 -63
  16. package/lib/flow-list.js +1020 -323
  17. package/lib/flow.js +51 -50
  18. package/lib/form.js +231 -46
  19. package/lib/handle-user.js +46 -44
  20. package/lib/handler.js +49 -47
  21. package/lib/icons.js +4 -4
  22. package/lib/index.js +1 -1
  23. package/lib/input-number.js +46 -44
  24. package/lib/input.js +46 -44
  25. package/lib/label.js +2 -2
  26. package/lib/login.js +49 -47
  27. package/lib/main.js +289 -177
  28. package/lib/menu.js +7 -5
  29. package/lib/nav.js +48 -48
  30. package/lib/notify.js +2 -2
  31. package/lib/page.js +46 -44
  32. package/lib/pagination.js +2 -2
  33. package/lib/player.js +48 -46
  34. package/lib/qr-code.js +46 -44
  35. package/lib/radio-group.js +49 -47
  36. package/lib/retrial-auth.js +46 -44
  37. package/lib/select-ganged.js +46 -44
  38. package/lib/select.js +47 -45
  39. package/lib/selector-panel.js +46 -44
  40. package/lib/selector.js +63 -50
  41. package/lib/sizer.js +46 -44
  42. package/lib/steps.js +46 -44
  43. package/lib/switch.js +46 -44
  44. package/lib/table-form.js +46 -44
  45. package/lib/tabs-panel.js +2 -2
  46. package/lib/tabs.js +53 -51
  47. package/lib/theme-chalk/data-table.css +1 -1
  48. package/lib/theme-chalk/dialog.css +1 -1
  49. package/lib/theme-chalk/flow-list.css +1 -1
  50. package/lib/theme-chalk/index.css +1 -1
  51. package/lib/theme-chalk/menu.css +1 -1
  52. package/lib/tips.js +46 -44
  53. package/lib/toolbar.js +2 -2
  54. package/lib/tree-group.js +46 -44
  55. package/lib/tree.js +46 -44
  56. package/lib/upload.js +52 -50
  57. package/lib/utils/util.js +44 -42
  58. package/lib/wujie.js +46 -44
  59. package/lib/wxlogin.js +46 -44
  60. package/package.json +2 -2
  61. package/packages/checkbox-group/src/main.vue +16 -25
  62. package/packages/data-table/src/column.vue +15 -1
  63. package/packages/data-table/src/main.vue +58 -47
  64. package/packages/flow/src/component/taskUnionExamine.vue +0 -1
  65. package/packages/flow-group/src/main.vue +32 -14
  66. package/packages/flow-list/src/flow-table.vue +5 -1
  67. package/packages/flow-list/src/main.vue +780 -43
  68. package/packages/form/src/main.vue +63 -0
  69. package/packages/handler/src/main.vue +1 -1
  70. package/packages/login/src/main.vue +10 -1
  71. package/packages/main/src/main.vue +186 -63
  72. package/packages/main/src/userinfo.vue +3 -3
  73. package/packages/menu/src/main.vue +5 -3
  74. package/packages/nav/src/main.vue +0 -2
  75. package/packages/radio-group/src/main.vue +9 -5
  76. package/packages/select/src/main.vue +1 -1
  77. package/packages/selector/src/main.vue +12 -4
  78. package/packages/theme-chalk/lib/data-table.css +1 -1
  79. package/packages/theme-chalk/lib/dialog.css +1 -1
  80. package/packages/theme-chalk/lib/flow-list.css +1 -1
  81. package/packages/theme-chalk/lib/index.css +1 -1
  82. package/packages/theme-chalk/lib/menu.css +1 -1
  83. package/packages/theme-chalk/src/data-table.scss +10 -17
  84. package/packages/theme-chalk/src/dialog.scss +1 -1
  85. package/packages/theme-chalk/src/flow-list.scss +29 -34
  86. package/packages/theme-chalk/src/index.scss +0 -1
  87. package/packages/theme-chalk/src/menu.scss +3 -0
  88. package/packages/upload/src/main.vue +1 -1
  89. package/src/index.js +1 -4
  90. package/src/utils/util.js +58 -55
  91. package/lib/mainComp.js +0 -6817
  92. package/packages/mainComp/index.js +0 -5
  93. package/packages/mainComp/src/async-component/index.vue +0 -85
  94. package/packages/mainComp/src/main.vue +0 -1944
  95. package/packages/mainComp/src/message.vue +0 -239
  96. package/packages/mainComp/src/notice.vue +0 -152
  97. package/packages/mainComp/src/settings.vue +0 -105
  98. package/packages/mainComp/src/userinfo.vue +0 -430
package/lib/flow-list.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 34);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 33);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -248,52 +248,54 @@ var ajax = function ajax(_ref) {
248
248
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
249
249
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
250
250
  if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
251
- clearTimeout(loginMsg);
252
251
  var remind = sessionStorage.getItem('remind');
253
- !remind && (loginMsg = setTimeout(function () {
254
- sessionStorage.setItem('remind', 1);
255
- eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
256
- confirmButtonText: '确定',
257
- closeOnClickModal: false,
258
- type: 'warning'
259
- } : {
260
- confirmButtonText: '确定',
261
- cancelButtonText: '取消',
262
- closeOnClickModal: false,
263
- type: 'warning'
264
- }).then(function () {
265
- var loginPage = getStorage('login') || getStorage('loginPage');
266
- if (loginPage) {
267
- var src = void 0;
268
- if (!startWith(loginPage, ['http', '/'])) {
269
- var pathname = win.top.location.pathname;
270
- if (pathname !== '/') {
271
- pathname = pathname.split('/');
272
- pathname.splice(pathname.length - 1);
273
- pathname = pathname.join('/');
274
- src = pathname + '/' + loginPage.replace('./', '');
252
+ if (!remind) {
253
+ clearTimeout(loginMsg);
254
+ loginMsg = setTimeout(function () {
255
+ sessionStorage.setItem('remind', 1);
256
+ eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
257
+ confirmButtonText: '确定',
258
+ closeOnClickModal: false,
259
+ type: 'warning'
260
+ } : {
261
+ confirmButtonText: '确定',
262
+ cancelButtonText: '取消',
263
+ closeOnClickModal: false,
264
+ type: 'warning'
265
+ }).then(function () {
266
+ var loginPage = getStorage('login') || getStorage('loginPage');
267
+ if (loginPage) {
268
+ var src = void 0;
269
+ if (!startWith(loginPage, ['http', '/'], true)) {
270
+ var pathname = win.top.location.pathname;
271
+ if (pathname !== '/') {
272
+ pathname = pathname.split('/');
273
+ pathname.splice(pathname.length - 1);
274
+ pathname = pathname.join('/');
275
+ src = pathname + '/' + loginPage.replace('./', '');
276
+ } else {
277
+ src = pathname + loginPage.replace('./', '');
278
+ }
275
279
  } else {
276
- src = pathname + loginPage.replace('./', '');
280
+ src = loginPage;
277
281
  }
282
+ win.top.location.href = src;
283
+ } else if (win.top.location.href.indexOf('main.html') > -1) {
284
+ win.top.location.href = './login.html';
278
285
  } else {
279
- src = loginPage;
280
- }
281
- win.top.location.href = src;
282
- } else if (win.top.location.href.indexOf('main.html') > -1) {
283
- win.top.location.href = './login.html';
284
- } else {
285
- var hash = win.top.location.hash;
286
- if (hash) {
287
- var len = win.top.location.href.indexOf(hash);
288
- win.top.location.href = win.location.href.slice(0, len) + '#/login';
289
- } else {
290
- win.top.location.href = '/login.html';
286
+ var hash = win.top.location.hash;
287
+ if (hash) {
288
+ var len = win.top.location.href.indexOf(hash);
289
+ win.top.location.href = win.location.href.slice(0, len) + '#/login';
290
+ } else {
291
+ win.top.location.href = '/login.html';
292
+ }
291
293
  }
292
- }
293
- }).catch(function (e) {
294
- sessionStorage.removeItem('remind');
295
- });
296
- }, 1000));
294
+ }).catch(function (e) {
295
+ sessionStorage.removeItem('remind');
296
+ });
297
+ }, 2000);
298
+ }
297
299
  }
298
300
  } else if (response.data.rCode === 61) {
299
301
  clearTimeout(initAuth);
@@ -2082,7 +2084,7 @@ var setStorage = function setStorage(_ref14) {
2082
2084
  * @param {boolean} [or] - 或者(等同于||)
2083
2085
  **/
2084
2086
  var startWith = function startWith(value, reg) {
2085
- var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
2087
+ var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
2086
2088
 
2087
2089
  if (Array.isArray(reg)) {
2088
2090
  var flag = true;
@@ -3016,190 +3018,222 @@ function normalizeComponent(
3016
3018
 
3017
3019
  /***/ }),
3018
3020
 
3019
- /***/ 34:
3021
+ /***/ 33:
3020
3022
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3021
3023
 
3022
3024
  "use strict";
3023
3025
  // ESM COMPAT FLAG
3024
3026
  __webpack_require__.r(__webpack_exports__);
3025
3027
 
3026
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=0fd64532&
3027
- var mainvue_type_template_id_0fd64532_render = function () {
3028
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=template&id=b334e09a&
3029
+ var mainvue_type_template_id_b334e09a_render = function () {
3028
3030
  var _vm = this
3029
3031
  var _h = _vm.$createElement
3030
3032
  var _c = _vm._self._c || _h
3031
- return _c("div", { staticClass: "flow-list" }, [
3032
- _vm.hide.indexOf("flow") == -1
3033
- ? _c(
3033
+ return _c(
3034
+ "div",
3035
+ { staticClass: "es-flow-list" },
3036
+ [
3037
+ _vm._l(_vm.content, function (item, index) {
3038
+ return _c(
3034
3039
  "div",
3035
3040
  {
3036
- class:
3037
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3038
- ? "preset-list"
3039
- : "preset-list-tow",
3040
- staticStyle: { flex: "1" },
3041
+ directives: [
3042
+ {
3043
+ name: "show",
3044
+ rawName: "v-show",
3045
+ value:
3046
+ (item.type == "splitReading" &&
3047
+ _vm.splitReadingData &&
3048
+ _vm.splitReadingData.length > 0) ||
3049
+ item.type != "splitReading",
3050
+ expression:
3051
+ "\n (item.type == 'splitReading' &&\n splitReadingData &&\n splitReadingData.length > 0) ||\n item.type != 'splitReading'\n ",
3052
+ },
3053
+ ],
3054
+ key: index,
3055
+ staticClass: "es-flow-list-item",
3041
3056
  },
3042
3057
  [
3043
- _c("div", { staticClass: "title" }, [
3044
- _vm._v("\n 流程列表\n "),
3045
- _vm.isShort != 1
3046
- ? _c(
3047
- "div",
3048
- {
3049
- staticStyle: {
3050
- display: "inline-block",
3051
- "margin-left": "10px",
3052
- },
3053
- },
3054
- [
3055
- _c(
3056
- "es-select",
3057
- {
3058
- attrs: { placeholder: "请选择" },
3059
- on: { change: _vm.handleChange },
3060
- model: {
3061
- value: _vm.viewType,
3062
- callback: function ($$v) {
3063
- _vm.viewType = $$v
3064
- },
3065
- expression: "viewType",
3066
- },
3067
- },
3068
- _vm._l(_vm.options, function (item) {
3069
- return _c("el-option", {
3070
- key: item.value,
3071
- attrs: { label: item.label, value: item.value },
3072
- })
3073
- }),
3074
- 1
3075
- ),
3076
- _c(
3077
- "el-radio-group",
3078
- {
3079
- staticClass: "list-radio",
3080
- on: { input: _vm.handleChange },
3081
- model: {
3082
- value: _vm.showSuggest,
3083
- callback: function ($$v) {
3084
- _vm.showSuggest = $$v
3085
- },
3086
- expression: "showSuggest",
3087
- },
3088
- },
3089
- [
3090
- _c("el-radio", { attrs: { label: "all" } }, [
3091
- _vm._v("显示全部"),
3092
- ]),
3093
- _c("el-radio", { attrs: { label: "have" } }, [
3094
- _vm._v("显示已填意见"),
3095
- ]),
3096
- ],
3097
- 1
3098
- ),
3099
- ],
3100
- 1
3101
- )
3102
- : _vm._e(),
3103
- ]),
3104
- _vm.show
3105
- ? _c(
3106
- "FlowTable",
3058
+ _c(
3059
+ "div",
3060
+ { staticClass: "es-flow-list-box" },
3061
+ [
3062
+ _c(
3063
+ "es-data-table",
3107
3064
  _vm._b(
3108
3065
  {
3109
- staticStyle: { height: "calc(100% - 60px)" },
3066
+ class: {
3067
+ "es-flow-group-data-table": item.type !== "sign",
3068
+ },
3110
3069
  attrs: {
3111
- data: _vm.flowTableList,
3112
- modify: _vm.modify,
3113
- fileStyle: _vm.attachmentPaperClipCssStyle,
3070
+ number: "",
3071
+ full: "",
3072
+ data:
3073
+ item.type === "preset"
3074
+ ? _vm.presetData
3075
+ : item.type === "sign"
3076
+ ? _vm.signData
3077
+ : item.type === "splitReading"
3078
+ ? _vm.splitReadingData
3079
+ : _vm.flowData,
3080
+ },
3081
+ on: {
3082
+ "cell-click": _vm.handleCellClick,
3083
+ "btn-click": _vm.handleBtnClick,
3114
3084
  },
3115
- on: { success: _vm.handleChange },
3116
3085
  },
3117
- "FlowTable",
3118
- _vm.flowTableInfo,
3086
+ "es-data-table",
3087
+ item,
3119
3088
  false
3120
3089
  )
3121
- )
3122
- : _vm._e(),
3123
- ],
3124
- 1
3090
+ ),
3091
+ ],
3092
+ 1
3093
+ ),
3094
+ ]
3125
3095
  )
3126
- : _vm._e(),
3127
- _vm.fyTableList != undefined &&
3128
- _vm.fyTableList.length != 0 &&
3129
- _vm.show &&
3130
- _vm.hide.indexOf("splitReading") == -1
3131
- ? _c(
3132
- "div",
3133
- {
3134
- class: "preset-list",
3135
- style: _vm.hide.indexOf("preset") != -1 ? "flex:1" : "",
3136
- },
3137
- [
3138
- _c("div", { staticClass: "title" }, [
3139
- _vm._v(
3140
- _vm._s(_vm.taskReadName ? _vm.taskReadName : "非流程") + "列表"
3141
- ),
3142
- ]),
3143
- _c(
3144
- "FlowTable",
3145
- _vm._b(
3096
+ }),
3097
+ _vm.showFileList
3098
+ ? _c(
3099
+ "es-dialog",
3100
+ {
3101
+ attrs: {
3102
+ "append-to-body": "",
3103
+ "close-on-click-modal": false,
3104
+ title: "查看附件",
3105
+ visible: _vm.showFileList,
3106
+ },
3107
+ on: {
3108
+ "update:visible": function ($event) {
3109
+ _vm.showFileList = $event
3110
+ },
3111
+ },
3112
+ },
3113
+ [
3114
+ _c("FileList", {
3115
+ attrs: {
3116
+ ownId: _vm.wfpendingid,
3117
+ code: _vm.flowTableInfo.adjunctCode,
3118
+ deleted: false,
3119
+ disabled: true,
3120
+ },
3121
+ on: {
3122
+ cancel: function ($event) {
3123
+ _vm.showFileList = false
3124
+ },
3125
+ },
3126
+ }),
3127
+ ],
3128
+ 1
3129
+ )
3130
+ : _vm._e(),
3131
+ _vm.showPress
3132
+ ? _c(
3133
+ "es-dialog",
3134
+ {
3135
+ attrs: {
3136
+ "append-to-body": "",
3137
+ "close-on-click-modal": false,
3138
+ title: "查看催办记录",
3139
+ visible: _vm.showPress,
3140
+ height: "500px",
3141
+ },
3142
+ on: {
3143
+ "update:visible": function ($event) {
3144
+ _vm.showPress = $event
3145
+ },
3146
+ },
3147
+ },
3148
+ [
3149
+ _c(
3150
+ "div",
3146
3151
  {
3147
- staticStyle: { height: "calc(100% - 40px)" },
3148
- attrs: { data: _vm.fyTableList },
3149
- on: { success: _vm.handleChange },
3152
+ directives: [
3153
+ {
3154
+ name: "loading",
3155
+ rawName: "v-loading",
3156
+ value: _vm.pressLoading,
3157
+ expression: "pressLoading",
3158
+ },
3159
+ ],
3160
+ staticStyle: { height: "400px" },
3150
3161
  },
3151
- "FlowTable",
3152
- _vm.flowTableInfo,
3153
- false
3154
- )
3155
- ),
3156
- ],
3157
- 1
3158
- )
3159
- : _vm._e(),
3160
- _vm.show && _vm.hide.indexOf("preset") == -1
3161
- ? _c(
3162
- "div",
3163
- {
3164
- class:
3165
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3166
- ? "preset-list"
3167
- : "preset-list-tow",
3168
- style:
3169
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3170
- ? ""
3171
- : "flex:1",
3172
- },
3173
- [
3174
- _c("div", { staticClass: "title" }, [_vm._v("预设列表")]),
3175
- _c("es-data-table", {
3176
- staticStyle: { width: "100%" },
3162
+ [
3163
+ _c("es-data-table", {
3164
+ staticStyle: { width: "100%" },
3165
+ attrs: {
3166
+ data: _vm.pressTableList,
3167
+ thead: _vm.pressThead,
3168
+ stripe: "",
3169
+ full: "",
3170
+ page: _vm.pageInfo,
3171
+ },
3172
+ on: {
3173
+ "page-size-change": _vm.handleSizeChange,
3174
+ "page-current-change": _vm.handleCurrentChange,
3175
+ "sort-change": _vm.sortChange,
3176
+ },
3177
+ }),
3178
+ ],
3179
+ 1
3180
+ ),
3181
+ ]
3182
+ )
3183
+ : _vm._e(),
3184
+ _vm.showDel
3185
+ ? _c(
3186
+ "es-dialog",
3187
+ {
3188
+ staticClass: "del-flow",
3177
3189
  attrs: {
3178
- numbers: "",
3179
- data: _vm.tableData,
3180
- thead: _vm.thead,
3181
- stripe: "",
3182
- full: "",
3190
+ "append-to-body": "",
3191
+ "close-on-click-modal": false,
3192
+ title: "删除",
3193
+ visible: _vm.showDel,
3194
+ height: "auto",
3183
3195
  },
3184
- on: { btnClick: _vm.handleClick },
3185
- }),
3186
- ],
3187
- 1
3188
- )
3189
- : _vm._e(),
3190
- ])
3196
+ on: {
3197
+ "update:visible": function ($event) {
3198
+ _vm.showDel = $event
3199
+ },
3200
+ },
3201
+ },
3202
+ [
3203
+ _c("es-form", {
3204
+ directives: [
3205
+ {
3206
+ name: "loading",
3207
+ rawName: "v-loading",
3208
+ value: _vm.delLoading,
3209
+ expression: "delLoading",
3210
+ },
3211
+ ],
3212
+ attrs: { model: _vm.formData, contents: _vm.formItemList },
3213
+ on: { submit: _vm.handleFormSubmit },
3214
+ }),
3215
+ ],
3216
+ 1
3217
+ )
3218
+ : _vm._e(),
3219
+ ],
3220
+ 2
3221
+ )
3191
3222
  }
3192
3223
  var staticRenderFns = []
3193
- mainvue_type_template_id_0fd64532_render._withStripped = true
3224
+ mainvue_type_template_id_b334e09a_render._withStripped = true
3194
3225
 
3195
3226
 
3196
- // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=0fd64532&
3227
+ // CONCATENATED MODULE: ./packages/flow-list/src/main.vue?vue&type=template&id=b334e09a&
3197
3228
 
3198
3229
  // EXTERNAL MODULE: ./src/config/api.js
3199
3230
  var api = __webpack_require__(1);
3200
3231
 
3201
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/flow-table.vue?vue&type=template&id=6b55e38f&
3202
- var flow_tablevue_type_template_id_6b55e38f_render = function () {
3232
+ // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
3233
+ var FileList = __webpack_require__(11);
3234
+
3235
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/flow-table.vue?vue&type=template&id=010330c8&
3236
+ var flow_tablevue_type_template_id_010330c8_render = function () {
3203
3237
  var _vm = this
3204
3238
  var _h = _vm.$createElement
3205
3239
  var _c = _vm._self._c || _h
@@ -3211,7 +3245,12 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
3211
3245
  "es-data-table",
3212
3246
  {
3213
3247
  staticStyle: { width: "100%" },
3214
- attrs: { data: _vm.data, border: "" },
3248
+ attrs: {
3249
+ toolbar: _vm.toolbar,
3250
+ showFormBtn: false,
3251
+ data: _vm.data,
3252
+ border: "",
3253
+ },
3215
3254
  },
3216
3255
  [
3217
3256
  _c("el-table-column", {
@@ -3600,18 +3639,15 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
3600
3639
  1
3601
3640
  )
3602
3641
  }
3603
- var flow_tablevue_type_template_id_6b55e38f_staticRenderFns = []
3604
- flow_tablevue_type_template_id_6b55e38f_render._withStripped = true
3642
+ var flow_tablevue_type_template_id_010330c8_staticRenderFns = []
3643
+ flow_tablevue_type_template_id_010330c8_render._withStripped = true
3605
3644
 
3606
3645
 
3607
- // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=template&id=6b55e38f&
3646
+ // CONCATENATED MODULE: ./packages/flow-list/src/flow-table.vue?vue&type=template&id=010330c8&
3608
3647
 
3609
3648
  // EXTERNAL MODULE: ./src/utils/util.js
3610
3649
  var util = __webpack_require__(0);
3611
3650
 
3612
- // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
3613
- var FileList = __webpack_require__(11);
3614
-
3615
3651
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/flow-table.vue?vue&type=script&lang=js&
3616
3652
  var _components;
3617
3653
 
@@ -3826,6 +3862,12 @@ var _components;
3826
3862
  hasAgent: {
3827
3863
  type: String,
3828
3864
  default: '1'
3865
+ },
3866
+ toolbar: {
3867
+ type: Array,
3868
+ default: function _default() {
3869
+ return [];
3870
+ }
3829
3871
  }
3830
3872
  },
3831
3873
  filters: {
@@ -4070,8 +4112,8 @@ var componentNormalizer = __webpack_require__(3);
4070
4112
 
4071
4113
  var component = Object(componentNormalizer["a" /* default */])(
4072
4114
  src_flow_tablevue_type_script_lang_js_,
4073
- flow_tablevue_type_template_id_6b55e38f_render,
4074
- flow_tablevue_type_template_id_6b55e38f_staticRenderFns,
4115
+ flow_tablevue_type_template_id_010330c8_render,
4116
+ flow_tablevue_type_template_id_010330c8_staticRenderFns,
4075
4117
  false,
4076
4118
  null,
4077
4119
  null,
@@ -4081,6 +4123,8 @@ var component = Object(componentNormalizer["a" /* default */])(
4081
4123
 
4082
4124
  /* harmony default export */ var flow_table = (component.exports);
4083
4125
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow-list/src/main.vue?vue&type=script&lang=js&
4126
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4127
+
4084
4128
  var mainvue_type_script_lang_js_components;
4085
4129
 
4086
4130
  //
@@ -4174,86 +4218,573 @@ var mainvue_type_script_lang_js_components;
4174
4218
  //
4175
4219
  //
4176
4220
  //
4177
-
4178
-
4179
-
4180
-
4181
- /* harmony default export */ var mainvue_type_script_lang_js_ = ({
4182
- name: 'EsFlowList',
4183
- components: (mainvue_type_script_lang_js_components = {}, mainvue_type_script_lang_js_components[flow_table.name] = flow_table, mainvue_type_script_lang_js_components),
4184
- props: {
4185
- businessId: {
4186
- type: String,
4187
- default: ''
4188
- },
4189
- hide: {
4190
- type: String,
4191
- default: ''
4192
- }
4193
- },
4194
- inheritAttrs: false,
4195
- data: function data() {
4196
- return {
4197
- loading: '', //加载中
4198
- preset_type: [], //预设类型
4199
- showPress: false, //查看催办记录弹窗
4200
- modify: false,
4201
- attachmentPaperClipCssStyle: '',
4202
- is_edit: [], //是否可编辑
4203
- tableData: [], //预设列表
4204
- flowTableInfo: {
4205
- adjunctCode: '',
4206
- hasAgent: '1' //是否展示代办人 1:展示 0:不展示
4207
- },
4208
- show: false,
4209
- taskReadName: '', //非流程列表名称
4210
- options: [{ label: '时间排序', value: '1' }, { label: '部门排序', value: '2' }, { label: '树形排序', value: '3' }],
4211
- isShort: 0, //是否隐藏筛选
4212
- viewType: '1', //排序方式
4213
- flowTableList: [], //流程列表
4214
- fyTableList: [], //分阅列表
4215
- showSuggest: 'all', //筛选显示数据
4216
- presetInfoListHiddenColumns: '', //隐藏表格展示数据
4217
- canDelete: false //是否展示操作按钮
4218
- };
4219
- },
4220
-
4221
- computed: {
4222
- thead: function thead() {
4223
- var _this = this;
4224
-
4225
- var table = [{
4226
- title: '步骤',
4227
- align: 'center',
4228
- width: '100',
4229
- field: 'nodeName'
4230
- }, {
4231
- title: '预设办理人',
4232
- width: '120',
4233
- align: 'center',
4234
- field: 'presetUserName'
4235
- }, {
4236
- title: '是否可编辑',
4237
- key: 'sfkbj',
4238
- align: 'center',
4239
- width: '100',
4240
- render: function render(h, params) {
4241
- return h('span', _this.getCodeValue(params.row.isEdit, 'is_edit'));
4242
- },
4243
- field: 'isEdit'
4244
- }, {
4245
- key: 'zt',
4246
- title: '状态',
4247
- width: '60',
4248
- align: 'center',
4249
- field: 'statusName'
4250
- }, {
4251
- title: '预设类型',
4252
- key: 'yslx',
4253
- width: '120',
4254
- align: 'center',
4255
- render: function render(h, params) {
4256
- return h('span', _this.getCodeValue(params.row.presetType, 'preset_type'));
4221
+ //
4222
+ //
4223
+ //
4224
+ //
4225
+ //
4226
+ //
4227
+ //
4228
+ //
4229
+ //
4230
+ //
4231
+ //
4232
+ //
4233
+ //
4234
+ //
4235
+ //
4236
+ //
4237
+ //
4238
+ //
4239
+ //
4240
+ //
4241
+ //
4242
+ //
4243
+ //
4244
+ //
4245
+ //
4246
+ //
4247
+ //
4248
+ //
4249
+ //
4250
+ //
4251
+ //
4252
+ //
4253
+ //
4254
+ //
4255
+ //
4256
+ //
4257
+ //
4258
+ //
4259
+ //
4260
+ //
4261
+ //
4262
+ //
4263
+ //
4264
+ //
4265
+ //
4266
+ //
4267
+ //
4268
+ //
4269
+ //
4270
+ //
4271
+ //
4272
+ //
4273
+ //
4274
+ //
4275
+ //
4276
+ //
4277
+ //
4278
+ //
4279
+ //
4280
+ //
4281
+ //
4282
+ //
4283
+ //
4284
+ //
4285
+ //
4286
+ //
4287
+ //
4288
+ //
4289
+ //
4290
+ //
4291
+ //
4292
+ //
4293
+ //
4294
+ //
4295
+ //
4296
+ //
4297
+ //
4298
+ //
4299
+ //
4300
+ //
4301
+ //
4302
+ //
4303
+ //
4304
+ //
4305
+ //
4306
+ //
4307
+ //
4308
+ //
4309
+ //
4310
+ //
4311
+ //
4312
+ //
4313
+ //
4314
+ //
4315
+ //
4316
+ //
4317
+
4318
+
4319
+
4320
+
4321
+
4322
+ /* harmony default export */ var mainvue_type_script_lang_js_ = ({
4323
+ name: 'EsFlowList',
4324
+ components: (mainvue_type_script_lang_js_components = {}, mainvue_type_script_lang_js_components[flow_table.name] = flow_table, mainvue_type_script_lang_js_components[FileList["a" /* default */].name] = FileList["a" /* default */], mainvue_type_script_lang_js_components),
4325
+ props: {
4326
+ businessId: {
4327
+ type: String,
4328
+ default: ''
4329
+ },
4330
+ hide: {
4331
+ type: String,
4332
+ default: ''
4333
+ },
4334
+ toolbar: {
4335
+ type: Array,
4336
+ default: function _default() {
4337
+ return [];
4338
+ }
4339
+ },
4340
+ contents: {
4341
+ type: Array,
4342
+ default: function _default() {
4343
+ return ['flow', 'splitReading', 'preset'];
4344
+ }
4345
+ }
4346
+ },
4347
+ inheritAttrs: false,
4348
+ data: function data() {
4349
+ return {
4350
+ pressLoading: false,
4351
+ pressTableList: [],
4352
+ currentPage: 1,
4353
+ pageSize: 20,
4354
+ pressThead: [{
4355
+ title: '催办节点',
4356
+ align: 'center',
4357
+ sortable: true,
4358
+ field: 'urge_item'
4359
+ }, {
4360
+ title: '催办人名称',
4361
+ sortable: true,
4362
+ align: 'center',
4363
+ field: 'urge_man_name'
4364
+ }, {
4365
+ title: '催办时间',
4366
+ sortable: true,
4367
+ align: 'center',
4368
+ field: 'urge_time'
4369
+ }, {
4370
+ title: '被催办人名称',
4371
+ align: 'center',
4372
+ sortable: true,
4373
+ field: 'urged_man_name'
4374
+ }],
4375
+ wfpendingid: '',
4376
+ showFileList: false,
4377
+ flowData: [],
4378
+ splitReadingData: [],
4379
+ presetData: [],
4380
+ signData: [],
4381
+ loading: '', //加载中
4382
+ preset_type: [], //预设类型
4383
+ showPress: false, //查看催办记录弹窗
4384
+ modify: false,
4385
+ formData: { reason: '' },
4386
+ formItemList: [{
4387
+ name: 'reason',
4388
+ label: '删除原因',
4389
+ type: 'textarea',
4390
+ placeholder: '请输入删除原因',
4391
+ rules: {
4392
+ required: true,
4393
+ message: '请输入删除原因',
4394
+ trigger: 'blur'
4395
+ },
4396
+ value: '',
4397
+ rows: 5
4398
+ }, {
4399
+ type: 'submit',
4400
+ skin: 'lay-form-btns',
4401
+ contents: [{
4402
+ type: 'primary',
4403
+ plain: true,
4404
+ text: '保存',
4405
+ event: 'confirm'
4406
+ }]
4407
+ }],
4408
+ delLoading: false,
4409
+ showDel: false,
4410
+ attachmentPaperClipCssStyle: '',
4411
+ is_edit: [], //是否可编辑
4412
+ flowTableInfo: {
4413
+ adjunctCode: '',
4414
+ hasAgent: '1' //是否展示代办人 1:展示 0:不展示
4415
+ },
4416
+ show: false,
4417
+ taskReadName: '', //非流程列表名称
4418
+ options: [{ label: '时间排序', value: '1' }, { label: '部门排序', value: '2' }, { label: '树形排序', value: '3' }],
4419
+ isShort: 0, //是否隐藏筛选
4420
+ viewType: '1', //排序方式
4421
+ flowTableList: [], //流程列表
4422
+ fyTableList: [], //分阅列表
4423
+ showSuggest: 'all', //筛选显示数据
4424
+ presetInfoListHiddenColumns: '', //隐藏表格展示数据
4425
+ canDelete: false, //是否展示操作按钮
4426
+ historyId: '',
4427
+ sidx: '',
4428
+ sord: '',
4429
+ total: 0
4430
+ };
4431
+ },
4432
+
4433
+ computed: {
4434
+ toolbars: function toolbars() {
4435
+ var _this = this;
4436
+
4437
+ return {
4438
+ flow: [{
4439
+ type: 'text',
4440
+ contents: '流程列表'
4441
+ }, {
4442
+ type: 'search',
4443
+ contents: [{
4444
+ name: 'showSuggest',
4445
+ type: 'radio',
4446
+ changeSearch: true,
4447
+ data: [{
4448
+ value: 'all',
4449
+ name: '显示全部',
4450
+ checked: true
4451
+ }, { value: 'have', name: '显示已填意见' }],
4452
+ events: {
4453
+ change: function change(key, value) {
4454
+ _this.handleChange(key, value);
4455
+ }
4456
+ }
4457
+ }, {
4458
+ type: 'select',
4459
+ placeholder: '请选择',
4460
+ name: 'viewType',
4461
+ width: '140px',
4462
+ changeSearch: true,
4463
+ events: {
4464
+ change: function change(key, value) {
4465
+ _this.handleChange(key, value);
4466
+ }
4467
+ },
4468
+ data: [{
4469
+ value: 1,
4470
+ selected: true,
4471
+ name: '时间排序'
4472
+ }, {
4473
+ value: 2,
4474
+ name: '部门排序'
4475
+ }, {
4476
+ value: 3,
4477
+ name: '树形排序'
4478
+ }]
4479
+ }]
4480
+ }],
4481
+ preset: [{
4482
+ type: 'text',
4483
+ contents: '预设列表'
4484
+ }],
4485
+ sign: [{
4486
+ type: 'button',
4487
+ contents: [{
4488
+ text: '生成处理签',
4489
+ type: 'primary'
4490
+ }]
4491
+ }],
4492
+ splitReading: [{
4493
+ type: 'text',
4494
+ contents: (this.taskReadName ? this.taskReadName : '非流程') + '列表'
4495
+ }]
4496
+ };
4497
+ },
4498
+ pageInfo: function pageInfo() {
4499
+ return {
4500
+ pageNum: this.currentPage,
4501
+ pageSize: this.pageSize,
4502
+ totalCount: this.total
4503
+ };
4504
+ },
4505
+ theads: function theads() {
4506
+ var _this2 = this;
4507
+
4508
+ var _that = this;
4509
+ return {
4510
+ flow: [{
4511
+ label: '经办部门',
4512
+ field: 'deptid',
4513
+ align: 'center',
4514
+ showOverflowTooltip: true,
4515
+ width: 150
4516
+ }, {
4517
+ label: '步骤',
4518
+ field: 'itemname',
4519
+ align: 'center',
4520
+ showOverflowTooltip: true,
4521
+ width: 110
4522
+ }, {
4523
+ label: '办理人',
4524
+ field: 'userName',
4525
+ align: 'center',
4526
+ showOverflowTooltip: true,
4527
+ width: 110
4528
+ }, {
4529
+ label: '状态',
4530
+ field: 'pendstate',
4531
+ align: 'center',
4532
+ showOverflowTooltip: true,
4533
+ width: 80,
4534
+ render: function render(h, params) {
4535
+ return h('span', {
4536
+ style: {
4537
+ color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : 'deepskyblue'
4538
+ },
4539
+ domProps: { innerHTML: params.row.querykeywords }
4540
+ });
4541
+ }
4542
+ }, {
4543
+ label: '办理意见',
4544
+ field: 'doresult',
4545
+ align: 'center',
4546
+ showOverflowTooltip: true,
4547
+ render: function render(h, params) {
4548
+ return h('span', {}, params.row.doresult || params.row.handleInfo);
4549
+ }
4550
+ }, {
4551
+ label: '验签',
4552
+ field: 'authTypeStr',
4553
+ align: 'center',
4554
+ showOverflowTooltip: true,
4555
+ width: 70,
4556
+ render: function render(h, params) {
4557
+ return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
4558
+ }
4559
+ }, {
4560
+ label: '附件',
4561
+ field: 'hasAdjunct',
4562
+ align: 'center',
4563
+ showOverflowTooltip: true,
4564
+ width: 70,
4565
+ render: function render(h, params) {
4566
+ if (params.row.hasAdjunct) {
4567
+ return h('span', {
4568
+ style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
4569
+ class: 'iconfont es-icon-fujian'
4570
+ });
4571
+ } else {
4572
+ return h('span', {}, '');
4573
+ }
4574
+ }
4575
+ }, {
4576
+ label: '时间',
4577
+ field: 'doetime',
4578
+ align: 'center',
4579
+ showOverflowTooltip: true,
4580
+ width: 150,
4581
+ render: function render(h, params) {
4582
+ return h('span', {}, util["a" /* default */].formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm'));
4583
+ }
4584
+ }, {
4585
+ label: '代办人',
4586
+ field: 'douserid',
4587
+ align: 'center',
4588
+ showOverflowTooltip: true,
4589
+ width: 80,
4590
+ hide: _that.flowTableInfo.hasAgent != '1'
4591
+ }, {
4592
+ label: '催办',
4593
+ field: 'pressTimes',
4594
+ align: 'center',
4595
+ showOverflowTooltip: true,
4596
+ width: 150,
4597
+ render: function render(h, params) {
4598
+ return h('span', { style: 'color:deepskyblue;cursor: pointer;' }, params.row.pressTimes);
4599
+ }
4600
+ }, {
4601
+ title: '操作',
4602
+ type: 'handle',
4603
+ width: this.modify ? '130' : '100',
4604
+ template: '',
4605
+ events: [{
4606
+ text: '删除',
4607
+ rules: function rules(rows) {
4608
+ return rows.canDelete;
4609
+ }
4610
+ }, {
4611
+ text: '修改',
4612
+ rules: function rules(rows) {
4613
+ return _this2.modify && rows.pendstate == 2;
4614
+ }
4615
+ }]
4616
+ }],
4617
+ preset: this.thead,
4618
+ splitReading: [{
4619
+ label: '经办部门',
4620
+ field: 'deptid',
4621
+ align: 'center',
4622
+ showOverflowTooltip: true,
4623
+ width: 150
4624
+ }, {
4625
+ label: '步骤',
4626
+ field: 'itemname',
4627
+ align: 'center',
4628
+ showOverflowTooltip: true,
4629
+ width: 110
4630
+ }, {
4631
+ label: '办理人',
4632
+ field: 'userName',
4633
+ align: 'center',
4634
+ showOverflowTooltip: true,
4635
+ width: 110
4636
+ }, {
4637
+ label: '状态',
4638
+ field: 'pendstate',
4639
+ align: 'center',
4640
+ showOverflowTooltip: true,
4641
+ width: 80,
4642
+ render: function render(h, params) {
4643
+ return h('span', {
4644
+ style: {
4645
+ color: params.row.pendstate == 0 || params.row.pendstate == 3 ? 'red' : params.row.pendstate == 1 ? 'green' : 'deepskyblue'
4646
+ },
4647
+ domProps: { innerHTML: params.row.querykeywords }
4648
+ });
4649
+ }
4650
+ }, {
4651
+ label: '办理意见',
4652
+ field: 'doresult',
4653
+ align: 'center',
4654
+ showOverflowTooltip: true,
4655
+ render: function render(h, params) {
4656
+ return h('span', {}, params.row.doresult || params.row.handleInfo);
4657
+ }
4658
+ }, {
4659
+ label: '验签',
4660
+ field: 'authTypeStr',
4661
+ align: 'center',
4662
+ showOverflowTooltip: true,
4663
+ width: 70,
4664
+ render: function render(h, params) {
4665
+ return h('span', { style: { color: 'deepskyblue' } }, params.row.authTypeStr);
4666
+ }
4667
+ }, {
4668
+ label: '附件',
4669
+ field: 'hasAdjunct',
4670
+ align: 'center',
4671
+ showOverflowTooltip: true,
4672
+ width: 70,
4673
+ render: function render(h, params) {
4674
+ if (params.row.hasAdjunct) {
4675
+ return h('span', {
4676
+ style: _that.attachmentPaperClipCssStyle ? _that.attachmentPaperClipCssStyle : { color: 'red', fontSize: '20px' },
4677
+ class: 'iconfont es-icon-fujian'
4678
+ });
4679
+ } else {
4680
+ return h('span', {}, '');
4681
+ }
4682
+ }
4683
+ }, {
4684
+ label: '时间',
4685
+ field: 'doetime',
4686
+ align: 'center',
4687
+ showOverflowTooltip: true,
4688
+ width: 150,
4689
+ render: function render(h, params) {
4690
+ return h('span', {}, util["a" /* default */].formatDate(params.row.doetime, 'yyyy-MM-dd HH:mm'));
4691
+ }
4692
+ }, {
4693
+ label: '代办人',
4694
+ field: 'douserid',
4695
+ align: 'center',
4696
+ showOverflowTooltip: true,
4697
+ width: 80,
4698
+ hide: _that.flowTableInfo.hasAgent != '1'
4699
+ }, {
4700
+ label: '催办',
4701
+ field: 'pressTimes',
4702
+ align: 'center',
4703
+ showOverflowTooltip: true,
4704
+ width: 150,
4705
+ render: function render(h, params) {
4706
+ return h('span', { style: 'color:deepskyblue;cursor: pointer;' }, params.row.pressTimes);
4707
+ }
4708
+ }, {
4709
+ title: '操作',
4710
+ type: 'handle',
4711
+ width: '100',
4712
+ template: '',
4713
+ events: [{
4714
+ text: '删除',
4715
+ rules: function rules(rows) {
4716
+ return rows.canDelete;
4717
+ }
4718
+ }]
4719
+ }]
4720
+ };
4721
+ },
4722
+ content: function content() {
4723
+ var _this3 = this;
4724
+
4725
+ return this.contents.map(function (item) {
4726
+ if (typeof item === 'string') {
4727
+ return {
4728
+ type: item,
4729
+ toolbar: _this3.toolbars[item],
4730
+ thead: _this3.theads[item],
4731
+ showFormBtn: false
4732
+ };
4733
+ } else {
4734
+ if (!Object.prototype.hasOwnProperty.call(item, 'toolbar')) {
4735
+ var toolbars = _this3.toolbars[item.type];
4736
+ return _extends({}, item, { toolbars: toolbars });
4737
+ }
4738
+ if (!Object.prototype.hasOwnProperty.call(item, 'thead')) {
4739
+ var thead = _this3.theads[item.type];
4740
+ return _extends({}, item, { thead: thead });
4741
+ }
4742
+ return item;
4743
+ }
4744
+ });
4745
+ },
4746
+ newToolbar: function newToolbar() {
4747
+ if (this.toolbar && this.toolbar.length > 0) {
4748
+ return this.toolbar;
4749
+ } else {
4750
+ return [];
4751
+ }
4752
+ },
4753
+ thead: function thead() {
4754
+ var _this4 = this;
4755
+
4756
+ var table = [{
4757
+ title: '步骤',
4758
+ align: 'center',
4759
+ width: '100',
4760
+ field: 'nodeName'
4761
+ }, {
4762
+ title: '预设办理人',
4763
+ width: '120',
4764
+ align: 'center',
4765
+ field: 'presetUserName'
4766
+ }, {
4767
+ title: '是否可编辑',
4768
+ key: 'sfkbj',
4769
+ align: 'center',
4770
+ width: '100',
4771
+ render: function render(h, params) {
4772
+ return h('span', _this4.getCodeValue(params.row.isEdit, 'is_edit'));
4773
+ },
4774
+ field: 'isEdit'
4775
+ }, {
4776
+ key: 'zt',
4777
+ title: '状态',
4778
+ width: '80',
4779
+ align: 'center',
4780
+ field: 'statusName'
4781
+ }, {
4782
+ title: '预设类型',
4783
+ key: 'yslx',
4784
+ width: '120',
4785
+ align: 'center',
4786
+ render: function render(h, params) {
4787
+ return h('span', _this4.getCodeValue(params.row.presetType, 'preset_type'));
4257
4788
  },
4258
4789
  field: 'presetType'
4259
4790
  }, {
@@ -4297,7 +4828,7 @@ var mainvue_type_script_lang_js_components;
4297
4828
  }];
4298
4829
  if (this.presetInfoListHiddenColumns != undefined && this.presetInfoListHiddenColumns != '') {
4299
4830
  table = table.filter(function (items) {
4300
- return _this.presetInfoListHiddenColumns.indexOf(items.key) == -1;
4831
+ return _this4.presetInfoListHiddenColumns.indexOf(items.key) == -1;
4301
4832
  });
4302
4833
  }
4303
4834
  if (!this.canDelete) table.splice(table.length - 1, 1);
@@ -4305,27 +4836,193 @@ var mainvue_type_script_lang_js_components;
4305
4836
  }
4306
4837
  },
4307
4838
  mounted: function mounted() {
4308
- var _this2 = this;
4839
+ var _this5 = this;
4309
4840
 
4310
4841
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
4311
4842
  this.getFlowList();
4312
4843
  this.getSysInfo('preset_type');
4313
4844
  this.getSysInfo('is_edit');
4314
4845
  this.$nextTick(function () {
4315
- _this2.getListInfo();
4846
+ _this5.getListInfo();
4316
4847
  });
4317
4848
  },
4318
4849
 
4319
4850
 
4320
4851
  methods: {
4852
+ handleCellClick: function handleCellClick(row, column) {
4853
+ if (column.property == 'hasAdjunct' && row.hasAdjunct) {
4854
+ this.showFile(row.wfpendingid);
4855
+ } else if (column.property == 'pressTimes') {
4856
+ this.goPress(row.id);
4857
+ }
4858
+ },
4859
+ handleBtnClick: function handleBtnClick(data) {
4860
+ var handle = data.handle,
4861
+ row = data.row;
4862
+
4863
+ if (handle.text == '删除') {
4864
+ this.del(row.id);
4865
+ }
4866
+ },
4867
+
4868
+ /**
4869
+ * handleFormSubmit
4870
+ * @desc:删除节点点击事件
4871
+ * @param {Object} formData 点击删除的form数据
4872
+ * @author liufan
4873
+ * @date 2022年11月29日
4874
+ **/
4875
+ handleFormSubmit: function handleFormSubmit(formData) {
4876
+ var _this6 = this;
4877
+
4878
+ this.delLoading = true;
4879
+ var params = {
4880
+ url: api["i" /* deleteFlow */],
4881
+ method: 'POST',
4882
+ data: { id: this.historyId, reason: formData.reason }
4883
+ };
4884
+ util["a" /* default */].ajax(params).then(function (res) {
4885
+ var status = res.status,
4886
+ message = res.message;
4887
+
4888
+ _this6.delLoading = false;
4889
+ if (status === 'success') {
4890
+ _this6.$message.success('删除成功');
4891
+ _this6.showDel = false;
4892
+ _this6.handleChange();
4893
+ } else {
4894
+ _this6.$message.error(message || '系统错误,请联系管理员!');
4895
+ }
4896
+ }).catch(function (err) {
4897
+ _this6.delLoading = false;
4898
+ if (err.message && err.message !== 'canceled') {
4899
+ _this6.$message.error(err.message);
4900
+ }
4901
+ });
4902
+ },
4903
+
4904
+ /**
4905
+ * del
4906
+ * @desc:展示删除弹窗
4907
+ * @param {String} id 当前点击数据id
4908
+ * @author liufan
4909
+ * @date 2022年11月29日
4910
+ **/
4911
+ del: function del(id) {
4912
+ this.historyId = id;
4913
+ this.showDel = true;
4914
+ },
4915
+
4916
+ /**
4917
+ * handleCurrentChange
4918
+ * @desc:监听页码变化
4919
+ * @param {String} val 当前页
4920
+ * @author liufan
4921
+ * @date 2022年11月29日
4922
+ **/
4923
+ handleCurrentChange: function handleCurrentChange(val) {
4924
+ this.currentPage = val;
4925
+ this.getPressList();
4926
+ },
4927
+
4928
+ /**
4929
+ * handleSizeChange
4930
+ * @desc:监听每页数据显示数量变化
4931
+ * @param {String} val 每页展示数量
4932
+ * @author liufan
4933
+ * @date 2022年11月29日
4934
+ **/
4935
+ handleSizeChange: function handleSizeChange(val) {
4936
+ this.pageSize = val;
4937
+ this.getPressList();
4938
+ },
4939
+
4940
+ /**
4941
+ * sortChange
4942
+ * @desc:监听排序变化
4943
+ * @param {Object} info 需要排序的字段及排序方式
4944
+ * @author liufan
4945
+ * @date 2022年11月29日
4946
+ **/
4947
+ sortChange: function sortChange(info) {
4948
+ var prop = info.prop,
4949
+ order = info.order;
4950
+
4951
+ this.sidx = prop;
4952
+ this.sord = order.replace('ending', '');
4953
+ this.getPressList();
4954
+ },
4955
+
4956
+ /**
4957
+ * getPressList
4958
+ * @desc:催办列表数据
4959
+ * @author liufan
4960
+ * @date 2022年11月29日
4961
+ **/
4962
+ getPressList: function getPressList() {
4963
+ var _this7 = this;
4964
+
4965
+ var historyId = this.historyId,
4966
+ pageSize = this.pageSize,
4967
+ sidx = this.sidx,
4968
+ sord = this.sord,
4969
+ currentPage = this.currentPage;
4970
+
4971
+ this.pressLoading = true;
4972
+ var params = {
4973
+ url: api["fb" /* pressListJson */],
4974
+ params: { historyId: historyId },
4975
+ method: 'POST',
4976
+ data: { page: currentPage, rows: pageSize, sidx: sidx, sord: sord, historyId: historyId }
4977
+ };
4978
+ util["a" /* default */].ajax(params).then(function (res) {
4979
+ _this7.pressTableList = res.data;
4980
+ _this7.total = res.totalrecords;
4981
+ _this7.pressLoading = false;
4982
+ }).catch(function (err) {
4983
+ _this7.pressLoading = false;
4984
+ if (err.message && err.message !== 'canceled') {
4985
+ _this7.$message.error(err.message);
4986
+ }
4987
+ });
4988
+ },
4989
+
4990
+ /**
4991
+ * goPress
4992
+ * @desc:催办列表查看
4993
+ * @param {String} id 催办列表id
4994
+ * @author liufan
4995
+ * @date 2022年11月29日
4996
+ **/
4997
+ goPress: function goPress(id) {
4998
+ this.historyId = id;
4999
+ this.showPress = true;
5000
+ this.getPressList();
5001
+ },
5002
+
5003
+ /**
5004
+ * showFile
5005
+ * @desc:附件查看
5006
+ * @param {String} ownId 附件id
5007
+ * @author liufan
5008
+ * @date 2022年11月29日
5009
+ **/
5010
+ showFile: function showFile(ownId) {
5011
+ this.wfpendingid = ownId;
5012
+ this.showFileList = true;
5013
+ },
5014
+
4321
5015
  /**
4322
5016
  * handleChange
4323
5017
  * @desc:切换排序方式
4324
5018
  * @author liufan
4325
5019
  * @date 2022年11月22日
4326
5020
  **/
4327
- handleChange: function handleChange() {
4328
- this.show = false;
5021
+ handleChange: function handleChange(key, value) {
5022
+ if (value) {
5023
+ this[key] = value;
5024
+ }
5025
+ // this.show = false;
4329
5026
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
4330
5027
  this.getFlowList();
4331
5028
  },
@@ -4337,7 +5034,7 @@ var mainvue_type_script_lang_js_components;
4337
5034
  * @date 2022年11月22日
4338
5035
  **/
4339
5036
  getFlowList: function getFlowList() {
4340
- var _this3 = this;
5037
+ var _this8 = this;
4341
5038
 
4342
5039
  var params = {
4343
5040
  url: api["eb" /* pendedhistoryListJson */],
@@ -4360,26 +5057,26 @@ var mainvue_type_script_lang_js_components;
4360
5057
  modify = _res$data.modify,
4361
5058
  taskReadName = _res$data.taskReadName;
4362
5059
 
4363
- _this3.loading.close();
5060
+ _this8.loading.close();
4364
5061
  if (status == 'success') {
4365
- _this3.flowTableInfo.adjunctCode = adjunctCode;
4366
- _this3.flowTableInfo.hasAgent = hasAgent;
4367
- _this3.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
4368
- _this3.isShort = isShort;
4369
- _this3.taskReadName = taskReadName;
4370
- _this3.flowTableList = wfHistoryList;
4371
- _this3.fyTableList = fyHistoryList;
4372
- _this3.modify = modify;
5062
+ _this8.flowTableInfo.adjunctCode = adjunctCode;
5063
+ _this8.flowTableInfo.hasAgent = hasAgent;
5064
+ _this8.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
5065
+ _this8.isShort = isShort;
5066
+ _this8.taskReadName = taskReadName;
5067
+ _this8.flowData = wfHistoryList;
5068
+ _this8.splitReadingData = fyHistoryList;
5069
+ _this8.modify = modify;
4373
5070
  } else {
4374
- _this3.$message.error(message || '系统错误,请联系管理员!');
5071
+ _this8.$message.error(message || '系统错误,请联系管理员!');
4375
5072
  }
4376
- _this3.show = true;
5073
+ _this8.show = true;
4377
5074
  }).catch(function (err) {
4378
- _this3.loading.close();
5075
+ _this8.loading.close();
4379
5076
  if (err.message && err.message !== 'canceled') {
4380
- _this3.$message.error(err.message);
5077
+ _this8.$message.error(err.message);
4381
5078
  }
4382
- _this3.show = true;
5079
+ _this8.show = true;
4383
5080
  });
4384
5081
  },
4385
5082
 
@@ -4391,7 +5088,7 @@ var mainvue_type_script_lang_js_components;
4391
5088
  * @date 2022年11月10日
4392
5089
  **/
4393
5090
  handleClick: function handleClick(val) {
4394
- var _this4 = this;
5091
+ var _this9 = this;
4395
5092
 
4396
5093
  var text = val.handle.text,
4397
5094
  _val$row = val.row,
@@ -4401,7 +5098,7 @@ var mainvue_type_script_lang_js_components;
4401
5098
  if (text === '置为失效') {
4402
5099
  if (status == 0) {
4403
5100
  this.$confirm('您确定要置为失效吗?').then(function () {
4404
- _this4.loading = util["a" /* default */].loading(_this4.$loading, '提交中...');
5101
+ _this9.loading = util["a" /* default */].loading(_this9.$loading, '提交中...');
4405
5102
  var param = {
4406
5103
  url: api["j" /* deletePresetInfo */],
4407
5104
  headers: { Accept: 'application/json,text/plain' },
@@ -4412,17 +5109,17 @@ var mainvue_type_script_lang_js_components;
4412
5109
  var status = res.status,
4413
5110
  message = res.message;
4414
5111
 
4415
- _this4.loading.close();
5112
+ _this9.loading.close();
4416
5113
  if (status === 'success') {
4417
- _this4.$message.success('操作成功');
4418
- _this4.getListInfo();
5114
+ _this9.$message.success('操作成功');
5115
+ _this9.getListInfo();
4419
5116
  } else {
4420
- _this4.$message.error(message || '系统错误,请联系管理员!');
5117
+ _this9.$message.error(message || '系统错误,请联系管理员!');
4421
5118
  }
4422
5119
  }).catch(function (err) {
4423
- _this4.loading.close();
5120
+ _this9.loading.close();
4424
5121
  if (err.message && err.message !== 'canceled') {
4425
- _this4.$message.error(err.message);
5122
+ _this9.$message.error(err.message);
4426
5123
  }
4427
5124
  });
4428
5125
  }).catch(function (e) {
@@ -4457,7 +5154,7 @@ var mainvue_type_script_lang_js_components;
4457
5154
  * @date 2022年11月10日
4458
5155
  **/
4459
5156
  getSysInfo: function getSysInfo(code) {
4460
- var _this5 = this;
5157
+ var _this10 = this;
4461
5158
 
4462
5159
  var params = {
4463
5160
  url: api["t" /* findCodeValues */],
@@ -4469,9 +5166,9 @@ var mainvue_type_script_lang_js_components;
4469
5166
  data = res.data;
4470
5167
 
4471
5168
  if (status == 'success') {
4472
- _this5[code] = data;
5169
+ _this10[code] = data;
4473
5170
  } else {
4474
- _this5.$message.error(message || '系统错误,请联系管理员!');
5171
+ _this10.$message.error(message || '系统错误,请联系管理员!');
4475
5172
  }
4476
5173
  }).catch(function (e) {});
4477
5174
  },
@@ -4483,7 +5180,7 @@ var mainvue_type_script_lang_js_components;
4483
5180
  * @date 2022年11月10日
4484
5181
  **/
4485
5182
  getListInfo: function getListInfo() {
4486
- var _this6 = this;
5183
+ var _this11 = this;
4487
5184
 
4488
5185
  var param = {
4489
5186
  url: api["Db" /* toPresetInfoListIndex */],
@@ -4497,18 +5194,18 @@ var mainvue_type_script_lang_js_components;
4497
5194
  presetInfoListHiddenColumns = _res$data2.presetInfoListHiddenColumns,
4498
5195
  canDelete = _res$data2.canDelete;
4499
5196
 
4500
- _this6.loading.close();
5197
+ _this11.loading.close();
4501
5198
  if (status == 'success') {
4502
- presetInfoList && (_this6.tableData = presetInfoList);
4503
- _this6.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
4504
- _this6.canDelete = canDelete;
5199
+ presetInfoList && (_this11.presetData = presetInfoList);
5200
+ _this11.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
5201
+ _this11.canDelete = canDelete;
4505
5202
  } else {
4506
- _this6.$message.error(message || '系统错误,请联系管理员!');
5203
+ _this11.$message.error(message || '系统错误,请联系管理员!');
4507
5204
  }
4508
5205
  }).catch(function (err) {
4509
- _this6.loading.close();
5206
+ _this11.loading.close();
4510
5207
  if (err.message && err.message !== 'canceled') {
4511
- _this6.$message.error(err.message);
5208
+ _this11.$message.error(err.message);
4512
5209
  }
4513
5210
  });
4514
5211
  }
@@ -4526,7 +5223,7 @@ var mainvue_type_script_lang_js_components;
4526
5223
 
4527
5224
  var main_component = Object(componentNormalizer["a" /* default */])(
4528
5225
  src_mainvue_type_script_lang_js_,
4529
- mainvue_type_template_id_0fd64532_render,
5226
+ mainvue_type_template_id_b334e09a_render,
4530
5227
  staticRenderFns,
4531
5228
  false,
4532
5229
  null,