eoss-ui 0.4.62 → 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 (77) hide show
  1. package/lib/button-group.js +11 -11
  2. package/lib/button.js +11 -11
  3. package/lib/checkbox-group.js +27 -37
  4. package/lib/data-table-form.js +11 -11
  5. package/lib/data-table.js +72 -57
  6. package/lib/date-picker.js +11 -11
  7. package/lib/dialog.js +10 -10
  8. package/lib/eoss-ui.common.js +1801 -745
  9. package/lib/flow-group.js +89 -29
  10. package/lib/flow-list.js +1122 -427
  11. package/lib/flow.js +19 -20
  12. package/lib/form.js +222 -40
  13. package/lib/handle-user.js +12 -12
  14. package/lib/handler.js +15 -15
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +11 -11
  17. package/lib/input.js +36 -36
  18. package/lib/login.js +40 -40
  19. package/lib/main.js +208 -103
  20. package/lib/menu.js +5 -3
  21. package/lib/nav.js +13 -15
  22. package/lib/notify.js +2 -2
  23. package/lib/page.js +11 -11
  24. package/lib/player.js +18 -18
  25. package/lib/qr-code.js +11 -11
  26. package/lib/radio-group.js +15 -15
  27. package/lib/retrial-auth.js +12 -12
  28. package/lib/select-ganged.js +11 -11
  29. package/lib/select.js +13 -13
  30. package/lib/selector-panel.js +12 -12
  31. package/lib/selector.js +29 -18
  32. package/lib/sizer.js +12 -12
  33. package/lib/steps.js +11 -11
  34. package/lib/switch.js +11 -11
  35. package/lib/table-form.js +36 -36
  36. package/lib/tabs.js +11 -11
  37. package/lib/theme-chalk/data-table.css +1 -1
  38. package/lib/theme-chalk/flow-list.css +1 -1
  39. package/lib/theme-chalk/index.css +1 -1
  40. package/lib/theme-chalk/menu.css +1 -1
  41. package/lib/tips.js +12 -12
  42. package/lib/toolbar.js +0 -1
  43. package/lib/tree-group.js +11 -11
  44. package/lib/tree.js +12 -12
  45. package/lib/upload.js +18 -18
  46. package/lib/utils/util.js +2 -2
  47. package/lib/wujie.js +11 -11
  48. package/lib/wxlogin.js +11 -11
  49. package/package.json +2 -2
  50. package/packages/checkbox-group/src/main.vue +16 -25
  51. package/packages/data-table/src/column.vue +15 -1
  52. package/packages/data-table/src/main.vue +58 -47
  53. package/packages/flow/src/component/taskUnionExamine.vue +0 -1
  54. package/packages/flow-group/src/main.vue +31 -14
  55. package/packages/flow-list/src/flow-table.vue +5 -1
  56. package/packages/flow-list/src/main.vue +780 -43
  57. package/packages/form/src/main.vue +63 -1
  58. package/packages/handler/src/main.vue +1 -1
  59. package/packages/login/src/main.vue +10 -1
  60. package/packages/main/src/main.vue +177 -58
  61. package/packages/main/src/userinfo.vue +3 -3
  62. package/packages/menu/src/main.vue +5 -3
  63. package/packages/nav/src/main.vue +0 -2
  64. package/packages/radio-group/src/main.vue +9 -5
  65. package/packages/select/src/main.vue +1 -1
  66. package/packages/selector/src/main.vue +12 -4
  67. package/packages/theme-chalk/lib/data-table.css +1 -1
  68. package/packages/theme-chalk/lib/flow-list.css +1 -1
  69. package/packages/theme-chalk/lib/index.css +1 -1
  70. package/packages/theme-chalk/lib/menu.css +1 -1
  71. package/packages/theme-chalk/src/data-table.scss +10 -17
  72. package/packages/theme-chalk/src/flow-list.scss +29 -34
  73. package/packages/theme-chalk/src/menu.scss +3 -0
  74. package/packages/toolbar/src/main.vue +0 -1
  75. package/packages/upload/src/main.vue +1 -1
  76. package/src/index.js +1 -1
  77. package/src/utils/util.js +2 -2
package/lib/flow-list.js CHANGED
@@ -91,14 +91,14 @@ module.exports =
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
- /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
94
+ /* harmony import */ var _config_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
95
95
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
96
96
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
97
97
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
98
98
  /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
99
99
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
100
100
  /* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
101
- /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1);
101
+ /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
102
102
  /* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
103
103
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
104
104
 
@@ -266,7 +266,7 @@ var ajax = function ajax(_ref) {
266
266
  var loginPage = getStorage('login') || getStorage('loginPage');
267
267
  if (loginPage) {
268
268
  var src = void 0;
269
- if (!startWith(loginPage, ['http', '/'])) {
269
+ if (!startWith(loginPage, ['http', '/'], true)) {
270
270
  var pathname = win.top.location.pathname;
271
271
  if (pathname !== '/') {
272
272
  pathname = pathname.split('/');
@@ -2084,7 +2084,7 @@ var setStorage = function setStorage(_ref14) {
2084
2084
  * @param {boolean} [or] - 或者(等同于||)
2085
2085
  **/
2086
2086
  var startWith = function startWith(value, reg) {
2087
- var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
2087
+ var or = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
2088
2088
 
2089
2089
  if (Array.isArray(reg)) {
2090
2090
  var flag = true;
@@ -2392,188 +2392,6 @@ var watermark = function watermark(option) {
2392
2392
  /***/ }),
2393
2393
 
2394
2394
  /***/ 1:
2395
- /***/ (function(module, exports) {
2396
-
2397
- module.exports = require("eoss-element");
2398
-
2399
- /***/ }),
2400
-
2401
- /***/ 11:
2402
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2403
-
2404
- "use strict";
2405
-
2406
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
2407
- var render = function () {
2408
- var _vm = this
2409
- var _h = _vm.$createElement
2410
- var _c = _vm._self._c || _h
2411
- return _c(
2412
- "div",
2413
- { staticClass: "file" },
2414
- [
2415
- _c(
2416
- "es-upload",
2417
- _vm._b(
2418
- {
2419
- ref: "upload",
2420
- attrs: {
2421
- param: _vm.param,
2422
- "before-remove": _vm.delFile,
2423
- "auto-upload": true,
2424
- ownId: _vm.ownId,
2425
- code: _vm.code,
2426
- disabled: _vm.disabled,
2427
- deleted: _vm.deleted,
2428
- "on-success": _vm.successFile,
2429
- },
2430
- },
2431
- "es-upload",
2432
- _vm.attrs,
2433
- false
2434
- )
2435
- ),
2436
- ],
2437
- 1
2438
- )
2439
- }
2440
- var staticRenderFns = []
2441
- render._withStripped = true
2442
-
2443
-
2444
- // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
2445
-
2446
- // EXTERNAL MODULE: ./src/config/api.js
2447
- var api = __webpack_require__(2);
2448
-
2449
- // EXTERNAL MODULE: ./src/utils/util.js
2450
- var util = __webpack_require__(0);
2451
-
2452
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
2453
- //
2454
- //
2455
- //
2456
- //
2457
- //
2458
- //
2459
- //
2460
- //
2461
- //
2462
- //
2463
- //
2464
- //
2465
- //
2466
- //
2467
- //
2468
- //
2469
- //
2470
- //
2471
-
2472
-
2473
-
2474
- /* harmony default export */ var FileListvue_type_script_lang_js_ = ({
2475
- name: 'FileList',
2476
- data: function data() {
2477
- return {
2478
- attrs: {
2479
- //autoUpload: false,
2480
- preview: true,
2481
- download: true,
2482
- dragSort: true
2483
- },
2484
- param: {
2485
- userName: util["a" /* default */].getStorage('userName')
2486
- }
2487
- };
2488
- },
2489
-
2490
- props: {
2491
- ownId: {
2492
- type: String,
2493
- default: ''
2494
- },
2495
- code: {
2496
- type: String,
2497
- default: ''
2498
- },
2499
- fileUrl: {
2500
- type: String,
2501
- default: ''
2502
- },
2503
- deleted: {
2504
- type: Boolean,
2505
- default: true
2506
- },
2507
- disabled: {
2508
- type: Boolean,
2509
- default: false
2510
- }
2511
- },
2512
- mounted: function mounted() {
2513
- this.$refs.upload;
2514
- },
2515
-
2516
- methods: {
2517
- successFile: function successFile(response, file, fileList) {
2518
- this.$emit('changeFileNum', fileList.length);
2519
- },
2520
-
2521
- //删除附件
2522
- delFile: function delFile(file, fileList) {
2523
- var _this = this;
2524
-
2525
- var userName = file.userName || file.response && file.response.userName || util["a" /* default */].getStorage('userName');
2526
- var params = {
2527
- url: api["g" /* delAdjunct */],
2528
- params: { userName: userName, id: file.adjunctId || file.response.adjunctId }
2529
- };
2530
- util["a" /* default */].ajax(params).then(function (res) {
2531
- var rCode = res.rCode,
2532
- msg = res.msg;
2533
-
2534
- if (rCode == 0) {
2535
- _this.$message.success('删除成功');
2536
- _this.$emit('changeFileNum', fileList.length);
2537
- } else {
2538
- _this.$message.error(msg || '系统错误,请联系管理员!');
2539
- }
2540
- }).catch(function (err) {
2541
- if (err.message && err.message !== 'canceled') {
2542
- _this.$message.error(err.message);
2543
- }
2544
- });
2545
- }
2546
- }
2547
- });
2548
- // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
2549
- /* harmony default export */ var component_FileListvue_type_script_lang_js_ = (FileListvue_type_script_lang_js_);
2550
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2551
- var componentNormalizer = __webpack_require__(3);
2552
-
2553
- // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue
2554
-
2555
-
2556
-
2557
-
2558
-
2559
- /* normalize component */
2560
-
2561
- var component = Object(componentNormalizer["a" /* default */])(
2562
- component_FileListvue_type_script_lang_js_,
2563
- render,
2564
- staticRenderFns,
2565
- false,
2566
- null,
2567
- null,
2568
- null
2569
-
2570
- )
2571
-
2572
- /* harmony default export */ var FileList = __webpack_exports__["a"] = (component.exports);
2573
-
2574
- /***/ }),
2575
-
2576
- /***/ 2:
2577
2395
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2578
2396
 
2579
2397
  "use strict";
@@ -2913,49 +2731,231 @@ var formContents = '/config/admin/online/onlineForm/render';
2913
2731
 
2914
2732
  /***/ }),
2915
2733
 
2916
- /***/ 3:
2734
+ /***/ 11:
2917
2735
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2918
2736
 
2919
2737
  "use strict";
2920
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
2921
- /* globals __VUE_SSR_CONTEXT__ */
2922
2738
 
2923
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
2924
- // This module is a runtime utility for cleaner component module output and will
2925
- // be included in the final webpack user bundle.
2739
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
2740
+ var render = function () {
2741
+ var _vm = this
2742
+ var _h = _vm.$createElement
2743
+ var _c = _vm._self._c || _h
2744
+ return _c(
2745
+ "div",
2746
+ { staticClass: "file" },
2747
+ [
2748
+ _c(
2749
+ "es-upload",
2750
+ _vm._b(
2751
+ {
2752
+ ref: "upload",
2753
+ attrs: {
2754
+ param: _vm.param,
2755
+ "before-remove": _vm.delFile,
2756
+ "auto-upload": true,
2757
+ ownId: _vm.ownId,
2758
+ code: _vm.code,
2759
+ disabled: _vm.disabled,
2760
+ deleted: _vm.deleted,
2761
+ "on-success": _vm.successFile,
2762
+ },
2763
+ },
2764
+ "es-upload",
2765
+ _vm.attrs,
2766
+ false
2767
+ )
2768
+ ),
2769
+ ],
2770
+ 1
2771
+ )
2772
+ }
2773
+ var staticRenderFns = []
2774
+ render._withStripped = true
2926
2775
 
2927
- function normalizeComponent(
2928
- scriptExports,
2929
- render,
2930
- staticRenderFns,
2931
- functionalTemplate,
2932
- injectStyles,
2933
- scopeId,
2934
- moduleIdentifier /* server only */,
2935
- shadowMode /* vue-cli only */
2936
- ) {
2937
- // Vue.extend constructor export interop
2938
- var options =
2939
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
2940
2776
 
2941
- // render functions
2942
- if (render) {
2943
- options.render = render
2944
- options.staticRenderFns = staticRenderFns
2945
- options._compiled = true
2946
- }
2777
+ // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=template&id=8bcb1480&
2947
2778
 
2948
- // functional template
2949
- if (functionalTemplate) {
2950
- options.functional = true
2951
- }
2779
+ // EXTERNAL MODULE: ./src/config/api.js
2780
+ var api = __webpack_require__(1);
2952
2781
 
2953
- // scopedId
2954
- if (scopeId) {
2955
- options._scopeId = 'data-v-' + scopeId
2956
- }
2782
+ // EXTERNAL MODULE: ./src/utils/util.js
2783
+ var util = __webpack_require__(0);
2957
2784
 
2958
- var hook
2785
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
2786
+ //
2787
+ //
2788
+ //
2789
+ //
2790
+ //
2791
+ //
2792
+ //
2793
+ //
2794
+ //
2795
+ //
2796
+ //
2797
+ //
2798
+ //
2799
+ //
2800
+ //
2801
+ //
2802
+ //
2803
+ //
2804
+
2805
+
2806
+
2807
+ /* harmony default export */ var FileListvue_type_script_lang_js_ = ({
2808
+ name: 'FileList',
2809
+ data: function data() {
2810
+ return {
2811
+ attrs: {
2812
+ //autoUpload: false,
2813
+ preview: true,
2814
+ download: true,
2815
+ dragSort: true
2816
+ },
2817
+ param: {
2818
+ userName: util["a" /* default */].getStorage('userName')
2819
+ }
2820
+ };
2821
+ },
2822
+
2823
+ props: {
2824
+ ownId: {
2825
+ type: String,
2826
+ default: ''
2827
+ },
2828
+ code: {
2829
+ type: String,
2830
+ default: ''
2831
+ },
2832
+ fileUrl: {
2833
+ type: String,
2834
+ default: ''
2835
+ },
2836
+ deleted: {
2837
+ type: Boolean,
2838
+ default: true
2839
+ },
2840
+ disabled: {
2841
+ type: Boolean,
2842
+ default: false
2843
+ }
2844
+ },
2845
+ mounted: function mounted() {
2846
+ this.$refs.upload;
2847
+ },
2848
+
2849
+ methods: {
2850
+ successFile: function successFile(response, file, fileList) {
2851
+ this.$emit('changeFileNum', fileList.length);
2852
+ },
2853
+
2854
+ //删除附件
2855
+ delFile: function delFile(file, fileList) {
2856
+ var _this = this;
2857
+
2858
+ var userName = file.userName || file.response && file.response.userName || util["a" /* default */].getStorage('userName');
2859
+ var params = {
2860
+ url: api["g" /* delAdjunct */],
2861
+ params: { userName: userName, id: file.adjunctId || file.response.adjunctId }
2862
+ };
2863
+ util["a" /* default */].ajax(params).then(function (res) {
2864
+ var rCode = res.rCode,
2865
+ msg = res.msg;
2866
+
2867
+ if (rCode == 0) {
2868
+ _this.$message.success('删除成功');
2869
+ _this.$emit('changeFileNum', fileList.length);
2870
+ } else {
2871
+ _this.$message.error(msg || '系统错误,请联系管理员!');
2872
+ }
2873
+ }).catch(function (err) {
2874
+ if (err.message && err.message !== 'canceled') {
2875
+ _this.$message.error(err.message);
2876
+ }
2877
+ });
2878
+ }
2879
+ }
2880
+ });
2881
+ // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue?vue&type=script&lang=js&
2882
+ /* harmony default export */ var component_FileListvue_type_script_lang_js_ = (FileListvue_type_script_lang_js_);
2883
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2884
+ var componentNormalizer = __webpack_require__(3);
2885
+
2886
+ // CONCATENATED MODULE: ./packages/flow/src/component/FileList.vue
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+ /* normalize component */
2893
+
2894
+ var component = Object(componentNormalizer["a" /* default */])(
2895
+ component_FileListvue_type_script_lang_js_,
2896
+ render,
2897
+ staticRenderFns,
2898
+ false,
2899
+ null,
2900
+ null,
2901
+ null
2902
+
2903
+ )
2904
+
2905
+ /* harmony default export */ var FileList = __webpack_exports__["a"] = (component.exports);
2906
+
2907
+ /***/ }),
2908
+
2909
+ /***/ 2:
2910
+ /***/ (function(module, exports) {
2911
+
2912
+ module.exports = require("eoss-element");
2913
+
2914
+ /***/ }),
2915
+
2916
+ /***/ 3:
2917
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2918
+
2919
+ "use strict";
2920
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
2921
+ /* globals __VUE_SSR_CONTEXT__ */
2922
+
2923
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
2924
+ // This module is a runtime utility for cleaner component module output and will
2925
+ // be included in the final webpack user bundle.
2926
+
2927
+ function normalizeComponent(
2928
+ scriptExports,
2929
+ render,
2930
+ staticRenderFns,
2931
+ functionalTemplate,
2932
+ injectStyles,
2933
+ scopeId,
2934
+ moduleIdentifier /* server only */,
2935
+ shadowMode /* vue-cli only */
2936
+ ) {
2937
+ // Vue.extend constructor export interop
2938
+ var options =
2939
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
2940
+
2941
+ // render functions
2942
+ if (render) {
2943
+ options.render = render
2944
+ options.staticRenderFns = staticRenderFns
2945
+ options._compiled = true
2946
+ }
2947
+
2948
+ // functional template
2949
+ if (functionalTemplate) {
2950
+ options.functional = true
2951
+ }
2952
+
2953
+ // scopedId
2954
+ if (scopeId) {
2955
+ options._scopeId = 'data-v-' + scopeId
2956
+ }
2957
+
2958
+ var hook
2959
2959
  if (moduleIdentifier) {
2960
2960
  // server build
2961
2961
  hook = function (context) {
@@ -3025,183 +3025,215 @@ function normalizeComponent(
3025
3025
  // ESM COMPAT FLAG
3026
3026
  __webpack_require__.r(__webpack_exports__);
3027
3027
 
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=0fd64532&
3029
- 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 () {
3030
3030
  var _vm = this
3031
3031
  var _h = _vm.$createElement
3032
3032
  var _c = _vm._self._c || _h
3033
- return _c("div", { staticClass: "flow-list" }, [
3034
- _vm.hide.indexOf("flow") == -1
3035
- ? _c(
3033
+ return _c(
3034
+ "div",
3035
+ { staticClass: "es-flow-list" },
3036
+ [
3037
+ _vm._l(_vm.content, function (item, index) {
3038
+ return _c(
3036
3039
  "div",
3037
3040
  {
3038
- class:
3039
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3040
- ? "preset-list"
3041
- : "preset-list-tow",
3042
- 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",
3043
3056
  },
3044
3057
  [
3045
- _c("div", { staticClass: "title" }, [
3046
- _vm._v("\n 流程列表\n "),
3047
- _vm.isShort != 1
3048
- ? _c(
3049
- "div",
3050
- {
3051
- staticStyle: {
3052
- display: "inline-block",
3053
- "margin-left": "10px",
3054
- },
3055
- },
3056
- [
3057
- _c(
3058
- "es-select",
3059
- {
3060
- attrs: { placeholder: "请选择" },
3061
- on: { change: _vm.handleChange },
3062
- model: {
3063
- value: _vm.viewType,
3064
- callback: function ($$v) {
3065
- _vm.viewType = $$v
3066
- },
3067
- expression: "viewType",
3068
- },
3069
- },
3070
- _vm._l(_vm.options, function (item) {
3071
- return _c("el-option", {
3072
- key: item.value,
3073
- attrs: { label: item.label, value: item.value },
3074
- })
3075
- }),
3076
- 1
3077
- ),
3078
- _c(
3079
- "el-radio-group",
3080
- {
3081
- staticClass: "list-radio",
3082
- on: { input: _vm.handleChange },
3083
- model: {
3084
- value: _vm.showSuggest,
3085
- callback: function ($$v) {
3086
- _vm.showSuggest = $$v
3087
- },
3088
- expression: "showSuggest",
3089
- },
3090
- },
3091
- [
3092
- _c("el-radio", { attrs: { label: "all" } }, [
3093
- _vm._v("显示全部"),
3094
- ]),
3095
- _c("el-radio", { attrs: { label: "have" } }, [
3096
- _vm._v("显示已填意见"),
3097
- ]),
3098
- ],
3099
- 1
3100
- ),
3101
- ],
3102
- 1
3103
- )
3104
- : _vm._e(),
3105
- ]),
3106
- _vm.show
3107
- ? _c(
3108
- "FlowTable",
3058
+ _c(
3059
+ "div",
3060
+ { staticClass: "es-flow-list-box" },
3061
+ [
3062
+ _c(
3063
+ "es-data-table",
3109
3064
  _vm._b(
3110
3065
  {
3111
- staticStyle: { height: "calc(100% - 60px)" },
3066
+ class: {
3067
+ "es-flow-group-data-table": item.type !== "sign",
3068
+ },
3112
3069
  attrs: {
3113
- data: _vm.flowTableList,
3114
- modify: _vm.modify,
3115
- 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,
3116
3084
  },
3117
- on: { success: _vm.handleChange },
3118
3085
  },
3119
- "FlowTable",
3120
- _vm.flowTableInfo,
3086
+ "es-data-table",
3087
+ item,
3121
3088
  false
3122
3089
  )
3123
- )
3124
- : _vm._e(),
3125
- ],
3126
- 1
3090
+ ),
3091
+ ],
3092
+ 1
3093
+ ),
3094
+ ]
3127
3095
  )
3128
- : _vm._e(),
3129
- _vm.fyTableList != undefined &&
3130
- _vm.fyTableList.length != 0 &&
3131
- _vm.show &&
3132
- _vm.hide.indexOf("splitReading") == -1
3133
- ? _c(
3134
- "div",
3135
- {
3136
- class: "preset-list",
3137
- style: _vm.hide.indexOf("preset") != -1 ? "flex:1" : "",
3138
- },
3139
- [
3140
- _c("div", { staticClass: "title" }, [
3141
- _vm._v(
3142
- _vm._s(_vm.taskReadName ? _vm.taskReadName : "非流程") + "列表"
3143
- ),
3144
- ]),
3145
- _c(
3146
- "FlowTable",
3147
- _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",
3148
3151
  {
3149
- staticStyle: { height: "calc(100% - 40px)" },
3150
- attrs: { data: _vm.fyTableList },
3151
- 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" },
3152
3161
  },
3153
- "FlowTable",
3154
- _vm.flowTableInfo,
3155
- false
3156
- )
3157
- ),
3158
- ],
3159
- 1
3160
- )
3161
- : _vm._e(),
3162
- _vm.show && _vm.hide.indexOf("preset") == -1
3163
- ? _c(
3164
- "div",
3165
- {
3166
- class:
3167
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3168
- ? "preset-list"
3169
- : "preset-list-tow",
3170
- style:
3171
- _vm.fyTableList != undefined && _vm.fyTableList.length != 0
3172
- ? ""
3173
- : "flex:1",
3174
- },
3175
- [
3176
- _c("div", { staticClass: "title" }, [_vm._v("预设列表")]),
3177
- _c("es-data-table", {
3178
- 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",
3179
3189
  attrs: {
3180
- numbers: "",
3181
- data: _vm.tableData,
3182
- thead: _vm.thead,
3183
- stripe: "",
3184
- full: "",
3190
+ "append-to-body": "",
3191
+ "close-on-click-modal": false,
3192
+ title: "删除",
3193
+ visible: _vm.showDel,
3194
+ height: "auto",
3185
3195
  },
3186
- on: { btnClick: _vm.handleClick },
3187
- }),
3188
- ],
3189
- 1
3190
- )
3191
- : _vm._e(),
3192
- ])
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
+ )
3193
3222
  }
3194
3223
  var staticRenderFns = []
3195
- mainvue_type_template_id_0fd64532_render._withStripped = true
3224
+ mainvue_type_template_id_b334e09a_render._withStripped = true
3196
3225
 
3197
3226
 
3198
- // 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&
3199
3228
 
3200
3229
  // EXTERNAL MODULE: ./src/config/api.js
3201
- var api = __webpack_require__(2);
3230
+ var api = __webpack_require__(1);
3231
+
3232
+ // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
3233
+ var FileList = __webpack_require__(11);
3202
3234
 
3203
- // 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&
3204
- var flow_tablevue_type_template_id_6b55e38f_render = function () {
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 () {
3205
3237
  var _vm = this
3206
3238
  var _h = _vm.$createElement
3207
3239
  var _c = _vm._self._c || _h
@@ -3213,7 +3245,12 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
3213
3245
  "es-data-table",
3214
3246
  {
3215
3247
  staticStyle: { width: "100%" },
3216
- attrs: { data: _vm.data, border: "" },
3248
+ attrs: {
3249
+ toolbar: _vm.toolbar,
3250
+ showFormBtn: false,
3251
+ data: _vm.data,
3252
+ border: "",
3253
+ },
3217
3254
  },
3218
3255
  [
3219
3256
  _c("el-table-column", {
@@ -3602,18 +3639,15 @@ var flow_tablevue_type_template_id_6b55e38f_render = function () {
3602
3639
  1
3603
3640
  )
3604
3641
  }
3605
- var flow_tablevue_type_template_id_6b55e38f_staticRenderFns = []
3606
- 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
3607
3644
 
3608
3645
 
3609
- // 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&
3610
3647
 
3611
3648
  // EXTERNAL MODULE: ./src/utils/util.js
3612
3649
  var util = __webpack_require__(0);
3613
3650
 
3614
- // EXTERNAL MODULE: ./packages/flow/src/component/FileList.vue + 4 modules
3615
- var FileList = __webpack_require__(11);
3616
-
3617
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&
3618
3652
  var _components;
3619
3653
 
@@ -3828,6 +3862,12 @@ var _components;
3828
3862
  hasAgent: {
3829
3863
  type: String,
3830
3864
  default: '1'
3865
+ },
3866
+ toolbar: {
3867
+ type: Array,
3868
+ default: function _default() {
3869
+ return [];
3870
+ }
3831
3871
  }
3832
3872
  },
3833
3873
  filters: {
@@ -4072,8 +4112,8 @@ var componentNormalizer = __webpack_require__(3);
4072
4112
 
4073
4113
  var component = Object(componentNormalizer["a" /* default */])(
4074
4114
  src_flow_tablevue_type_script_lang_js_,
4075
- flow_tablevue_type_template_id_6b55e38f_render,
4076
- flow_tablevue_type_template_id_6b55e38f_staticRenderFns,
4115
+ flow_tablevue_type_template_id_010330c8_render,
4116
+ flow_tablevue_type_template_id_010330c8_staticRenderFns,
4077
4117
  false,
4078
4118
  null,
4079
4119
  null,
@@ -4083,6 +4123,8 @@ var component = Object(componentNormalizer["a" /* default */])(
4083
4123
 
4084
4124
  /* harmony default export */ var flow_table = (component.exports);
4085
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
+
4086
4128
  var mainvue_type_script_lang_js_components;
4087
4129
 
4088
4130
  //
@@ -4176,13 +4218,110 @@ var mainvue_type_script_lang_js_components;
4176
4218
  //
4177
4219
  //
4178
4220
  //
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
+
4179
4318
 
4180
4319
 
4181
4320
 
4182
4321
 
4183
4322
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
4184
4323
  name: 'EsFlowList',
4185
- components: (mainvue_type_script_lang_js_components = {}, mainvue_type_script_lang_js_components[flow_table.name] = flow_table, mainvue_type_script_lang_js_components),
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),
4186
4325
  props: {
4187
4326
  businessId: {
4188
4327
  type: String,
@@ -4191,18 +4330,85 @@ var mainvue_type_script_lang_js_components;
4191
4330
  hide: {
4192
4331
  type: String,
4193
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
+ }
4194
4345
  }
4195
4346
  },
4196
4347
  inheritAttrs: false,
4197
4348
  data: function data() {
4198
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: [],
4199
4381
  loading: '', //加载中
4200
4382
  preset_type: [], //预设类型
4201
4383
  showPress: false, //查看催办记录弹窗
4202
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,
4203
4410
  attachmentPaperClipCssStyle: '',
4204
4411
  is_edit: [], //是否可编辑
4205
- tableData: [], //预设列表
4206
4412
  flowTableInfo: {
4207
4413
  adjunctCode: '',
4208
4414
  hasAgent: '1' //是否展示代办人 1:展示 0:不展示
@@ -4216,14 +4422,337 @@ var mainvue_type_script_lang_js_components;
4216
4422
  fyTableList: [], //分阅列表
4217
4423
  showSuggest: 'all', //筛选显示数据
4218
4424
  presetInfoListHiddenColumns: '', //隐藏表格展示数据
4219
- canDelete: false //是否展示操作按钮
4425
+ canDelete: false, //是否展示操作按钮
4426
+ historyId: '',
4427
+ sidx: '',
4428
+ sord: '',
4429
+ total: 0
4220
4430
  };
4221
4431
  },
4222
4432
 
4223
4433
  computed: {
4224
- thead: function thead() {
4434
+ toolbars: function toolbars() {
4225
4435
  var _this = this;
4226
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
+
4227
4756
  var table = [{
4228
4757
  title: '步骤',
4229
4758
  align: 'center',
@@ -4240,13 +4769,13 @@ var mainvue_type_script_lang_js_components;
4240
4769
  align: 'center',
4241
4770
  width: '100',
4242
4771
  render: function render(h, params) {
4243
- return h('span', _this.getCodeValue(params.row.isEdit, 'is_edit'));
4772
+ return h('span', _this4.getCodeValue(params.row.isEdit, 'is_edit'));
4244
4773
  },
4245
4774
  field: 'isEdit'
4246
4775
  }, {
4247
4776
  key: 'zt',
4248
4777
  title: '状态',
4249
- width: '60',
4778
+ width: '80',
4250
4779
  align: 'center',
4251
4780
  field: 'statusName'
4252
4781
  }, {
@@ -4255,7 +4784,7 @@ var mainvue_type_script_lang_js_components;
4255
4784
  width: '120',
4256
4785
  align: 'center',
4257
4786
  render: function render(h, params) {
4258
- return h('span', _this.getCodeValue(params.row.presetType, 'preset_type'));
4787
+ return h('span', _this4.getCodeValue(params.row.presetType, 'preset_type'));
4259
4788
  },
4260
4789
  field: 'presetType'
4261
4790
  }, {
@@ -4299,7 +4828,7 @@ var mainvue_type_script_lang_js_components;
4299
4828
  }];
4300
4829
  if (this.presetInfoListHiddenColumns != undefined && this.presetInfoListHiddenColumns != '') {
4301
4830
  table = table.filter(function (items) {
4302
- return _this.presetInfoListHiddenColumns.indexOf(items.key) == -1;
4831
+ return _this4.presetInfoListHiddenColumns.indexOf(items.key) == -1;
4303
4832
  });
4304
4833
  }
4305
4834
  if (!this.canDelete) table.splice(table.length - 1, 1);
@@ -4307,27 +4836,193 @@ var mainvue_type_script_lang_js_components;
4307
4836
  }
4308
4837
  },
4309
4838
  mounted: function mounted() {
4310
- var _this2 = this;
4839
+ var _this5 = this;
4311
4840
 
4312
4841
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
4313
4842
  this.getFlowList();
4314
4843
  this.getSysInfo('preset_type');
4315
4844
  this.getSysInfo('is_edit');
4316
4845
  this.$nextTick(function () {
4317
- _this2.getListInfo();
4846
+ _this5.getListInfo();
4318
4847
  });
4319
4848
  },
4320
4849
 
4321
4850
 
4322
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
+
4323
5015
  /**
4324
5016
  * handleChange
4325
5017
  * @desc:切换排序方式
4326
5018
  * @author liufan
4327
5019
  * @date 2022年11月22日
4328
5020
  **/
4329
- handleChange: function handleChange() {
4330
- this.show = false;
5021
+ handleChange: function handleChange(key, value) {
5022
+ if (value) {
5023
+ this[key] = value;
5024
+ }
5025
+ // this.show = false;
4331
5026
  this.loading = util["a" /* default */].loading(this.$loading, '加载中...');
4332
5027
  this.getFlowList();
4333
5028
  },
@@ -4339,7 +5034,7 @@ var mainvue_type_script_lang_js_components;
4339
5034
  * @date 2022年11月22日
4340
5035
  **/
4341
5036
  getFlowList: function getFlowList() {
4342
- var _this3 = this;
5037
+ var _this8 = this;
4343
5038
 
4344
5039
  var params = {
4345
5040
  url: api["eb" /* pendedhistoryListJson */],
@@ -4362,26 +5057,26 @@ var mainvue_type_script_lang_js_components;
4362
5057
  modify = _res$data.modify,
4363
5058
  taskReadName = _res$data.taskReadName;
4364
5059
 
4365
- _this3.loading.close();
5060
+ _this8.loading.close();
4366
5061
  if (status == 'success') {
4367
- _this3.flowTableInfo.adjunctCode = adjunctCode;
4368
- _this3.flowTableInfo.hasAgent = hasAgent;
4369
- _this3.attachmentPaperClipCssStyle = res.data.attachmentPaperClipCssStyle;
4370
- _this3.isShort = isShort;
4371
- _this3.taskReadName = taskReadName;
4372
- _this3.flowTableList = wfHistoryList;
4373
- _this3.fyTableList = fyHistoryList;
4374
- _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;
4375
5070
  } else {
4376
- _this3.$message.error(message || '系统错误,请联系管理员!');
5071
+ _this8.$message.error(message || '系统错误,请联系管理员!');
4377
5072
  }
4378
- _this3.show = true;
5073
+ _this8.show = true;
4379
5074
  }).catch(function (err) {
4380
- _this3.loading.close();
5075
+ _this8.loading.close();
4381
5076
  if (err.message && err.message !== 'canceled') {
4382
- _this3.$message.error(err.message);
5077
+ _this8.$message.error(err.message);
4383
5078
  }
4384
- _this3.show = true;
5079
+ _this8.show = true;
4385
5080
  });
4386
5081
  },
4387
5082
 
@@ -4393,7 +5088,7 @@ var mainvue_type_script_lang_js_components;
4393
5088
  * @date 2022年11月10日
4394
5089
  **/
4395
5090
  handleClick: function handleClick(val) {
4396
- var _this4 = this;
5091
+ var _this9 = this;
4397
5092
 
4398
5093
  var text = val.handle.text,
4399
5094
  _val$row = val.row,
@@ -4403,7 +5098,7 @@ var mainvue_type_script_lang_js_components;
4403
5098
  if (text === '置为失效') {
4404
5099
  if (status == 0) {
4405
5100
  this.$confirm('您确定要置为失效吗?').then(function () {
4406
- _this4.loading = util["a" /* default */].loading(_this4.$loading, '提交中...');
5101
+ _this9.loading = util["a" /* default */].loading(_this9.$loading, '提交中...');
4407
5102
  var param = {
4408
5103
  url: api["j" /* deletePresetInfo */],
4409
5104
  headers: { Accept: 'application/json,text/plain' },
@@ -4414,17 +5109,17 @@ var mainvue_type_script_lang_js_components;
4414
5109
  var status = res.status,
4415
5110
  message = res.message;
4416
5111
 
4417
- _this4.loading.close();
5112
+ _this9.loading.close();
4418
5113
  if (status === 'success') {
4419
- _this4.$message.success('操作成功');
4420
- _this4.getListInfo();
5114
+ _this9.$message.success('操作成功');
5115
+ _this9.getListInfo();
4421
5116
  } else {
4422
- _this4.$message.error(message || '系统错误,请联系管理员!');
5117
+ _this9.$message.error(message || '系统错误,请联系管理员!');
4423
5118
  }
4424
5119
  }).catch(function (err) {
4425
- _this4.loading.close();
5120
+ _this9.loading.close();
4426
5121
  if (err.message && err.message !== 'canceled') {
4427
- _this4.$message.error(err.message);
5122
+ _this9.$message.error(err.message);
4428
5123
  }
4429
5124
  });
4430
5125
  }).catch(function (e) {
@@ -4459,7 +5154,7 @@ var mainvue_type_script_lang_js_components;
4459
5154
  * @date 2022年11月10日
4460
5155
  **/
4461
5156
  getSysInfo: function getSysInfo(code) {
4462
- var _this5 = this;
5157
+ var _this10 = this;
4463
5158
 
4464
5159
  var params = {
4465
5160
  url: api["t" /* findCodeValues */],
@@ -4471,9 +5166,9 @@ var mainvue_type_script_lang_js_components;
4471
5166
  data = res.data;
4472
5167
 
4473
5168
  if (status == 'success') {
4474
- _this5[code] = data;
5169
+ _this10[code] = data;
4475
5170
  } else {
4476
- _this5.$message.error(message || '系统错误,请联系管理员!');
5171
+ _this10.$message.error(message || '系统错误,请联系管理员!');
4477
5172
  }
4478
5173
  }).catch(function (e) {});
4479
5174
  },
@@ -4485,7 +5180,7 @@ var mainvue_type_script_lang_js_components;
4485
5180
  * @date 2022年11月10日
4486
5181
  **/
4487
5182
  getListInfo: function getListInfo() {
4488
- var _this6 = this;
5183
+ var _this11 = this;
4489
5184
 
4490
5185
  var param = {
4491
5186
  url: api["Db" /* toPresetInfoListIndex */],
@@ -4499,18 +5194,18 @@ var mainvue_type_script_lang_js_components;
4499
5194
  presetInfoListHiddenColumns = _res$data2.presetInfoListHiddenColumns,
4500
5195
  canDelete = _res$data2.canDelete;
4501
5196
 
4502
- _this6.loading.close();
5197
+ _this11.loading.close();
4503
5198
  if (status == 'success') {
4504
- presetInfoList && (_this6.tableData = presetInfoList);
4505
- _this6.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
4506
- _this6.canDelete = canDelete;
5199
+ presetInfoList && (_this11.presetData = presetInfoList);
5200
+ _this11.presetInfoListHiddenColumns = presetInfoListHiddenColumns;
5201
+ _this11.canDelete = canDelete;
4507
5202
  } else {
4508
- _this6.$message.error(message || '系统错误,请联系管理员!');
5203
+ _this11.$message.error(message || '系统错误,请联系管理员!');
4509
5204
  }
4510
5205
  }).catch(function (err) {
4511
- _this6.loading.close();
5206
+ _this11.loading.close();
4512
5207
  if (err.message && err.message !== 'canceled') {
4513
- _this6.$message.error(err.message);
5208
+ _this11.$message.error(err.message);
4514
5209
  }
4515
5210
  });
4516
5211
  }
@@ -4528,7 +5223,7 @@ var mainvue_type_script_lang_js_components;
4528
5223
 
4529
5224
  var main_component = Object(componentNormalizer["a" /* default */])(
4530
5225
  src_mainvue_type_script_lang_js_,
4531
- mainvue_type_template_id_0fd64532_render,
5226
+ mainvue_type_template_id_b334e09a_render,
4532
5227
  staticRenderFns,
4533
5228
  false,
4534
5229
  null,