sd-data-grid 1.2.63 → 1.2.65

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.
@@ -70,13 +70,122 @@ return /******/ (function(modules) { // webpackBootstrap
70
70
  /******/ __webpack_require__.p = "/dist/";
71
71
  /******/
72
72
  /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 18);
73
+ /******/ return __webpack_require__(__webpack_require__.s = 24);
74
74
  /******/ })
75
75
  /************************************************************************/
76
76
  /******/ ([
77
77
  /* 0 */
78
78
  /***/ (function(module, exports) {
79
79
 
80
+ /* globals __VUE_SSR_CONTEXT__ */
81
+
82
+ // IMPORTANT: Do NOT use ES2015 features in this file.
83
+ // This module is a runtime utility for cleaner component module output and will
84
+ // be included in the final webpack user bundle.
85
+
86
+ module.exports = function normalizeComponent (
87
+ rawScriptExports,
88
+ compiledTemplate,
89
+ functionalTemplate,
90
+ injectStyles,
91
+ scopeId,
92
+ moduleIdentifier /* server only */
93
+ ) {
94
+ var esModule
95
+ var scriptExports = rawScriptExports = rawScriptExports || {}
96
+
97
+ // ES6 modules interop
98
+ var type = typeof rawScriptExports.default
99
+ if (type === 'object' || type === 'function') {
100
+ esModule = rawScriptExports
101
+ scriptExports = rawScriptExports.default
102
+ }
103
+
104
+ // Vue.extend constructor export interop
105
+ var options = typeof scriptExports === 'function'
106
+ ? scriptExports.options
107
+ : scriptExports
108
+
109
+ // render functions
110
+ if (compiledTemplate) {
111
+ options.render = compiledTemplate.render
112
+ options.staticRenderFns = compiledTemplate.staticRenderFns
113
+ options._compiled = true
114
+ }
115
+
116
+ // functional template
117
+ if (functionalTemplate) {
118
+ options.functional = true
119
+ }
120
+
121
+ // scopedId
122
+ if (scopeId) {
123
+ options._scopeId = scopeId
124
+ }
125
+
126
+ var hook
127
+ if (moduleIdentifier) { // server build
128
+ hook = function (context) {
129
+ // 2.3 injection
130
+ context =
131
+ context || // cached call
132
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
133
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
134
+ // 2.2 with runInNewContext: true
135
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
136
+ context = __VUE_SSR_CONTEXT__
137
+ }
138
+ // inject component styles
139
+ if (injectStyles) {
140
+ injectStyles.call(this, context)
141
+ }
142
+ // register component module identifier for async chunk inferrence
143
+ if (context && context._registeredComponents) {
144
+ context._registeredComponents.add(moduleIdentifier)
145
+ }
146
+ }
147
+ // used by ssr in case component is cached and beforeCreate
148
+ // never gets called
149
+ options._ssrRegister = hook
150
+ } else if (injectStyles) {
151
+ hook = injectStyles
152
+ }
153
+
154
+ if (hook) {
155
+ var functional = options.functional
156
+ var existing = functional
157
+ ? options.render
158
+ : options.beforeCreate
159
+
160
+ if (!functional) {
161
+ // inject component registration as beforeCreate hook
162
+ options.beforeCreate = existing
163
+ ? [].concat(existing, hook)
164
+ : [hook]
165
+ } else {
166
+ // for template-only hot-reload because in that case the render fn doesn't
167
+ // go through the normalizer
168
+ options._injectStyles = hook
169
+ // register for functioal component in vue file
170
+ options.render = function renderWithStyleInjection (h, context) {
171
+ hook.call(context)
172
+ return existing(h, context)
173
+ }
174
+ }
175
+ }
176
+
177
+ return {
178
+ esModule: esModule,
179
+ exports: scriptExports,
180
+ options: options
181
+ }
182
+ }
183
+
184
+
185
+ /***/ }),
186
+ /* 1 */
187
+ /***/ (function(module, exports) {
188
+
80
189
  /*
81
190
  MIT License http://www.opensource.org/licenses/mit-license.php
82
191
  Author Tobias Koppers @sokra
@@ -156,7 +265,7 @@ function toComment(sourceMap) {
156
265
 
157
266
 
158
267
  /***/ }),
159
- /* 1 */
268
+ /* 2 */
160
269
  /***/ (function(module, exports, __webpack_require__) {
161
270
 
162
271
  /*
@@ -175,7 +284,7 @@ if (typeof DEBUG !== 'undefined' && DEBUG) {
175
284
  ) }
176
285
  }
177
286
 
178
- var listToStyles = __webpack_require__(22)
287
+ var listToStyles = __webpack_require__(28)
179
288
 
180
289
  /*
181
290
  type StyleObject = {
@@ -376,127 +485,23 @@ function applyToTag (styleElement, obj) {
376
485
  }
377
486
 
378
487
 
379
- /***/ }),
380
- /* 2 */
381
- /***/ (function(module, exports) {
382
-
383
- /* globals __VUE_SSR_CONTEXT__ */
384
-
385
- // IMPORTANT: Do NOT use ES2015 features in this file.
386
- // This module is a runtime utility for cleaner component module output and will
387
- // be included in the final webpack user bundle.
388
-
389
- module.exports = function normalizeComponent (
390
- rawScriptExports,
391
- compiledTemplate,
392
- functionalTemplate,
393
- injectStyles,
394
- scopeId,
395
- moduleIdentifier /* server only */
396
- ) {
397
- var esModule
398
- var scriptExports = rawScriptExports = rawScriptExports || {}
399
-
400
- // ES6 modules interop
401
- var type = typeof rawScriptExports.default
402
- if (type === 'object' || type === 'function') {
403
- esModule = rawScriptExports
404
- scriptExports = rawScriptExports.default
405
- }
406
-
407
- // Vue.extend constructor export interop
408
- var options = typeof scriptExports === 'function'
409
- ? scriptExports.options
410
- : scriptExports
411
-
412
- // render functions
413
- if (compiledTemplate) {
414
- options.render = compiledTemplate.render
415
- options.staticRenderFns = compiledTemplate.staticRenderFns
416
- options._compiled = true
417
- }
418
-
419
- // functional template
420
- if (functionalTemplate) {
421
- options.functional = true
422
- }
423
-
424
- // scopedId
425
- if (scopeId) {
426
- options._scopeId = scopeId
427
- }
428
-
429
- var hook
430
- if (moduleIdentifier) { // server build
431
- hook = function (context) {
432
- // 2.3 injection
433
- context =
434
- context || // cached call
435
- (this.$vnode && this.$vnode.ssrContext) || // stateful
436
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
437
- // 2.2 with runInNewContext: true
438
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
439
- context = __VUE_SSR_CONTEXT__
440
- }
441
- // inject component styles
442
- if (injectStyles) {
443
- injectStyles.call(this, context)
444
- }
445
- // register component module identifier for async chunk inferrence
446
- if (context && context._registeredComponents) {
447
- context._registeredComponents.add(moduleIdentifier)
448
- }
449
- }
450
- // used by ssr in case component is cached and beforeCreate
451
- // never gets called
452
- options._ssrRegister = hook
453
- } else if (injectStyles) {
454
- hook = injectStyles
455
- }
456
-
457
- if (hook) {
458
- var functional = options.functional
459
- var existing = functional
460
- ? options.render
461
- : options.beforeCreate
462
-
463
- if (!functional) {
464
- // inject component registration as beforeCreate hook
465
- options.beforeCreate = existing
466
- ? [].concat(existing, hook)
467
- : [hook]
468
- } else {
469
- // for template-only hot-reload because in that case the render fn doesn't
470
- // go through the normalizer
471
- options._injectStyles = hook
472
- // register for functioal component in vue file
473
- options.render = function renderWithStyleInjection (h, context) {
474
- hook.call(context)
475
- return existing(h, context)
476
- }
477
- }
478
- }
479
-
480
- return {
481
- esModule: esModule,
482
- exports: scriptExports,
483
- options: options
484
- }
485
- }
486
-
487
-
488
488
  /***/ }),
489
489
  /* 3 */
490
490
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
491
491
 
492
492
  "use strict";
493
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__methods__ = __webpack_require__(25);
493
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__methods__ = __webpack_require__(31);
494
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_dayjs__ = __webpack_require__(8);
495
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_dayjs__);
494
496
  /* eslint-disable no-tabs */
495
497
  /* eslint-disable no-mixed-spaces-and-tabs */
496
498
 
499
+
497
500
  /* harmony default export */ __webpack_exports__["a"] = ({
498
501
  data: function data() {
499
502
  return {
503
+ dayjs: __WEBPACK_IMPORTED_MODULE_1_dayjs___default.a,
504
+ complexQueryConfig: [],
500
505
  customShowList: [],
501
506
  showModal: false,
502
507
  modalStatus: false,
@@ -507,6 +512,8 @@ module.exports = function normalizeComponent (
507
512
  dataGridColumns: [],
508
513
  gridData: [],
509
514
  queryFields: [],
515
+ queryFieldsZH: [],
516
+ allqueryFields: [],
510
517
  hiddenQueryFields: [],
511
518
  filterFields: {},
512
519
  pageNo: 1,
@@ -570,15 +577,14 @@ module.exports = function normalizeComponent (
570
577
 
571
578
  mixins: [__WEBPACK_IMPORTED_MODULE_0__methods__["a" /* default */]],
572
579
  methods: {
573
- query_grid_data: function query_grid_data(pageNo) {
580
+ query_grid_data: function query_grid_data(pageNo, Tag) {
574
581
  var _this = this;
575
582
 
576
583
  this.loading = true;
577
584
  if (pageNo) {
578
585
  this.pageNo = pageNo;
579
586
  }
580
- var params = this.getGridRequestParams();
581
- // console.log(params, 'params')
587
+ var params = this.getGridRequestParams(Tag);
582
588
  this.$emit('returnParams', params);
583
589
  this.$store.dispatch('postRequest', {
584
590
  url: '/bsp-com/com/datagrid/getQueryPageData',
@@ -634,7 +640,7 @@ module.exports = function normalizeComponent (
634
640
  }
635
641
  });
636
642
  },
637
- getGridRequestParams: function getGridRequestParams() {
643
+ getGridRequestParams: function getGridRequestParams(Tag) {
638
644
  var _this2 = this;
639
645
 
640
646
  var params = {
@@ -644,7 +650,7 @@ module.exports = function normalizeComponent (
644
650
  browsePerm: this.browsePerm
645
651
  };
646
652
  var searchCondis = [];
647
- var condis = this.build_query_condis();
653
+ var condis = this.build_query_condis(Tag);
648
654
  var filterCondis = this.build_filter_condis();
649
655
  if (filterCondis.length > 0) {
650
656
  searchCondis = searchCondis.concat(filterCondis);
@@ -726,12 +732,32 @@ module.exports = function normalizeComponent (
726
732
  },
727
733
 
728
734
  // condis参数
729
- build_query_condis: function build_query_condis() {
735
+ build_query_condis: function build_query_condis(Tag) {
736
+ var _this3 = this;
737
+
730
738
  var queryParams = [];
731
- var queryFields = this.queryFields.concat();
739
+ var queryFields = [];
740
+ if (Tag) {
741
+ queryFields = this.complexQueryConfig.concat();
742
+ queryFields.forEach(function (item) {
743
+ if (item.fields && item.fields.length > 0) {
744
+ item.fields.forEach(function (ele) {
745
+ _this3.queryFields.forEach(function (filesChild) {
746
+ filesChild.forEach(function (dd) {
747
+ if (ele.name == dd.name) {
748
+ dd = Object.assign(dd, ele);
749
+ }
750
+ });
751
+ });
752
+ });
753
+ }
754
+ });
755
+ this.$forceUpdate();
756
+ } else {
757
+ queryFields = this.queryFields.concat();
758
+ }
732
759
  var _that = this;
733
760
  _that.containSubordinate = '';
734
- console.log(this.queryFields, 'this.queryFields');
735
761
  if (this.hiddenQueryFields.length > 0) {
736
762
  var hiddenFields = [];
737
763
  var req = Object.assign({}, this.$route.query, this.params);
@@ -758,12 +784,12 @@ module.exports = function normalizeComponent (
758
784
  queryFields.push(hiddenFields);
759
785
  }
760
786
  }
761
- queryFields.forEach(function (fields) {
787
+ queryFields.forEach(function (itemChild) {
788
+ var fields = Tag ? itemChild.fields : itemChild;
762
789
  fields.forEach(function (item) {
763
790
  if (item.controlTypeName && (item.controlTypeName == "09" || item.controlTypeName == "10")) {
764
791
  _that.containSubordinate = item && item.containSubordinate ? item.containSubordinate : "";
765
792
  }
766
- console.log(item.controlTypeName, _that.containSubordinate, 'controlTypeName', item.controlTypeName && (item.controlTypeName == "09" || item.controlTypeName == "10"));
767
793
 
768
794
  if (item.opName === 'between') {
769
795
  if (item.start) {
@@ -965,7 +991,7 @@ function type(x) {
965
991
  /* unused harmony export assign */
966
992
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return extend; });
967
993
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return extendDeep; });
968
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jsmini_is__ = __webpack_require__(27);
994
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jsmini_is__ = __webpack_require__(33);
969
995
  /*!
970
996
  * @jsmini/extend 0.3.3 (https://github.com/jsmini/extend)
971
997
  * API https://github.com/jsmini/extend/blob/master/doc/api.md
@@ -1054,9 +1080,9 @@ function extendDeep(target) {
1054
1080
  "use strict";
1055
1081
 
1056
1082
 
1057
- var stringify = __webpack_require__(52);
1058
- var parse = __webpack_require__(53);
1059
- var formats = __webpack_require__(13);
1083
+ var stringify = __webpack_require__(58);
1084
+ var parse = __webpack_require__(59);
1085
+ var formats = __webpack_require__(14);
1060
1086
 
1061
1087
  module.exports = {
1062
1088
  formats: formats,
@@ -1070,21 +1096,24 @@ module.exports = {
1070
1096
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1071
1097
 
1072
1098
  "use strict";
1073
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dataGrid__ = __webpack_require__(23);
1074
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iframeComponent_vue__ = __webpack_require__(45);
1075
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__grid_export_opt_vue__ = __webpack_require__(49);
1076
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__grid_data_opt_vue__ = __webpack_require__(55);
1077
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__grid_print_opt_vue__ = __webpack_require__(60);
1078
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_sd_area_select_new__ = __webpack_require__(67);
1099
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dataGrid__ = __webpack_require__(29);
1100
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iframeComponent_vue__ = __webpack_require__(51);
1101
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__grid_export_opt_vue__ = __webpack_require__(55);
1102
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__grid_data_opt_vue__ = __webpack_require__(61);
1103
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__grid_print_opt_vue__ = __webpack_require__(66);
1104
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_sd_area_select_new__ = __webpack_require__(73);
1079
1105
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_sd_area_select_new___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_sd_area_select_new__);
1080
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_sd_cascader__ = __webpack_require__(68);
1106
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_sd_cascader__ = __webpack_require__(74);
1081
1107
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_sd_cascader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_sd_cascader__);
1082
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new__ = __webpack_require__(69);
1108
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new__ = __webpack_require__(75);
1083
1109
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new__);
1084
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select__ = __webpack_require__(70);
1110
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select__ = __webpack_require__(76);
1085
1111
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select__);
1086
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_sd_dic_manage__ = __webpack_require__(71);
1112
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_sd_dic_manage__ = __webpack_require__(77);
1087
1113
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_sd_dic_manage___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_sd_dic_manage__);
1114
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__grid_more_search_vue__ = __webpack_require__(78);
1115
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__data_checkbox_vue__ = __webpack_require__(20);
1116
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__data_radio_vue__ = __webpack_require__(22);
1088
1117
  //
1089
1118
  //
1090
1119
  //
@@ -1744,140 +1773,6 @@ module.exports = {
1744
1773
  //
1745
1774
  //
1746
1775
  //
1747
-
1748
-
1749
-
1750
-
1751
-
1752
-
1753
-
1754
-
1755
-
1756
-
1757
-
1758
- /* harmony default export */ __webpack_exports__["a"] = ({
1759
- mixins: [__WEBPACK_IMPORTED_MODULE_0__dataGrid__["a" /* default */]],
1760
- components: {
1761
- 'iframeComponent': __WEBPACK_IMPORTED_MODULE_1__iframeComponent_vue__["a" /* default */],
1762
- 'gridExportOpt': __WEBPACK_IMPORTED_MODULE_2__grid_export_opt_vue__["a" /* default */],
1763
- 'gridDataOpt': __WEBPACK_IMPORTED_MODULE_3__grid_data_opt_vue__["a" /* default */],
1764
- 'gridPrintOpt': __WEBPACK_IMPORTED_MODULE_4__grid_print_opt_vue__["a" /* default */],
1765
- 'dicManage': __WEBPACK_IMPORTED_MODULE_9_sd_dic_manage__["dicManage"], sdAreaSelectNew: __WEBPACK_IMPORTED_MODULE_5_sd_area_select_new__["sdAreaSelectNew"], sdCascader: __WEBPACK_IMPORTED_MODULE_6_sd_cascader__["sdCascader"], sdAreaTreeSelectNew: __WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new__["sdAreaTreeSelectNew"], sdAyTreeSelect: __WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select__["sdAyTreeSelect"]
1766
- },
1767
- computed: {
1768
- pickerOptions: function pickerOptions() {
1769
- var that = this;
1770
- return function (condi, type) {
1771
- return {
1772
- disabledDate: function disabledDate(time) {
1773
- if (type === 1) {
1774
- if (condi.end) {
1775
- var licenseEnd = new Date(condi.end);
1776
- licenseEnd.setDate(licenseEnd.getDate());
1777
- return time.getTime() >= licenseEnd;
1778
- } else {
1779
- return false;
1780
- }
1781
- } else {
1782
- if (condi.start) {
1783
- var licenseStart = new Date(condi.start);
1784
- licenseStart.setDate(licenseStart.getDate() - 1);
1785
- return time.getTime() <= licenseStart;
1786
- } else {
1787
- return false;
1788
- }
1789
- }
1790
- }
1791
- };
1792
- };
1793
- }
1794
- }
1795
- // beforeDestroy() {
1796
- // // 组件销毁前取消所有请求
1797
- // this.cancelTokens.forEach(source => {
1798
- // source.cancel('组件销毁,取消请求');
1799
- // });
1800
- // this.cancelTokens = [];
1801
- // }
1802
- });
1803
-
1804
- /***/ }),
1805
- /* 8 */
1806
- /***/ (function(module, exports, __webpack_require__) {
1807
-
1808
- "use strict";
1809
-
1810
-
1811
- var utils = module.exports = {};
1812
-
1813
- /**
1814
- * Loops through the collection and calls the callback for each element. if the callback returns truthy, the loop is broken and returns the same value.
1815
- * @public
1816
- * @param {*} collection The collection to loop through. Needs to have a length property set and have indices set from 0 to length - 1.
1817
- * @param {function} callback The callback to be called for each element. The element will be given as a parameter to the callback. If this callback returns truthy, the loop is broken and the same value is returned.
1818
- * @returns {*} The value that a callback has returned (if truthy). Otherwise nothing.
1819
- */
1820
- utils.forEach = function(collection, callback) {
1821
- for(var i = 0; i < collection.length; i++) {
1822
- var result = callback(collection[i]);
1823
- if(result) {
1824
- return result;
1825
- }
1826
- }
1827
- };
1828
-
1829
-
1830
- /***/ }),
1831
- /* 9 */
1832
- /***/ (function(module, exports, __webpack_require__) {
1833
-
1834
- "use strict";
1835
-
1836
-
1837
- var detector = module.exports = {};
1838
-
1839
- detector.isIE = function(version) {
1840
- function isAnyIeVersion() {
1841
- var agent = navigator.userAgent.toLowerCase();
1842
- return agent.indexOf("msie") !== -1 || agent.indexOf("trident") !== -1 || agent.indexOf(" edge/") !== -1;
1843
- }
1844
-
1845
- if(!isAnyIeVersion()) {
1846
- return false;
1847
- }
1848
-
1849
- if(!version) {
1850
- return true;
1851
- }
1852
-
1853
- //Shamelessly stolen from https://gist.github.com/padolsey/527683
1854
- var ieVersion = (function(){
1855
- var undef,
1856
- v = 3,
1857
- div = document.createElement("div"),
1858
- all = div.getElementsByTagName("i");
1859
-
1860
- do {
1861
- div.innerHTML = "<!--[if gt IE " + (++v) + "]><i></i><![endif]-->";
1862
- }
1863
- while (all[0]);
1864
-
1865
- return v > 4 ? v : undef;
1866
- }());
1867
-
1868
- return version === ieVersion;
1869
- };
1870
-
1871
- detector.isLegacyOpera = function() {
1872
- return !!window.opera;
1873
- };
1874
-
1875
-
1876
- /***/ }),
1877
- /* 10 */
1878
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1879
-
1880
- "use strict";
1881
1776
  //
1882
1777
  //
1883
1778
  //
@@ -1889,64 +1784,6 @@ detector.isLegacyOpera = function() {
1889
1784
  //
1890
1785
  //
1891
1786
  //
1892
-
1893
- /* harmony default export */ __webpack_exports__["a"] = ({
1894
- data: function data() {
1895
- return {
1896
- modal: true
1897
- };
1898
- },
1899
-
1900
- props: {
1901
- modalId: '',
1902
- iframeUrl: '',
1903
- title: '',
1904
- modalWidth: '',
1905
- modalHeight: ''
1906
- },
1907
- watch: {
1908
- iframeUrl: function iframeUrl(val) {
1909
- document.getElementById('iframeId').contentWindow.location.reload(true);
1910
- }
1911
- },
1912
- methods: {
1913
- handleMessage: function handleMessage(event) {
1914
- // 根据上面制定的结构来解析iframe内部发回来的数据
1915
- var data = event.data;
1916
- if (data.cmd === 'closeGridModal' && data.modalId === this.modalId) {
1917
- this.closeModal();
1918
- }
1919
- },
1920
- closeModal: function closeModal() {
1921
- var frame = document.getElementById('iframeId');
1922
- frame.src = 'about:blank';
1923
- this.modal = false;
1924
- this.$emit('closeModal');
1925
- try {
1926
- frame.contentWindow.document.write('');
1927
- frame.contentWindow.document.clear();
1928
- } catch (e) {}
1929
- frame.contentWindow.close();
1930
- }
1931
- },
1932
- mounted: function mounted() {
1933
- window.addEventListener('message', this.handleMessage);
1934
- }
1935
- });
1936
-
1937
- /***/ }),
1938
- /* 11 */
1939
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1940
-
1941
- "use strict";
1942
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
1943
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
1944
- 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; };
1945
-
1946
- function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
1947
-
1948
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
1949
-
1950
1787
  //
1951
1788
  //
1952
1789
  //
@@ -2004,93 +1841,1320 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2004
1841
  //
2005
1842
  //
2006
1843
  //
2007
-
2008
-
2009
-
2010
- /* harmony default export */ __webpack_exports__["a"] = ({
2011
- name: 'grid-export-opt',
2012
- props: {
2013
- modalWidth: {
2014
- type: Number,
2015
- default: 900
2016
- },
2017
- modalHeight: {
2018
- type: Number,
2019
- default: 600
2020
- },
2021
- gridAllShowFields: {
2022
- type: Array,
2023
- default: function _default() {
2024
- return [];
2025
- }
2026
- },
2027
- selectedRows: {
2028
- type: Array,
2029
- default: function _default() {
2030
- return [];
2031
- }
2032
- },
2033
- rowMark: {
2034
- type: String,
2035
- default: ''
2036
- },
2037
- pageSize: {
2038
- type: Number,
2039
- default: 10
2040
- },
2041
- gridRequestParams: {
2042
- type: Object,
2043
- default: function _default() {
2044
- return null;
2045
- }
2046
- },
2047
- exportMaxCount: {
2048
- type: Number,
2049
- default: 2000
2050
- },
2051
- exportOption: {
2052
- type: Object,
2053
- default: function _default() {
2054
- return {
2055
- fileType: '0',
2056
- exportFields: [],
2057
- pageRange: {
2058
- fromPageNo: 1,
2059
- toPageNo: 1
2060
- }
2061
- };
2062
- }
2063
- }
2064
- },
2065
- data: function data() {
2066
- var validateExportFields = function validateExportFields(rule, value, callback) {
2067
- if (!value || value.length <= 0) {
2068
- callback(new Error('请选择导出字段'));
2069
- } else {
2070
- callback();
2071
- }
2072
- };
2073
- return {
2074
- modal: true,
2075
- title: '导出数据',
2076
- totalCount: 0,
2077
- modal_loading: false,
2078
- ruleValidate: {
1844
+ //
1845
+ //
1846
+ //
1847
+ //
1848
+ //
1849
+ //
1850
+ //
1851
+ //
1852
+ //
1853
+ //
1854
+ //
1855
+ //
1856
+ //
1857
+ //
1858
+ //
1859
+ //
1860
+ //
1861
+ //
1862
+ //
1863
+ //
1864
+ //
1865
+ //
1866
+ //
1867
+ //
1868
+ //
1869
+ //
1870
+ //
1871
+ //
1872
+ //
1873
+ //
1874
+ //
1875
+ //
1876
+ //
1877
+ //
1878
+ //
1879
+ //
1880
+ //
1881
+ //
1882
+ //
1883
+ //
1884
+ //
1885
+ //
1886
+ //
1887
+ //
1888
+ //
1889
+ //
1890
+ //
1891
+ //
1892
+ //
1893
+ //
1894
+ //
1895
+ //
1896
+ //
1897
+ //
1898
+ //
1899
+ //
1900
+ //
1901
+ //
1902
+ //
1903
+ //
1904
+ //
1905
+ //
1906
+ //
1907
+ //
1908
+ //
1909
+ //
1910
+ //
1911
+ //
1912
+ //
1913
+ //
1914
+ //
1915
+ //
1916
+ //
1917
+ //
1918
+ //
1919
+ //
1920
+ //
1921
+ //
1922
+ //
1923
+ //
1924
+ //
1925
+ //
1926
+ //
1927
+ //
1928
+ //
1929
+ //
1930
+ //
1931
+ //
1932
+ //
1933
+ //
1934
+ //
1935
+ //
1936
+ //
1937
+ //
1938
+ //
1939
+ //
1940
+ //
1941
+ //
1942
+ //
1943
+ //
1944
+ //
1945
+ //
1946
+ //
1947
+ //
1948
+ //
1949
+ //
1950
+ //
1951
+ //
1952
+ //
1953
+ //
1954
+ //
1955
+ //
1956
+ //
1957
+ //
1958
+ //
1959
+ //
1960
+ //
1961
+ //
1962
+ //
1963
+ //
1964
+ //
1965
+ //
1966
+ //
1967
+ //
1968
+ //
1969
+ //
1970
+ //
1971
+ //
1972
+ //
1973
+ //
1974
+ //
1975
+ //
1976
+ //
1977
+ //
1978
+ //
1979
+ //
1980
+ //
1981
+ //
1982
+ //
1983
+ //
1984
+ //
1985
+ //
1986
+ //
1987
+ //
1988
+ //
1989
+ //
1990
+ //
1991
+ //
1992
+ //
1993
+ //
1994
+ //
1995
+ //
1996
+ //
1997
+ //
1998
+ //
1999
+ //
2000
+ //
2001
+ //
2002
+ //
2003
+ //
2004
+ //
2005
+ //
2006
+ //
2007
+ //
2008
+ //
2009
+ //
2010
+ //
2011
+ //
2012
+ //
2013
+ //
2014
+ //
2015
+ //
2016
+ //
2017
+ //
2018
+ //
2019
+ //
2020
+ //
2021
+ //
2022
+ //
2023
+ //
2024
+ //
2025
+ //
2026
+ //
2027
+ //
2028
+ //
2029
+ //
2030
+ //
2031
+ //
2032
+ //
2033
+ //
2034
+ //
2035
+ //
2036
+ //
2037
+ //
2038
+ //
2039
+ //
2040
+ //
2041
+ //
2042
+ //
2043
+ //
2044
+ //
2045
+ //
2046
+ //
2047
+ //
2048
+ //
2049
+ //
2050
+ //
2051
+
2052
+
2053
+
2054
+
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+ /* harmony default export */ __webpack_exports__["a"] = ({
2067
+ mixins: [__WEBPACK_IMPORTED_MODULE_0__dataGrid__["a" /* default */]],
2068
+ components: {
2069
+ iframeComponent: __WEBPACK_IMPORTED_MODULE_1__iframeComponent_vue__["a" /* default */],
2070
+ gridExportOpt: __WEBPACK_IMPORTED_MODULE_2__grid_export_opt_vue__["a" /* default */],
2071
+ gridDataOpt: __WEBPACK_IMPORTED_MODULE_3__grid_data_opt_vue__["a" /* default */],
2072
+ gridPrintOpt: __WEBPACK_IMPORTED_MODULE_4__grid_print_opt_vue__["a" /* default */],
2073
+ dicManage: __WEBPACK_IMPORTED_MODULE_9_sd_dic_manage__["dicManage"],
2074
+ sdAreaSelectNew: __WEBPACK_IMPORTED_MODULE_5_sd_area_select_new__["sdAreaSelectNew"],
2075
+ sdCascader: __WEBPACK_IMPORTED_MODULE_6_sd_cascader__["sdCascader"],
2076
+ sdAreaTreeSelectNew: __WEBPACK_IMPORTED_MODULE_7_sd_area_tree_select_new__["sdAreaTreeSelectNew"],
2077
+ sdAyTreeSelect: __WEBPACK_IMPORTED_MODULE_8_sd_ay_tree_select__["sdAyTreeSelect"],
2078
+ girdMoreSearch: __WEBPACK_IMPORTED_MODULE_10__grid_more_search_vue__["a" /* default */],
2079
+ dataCheckbox: __WEBPACK_IMPORTED_MODULE_11__data_checkbox_vue__["a" /* default */],
2080
+ dataRadio: __WEBPACK_IMPORTED_MODULE_12__data_radio_vue__["a" /* default */]
2081
+ },
2082
+ computed: {
2083
+ pickerOptions: function pickerOptions() {
2084
+ var that = this;
2085
+ return function (condi, type) {
2086
+ return {
2087
+ disabledDate: function disabledDate(time) {
2088
+ if (type === 1) {
2089
+ if (condi.end) {
2090
+ var licenseEnd = new Date(condi.end);
2091
+ licenseEnd.setDate(licenseEnd.getDate());
2092
+ return time.getTime() >= licenseEnd;
2093
+ } else {
2094
+ return false;
2095
+ }
2096
+ } else {
2097
+ if (condi.start) {
2098
+ var licenseStart = new Date(condi.start);
2099
+ licenseStart.setDate(licenseStart.getDate() - 1);
2100
+ return time.getTime() <= licenseStart;
2101
+ } else {
2102
+ return false;
2103
+ }
2104
+ }
2105
+ }
2106
+ };
2107
+ };
2108
+ }
2109
+ }
2110
+ // beforeDestroy() {
2111
+ // // 组件销毁前取消所有请求
2112
+ // this.cancelTokens.forEach(source => {
2113
+ // source.cancel('组件销毁,取消请求');
2114
+ // });
2115
+ // this.cancelTokens = [];
2116
+ // }
2117
+ });
2118
+
2119
+ /***/ }),
2120
+ /* 8 */
2121
+ /***/ (function(module, exports, __webpack_require__) {
2122
+
2123
+ !function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
2124
+
2125
+ /***/ }),
2126
+ /* 9 */
2127
+ /***/ (function(module, exports, __webpack_require__) {
2128
+
2129
+ "use strict";
2130
+
2131
+
2132
+ var utils = module.exports = {};
2133
+
2134
+ /**
2135
+ * Loops through the collection and calls the callback for each element. if the callback returns truthy, the loop is broken and returns the same value.
2136
+ * @public
2137
+ * @param {*} collection The collection to loop through. Needs to have a length property set and have indices set from 0 to length - 1.
2138
+ * @param {function} callback The callback to be called for each element. The element will be given as a parameter to the callback. If this callback returns truthy, the loop is broken and the same value is returned.
2139
+ * @returns {*} The value that a callback has returned (if truthy). Otherwise nothing.
2140
+ */
2141
+ utils.forEach = function(collection, callback) {
2142
+ for(var i = 0; i < collection.length; i++) {
2143
+ var result = callback(collection[i]);
2144
+ if(result) {
2145
+ return result;
2146
+ }
2147
+ }
2148
+ };
2149
+
2150
+
2151
+ /***/ }),
2152
+ /* 10 */
2153
+ /***/ (function(module, exports, __webpack_require__) {
2154
+
2155
+ "use strict";
2156
+
2157
+
2158
+ var detector = module.exports = {};
2159
+
2160
+ detector.isIE = function(version) {
2161
+ function isAnyIeVersion() {
2162
+ var agent = navigator.userAgent.toLowerCase();
2163
+ return agent.indexOf("msie") !== -1 || agent.indexOf("trident") !== -1 || agent.indexOf(" edge/") !== -1;
2164
+ }
2165
+
2166
+ if(!isAnyIeVersion()) {
2167
+ return false;
2168
+ }
2169
+
2170
+ if(!version) {
2171
+ return true;
2172
+ }
2173
+
2174
+ //Shamelessly stolen from https://gist.github.com/padolsey/527683
2175
+ var ieVersion = (function(){
2176
+ var undef,
2177
+ v = 3,
2178
+ div = document.createElement("div"),
2179
+ all = div.getElementsByTagName("i");
2180
+
2181
+ do {
2182
+ div.innerHTML = "<!--[if gt IE " + (++v) + "]><i></i><![endif]-->";
2183
+ }
2184
+ while (all[0]);
2185
+
2186
+ return v > 4 ? v : undef;
2187
+ }());
2188
+
2189
+ return version === ieVersion;
2190
+ };
2191
+
2192
+ detector.isLegacyOpera = function() {
2193
+ return !!window.opera;
2194
+ };
2195
+
2196
+
2197
+ /***/ }),
2198
+ /* 11 */
2199
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2200
+
2201
+ "use strict";
2202
+ //
2203
+ //
2204
+ //
2205
+ //
2206
+ //
2207
+ //
2208
+ //
2209
+ //
2210
+ //
2211
+ //
2212
+ //
2213
+
2214
+ /* harmony default export */ __webpack_exports__["a"] = ({
2215
+ data: function data() {
2216
+ return {
2217
+ modal: true
2218
+ };
2219
+ },
2220
+
2221
+ props: {
2222
+ modalId: '',
2223
+ iframeUrl: '',
2224
+ title: '',
2225
+ modalWidth: '',
2226
+ modalHeight: ''
2227
+ },
2228
+ watch: {
2229
+ iframeUrl: function iframeUrl(val) {
2230
+ document.getElementById('iframeId').contentWindow.location.reload(true);
2231
+ }
2232
+ },
2233
+ methods: {
2234
+ handleMessage: function handleMessage(event) {
2235
+ // 根据上面制定的结构来解析iframe内部发回来的数据
2236
+ var data = event.data;
2237
+ if (data.cmd === 'closeGridModal' && data.modalId === this.modalId) {
2238
+ this.closeModal();
2239
+ }
2240
+ },
2241
+ closeModal: function closeModal() {
2242
+ var frame = document.getElementById('iframeId');
2243
+ frame.src = 'about:blank';
2244
+ this.modal = false;
2245
+ this.$emit('closeModal');
2246
+ try {
2247
+ frame.contentWindow.document.write('');
2248
+ frame.contentWindow.document.clear();
2249
+ } catch (e) {}
2250
+ frame.contentWindow.close();
2251
+ }
2252
+ },
2253
+ mounted: function mounted() {
2254
+ window.addEventListener('message', this.handleMessage);
2255
+ }
2256
+ });
2257
+
2258
+ /***/ }),
2259
+ /* 12 */
2260
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2261
+
2262
+ "use strict";
2263
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
2264
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
2265
+ 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; };
2266
+
2267
+ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
2268
+
2269
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
2270
+
2271
+ //
2272
+ //
2273
+ //
2274
+ //
2275
+ //
2276
+ //
2277
+ //
2278
+ //
2279
+ //
2280
+ //
2281
+ //
2282
+ //
2283
+ //
2284
+ //
2285
+ //
2286
+ //
2287
+ //
2288
+ //
2289
+ //
2290
+ //
2291
+ //
2292
+ //
2293
+ //
2294
+ //
2295
+ //
2296
+ //
2297
+ //
2298
+ //
2299
+ //
2300
+ //
2301
+ //
2302
+ //
2303
+ //
2304
+ //
2305
+ //
2306
+ //
2307
+ //
2308
+ //
2309
+ //
2310
+ //
2311
+ //
2312
+ //
2313
+ //
2314
+ //
2315
+ //
2316
+ //
2317
+ //
2318
+ //
2319
+ //
2320
+ //
2321
+ //
2322
+ //
2323
+ //
2324
+ //
2325
+ //
2326
+ //
2327
+ //
2328
+
2329
+
2330
+
2331
+ /* harmony default export */ __webpack_exports__["a"] = ({
2332
+ name: 'grid-export-opt',
2333
+ props: {
2334
+ modalWidth: {
2335
+ type: Number,
2336
+ default: 900
2337
+ },
2338
+ modalHeight: {
2339
+ type: Number,
2340
+ default: 600
2341
+ },
2342
+ gridAllShowFields: {
2343
+ type: Array,
2344
+ default: function _default() {
2345
+ return [];
2346
+ }
2347
+ },
2348
+ selectedRows: {
2349
+ type: Array,
2350
+ default: function _default() {
2351
+ return [];
2352
+ }
2353
+ },
2354
+ rowMark: {
2355
+ type: String,
2356
+ default: ''
2357
+ },
2358
+ pageSize: {
2359
+ type: Number,
2360
+ default: 10
2361
+ },
2362
+ gridRequestParams: {
2363
+ type: Object,
2364
+ default: function _default() {
2365
+ return null;
2366
+ }
2367
+ },
2368
+ exportMaxCount: {
2369
+ type: Number,
2370
+ default: 2000
2371
+ },
2372
+ exportOption: {
2373
+ type: Object,
2374
+ default: function _default() {
2375
+ return {
2376
+ fileType: '0',
2377
+ exportFields: [],
2378
+ pageRange: {
2379
+ fromPageNo: 1,
2380
+ toPageNo: 1
2381
+ }
2382
+ };
2383
+ }
2384
+ }
2385
+ },
2386
+ data: function data() {
2387
+ var validateExportFields = function validateExportFields(rule, value, callback) {
2388
+ if (!value || value.length <= 0) {
2389
+ callback(new Error('请选择导出字段'));
2390
+ } else {
2391
+ callback();
2392
+ }
2393
+ };
2394
+ return {
2395
+ modal: true,
2396
+ title: '导出数据',
2397
+ totalCount: 0,
2398
+ modal_loading: false,
2399
+ ruleValidate: {
2079
2400
  fileName: [{ required: true, message: '文件名称不能为空', trigger: 'blur,change' }],
2080
2401
  pageRange: [{ validator: this.validatePageRange, trigger: 'blur,change' }],
2081
- exportFields: [{ validator: validateExportFields, trigger: 'blur,change' }]
2402
+ exportFields: [{ validator: validateExportFields, trigger: 'blur,change' }]
2403
+ }
2404
+ };
2405
+ },
2406
+ mounted: function mounted() {
2407
+ // 查询导出数据共有多少页
2408
+ this.queryExportDataCount();
2409
+ // 默认选中所有字段
2410
+ this.defCheckedAllFields();
2411
+ },
2412
+
2413
+ computed: {
2414
+ allowExportFields: function allowExportFields() {
2415
+ if (this.gridAllShowFields) {
2416
+ return this.gridAllShowFields.filter(function (el) {
2417
+ return el.isExport === '1';
2418
+ });
2419
+ } else {
2420
+ return [];
2421
+ }
2422
+ },
2423
+ pageCount: function pageCount() {
2424
+ return Math.ceil(this.totalCount / this.pageSize);
2425
+ }
2426
+ },
2427
+ methods: {
2428
+ queryExportDataCount: function queryExportDataCount() {
2429
+ var _this = this;
2430
+
2431
+ if (!this.gridRequestParams) {
2432
+ this.$Notice.error({
2433
+ title: '错误提示',
2434
+ desc: '查询数据参数为空'
2435
+ });
2436
+ } else {
2437
+ var params = _extends({}, this.gridRequestParams);
2438
+ params.pageNo = 1;
2439
+ params.pageSize = 0;
2440
+ this.$store.dispatch('postRequest', { url: '/bsp-com/com/datagrid/getQueryPageData', params: params }).then(function (resp) {
2441
+ if (resp.success) {
2442
+ _this.totalCount = resp.total;
2443
+ // 设置默认的导出结束页
2444
+ if (_this.totalCount > _this.exportMaxCount) {
2445
+ _this.exportOption.pageRange.toPageNo = Math.floor(_this.exportMaxCount / _this.pageSize);
2446
+ } else {
2447
+ _this.exportOption.pageRange.toPageNo = Math.ceil(_this.totalCount / _this.pageSize);
2448
+ }
2449
+ } else {
2450
+ _this.$Notice.error({
2451
+ title: '错误提示',
2452
+ desc: resp.msg
2453
+ });
2454
+ }
2455
+ });
2456
+ }
2457
+ },
2458
+ defCheckedAllFields: function defCheckedAllFields() {
2459
+ if (this.allowExportFields) {
2460
+ var _exportOption$exportF;
2461
+
2462
+ var allowExportFieldNames = this.allowExportFields.map(function (e) {
2463
+ return e.name;
2464
+ });
2465
+ (_exportOption$exportF = this.exportOption.exportFields).push.apply(_exportOption$exportF, _toConsumableArray(allowExportFieldNames));
2466
+ }
2467
+ },
2468
+ validatePageRange: function validatePageRange(rule, value, callback) {
2469
+ if (!value || !value.fromPageNo || !value.toPageNo) {
2470
+ callback(new Error('请设置导出数据页'));
2471
+ return;
2472
+ }
2473
+ if (value.fromPageNo > value.toPageNo) {
2474
+ callback(new Error('导出起始页号不能大于结束页号'));
2475
+ return;
2476
+ } else {
2477
+ callback();
2478
+ }
2479
+ // 校验数据量不能超过this.exportMaxCount条
2480
+ // if (this.totalCount <= this.exportMaxCount) {
2481
+ // callback()
2482
+ // return
2483
+ // }
2484
+ // if ((value.toPageNo - value.fromPageNo + 1) * this.pageSize > this.exportMaxCount) {
2485
+ // callback(new Error('导出的数据量不能超过' + this.exportMaxCount))
2486
+ // } else {
2487
+ // callback()
2488
+ // }
2489
+ // callback()
2490
+ },
2491
+ closeModal: function closeModal() {
2492
+ this.modal = false;
2493
+ this.$emit('closeModal');
2494
+ },
2495
+ getExportNum: function getExportNum(toPageNo, fromPageNo) {
2496
+ // 如果是最后一页 判断最后一页多少条数据
2497
+ // 不是最后一页直接乘页码 (value.toPageNo - value.fromPageNo + 1) * this.pageSize
2498
+ var exportTotal = 0;
2499
+ if (toPageNo == this.pageCount) {
2500
+ exportTotal = this.totalCount - (fromPageNo - 1) * this.pageSize;
2501
+ } else {
2502
+ exportTotal = (toPageNo - fromPageNo + 1) * this.pageSize;
2503
+ }
2504
+ console.log(exportTotal, this.pageCount, 'this.pageCount()');
2505
+ return exportTotal;
2506
+ },
2507
+ confirmExport: function confirmExport() {
2508
+ var _this2 = this;
2509
+
2510
+ console.log(121212, this.exportMaxCount, this.pageCount, this.rowMark, 'this.selectedRows.length');
2511
+ this.$refs['exportOptionForm'].validate(function (valid) {
2512
+ console.log(valid, 'valid');
2513
+ if (valid) {
2514
+ _this2.modal_loading = true;
2515
+ var opts = _this2.exportOption;
2516
+ var params = _extends({}, _this2.gridRequestParams);
2517
+ params.fileType = opts.fileType;
2518
+ params.fileName = opts.fileName;
2519
+ params.exportFields = opts.exportFields.join(',');
2520
+ params.fromPageNo = opts.pageRange.fromPageNo;
2521
+ params.toPageNo = opts.pageRange.toPageNo;
2522
+ params.pageSize = _this2.pageSize;
2523
+ params.exportMaxCount = _this2.exportMaxCount;
2524
+
2525
+ delete params.pageNo;
2526
+ if (_this2.selectedRows && _this2.selectedRows.length > 0 && _this2.rowMark) {
2527
+ var rowMarkLowerCase = _this2.rowMark.toLowerCase();
2528
+ var rowMarkValArr = _this2.selectedRows.map(function (row) {
2529
+ return row[rowMarkLowerCase];
2530
+ });
2531
+ params['rowMarkVals'] = rowMarkValArr.join(',');
2532
+ }
2533
+ console.log((params.toPageNo - params.fromPageNo + 1) * _this2.pageSize, _this2.exportMaxCount, _this2.pageCount, 'this.selectedRows.length');
2534
+ var num = _this2.getExportNum(params.toPageNo, params.fromPageNo);
2535
+ var url = '/bsp-com/com/datagrid/exportGridData';
2536
+ params.totalPage = Math.ceil(num / _this2.pageSize); // 导出列表数据总页数,
2537
+ params.totalNum = _this2.totalCount; // 导出列表数据数,
2538
+ params.totalExportNum = num; //导出数据数
2539
+ if (num > 2000) {
2540
+ url = '/bsp-com/com/datagrid/export/exportGridDataTask';
2541
+ _this2.$Modal.confirm({
2542
+ title: '导出提示',
2543
+ content: '导出数量超过2000条,需要创建导出任务,导出任务创建完成后,可通过"导出数据下载"按钮对文件进行下载,是否创建导出任务?',
2544
+ loading: true,
2545
+ onOk: function () {
2546
+ var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
2547
+ return regeneratorRuntime.wrap(function _callee$(_context) {
2548
+ while (1) {
2549
+ switch (_context.prev = _context.next) {
2550
+ case 0:
2551
+ _this2.downFile(params, url, true, opts);
2552
+
2553
+ case 1:
2554
+ case 'end':
2555
+ return _context.stop();
2556
+ }
2557
+ }
2558
+ }, _callee, _this2);
2559
+ }));
2560
+
2561
+ return function onOk() {
2562
+ return _ref.apply(this, arguments);
2563
+ };
2564
+ }()
2565
+ });
2566
+ _this2.modal_loading = false;
2567
+ } else {
2568
+ url = '/bsp-com/com/datagrid/exportGridData';
2569
+ _this2.downFile(params, url, false, opts);
2570
+ }
2571
+ } else {
2572
+ _this2.$Message.error('表单验证失败');
2573
+ }
2574
+ });
2575
+ },
2576
+ downFile: function downFile(params, url, tag, opts) {
2577
+ var _this3 = this;
2578
+
2579
+ this.$store.dispatch('downloadPostRequest', {
2580
+ url: url,
2581
+ params: __WEBPACK_IMPORTED_MODULE_0_qs___default.a.stringify(params),
2582
+ responseType: 'blob'
2583
+ }).then(function (resp) {
2584
+ var data = resp;
2585
+ console.log(data, 'data');
2586
+ if (tag) {
2587
+ _this3.$Message.success('导出任务创建成功!');
2588
+ _this3.$Modal.remove();
2589
+ _this3.modal_loading = false;
2590
+ _this3.closeModal();
2591
+ } else {
2592
+ if (data['type'] === 'text/plain' || data['type'] === 'application/json') {
2593
+ // 导出失败,返回的是错误消息
2594
+ data.text().then(function (msg) {
2595
+ _this3.$Notice.error({
2596
+ title: '错误提示',
2597
+ desc: msg ? msg : '导出列表数据异常'
2598
+ });
2599
+ });
2600
+ _this3.modal_loading = false;
2601
+ } else {
2602
+ // 导出成功,返回的是要导出的文件
2603
+ var _url = window.URL.createObjectURL(data);
2604
+ var a = document.createElement('a');
2605
+ a.href = _url;
2606
+ a.download = opts.fileName;
2607
+ document.body.appendChild(a);
2608
+ a.click();
2609
+ window.URL.revokeObjectURL(_url);
2610
+ document.body.removeChild(a);
2611
+ _this3.modal_loading = false;
2612
+ _this3.closeModal();
2613
+ }
2614
+ }
2615
+ }).catch(function (error) {
2616
+ if (error) {
2617
+ console.log(error);
2618
+ }
2619
+ _this3.modal_loading = false;
2620
+ });
2621
+ }
2622
+ }
2623
+ });
2624
+
2625
+ /***/ }),
2626
+ /* 13 */
2627
+ /***/ (function(module, exports, __webpack_require__) {
2628
+
2629
+ "use strict";
2630
+
2631
+
2632
+ var has = Object.prototype.hasOwnProperty;
2633
+
2634
+ var hexTable = (function () {
2635
+ var array = [];
2636
+ for (var i = 0; i < 256; ++i) {
2637
+ array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
2638
+ }
2639
+
2640
+ return array;
2641
+ }());
2642
+
2643
+ var compactQueue = function compactQueue(queue) {
2644
+ var obj;
2645
+
2646
+ while (queue.length) {
2647
+ var item = queue.pop();
2648
+ obj = item.obj[item.prop];
2649
+
2650
+ if (Array.isArray(obj)) {
2651
+ var compacted = [];
2652
+
2653
+ for (var j = 0; j < obj.length; ++j) {
2654
+ if (typeof obj[j] !== 'undefined') {
2655
+ compacted.push(obj[j]);
2656
+ }
2657
+ }
2658
+
2659
+ item.obj[item.prop] = compacted;
2660
+ }
2661
+ }
2662
+
2663
+ return obj;
2664
+ };
2665
+
2666
+ var arrayToObject = function arrayToObject(source, options) {
2667
+ var obj = options && options.plainObjects ? Object.create(null) : {};
2668
+ for (var i = 0; i < source.length; ++i) {
2669
+ if (typeof source[i] !== 'undefined') {
2670
+ obj[i] = source[i];
2671
+ }
2672
+ }
2673
+
2674
+ return obj;
2675
+ };
2676
+
2677
+ var merge = function merge(target, source, options) {
2678
+ if (!source) {
2679
+ return target;
2680
+ }
2681
+
2682
+ if (typeof source !== 'object') {
2683
+ if (Array.isArray(target)) {
2684
+ target.push(source);
2685
+ } else if (target && typeof target === 'object') {
2686
+ if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
2687
+ target[source] = true;
2688
+ }
2689
+ } else {
2690
+ return [target, source];
2691
+ }
2692
+
2693
+ return target;
2694
+ }
2695
+
2696
+ if (!target || typeof target !== 'object') {
2697
+ return [target].concat(source);
2698
+ }
2699
+
2700
+ var mergeTarget = target;
2701
+ if (Array.isArray(target) && !Array.isArray(source)) {
2702
+ mergeTarget = arrayToObject(target, options);
2703
+ }
2704
+
2705
+ if (Array.isArray(target) && Array.isArray(source)) {
2706
+ source.forEach(function (item, i) {
2707
+ if (has.call(target, i)) {
2708
+ var targetItem = target[i];
2709
+ if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
2710
+ target[i] = merge(targetItem, item, options);
2711
+ } else {
2712
+ target.push(item);
2713
+ }
2714
+ } else {
2715
+ target[i] = item;
2716
+ }
2717
+ });
2718
+ return target;
2719
+ }
2720
+
2721
+ return Object.keys(source).reduce(function (acc, key) {
2722
+ var value = source[key];
2723
+
2724
+ if (has.call(acc, key)) {
2725
+ acc[key] = merge(acc[key], value, options);
2726
+ } else {
2727
+ acc[key] = value;
2728
+ }
2729
+ return acc;
2730
+ }, mergeTarget);
2731
+ };
2732
+
2733
+ var assign = function assignSingleSource(target, source) {
2734
+ return Object.keys(source).reduce(function (acc, key) {
2735
+ acc[key] = source[key];
2736
+ return acc;
2737
+ }, target);
2738
+ };
2739
+
2740
+ var decode = function (str) {
2741
+ try {
2742
+ return decodeURIComponent(str.replace(/\+/g, ' '));
2743
+ } catch (e) {
2744
+ return str;
2745
+ }
2746
+ };
2747
+
2748
+ var encode = function encode(str) {
2749
+ // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
2750
+ // It has been adapted here for stricter adherence to RFC 3986
2751
+ if (str.length === 0) {
2752
+ return str;
2753
+ }
2754
+
2755
+ var string = typeof str === 'string' ? str : String(str);
2756
+
2757
+ var out = '';
2758
+ for (var i = 0; i < string.length; ++i) {
2759
+ var c = string.charCodeAt(i);
2760
+
2761
+ if (
2762
+ c === 0x2D // -
2763
+ || c === 0x2E // .
2764
+ || c === 0x5F // _
2765
+ || c === 0x7E // ~
2766
+ || (c >= 0x30 && c <= 0x39) // 0-9
2767
+ || (c >= 0x41 && c <= 0x5A) // a-z
2768
+ || (c >= 0x61 && c <= 0x7A) // A-Z
2769
+ ) {
2770
+ out += string.charAt(i);
2771
+ continue;
2772
+ }
2773
+
2774
+ if (c < 0x80) {
2775
+ out = out + hexTable[c];
2776
+ continue;
2777
+ }
2778
+
2779
+ if (c < 0x800) {
2780
+ out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
2781
+ continue;
2782
+ }
2783
+
2784
+ if (c < 0xD800 || c >= 0xE000) {
2785
+ out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
2786
+ continue;
2787
+ }
2788
+
2789
+ i += 1;
2790
+ c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
2791
+ /* eslint operator-linebreak: [2, "before"] */
2792
+ out += hexTable[0xF0 | (c >> 18)]
2793
+ + hexTable[0x80 | ((c >> 12) & 0x3F)]
2794
+ + hexTable[0x80 | ((c >> 6) & 0x3F)]
2795
+ + hexTable[0x80 | (c & 0x3F)];
2796
+ }
2797
+
2798
+ return out;
2799
+ };
2800
+
2801
+ var compact = function compact(value) {
2802
+ var queue = [{ obj: { o: value }, prop: 'o' }];
2803
+ var refs = [];
2804
+
2805
+ for (var i = 0; i < queue.length; ++i) {
2806
+ var item = queue[i];
2807
+ var obj = item.obj[item.prop];
2808
+
2809
+ var keys = Object.keys(obj);
2810
+ for (var j = 0; j < keys.length; ++j) {
2811
+ var key = keys[j];
2812
+ var val = obj[key];
2813
+ if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
2814
+ queue.push({ obj: obj, prop: key });
2815
+ refs.push(val);
2816
+ }
2817
+ }
2818
+ }
2819
+
2820
+ return compactQueue(queue);
2821
+ };
2822
+
2823
+ var isRegExp = function isRegExp(obj) {
2824
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
2825
+ };
2826
+
2827
+ var isBuffer = function isBuffer(obj) {
2828
+ if (obj === null || typeof obj === 'undefined') {
2829
+ return false;
2830
+ }
2831
+
2832
+ return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
2833
+ };
2834
+
2835
+ module.exports = {
2836
+ arrayToObject: arrayToObject,
2837
+ assign: assign,
2838
+ compact: compact,
2839
+ decode: decode,
2840
+ encode: encode,
2841
+ isBuffer: isBuffer,
2842
+ isRegExp: isRegExp,
2843
+ merge: merge
2844
+ };
2845
+
2846
+
2847
+ /***/ }),
2848
+ /* 14 */
2849
+ /***/ (function(module, exports, __webpack_require__) {
2850
+
2851
+ "use strict";
2852
+
2853
+
2854
+ var replace = String.prototype.replace;
2855
+ var percentTwenties = /%20/g;
2856
+
2857
+ module.exports = {
2858
+ 'default': 'RFC3986',
2859
+ formatters: {
2860
+ RFC1738: function (value) {
2861
+ return replace.call(value, percentTwenties, '+');
2862
+ },
2863
+ RFC3986: function (value) {
2864
+ return String(value);
2865
+ }
2866
+ },
2867
+ RFC1738: 'RFC1738',
2868
+ RFC3986: 'RFC3986'
2869
+ };
2870
+
2871
+
2872
+ /***/ }),
2873
+ /* 15 */
2874
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2875
+
2876
+ "use strict";
2877
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
2878
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
2879
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_sd_table_grid__ = __webpack_require__(64);
2880
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_sd_table_grid___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_sd_table_grid__);
2881
+ //
2882
+ //
2883
+ //
2884
+ //
2885
+ //
2886
+ //
2887
+ //
2888
+ //
2889
+ //
2890
+ //
2891
+ //
2892
+ //
2893
+ //
2894
+ //
2895
+ //
2896
+ //
2897
+ //
2898
+ //
2899
+
2900
+
2901
+ // import { sDataGrid } from 'sd-data-grid' //'@/components/data-grid'
2902
+
2903
+ /* harmony default export */ __webpack_exports__["a"] = ({
2904
+ name: 'grid-data-opt',
2905
+ components: {
2906
+ sTableGrid: __WEBPACK_IMPORTED_MODULE_1_sd_table_grid__["sTableGrid"]
2907
+ },
2908
+
2909
+ props: {
2910
+ modalWidth: {
2911
+ type: Number,
2912
+ default: 900
2913
+ },
2914
+ modalHeight: {
2915
+ type: Number,
2916
+ default: 600
2917
+ },
2918
+ gridAllShowFields: {
2919
+ type: Array,
2920
+ default: function _default() {
2921
+ return [];
2922
+ }
2923
+ },
2924
+ selectedRows: {
2925
+ type: Array,
2926
+ default: function _default() {
2927
+ return [];
2928
+ }
2929
+ },
2930
+ modelId: {
2931
+ type: String,
2932
+ default: ''
2933
+ },
2934
+ rowMark: {
2935
+ type: String,
2936
+ default: ''
2937
+ },
2938
+ pageSize: {
2939
+ type: Number,
2940
+ default: 10
2941
+ },
2942
+ gridRequestParams: {
2943
+ type: Object,
2944
+ default: function _default() {
2945
+ return null;
2946
+ }
2947
+ },
2948
+ exportMaxCount: {
2949
+ type: Number,
2950
+ default: 2000
2951
+ },
2952
+ exportOption: {
2953
+ type: Object,
2954
+ default: function _default() {
2955
+ return {
2956
+ fileType: '0',
2957
+ exportFields: [],
2958
+ pageRange: {
2959
+ fromPageNo: 1,
2960
+ toPageNo: 1
2961
+ }
2962
+ };
2963
+ }
2964
+ }
2965
+ },
2966
+ data: function data() {
2967
+ return {
2968
+ modal: true,
2969
+ title: '导出数据下载',
2970
+ totalCount: 0,
2971
+ modal_loading: false
2972
+ };
2973
+ },
2974
+ mounted: function mounted() {},
2975
+
2976
+ computed: {},
2977
+ methods: {
2978
+ closeModal: function closeModal() {
2979
+ this.modal = false;
2980
+ this.$emit('closeModal');
2981
+ }
2982
+ }
2983
+ });
2984
+
2985
+ /***/ }),
2986
+ /* 16 */
2987
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2988
+
2989
+ "use strict";
2990
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
2991
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
2992
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_uuid__ = __webpack_require__(69);
2993
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_uuid___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_uuid__);
2994
+ 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; };
2995
+
2996
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
2997
+
2998
+ //
2999
+ //
3000
+ //
3001
+ //
3002
+ //
3003
+ //
3004
+ //
3005
+ //
3006
+ //
3007
+ //
3008
+ //
3009
+ //
3010
+ //
3011
+ //
3012
+ //
3013
+ //
3014
+ //
3015
+ //
3016
+ //
3017
+ //
3018
+ //
3019
+ //
3020
+ //
3021
+ //
3022
+ //
3023
+ //
3024
+ //
3025
+ //
3026
+ //
3027
+ //
3028
+ //
3029
+ //
3030
+ //
3031
+ //
3032
+ //
3033
+ //
3034
+ //
3035
+ //
3036
+ //
3037
+ //
3038
+ //
3039
+ //
3040
+ //
3041
+ //
3042
+ //
3043
+ //
3044
+ //
3045
+ //
3046
+ //
3047
+ //
3048
+ //
3049
+ //
3050
+ //
3051
+ //
3052
+ //
3053
+ //
3054
+ //
3055
+ //
3056
+ //
3057
+ //
3058
+ //
3059
+ //
3060
+ //
3061
+ //
3062
+ //
3063
+
3064
+
3065
+
3066
+
3067
+ /* harmony default export */ __webpack_exports__["a"] = ({
3068
+ name: 'grid-print-opt',
3069
+ props: {
3070
+ modalWidth: {
3071
+ type: Number,
3072
+ default: 900
3073
+ },
3074
+ modalHeight: {
3075
+ type: Number,
3076
+ default: 600
3077
+ },
3078
+ gridAllShowFields: {
3079
+ type: Array,
3080
+ default: function _default() {
3081
+ return [];
3082
+ }
3083
+ },
3084
+ selectedRows: {
3085
+ type: Array,
3086
+ default: function _default() {
3087
+ return [];
3088
+ }
3089
+ },
3090
+ modelName: {
3091
+ type: String,
3092
+ default: ''
3093
+ },
3094
+ rowMark: {
3095
+ type: String,
3096
+ default: ''
3097
+ },
3098
+ pageSize: {
3099
+ type: Number,
3100
+ default: 10
3101
+ },
3102
+ gridRequestParams: {
3103
+ type: Object,
3104
+ default: function _default() {
3105
+ return null;
3106
+ }
3107
+ },
3108
+ printMaxCount: {
3109
+ type: Number,
3110
+ default: 2000
3111
+ },
3112
+ printOption: {
3113
+ type: Object,
3114
+ default: function _default() {
3115
+ return {
3116
+ isPrintTitle: '0',
3117
+ isPrintSn: '1',
3118
+ printTitle: '',
3119
+ printFields: [],
3120
+ pageRange: {
3121
+ fromPageNo: 1,
3122
+ toPageNo: 1
3123
+ }
3124
+ };
3125
+ }
3126
+ }
3127
+ },
3128
+ data: function data() {
3129
+ var validatePrintFields = function validatePrintFields(rule, value, callback) {
3130
+ if (!value || value.length <= 0) {
3131
+ callback(new Error('请选择打印字段'));
3132
+ } else {
3133
+ callback();
3134
+ }
3135
+ };
3136
+ return {
3137
+ modal: true,
3138
+ title: '打印数据',
3139
+ totalCount: 0,
3140
+ modal_loading: false,
3141
+ ruleValidate: {
3142
+ pageRange: [{ validator: this.validatePageRange, trigger: 'blur,change' }],
3143
+ printFields: [{ validator: validatePrintFields, trigger: 'blur,change' }]
2082
3144
  }
2083
3145
  };
2084
3146
  },
2085
3147
  mounted: function mounted() {
3148
+ // 打印标题
3149
+ this.printOption.printTitle = this.modelName || '';
2086
3150
  // 查询导出数据共有多少页
2087
- this.queryExportDataCount();
3151
+ this.queryPrintDataCount();
2088
3152
  // 默认选中所有字段
2089
3153
  this.defCheckedAllFields();
2090
3154
  },
2091
3155
 
2092
3156
  computed: {
2093
- allowExportFields: function allowExportFields() {
3157
+ allowPrintFields: function allowPrintFields() {
2094
3158
  if (this.gridAllShowFields) {
2095
3159
  return this.gridAllShowFields.filter(function (el) {
2096
3160
  return el.isExport === '1';
@@ -2104,7 +3168,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2104
3168
  }
2105
3169
  },
2106
3170
  methods: {
2107
- queryExportDataCount: function queryExportDataCount() {
3171
+ queryPrintDataCount: function queryPrintDataCount() {
2108
3172
  var _this = this;
2109
3173
 
2110
3174
  if (!this.gridRequestParams) {
@@ -2121,9 +3185,9 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2121
3185
  _this.totalCount = resp.total;
2122
3186
  // 设置默认的导出结束页
2123
3187
  if (_this.totalCount > _this.exportMaxCount) {
2124
- _this.exportOption.pageRange.toPageNo = Math.floor(_this.exportMaxCount / _this.pageSize);
3188
+ _this.printOption.pageRange.toPageNo = Math.floor(_this.printMaxCount / _this.pageSize);
2125
3189
  } else {
2126
- _this.exportOption.pageRange.toPageNo = Math.ceil(_this.totalCount / _this.pageSize);
3190
+ _this.printOption.pageRange.toPageNo = Math.ceil(_this.totalCount / _this.pageSize);
2127
3191
  }
2128
3192
  } else {
2129
3193
  _this.$Notice.error({
@@ -2135,13 +3199,13 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2135
3199
  }
2136
3200
  },
2137
3201
  defCheckedAllFields: function defCheckedAllFields() {
2138
- if (this.allowExportFields) {
2139
- var _exportOption$exportF;
3202
+ if (this.allowPrintFields) {
3203
+ var _printOption$printFie;
2140
3204
 
2141
- var allowExportFieldNames = this.allowExportFields.map(function (e) {
3205
+ var allowPrintFieldNames = this.allowPrintFields.map(function (e) {
2142
3206
  return e.name;
2143
3207
  });
2144
- (_exportOption$exportF = this.exportOption.exportFields).push.apply(_exportOption$exportF, _toConsumableArray(allowExportFieldNames));
3208
+ (_printOption$printFie = this.printOption.printFields).push.apply(_printOption$printFie, _toConsumableArray(allowPrintFieldNames));
2145
3209
  }
2146
3210
  },
2147
3211
  validatePageRange: function validatePageRange(rule, value, callback) {
@@ -2155,23 +3219,12 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2155
3219
  } else {
2156
3220
  callback();
2157
3221
  }
2158
- // 校验数据量不能超过this.exportMaxCount条
2159
- // if (this.totalCount <= this.exportMaxCount) {
2160
- // callback()
2161
- // return
2162
- // }
2163
- // if ((value.toPageNo - value.fromPageNo + 1) * this.pageSize > this.exportMaxCount) {
2164
- // callback(new Error('导出的数据量不能超过' + this.exportMaxCount))
2165
- // } else {
2166
- // callback()
2167
- // }
2168
- // callback()
2169
3222
  },
2170
3223
  closeModal: function closeModal() {
2171
3224
  this.modal = false;
2172
3225
  this.$emit('closeModal');
2173
3226
  },
2174
- getExportNum: function getExportNum(toPageNo, fromPageNo) {
3227
+ getPrintNum: function getPrintNum(toPageNo, fromPageNo) {
2175
3228
  // 如果是最后一页 判断最后一页多少条数据
2176
3229
  // 不是最后一页直接乘页码 (value.toPageNo - value.fromPageNo + 1) * this.pageSize
2177
3230
  var exportTotal = 0;
@@ -2180,27 +3233,24 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2180
3233
  } else {
2181
3234
  exportTotal = (toPageNo - fromPageNo + 1) * this.pageSize;
2182
3235
  }
2183
- console.log(exportTotal, this.pageCount, 'this.pageCount()');
2184
3236
  return exportTotal;
2185
3237
  },
2186
- confirmExport: function confirmExport() {
3238
+ confirmPrint: function confirmPrint() {
2187
3239
  var _this2 = this;
2188
3240
 
2189
- console.log(121212, this.exportMaxCount, this.pageCount, this.rowMark, 'this.selectedRows.length');
2190
- this.$refs['exportOptionForm'].validate(function (valid) {
2191
- console.log(valid, 'valid');
3241
+ this.$refs['printOptionForm'].validate(function (valid) {
2192
3242
  if (valid) {
2193
3243
  _this2.modal_loading = true;
2194
- var opts = _this2.exportOption;
3244
+ var opts = _this2.printOption;
2195
3245
  var params = _extends({}, _this2.gridRequestParams);
2196
- params.fileType = opts.fileType;
2197
- params.fileName = opts.fileName;
2198
- params.exportFields = opts.exportFields.join(',');
3246
+ params.isPrintTitle = opts.isPrintTitle;
3247
+ params.isPrintSn = opts.isPrintSn;
3248
+ params.printTitle = opts.printTitle || '';
3249
+ params.printFields = opts.printFields.join(',');
2199
3250
  params.fromPageNo = opts.pageRange.fromPageNo;
2200
3251
  params.toPageNo = opts.pageRange.toPageNo;
2201
3252
  params.pageSize = _this2.pageSize;
2202
- params.exportMaxCount = _this2.exportMaxCount;
2203
-
3253
+ params.printMaxCount = _this2.printMaxCount;
2204
3254
  delete params.pageNo;
2205
3255
  if (_this2.selectedRows && _this2.selectedRows.length > 0 && _this2.rowMark) {
2206
3256
  var rowMarkLowerCase = _this2.rowMark.toLowerCase();
@@ -2209,42 +3259,15 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2209
3259
  });
2210
3260
  params['rowMarkVals'] = rowMarkValArr.join(',');
2211
3261
  }
2212
- console.log((params.toPageNo - params.fromPageNo + 1) * _this2.pageSize, _this2.exportMaxCount, _this2.pageCount, 'this.selectedRows.length');
2213
- var num = _this2.getExportNum(params.toPageNo, params.fromPageNo);
2214
- var url = '/bsp-com/com/datagrid/exportGridData';
3262
+ var num = _this2.getPrintNum(params.toPageNo, params.fromPageNo);
2215
3263
  params.totalPage = Math.ceil(num / _this2.pageSize); // 导出列表数据总页数,
2216
- params.totalNum = _this2.totalCount; // 导出列表数据数,
2217
- params.totalExportNum = num; //导出数据数
3264
+ params.totalNum = _this2.totalCount; // 打印列表数据数
3265
+ params.totalPrintNum = num; //打印数据数
2218
3266
  if (num > 2000) {
2219
- url = '/bsp-com/com/datagrid/export/exportGridDataTask';
2220
- _this2.$Modal.confirm({
2221
- title: '导出提示',
2222
- content: '导出数量超过2000条,需要创建导出任务,导出任务创建完成后,可通过"导出数据下载"按钮对文件进行下载,是否创建导出任务?',
2223
- loading: true,
2224
- onOk: function () {
2225
- var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
2226
- return regeneratorRuntime.wrap(function _callee$(_context) {
2227
- while (1) {
2228
- switch (_context.prev = _context.next) {
2229
- case 0:
2230
- _this2.downFile(params, url, true, opts);
2231
-
2232
- case 1:
2233
- case 'end':
2234
- return _context.stop();
2235
- }
2236
- }
2237
- }, _callee, _this2);
2238
- }));
2239
-
2240
- return function onOk() {
2241
- return _ref.apply(this, arguments);
2242
- };
2243
- }()
2244
- });
3267
+ _this2.$Message.error('打印数据条数超出限制');
2245
3268
  _this2.modal_loading = false;
2246
3269
  } else {
2247
- url = '/bsp-com/com/datagrid/exportGridData';
3270
+ var url = '/bsp-com/com/datagrid/getPdfData';
2248
3271
  _this2.downFile(params, url, false, opts);
2249
3272
  }
2250
3273
  } else {
@@ -2262,34 +3285,21 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2262
3285
  }).then(function (resp) {
2263
3286
  var data = resp;
2264
3287
  console.log(data, 'data');
2265
- if (tag) {
2266
- _this3.$Message.success('导出任务创建成功!');
2267
- _this3.$Modal.remove();
2268
- _this3.modal_loading = false;
2269
- _this3.closeModal();
2270
- } else {
2271
- if (data['type'] === 'text/plain' || data['type'] === 'application/json') {
2272
- // 导出失败,返回的是错误消息
2273
- data.text().then(function (msg) {
2274
- _this3.$Notice.error({
2275
- title: '错误提示',
2276
- desc: msg ? msg : '导出列表数据异常'
2277
- });
3288
+ if (data['type'] === 'text/plain' || data['type'] === 'application/json') {
3289
+ // 导出失败,返回的是错误消息
3290
+ data.text().then(function (msg) {
3291
+ _this3.$Notice.error({
3292
+ title: '错误提示',
3293
+ desc: msg ? msg : '打印列表数据异常'
2278
3294
  });
2279
- _this3.modal_loading = false;
2280
- } else {
2281
- // 导出成功,返回的是要导出的文件
2282
- var _url = window.URL.createObjectURL(data);
2283
- var a = document.createElement('a');
2284
- a.href = _url;
2285
- a.download = opts.fileName;
2286
- document.body.appendChild(a);
2287
- a.click();
2288
- window.URL.revokeObjectURL(_url);
2289
- document.body.removeChild(a);
2290
- _this3.modal_loading = false;
2291
- _this3.closeModal();
2292
- }
3295
+ });
3296
+ _this3.modal_loading = false;
3297
+ } else {
3298
+ // 打印成功,返回的是要打印的文件
3299
+ var _url = window.URL.createObjectURL(data);
3300
+ window.open(_url);
3301
+ _this3.modal_loading = false;
3302
+ //this.closeModal()
2293
3303
  }
2294
3304
  }).catch(function (error) {
2295
3305
  if (error) {
@@ -2302,261 +3312,224 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2302
3312
  });
2303
3313
 
2304
3314
  /***/ }),
2305
- /* 12 */
2306
- /***/ (function(module, exports, __webpack_require__) {
2307
-
2308
- "use strict";
2309
-
2310
-
2311
- var has = Object.prototype.hasOwnProperty;
2312
-
2313
- var hexTable = (function () {
2314
- var array = [];
2315
- for (var i = 0; i < 256; ++i) {
2316
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
2317
- }
2318
-
2319
- return array;
2320
- }());
2321
-
2322
- var compactQueue = function compactQueue(queue) {
2323
- var obj;
2324
-
2325
- while (queue.length) {
2326
- var item = queue.pop();
2327
- obj = item.obj[item.prop];
2328
-
2329
- if (Array.isArray(obj)) {
2330
- var compacted = [];
2331
-
2332
- for (var j = 0; j < obj.length; ++j) {
2333
- if (typeof obj[j] !== 'undefined') {
2334
- compacted.push(obj[j]);
2335
- }
2336
- }
2337
-
2338
- item.obj[item.prop] = compacted;
2339
- }
2340
- }
2341
-
2342
- return obj;
2343
- };
2344
-
2345
- var arrayToObject = function arrayToObject(source, options) {
2346
- var obj = options && options.plainObjects ? Object.create(null) : {};
2347
- for (var i = 0; i < source.length; ++i) {
2348
- if (typeof source[i] !== 'undefined') {
2349
- obj[i] = source[i];
2350
- }
2351
- }
2352
-
2353
- return obj;
2354
- };
2355
-
2356
- var merge = function merge(target, source, options) {
2357
- if (!source) {
2358
- return target;
2359
- }
2360
-
2361
- if (typeof source !== 'object') {
2362
- if (Array.isArray(target)) {
2363
- target.push(source);
2364
- } else if (target && typeof target === 'object') {
2365
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
2366
- target[source] = true;
2367
- }
2368
- } else {
2369
- return [target, source];
2370
- }
2371
-
2372
- return target;
2373
- }
2374
-
2375
- if (!target || typeof target !== 'object') {
2376
- return [target].concat(source);
2377
- }
2378
-
2379
- var mergeTarget = target;
2380
- if (Array.isArray(target) && !Array.isArray(source)) {
2381
- mergeTarget = arrayToObject(target, options);
2382
- }
2383
-
2384
- if (Array.isArray(target) && Array.isArray(source)) {
2385
- source.forEach(function (item, i) {
2386
- if (has.call(target, i)) {
2387
- var targetItem = target[i];
2388
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
2389
- target[i] = merge(targetItem, item, options);
2390
- } else {
2391
- target.push(item);
2392
- }
2393
- } else {
2394
- target[i] = item;
2395
- }
2396
- });
2397
- return target;
2398
- }
2399
-
2400
- return Object.keys(source).reduce(function (acc, key) {
2401
- var value = source[key];
2402
-
2403
- if (has.call(acc, key)) {
2404
- acc[key] = merge(acc[key], value, options);
2405
- } else {
2406
- acc[key] = value;
2407
- }
2408
- return acc;
2409
- }, mergeTarget);
2410
- };
2411
-
2412
- var assign = function assignSingleSource(target, source) {
2413
- return Object.keys(source).reduce(function (acc, key) {
2414
- acc[key] = source[key];
2415
- return acc;
2416
- }, target);
2417
- };
2418
-
2419
- var decode = function (str) {
2420
- try {
2421
- return decodeURIComponent(str.replace(/\+/g, ' '));
2422
- } catch (e) {
2423
- return str;
2424
- }
2425
- };
2426
-
2427
- var encode = function encode(str) {
2428
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
2429
- // It has been adapted here for stricter adherence to RFC 3986
2430
- if (str.length === 0) {
2431
- return str;
2432
- }
2433
-
2434
- var string = typeof str === 'string' ? str : String(str);
2435
-
2436
- var out = '';
2437
- for (var i = 0; i < string.length; ++i) {
2438
- var c = string.charCodeAt(i);
2439
-
2440
- if (
2441
- c === 0x2D // -
2442
- || c === 0x2E // .
2443
- || c === 0x5F // _
2444
- || c === 0x7E // ~
2445
- || (c >= 0x30 && c <= 0x39) // 0-9
2446
- || (c >= 0x41 && c <= 0x5A) // a-z
2447
- || (c >= 0x61 && c <= 0x7A) // A-Z
2448
- ) {
2449
- out += string.charAt(i);
2450
- continue;
2451
- }
2452
-
2453
- if (c < 0x80) {
2454
- out = out + hexTable[c];
2455
- continue;
2456
- }
2457
-
2458
- if (c < 0x800) {
2459
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
2460
- continue;
2461
- }
2462
-
2463
- if (c < 0xD800 || c >= 0xE000) {
2464
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
2465
- continue;
2466
- }
2467
-
2468
- i += 1;
2469
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
2470
- /* eslint operator-linebreak: [2, "before"] */
2471
- out += hexTable[0xF0 | (c >> 18)]
2472
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
2473
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
2474
- + hexTable[0x80 | (c & 0x3F)];
2475
- }
2476
-
2477
- return out;
2478
- };
2479
-
2480
- var compact = function compact(value) {
2481
- var queue = [{ obj: { o: value }, prop: 'o' }];
2482
- var refs = [];
3315
+ /* 17 */
3316
+ /***/ (function(module, exports) {
2483
3317
 
2484
- for (var i = 0; i < queue.length; ++i) {
2485
- var item = queue[i];
2486
- var obj = item.obj[item.prop];
3318
+ // Unique ID creation requires a high quality random # generator. In the
3319
+ // browser this is a little complicated due to unknown quality of Math.random()
3320
+ // and inconsistent support for the `crypto` API. We do the best we can via
3321
+ // feature-detection
2487
3322
 
2488
- var keys = Object.keys(obj);
2489
- for (var j = 0; j < keys.length; ++j) {
2490
- var key = keys[j];
2491
- var val = obj[key];
2492
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
2493
- queue.push({ obj: obj, prop: key });
2494
- refs.push(val);
2495
- }
2496
- }
2497
- }
3323
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto
3324
+ // implementation. Also, find the complete implementation of crypto on IE11.
3325
+ var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
3326
+ (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
2498
3327
 
2499
- return compactQueue(queue);
2500
- };
3328
+ if (getRandomValues) {
3329
+ // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
3330
+ var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
2501
3331
 
2502
- var isRegExp = function isRegExp(obj) {
2503
- return Object.prototype.toString.call(obj) === '[object RegExp]';
2504
- };
3332
+ module.exports = function whatwgRNG() {
3333
+ getRandomValues(rnds8);
3334
+ return rnds8;
3335
+ };
3336
+ } else {
3337
+ // Math.random()-based (RNG)
3338
+ //
3339
+ // If all else fails, use Math.random(). It's fast, but is of unspecified
3340
+ // quality.
3341
+ var rnds = new Array(16);
2505
3342
 
2506
- var isBuffer = function isBuffer(obj) {
2507
- if (obj === null || typeof obj === 'undefined') {
2508
- return false;
3343
+ module.exports = function mathRNG() {
3344
+ for (var i = 0, r; i < 16; i++) {
3345
+ if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
3346
+ rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
2509
3347
  }
2510
3348
 
2511
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
2512
- };
2513
-
2514
- module.exports = {
2515
- arrayToObject: arrayToObject,
2516
- assign: assign,
2517
- compact: compact,
2518
- decode: decode,
2519
- encode: encode,
2520
- isBuffer: isBuffer,
2521
- isRegExp: isRegExp,
2522
- merge: merge
2523
- };
3349
+ return rnds;
3350
+ };
3351
+ }
2524
3352
 
2525
3353
 
2526
3354
  /***/ }),
2527
- /* 13 */
2528
- /***/ (function(module, exports, __webpack_require__) {
2529
-
2530
- "use strict";
3355
+ /* 18 */
3356
+ /***/ (function(module, exports) {
2531
3357
 
3358
+ /**
3359
+ * Convert array of 16 byte values to UUID string format of the form:
3360
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
3361
+ */
3362
+ var byteToHex = [];
3363
+ for (var i = 0; i < 256; ++i) {
3364
+ byteToHex[i] = (i + 0x100).toString(16).substr(1);
3365
+ }
2532
3366
 
2533
- var replace = String.prototype.replace;
2534
- var percentTwenties = /%20/g;
3367
+ function bytesToUuid(buf, offset) {
3368
+ var i = offset || 0;
3369
+ var bth = byteToHex;
3370
+ // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
3371
+ return ([
3372
+ bth[buf[i++]], bth[buf[i++]],
3373
+ bth[buf[i++]], bth[buf[i++]], '-',
3374
+ bth[buf[i++]], bth[buf[i++]], '-',
3375
+ bth[buf[i++]], bth[buf[i++]], '-',
3376
+ bth[buf[i++]], bth[buf[i++]], '-',
3377
+ bth[buf[i++]], bth[buf[i++]],
3378
+ bth[buf[i++]], bth[buf[i++]],
3379
+ bth[buf[i++]], bth[buf[i++]]
3380
+ ]).join('');
3381
+ }
2535
3382
 
2536
- module.exports = {
2537
- 'default': 'RFC3986',
2538
- formatters: {
2539
- RFC1738: function (value) {
2540
- return replace.call(value, percentTwenties, '+');
2541
- },
2542
- RFC3986: function (value) {
2543
- return String(value);
2544
- }
2545
- },
2546
- RFC1738: 'RFC1738',
2547
- RFC3986: 'RFC3986'
2548
- };
3383
+ module.exports = bytesToUuid;
2549
3384
 
2550
3385
 
2551
3386
  /***/ }),
2552
- /* 14 */
3387
+ /* 19 */
2553
3388
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2554
3389
 
2555
3390
  "use strict";
2556
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
2557
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
2558
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_sd_table_grid__ = __webpack_require__(58);
2559
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_sd_table_grid___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_sd_table_grid__);
3391
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_dayjs__ = __webpack_require__(8);
3392
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_dayjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_dayjs__);
3393
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__data_checkbox_vue__ = __webpack_require__(20);
3394
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__data_radio_vue__ = __webpack_require__(22);
3395
+ //
3396
+ //
3397
+ //
3398
+ //
3399
+ //
3400
+ //
3401
+ //
3402
+ //
3403
+ //
3404
+ //
3405
+ //
3406
+ //
3407
+ //
3408
+ //
3409
+ //
3410
+ //
3411
+ //
3412
+ //
3413
+ //
3414
+ //
3415
+ //
3416
+ //
3417
+ //
3418
+ //
3419
+ //
3420
+ //
3421
+ //
3422
+ //
3423
+ //
3424
+ //
3425
+ //
3426
+ //
3427
+ //
3428
+ //
3429
+ //
3430
+ //
3431
+ //
3432
+ //
3433
+ //
3434
+ //
3435
+ //
3436
+ //
3437
+ //
3438
+ //
3439
+ //
3440
+ //
3441
+ //
3442
+ //
3443
+ //
3444
+ //
3445
+ //
3446
+ //
3447
+ //
3448
+ //
3449
+ //
3450
+ //
3451
+ //
3452
+ //
3453
+ //
3454
+ //
3455
+ //
3456
+ //
3457
+ //
3458
+ //
3459
+ //
3460
+ //
3461
+ //
3462
+ //
3463
+ //
3464
+ //
3465
+ //
3466
+ //
3467
+ //
3468
+ //
3469
+ //
3470
+ //
3471
+ //
3472
+ //
3473
+ //
3474
+ //
3475
+ //
3476
+ //
3477
+ //
3478
+ //
3479
+ //
3480
+ //
3481
+ //
3482
+ //
3483
+ //
3484
+ //
3485
+ //
3486
+ //
3487
+ //
3488
+ //
3489
+ //
3490
+ //
3491
+ //
3492
+ //
3493
+ //
3494
+ //
3495
+ //
3496
+ //
3497
+ //
3498
+ //
3499
+ //
3500
+ //
3501
+ //
3502
+ //
3503
+ //
3504
+ //
3505
+ //
3506
+ //
3507
+ //
3508
+ //
3509
+ //
3510
+ //
3511
+ //
3512
+ //
3513
+ //
3514
+ //
3515
+ //
3516
+ //
3517
+ //
3518
+ //
3519
+ //
3520
+ //
3521
+ //
3522
+ //
3523
+ //
3524
+ //
3525
+ //
3526
+ //
3527
+ //
3528
+ //
3529
+ //
3530
+ //
3531
+ //
3532
+ //
2560
3533
  //
2561
3534
  //
2562
3535
  //
@@ -2575,105 +3548,6 @@ module.exports = {
2575
3548
  //
2576
3549
  //
2577
3550
  //
2578
-
2579
-
2580
- // import { sDataGrid } from 'sd-data-grid' //'@/components/data-grid'
2581
-
2582
- /* harmony default export */ __webpack_exports__["a"] = ({
2583
- name: 'grid-data-opt',
2584
- components: {
2585
- sTableGrid: __WEBPACK_IMPORTED_MODULE_1_sd_table_grid__["sTableGrid"]
2586
- },
2587
-
2588
- props: {
2589
- modalWidth: {
2590
- type: Number,
2591
- default: 900
2592
- },
2593
- modalHeight: {
2594
- type: Number,
2595
- default: 600
2596
- },
2597
- gridAllShowFields: {
2598
- type: Array,
2599
- default: function _default() {
2600
- return [];
2601
- }
2602
- },
2603
- selectedRows: {
2604
- type: Array,
2605
- default: function _default() {
2606
- return [];
2607
- }
2608
- },
2609
- modelId: {
2610
- type: String,
2611
- default: ''
2612
- },
2613
- rowMark: {
2614
- type: String,
2615
- default: ''
2616
- },
2617
- pageSize: {
2618
- type: Number,
2619
- default: 10
2620
- },
2621
- gridRequestParams: {
2622
- type: Object,
2623
- default: function _default() {
2624
- return null;
2625
- }
2626
- },
2627
- exportMaxCount: {
2628
- type: Number,
2629
- default: 2000
2630
- },
2631
- exportOption: {
2632
- type: Object,
2633
- default: function _default() {
2634
- return {
2635
- fileType: '0',
2636
- exportFields: [],
2637
- pageRange: {
2638
- fromPageNo: 1,
2639
- toPageNo: 1
2640
- }
2641
- };
2642
- }
2643
- }
2644
- },
2645
- data: function data() {
2646
- return {
2647
- modal: true,
2648
- title: '导出数据下载',
2649
- totalCount: 0,
2650
- modal_loading: false
2651
- };
2652
- },
2653
- mounted: function mounted() {},
2654
-
2655
- computed: {},
2656
- methods: {
2657
- closeModal: function closeModal() {
2658
- this.modal = false;
2659
- this.$emit('closeModal');
2660
- }
2661
- }
2662
- });
2663
-
2664
- /***/ }),
2665
- /* 15 */
2666
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2667
-
2668
- "use strict";
2669
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs__ = __webpack_require__(6);
2670
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_qs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_qs__);
2671
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_uuid__ = __webpack_require__(63);
2672
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_uuid___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_uuid__);
2673
- 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; };
2674
-
2675
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
2676
-
2677
3551
  //
2678
3552
  //
2679
3553
  //
@@ -2744,29 +3618,41 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2744
3618
 
2745
3619
 
2746
3620
  /* harmony default export */ __webpack_exports__["a"] = ({
2747
- name: 'grid-print-opt',
3621
+ name: 'grid-more-search',
3622
+ // mixins: [showFields, queryField, quickFilter, page, oper],
3623
+ components: { dataCheckbox: __WEBPACK_IMPORTED_MODULE_1__data_checkbox_vue__["a" /* default */], dataRadio: __WEBPACK_IMPORTED_MODULE_2__data_radio_vue__["a" /* default */] },
2748
3624
  props: {
2749
3625
  modalWidth: {
2750
3626
  type: Number,
2751
- default: 900
3627
+ default: 1200
2752
3628
  },
2753
3629
  modalHeight: {
2754
3630
  type: Number,
2755
3631
  default: 600
2756
3632
  },
3633
+ labelWidth: {
3634
+ type: Number,
3635
+ default: 120
3636
+ },
2757
3637
  gridAllShowFields: {
2758
3638
  type: Array,
2759
3639
  default: function _default() {
2760
3640
  return [];
2761
3641
  }
2762
3642
  },
2763
- selectedRows: {
3643
+ complexQueryConfig: {
2764
3644
  type: Array,
2765
3645
  default: function _default() {
2766
3646
  return [];
2767
3647
  }
2768
3648
  },
2769
- modelName: {
3649
+ queryFields: {
3650
+ type: Array,
3651
+ default: function _default() {
3652
+ return [];
3653
+ }
3654
+ },
3655
+ modelId: {
2770
3656
  type: String,
2771
3657
  default: ''
2772
3658
  },
@@ -2778,24 +3664,28 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2778
3664
  type: Number,
2779
3665
  default: 10
2780
3666
  },
3667
+ comModelProps: {
3668
+ type: Object,
3669
+ default: function _default() {
3670
+ return null;
3671
+ }
3672
+ },
2781
3673
  gridRequestParams: {
2782
3674
  type: Object,
2783
3675
  default: function _default() {
2784
3676
  return null;
2785
3677
  }
2786
3678
  },
2787
- printMaxCount: {
3679
+ exportMaxCount: {
2788
3680
  type: Number,
2789
3681
  default: 2000
2790
3682
  },
2791
- printOption: {
3683
+ exportOption: {
2792
3684
  type: Object,
2793
3685
  default: function _default() {
2794
3686
  return {
2795
- isPrintTitle: '0',
2796
- isPrintSn: '1',
2797
- printTitle: '',
2798
- printFields: [],
3687
+ fileType: '0',
3688
+ exportFields: [],
2799
3689
  pageRange: {
2800
3690
  fromPageNo: 1,
2801
3691
  toPageNo: 1
@@ -2805,286 +3695,380 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
2805
3695
  }
2806
3696
  },
2807
3697
  data: function data() {
2808
- var validatePrintFields = function validatePrintFields(rule, value, callback) {
2809
- if (!value || value.length <= 0) {
2810
- callback(new Error('请选择打印字段'));
2811
- } else {
2812
- callback();
2813
- }
2814
- };
2815
3698
  return {
2816
- modal: true,
2817
- title: '打印数据',
3699
+ dayjs: __WEBPACK_IMPORTED_MODULE_0_dayjs___default.a,
3700
+ modal: false,
3701
+ title: '高级查询',
2818
3702
  totalCount: 0,
2819
3703
  modal_loading: false,
2820
- ruleValidate: {
2821
- pageRange: [{ validator: this.validatePageRange, trigger: 'blur,change' }],
2822
- printFields: [{ validator: validatePrintFields, trigger: 'blur,change' }]
2823
- }
3704
+ searchType: '0',
3705
+ complexQueryConfigAll: this.complexQueryConfig,
3706
+ searchData: []
2824
3707
  };
2825
3708
  },
2826
- mounted: function mounted() {
2827
- // 打印标题
2828
- this.printOption.printTitle = this.modelName || '';
2829
- // 查询导出数据共有多少页
2830
- this.queryPrintDataCount();
2831
- // 默认选中所有字段
2832
- this.defCheckedAllFields();
2833
- },
2834
3709
 
2835
- computed: {
2836
- allowPrintFields: function allowPrintFields() {
2837
- if (this.gridAllShowFields) {
2838
- return this.gridAllShowFields.filter(function (el) {
2839
- return el.isExport === '1';
2840
- });
2841
- } else {
2842
- return [];
2843
- }
2844
- },
2845
- pageCount: function pageCount() {
2846
- return Math.ceil(this.totalCount / this.pageSize);
3710
+ watch: {
3711
+ modal: {
3712
+ handler: function handler(n, o) {
3713
+ var _this = this;
3714
+
3715
+ if (n) {
3716
+ if (this.comModelProps.allqueryFields.length > 0 && this.complexQueryConfig.length > 0) {
3717
+ this.complexQueryConfig.forEach(function (item) {
3718
+ if (item.fields && item.fields.length > 0) {
3719
+ item.fields.forEach(function (ele) {
3720
+ _this.comModelProps.allqueryFields.forEach(function (eleItem) {
3721
+ if (ele.field == eleItem.name) {
3722
+ ele = Object.assign(ele, eleItem);
3723
+ }
3724
+ });
3725
+ });
3726
+ }
3727
+ });
3728
+ this.complexQueryConfigAll = this.complexQueryConfig;
3729
+ this.$forceUpdate();
3730
+ }
3731
+ }
3732
+ },
3733
+
3734
+ deep: true,
3735
+ immediate: true
3736
+ },
3737
+ complexQueryConfigAll: {
3738
+ handler: function handler(n, o) {
3739
+ var _this2 = this;
3740
+
3741
+ if (n) {
3742
+ this.searchData = [];
3743
+ this.complexQueryConfigAll.forEach(function (ele) {
3744
+ if (ele.fields && ele.fields.length > 0) {
3745
+ ele.fields.forEach(function (item) {
3746
+ if (item.searchValue) {
3747
+ var obj = {
3748
+ name: item.name,
3749
+ op: item.opName,
3750
+ value: item.searchValue,
3751
+ valueType: item.valueType,
3752
+ label: item.label
3753
+ };
3754
+ _this2.searchData.push(obj);
3755
+ var set = new Set();
3756
+ // 去重核心代码
3757
+ _this2.searchData = _this2.searchData.filter(function (item) {
3758
+ // 若name未在Set中,返回true保留,同时将name加入Set;否则返回false过滤
3759
+ return !set.has(item.name) && set.add(item.name);
3760
+ });
3761
+ }
3762
+ });
3763
+ }
3764
+ });
3765
+ }
3766
+ },
3767
+
3768
+ deep: true,
3769
+ immediate: true
2847
3770
  }
2848
3771
  },
2849
- methods: {
2850
- queryPrintDataCount: function queryPrintDataCount() {
2851
- var _this = this;
3772
+ mounted: function mounted() {},
2852
3773
 
2853
- if (!this.gridRequestParams) {
2854
- this.$Notice.error({
2855
- title: '错误提示',
2856
- desc: '查询数据参数为空'
2857
- });
2858
- } else {
2859
- var params = _extends({}, this.gridRequestParams);
2860
- params.pageNo = 1;
2861
- params.pageSize = 0;
2862
- this.$store.dispatch('postRequest', { url: '/bsp-com/com/datagrid/getQueryPageData', params: params }).then(function (resp) {
2863
- if (resp.success) {
2864
- _this.totalCount = resp.total;
2865
- // 设置默认的导出结束页
2866
- if (_this.totalCount > _this.exportMaxCount) {
2867
- _this.printOption.pageRange.toPageNo = Math.floor(_this.printMaxCount / _this.pageSize);
2868
- } else {
2869
- _this.printOption.pageRange.toPageNo = Math.ceil(_this.totalCount / _this.pageSize);
2870
- }
2871
- } else {
2872
- _this.$Notice.error({
2873
- title: '错误提示',
2874
- desc: resp.msg
2875
- });
2876
- }
2877
- });
3774
+ computed: {},
3775
+ methods: {
3776
+ closeItem: function closeItem(order, index, item) {
3777
+ if (item.searchValue) {
3778
+ this.$set(this.complexQueryConfigAll[order].fields[index], 'searchValue', '');
3779
+ } else if (item.opName == 'between') {
3780
+ this.$set(this.complexQueryConfigAll[order].fields[index], 'start', '');
3781
+ this.$set(this.complexQueryConfigAll[order].fields[index], 'end', '');
2878
3782
  }
2879
3783
  },
2880
- defCheckedAllFields: function defCheckedAllFields() {
2881
- if (this.allowPrintFields) {
2882
- var _printOption$printFie;
3784
+ closeAll: function closeAll() {
3785
+ var _this3 = this;
2883
3786
 
2884
- var allowPrintFieldNames = this.allowPrintFields.map(function (e) {
2885
- return e.name;
3787
+ this.complexQueryConfigAll.forEach(function (ele) {
3788
+ ele.fields.forEach(function (item) {
3789
+ if (item.searchValue) {
3790
+ _this3.$set(item, 'searchValue', '');
3791
+ } else if (item.opName == 'between') {
3792
+ _this3.$set(item, 'start', '');
3793
+ _this3.$set(item, 'end', '');
3794
+ }
2886
3795
  });
2887
- (_printOption$printFie = this.printOption.printFields).push.apply(_printOption$printFie, _toConsumableArray(allowPrintFieldNames));
2888
- }
2889
- },
2890
- validatePageRange: function validatePageRange(rule, value, callback) {
2891
- if (!value || !value.fromPageNo || !value.toPageNo) {
2892
- callback(new Error('请设置导出数据页'));
2893
- return;
2894
- }
2895
- if (value.fromPageNo > value.toPageNo) {
2896
- callback(new Error('导出起始页号不能大于结束页号'));
2897
- return;
2898
- } else {
2899
- callback();
2900
- }
3796
+ });
2901
3797
  },
2902
3798
  closeModal: function closeModal() {
2903
3799
  this.modal = false;
2904
3800
  this.$emit('closeModal');
2905
3801
  },
2906
- getPrintNum: function getPrintNum(toPageNo, fromPageNo) {
2907
- // 如果是最后一页 判断最后一页多少条数据
2908
- // 不是最后一页直接乘页码 (value.toPageNo - value.fromPageNo + 1) * this.pageSize
2909
- var exportTotal = 0;
2910
- if (toPageNo == this.pageCount) {
2911
- exportTotal = this.totalCount - (fromPageNo - 1) * this.pageSize;
2912
- } else {
2913
- exportTotal = (toPageNo - fromPageNo + 1) * this.pageSize;
2914
- }
2915
- return exportTotal;
3802
+ query_grid_data: function query_grid_data(data) {
3803
+ this.$emit('query_grid_data', data);
2916
3804
  },
2917
- confirmPrint: function confirmPrint() {
2918
- var _this2 = this;
2919
-
2920
- this.$refs['printOptionForm'].validate(function (valid) {
2921
- if (valid) {
2922
- _this2.modal_loading = true;
2923
- var opts = _this2.printOption;
2924
- var params = _extends({}, _this2.gridRequestParams);
2925
- params.isPrintTitle = opts.isPrintTitle;
2926
- params.isPrintSn = opts.isPrintSn;
2927
- params.printTitle = opts.printTitle || '';
2928
- params.printFields = opts.printFields.join(',');
2929
- params.fromPageNo = opts.pageRange.fromPageNo;
2930
- params.toPageNo = opts.pageRange.toPageNo;
2931
- params.pageSize = _this2.pageSize;
2932
- params.printMaxCount = _this2.printMaxCount;
2933
- delete params.pageNo;
2934
- if (_this2.selectedRows && _this2.selectedRows.length > 0 && _this2.rowMark) {
2935
- var rowMarkLowerCase = _this2.rowMark.toLowerCase();
2936
- var rowMarkValArr = _this2.selectedRows.map(function (row) {
2937
- return row[rowMarkLowerCase];
3805
+ confirmExport: function confirmExport() {
3806
+ this.modal = false;
3807
+ this.$emit('confirmSearch', this.complexQueryConfigAll);
3808
+ },
3809
+ compareDateTime: function compareDateTime(condi, type) {
3810
+ if (type === 2) {
3811
+ if (condi.start && condi.end) {
3812
+ if (condi.end < condi.start) {
3813
+ this.$Message['error']({
3814
+ background: true,
3815
+ content: '查询结束时间应大于开始时间'
2938
3816
  });
2939
- params['rowMarkVals'] = rowMarkValArr.join(',');
3817
+ condi.end = '';
2940
3818
  }
2941
- var num = _this2.getPrintNum(params.toPageNo, params.fromPageNo);
2942
- params.totalPage = Math.ceil(num / _this2.pageSize); // 导出列表数据总页数,
2943
- params.totalNum = _this2.totalCount; // 打印列表数据数
2944
- params.totalPrintNum = num; //打印数据数
2945
- if (num > 2000) {
2946
- _this2.$Message.error('打印数据条数超出限制');
2947
- _this2.modal_loading = false;
2948
- } else {
2949
- var url = '/bsp-com/com/datagrid/getPdfData';
2950
- _this2.downFile(params, url, false, opts);
3819
+ }
3820
+ } else if (type === 1) {
3821
+ if (condi.end < condi.start) {
3822
+ if (condi.start && condi.end) {
3823
+ if (condi.end < condi.start) {
3824
+ this.$Message['error']({
3825
+ background: true,
3826
+ content: '查询开始时间应小于结束时间'
3827
+ });
3828
+ condi.start = '';
3829
+ }
2951
3830
  }
2952
- } else {
2953
- _this2.$Message.error('表单验证失败');
2954
3831
  }
2955
- });
3832
+ }
3833
+ }
3834
+ }
3835
+ });
3836
+
3837
+ /***/ }),
3838
+ /* 20 */
3839
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3840
+
3841
+ "use strict";
3842
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_checkbox_vue__ = __webpack_require__(21);
3843
+ /* unused harmony namespace reexport */
3844
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2be3b0dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_checkbox_vue__ = __webpack_require__(81);
3845
+ var normalizeComponent = __webpack_require__(0)
3846
+ /* script */
3847
+
3848
+
3849
+ /* template */
3850
+
3851
+ /* template functional */
3852
+ var __vue_template_functional__ = false
3853
+ /* styles */
3854
+ var __vue_styles__ = null
3855
+ /* scopeId */
3856
+ var __vue_scopeId__ = null
3857
+ /* moduleIdentifier (server only) */
3858
+ var __vue_module_identifier__ = null
3859
+ var Component = normalizeComponent(
3860
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_checkbox_vue__["a" /* default */],
3861
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_2be3b0dc_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_checkbox_vue__["a" /* default */],
3862
+ __vue_template_functional__,
3863
+ __vue_styles__,
3864
+ __vue_scopeId__,
3865
+ __vue_module_identifier__
3866
+ )
3867
+
3868
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
3869
+
3870
+
3871
+ /***/ }),
3872
+ /* 21 */
3873
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3874
+
3875
+ "use strict";
3876
+ //
3877
+ //
3878
+ //
3879
+ //
3880
+ //
3881
+ //
3882
+ //
3883
+
3884
+ /* harmony default export */ __webpack_exports__["a"] = ({
3885
+ props: {
3886
+ value: {
3887
+ type: String,
3888
+ default: ''
2956
3889
  },
2957
- downFile: function downFile(params, url, tag, opts) {
2958
- var _this3 = this;
3890
+ dicName: {
3891
+ type: String,
3892
+ default: ''
3893
+ }
3894
+ },
3895
+ data: function data() {
3896
+ return {
3897
+ selectValue: [],
3898
+ appCode: 'bsp',
3899
+ dicList: []
3900
+ };
3901
+ },
2959
3902
 
2960
- this.$store.dispatch('downloadPostRequest', {
2961
- url: url,
2962
- params: __WEBPACK_IMPORTED_MODULE_0_qs___default.a.stringify(params),
2963
- responseType: 'blob'
2964
- }).then(function (resp) {
2965
- var data = resp;
2966
- console.log(data, 'data');
2967
- if (data['type'] === 'text/plain' || data['type'] === 'application/json') {
2968
- // 导出失败,返回的是错误消息
2969
- data.text().then(function (msg) {
2970
- _this3.$Notice.error({
2971
- title: '错误提示',
2972
- desc: msg ? msg : '打印列表数据异常'
2973
- });
2974
- });
2975
- _this3.modal_loading = false;
3903
+ watch: {
3904
+ dicName: {
3905
+ handler: function handler(n, o) {
3906
+ n ? this.getData() : '';
3907
+ },
3908
+
3909
+ deep: true,
3910
+ immediate: true
3911
+ },
3912
+ value: {
3913
+ handler: function handler(n, o) {
3914
+ if (n) {
3915
+ this.$set(this, 'selectValue', n.split(','));
2976
3916
  } else {
2977
- // 打印成功,返回的是要打印的文件
2978
- var _url = window.URL.createObjectURL(data);
2979
- window.open(_url);
2980
- _this3.modal_loading = false;
2981
- //this.closeModal()
2982
- }
2983
- }).catch(function (error) {
2984
- if (error) {
2985
- console.log(error);
3917
+ this.$set(this, 'selectValue', []);
2986
3918
  }
2987
- _this3.modal_loading = false;
3919
+ },
3920
+
3921
+ deep: true,
3922
+ immediate: true
3923
+ }
3924
+ },
3925
+ methods: {
3926
+ getData: function getData() {
3927
+ var _this = this;
3928
+
3929
+ this.$store.dispatch('authGetRequest', {
3930
+ url: '/bsp-com/static/dic/' + this.appCode + '/' + this.dicName + '.js'
3931
+ }).then(function (res) {
3932
+ var arr = [];
3933
+ var numTon = eval('(' + res + ')');
3934
+ arr = numTon();
3935
+ _this.dicList = arr;
2988
3936
  });
3937
+ },
3938
+ getSelect: function getSelect(data) {
3939
+ this.$emit('input', this.selectValue.join(','));
2989
3940
  }
2990
3941
  }
2991
3942
  });
2992
3943
 
2993
3944
  /***/ }),
2994
- /* 16 */
2995
- /***/ (function(module, exports) {
2996
-
2997
- // Unique ID creation requires a high quality random # generator. In the
2998
- // browser this is a little complicated due to unknown quality of Math.random()
2999
- // and inconsistent support for the `crypto` API. We do the best we can via
3000
- // feature-detection
3945
+ /* 22 */
3946
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3001
3947
 
3002
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
3003
- // implementation. Also, find the complete implementation of crypto on IE11.
3004
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
3005
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
3948
+ "use strict";
3949
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_radio_vue__ = __webpack_require__(23);
3950
+ /* unused harmony namespace reexport */
3951
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_019cb22c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_radio_vue__ = __webpack_require__(82);
3952
+ var normalizeComponent = __webpack_require__(0)
3953
+ /* script */
3006
3954
 
3007
- if (getRandomValues) {
3008
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
3009
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
3010
3955
 
3011
- module.exports = function whatwgRNG() {
3012
- getRandomValues(rnds8);
3013
- return rnds8;
3014
- };
3015
- } else {
3016
- // Math.random()-based (RNG)
3017
- //
3018
- // If all else fails, use Math.random(). It's fast, but is of unspecified
3019
- // quality.
3020
- var rnds = new Array(16);
3956
+ /* template */
3021
3957
 
3022
- module.exports = function mathRNG() {
3023
- for (var i = 0, r; i < 16; i++) {
3024
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
3025
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
3026
- }
3958
+ /* template functional */
3959
+ var __vue_template_functional__ = false
3960
+ /* styles */
3961
+ var __vue_styles__ = null
3962
+ /* scopeId */
3963
+ var __vue_scopeId__ = null
3964
+ /* moduleIdentifier (server only) */
3965
+ var __vue_module_identifier__ = null
3966
+ var Component = normalizeComponent(
3967
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_radio_vue__["a" /* default */],
3968
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_019cb22c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_radio_vue__["a" /* default */],
3969
+ __vue_template_functional__,
3970
+ __vue_styles__,
3971
+ __vue_scopeId__,
3972
+ __vue_module_identifier__
3973
+ )
3027
3974
 
3028
- return rnds;
3029
- };
3030
- }
3975
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
3031
3976
 
3032
3977
 
3033
3978
  /***/ }),
3034
- /* 17 */
3035
- /***/ (function(module, exports) {
3979
+ /* 23 */
3980
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3036
3981
 
3037
- /**
3038
- * Convert array of 16 byte values to UUID string format of the form:
3039
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
3040
- */
3041
- var byteToHex = [];
3042
- for (var i = 0; i < 256; ++i) {
3043
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
3044
- }
3982
+ "use strict";
3983
+ //
3984
+ //
3985
+ //
3986
+ //
3987
+ //
3988
+ //
3989
+ //
3045
3990
 
3046
- function bytesToUuid(buf, offset) {
3047
- var i = offset || 0;
3048
- var bth = byteToHex;
3049
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
3050
- return ([
3051
- bth[buf[i++]], bth[buf[i++]],
3052
- bth[buf[i++]], bth[buf[i++]], '-',
3053
- bth[buf[i++]], bth[buf[i++]], '-',
3054
- bth[buf[i++]], bth[buf[i++]], '-',
3055
- bth[buf[i++]], bth[buf[i++]], '-',
3056
- bth[buf[i++]], bth[buf[i++]],
3057
- bth[buf[i++]], bth[buf[i++]],
3058
- bth[buf[i++]], bth[buf[i++]]
3059
- ]).join('');
3060
- }
3991
+ /* harmony default export */ __webpack_exports__["a"] = ({
3992
+ props: {
3993
+ value: {
3994
+ type: String,
3995
+ default: ''
3996
+ },
3997
+ dicName: {
3998
+ type: String,
3999
+ default: ''
4000
+ }
4001
+ },
4002
+ data: function data() {
4003
+ return {
4004
+ selectValue: '',
4005
+ appCode: 'bsp',
4006
+ dicList: []
4007
+ };
4008
+ },
3061
4009
 
3062
- module.exports = bytesToUuid;
4010
+ watch: {
4011
+ dicName: {
4012
+ handler: function handler(n, o) {
4013
+ n ? this.getData() : '';
4014
+ },
4015
+
4016
+ deep: true,
4017
+ immediate: true
4018
+ },
4019
+ value: {
4020
+ handler: function handler(n, o) {
4021
+ if (n) {
4022
+ this.$set(this, 'selectValue', n);
4023
+ }
4024
+ },
4025
+
4026
+ deep: true,
4027
+ immediate: true
4028
+ }
4029
+ },
4030
+ methods: {
4031
+ getData: function getData() {
4032
+ var _this = this;
3063
4033
 
4034
+ this.$store.dispatch('authGetRequest', {
4035
+ url: '/bsp-com/static/dic/' + this.appCode + '/' + this.dicName + '.js'
4036
+ }).then(function (res) {
4037
+ var arr = [];
4038
+ var numTon = eval('(' + res + ')');
4039
+ arr = numTon();
4040
+ _this.dicList = arr;
4041
+ });
4042
+ },
4043
+ getSelect: function getSelect(data) {
4044
+ this.$emit('input', this.selectValue);
4045
+ }
4046
+ }
4047
+ });
3064
4048
 
3065
4049
  /***/ }),
3066
- /* 18 */
4050
+ /* 24 */
3067
4051
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3068
4052
 
3069
4053
  "use strict";
3070
4054
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
3071
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_data_grid_vue__ = __webpack_require__(19);
4055
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_data_grid_vue__ = __webpack_require__(25);
3072
4056
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "sDataGrid", function() { return __WEBPACK_IMPORTED_MODULE_0__components_data_grid_vue__["a"]; });
3073
4057
 
3074
4058
 
3075
4059
 
3076
4060
  /***/ }),
3077
- /* 19 */
4061
+ /* 25 */
3078
4062
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3079
4063
 
3080
4064
  "use strict";
3081
4065
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__ = __webpack_require__(7);
3082
4066
  /* unused harmony namespace reexport */
3083
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_466c2f63_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__ = __webpack_require__(72);
4067
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_766f6033_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__ = __webpack_require__(84);
3084
4068
  function injectStyle (ssrContext) {
3085
- __webpack_require__(20)
4069
+ __webpack_require__(26)
3086
4070
  }
3087
- var normalizeComponent = __webpack_require__(2)
4071
+ var normalizeComponent = __webpack_require__(0)
3088
4072
  /* script */
3089
4073
 
3090
4074
 
@@ -3095,12 +4079,12 @@ var __vue_template_functional__ = false
3095
4079
  /* styles */
3096
4080
  var __vue_styles__ = injectStyle
3097
4081
  /* scopeId */
3098
- var __vue_scopeId__ = "data-v-466c2f63"
4082
+ var __vue_scopeId__ = "data-v-766f6033"
3099
4083
  /* moduleIdentifier (server only) */
3100
4084
  var __vue_module_identifier__ = null
3101
4085
  var Component = normalizeComponent(
3102
4086
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__["a" /* default */],
3103
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_466c2f63_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__["a" /* default */],
4087
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_766f6033_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_data_grid_vue__["a" /* default */],
3104
4088
  __vue_template_functional__,
3105
4089
  __vue_styles__,
3106
4090
  __vue_scopeId__,
@@ -3111,34 +4095,34 @@ var Component = normalizeComponent(
3111
4095
 
3112
4096
 
3113
4097
  /***/ }),
3114
- /* 20 */
4098
+ /* 26 */
3115
4099
  /***/ (function(module, exports, __webpack_require__) {
3116
4100
 
3117
4101
  // style-loader: Adds some css to the DOM by adding a <style> tag
3118
4102
 
3119
4103
  // load the styles
3120
- var content = __webpack_require__(21);
4104
+ var content = __webpack_require__(27);
3121
4105
  if(typeof content === 'string') content = [[module.i, content, '']];
3122
4106
  if(content.locals) module.exports = content.locals;
3123
4107
  // add the styles to the DOM
3124
- var update = __webpack_require__(1)("d721120c", content, true);
4108
+ var update = __webpack_require__(2)("3edb2ac3", content, true);
3125
4109
 
3126
4110
  /***/ }),
3127
- /* 21 */
4111
+ /* 27 */
3128
4112
  /***/ (function(module, exports, __webpack_require__) {
3129
4113
 
3130
- exports = module.exports = __webpack_require__(0)(false);
4114
+ exports = module.exports = __webpack_require__(1)(false);
3131
4115
  // imports
3132
4116
 
3133
4117
 
3134
4118
  // module
3135
- exports.push([module.i, ".list[data-v-466c2f63]{list-style:none;border-left:1px solid #cee0f0;border-right:1px solid #cee0f0}.ele1[data-v-466c2f63],.list .list-item[data-v-466c2f63]{text-align:center;width:60px}.ele2[data-v-466c2f63],.list .list-item[data-v-466c2f63]{text-align:left;flex:1}.ele3[data-v-466c2f63],.list .list-item[data-v-466c2f63]{text-align:center;width:80px}.list .list-item[data-v-466c2f63]{width:100%;display:flex;flex-direction:row;padding:0 8px;cursor:move;height:40px;line-height:40px;border-bottom:1px solid #cee0f0;font-size:16px}.list .list-item[data-v-466c2f63]:first-child{border-top:1px solid #cee0f0}.list .list-item[data-v-466c2f63]:hover{background:#f0f5ff}[data-v-466c2f63].ivu-checkbox-wrapper{font-size:16px}[data-v-466c2f63].ivu-checkbox-checked .ivu-checkbox-inner{background-color:#2b5fd9;border-color:#2b5fd9}.list/deep/.ivu-checkbox-disabled .ivu-checkbox-inner[data-v-466c2f63]{background-color:#b4bccc;border-color:#b4bccc;color:#fff}[data-v-466c2f63].ivu-checkbox-checked:focus{box-shadow:none}[data-v-466c2f63].ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{border-color:#fff}.user-selector-modal .flow-modal-title[data-v-466c2f63]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}[data-v-466c2f63].user-selector-modal .ivu-modal-body::-webkit-scrollbar{width:10px;height:10px}[data-v-466c2f63].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}[data-v-466c2f63].user-selector-modal .ivu-modal-body::-webkit-scrollbar-track{border-radius:10px;background:#ededed}[data-v-466c2f63].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}[data-v-466c2f63].user-selector-modal .ivu-modal-body::-webkit-scrollbar-button{height:2px;width:2px}[data-v-466c2f63].user-selector-modal .ivu-modal-body{height:600px;max-height:600px;overflow-y:auto;padding:16px!important}[data-v-466c2f63].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-466c2f63].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}.footer-container[data-v-466c2f63]{text-align:center}.cancle-button[data-v-466c2f63]{background:#fff;border:1px solid #2b5fda;color:#2b5fda}.set-button[data-v-466c2f63]{background:#f06060}.submit-button[data-v-466c2f63]{background:#2b5fda}.DataGrid-BOX[data-v-466c2f63]{padding:0}.DataGrid-BOX .formbox[data-v-466c2f63]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;border:1px solid #cee0f0}.ivu-btn-primary[data-v-466c2f63]{background:#2b5fd9}.ivu-btn-info[data-v-466c2f63]{background:#316cf5}.DataGrid-BOX .formbox-simple[data-v-466c2f63]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;overflow:hidden;border:1px solid #cee0f0}.DataGrid-BOX .formbox-simple .searchBox[data-v-466c2f63],.DataGrid-BOX .formbox .searchBox[data-v-466c2f63]{display:flex;flex-wrap:wrap}.style2>div[data-v-466c2f63]{width:50%}.style3>div[data-v-466c2f63]{width:33.3%}.style4>div[data-v-466c2f63]{width:25%}.style5>div[data-v-466c2f63]{width:20%}.DataGrid-BOX/deep/.ivu-form-item[data-v-466c2f63]{margin-bottom:10px!important}.DataGrid-BOX/deep/.ivu-form .ivu-form-item-label[data-v-466c2f63]{width:60px;font-size:16px;padding:8px 2px 10px 0;color:#1a2133}.DataGrid-BOX/deep/.formbox-simple.ivu-form .ivu-form-item-label[data-v-466c2f63]{padding-top:10px}.DataGrid-BOX .titleNav .navleft/deep/.ivu-btn[data-v-466c2f63]{margin-right:10px;font-size:15px;line-height:30px}.DataGrid-BOX .button[data-v-466c2f63]{margin:10px;border-radius:4px}.DataGrid-BOX .btn[data-v-466c2f63]{color:#2b5fd9;border:1px solid #2b5fd9;background:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn1[data-v-466c2f63]{background:#2b5fd9;color:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn2[data-v-466c2f63]{background:#17b0fc;color:#fff}.DataGrid-BOX .navleft>span[data-v-466c2f63]{display:inline-block;padding:0 12px;color:#fff;background:#c0c4cc;height:30px;line-height:30px;margin:10px 10px 10px 0;border-radius:2px;cursor:pointer}.DataGrid-BOX .titleNav[data-v-466c2f63]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:-10px;line-height:50px;min-height:2px}.DataGrid-BOX .hale>div[data-v-466c2f63]{width:50%}.DataGrid-BOX .nohale>div[data-v-466c2f63]{width:100%}.DataGrid-BOX .navleft .La[data-v-466c2f63]{background:#3179f5}.DataGrid-BOX .navleft .Lv[data-v-466c2f63]{background:#11c28a}.DataGrid-BOX .navleft .Hong[data-v-466c2f63]{background:#f06060}.DataGrid-BOX .titleNav>div.navright[data-v-466c2f63]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.DataGrid-BOX .navright span[data-v-466c2f63]{display:inline-block;height:24px;line-height:16px;margin:8px;border-radius:2px;padding:0 3px;cursor:pointer;position:relative}.DataGrid-BOX .navright span[data-v-466c2f63]:hover{background:#eff6ff}.DataGrid-BOX .navright .active[data-v-466c2f63]{border-bottom:3px solid #3179f5;color:#2372fa}.DataGrid-BOX .navright .active-a[data-v-466c2f63]{margin-right:40px;position:relative}.DataGrid-BOX .i-data[data-v-466c2f63]{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.DataGrid-BOX .common_optation .input[data-v-466c2f63],.DataGrid-BOX .common_optation .select[data-v-466c2f63]{max-width:300px}.DataGrid-BOX .page-btn[data-v-466c2f63],.DataGrid-BOX .page-Data[data-v-466c2f63],.DataGrid-BOX .page-set[data-v-466c2f63]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0 10px 10px;font-size:15px}.DataGrid-BOX .page-Data i[data-v-466c2f63]{font-style:normal;color:#2b5fd9;margin:0 5px;font-weight:700}.DataGrid-BOX .page-btn[data-v-466c2f63]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAOtJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9T4hqYXrhBVxaoEWWeTsItrOrgBvFyMTEcn6aC1zDdxFsM/3G4H8Vr6rJsDGubFbAaZp5xh+Hrj384LcIII28LXobODEkUDf7VDxjuPv2F17VYA7syWpQh2lUQrLF0+nOG7Sc/g9nYwhEWZjhjDaYJV+CiO48kg4aJi0DpamePIoNV1l2iEioVswi1Mi1VihFFNWZGSgq2/wwMT68tXC4HKtgAxxpwt8uJc1IAAAAASUVORK5CYII=\") no-repeat 0}.DataGrid-BOX .custom[data-v-466c2f63]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAATVJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9js8ZOn5uhMFSEIbDmIVh6foUMw6Kd7xn2n/+K1VVYDTo7S4WBnY0Jq4afv/4xGKfdwZDDatCVBWp4g0wn4RadDCoIFWFI8BBkYGFmBNv46/d/BoeCuwz//zMwHJyozMDGChH/8/c/w4Id7xkmrH4DdxmK19C9hO4FfPKD3CCQhx0MuBmmFEiD/Q4Km9jWR2D24mo5BkZIEDFkT3jKcPACanoa5NEPi0trHS6GmSWQgqB46jMGQV5mhpo4cTA/recJw7Er37AkSCIzLTMTA8PffzgSPCjTUqUYUVSDJmEyC7b/DAxPry1cLgcq2AD6t5K3B+tq3QAAAABJRU5ErkJggg==\") no-repeat 0}.DataGrid-BOX .sx[data-v-466c2f63]{font-size:24px;color:blue;position:absolute;margin-top:2px;left:-5px}.DataGrid-BOX .ulnavlist[data-v-466c2f63]{list-style:none;border:1px solid #0394f9;position:absolute;left:-78px;width:150px;bottom:100%;background:#fff;z-index:1000;height:310px;overflow-y:hidden;-webkit-box-shadow:0 0 5px 0 #bebef3;box-shadow:0 0 5px 0 #bebef3}.DataGrid-BOX .ulnavlist li[data-v-466c2f63]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.DataGrid-BOX .navlist[data-v-466c2f63]{position:relative;padding:0 10px;font-size:15px}.DataGrid-BOX .After[data-v-466c2f63]:after{content:\"\";width:2px;height:24px;background:#d5d5d6;position:absolute;top:16px;left:0}.DataGrid-BOX .iconlist[data-v-466c2f63]{font-style:normal;display:inline-block;width:18px;height:18px;border:1px solid #2b5fd9;border-radius:4px;margin:8px;vertical-align:middle}.DataGrid-BOX li.active .iconlist[data-v-466c2f63]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}.DataGrid-BOX .Total[data-v-466c2f63]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer;font-size:15px}[data-v-466c2f63].ivu-table-row-highlight td,[data-v-466c2f63].ivu-table-row-hover td,[data-v-466c2f63].ivu-table-row:hover td{background-color:#dae5ff!important}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td[data-v-466c2f63],.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td[data-v-466c2f63]{background:#f7f9fc!important}.DataGrid-BOX/deep/.ivu-table-border tr td[data-v-466c2f63]{font-family:Microsoft YaHei;font-weight:400;font-size:16px;color:#475066}.DataGrid-BOX/deep/.ivu-table-wrapper[data-v-466c2f63]{overflow:initial}.DataGrid-BOX/deep/.ivu-table-filter i[data-v-466c2f63]:hover,[data-v-466c2f63].ivu-table-sort i.on{color:#2b5fd9}.DataGrid-BOX .page_box[data-v-466c2f63]{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}.DataGrid-BOX/deep/.ivu-table th[data-v-466c2f63]{background:#dee9fc;font-family:Microsoft YaHei;font-weight:700;font-size:16px;color:#1f2533}.DataGrid-BOX/deep/.ivu-table[data-v-466c2f63]{font-size:16px;color:#2b3646}.DataGrid-BOX/deep/.ivu-table-border td[data-v-466c2f63],.DataGrid-BOX/deep/.ivu-table-border th[data-v-466c2f63]{border-right:1px solid #f5f7fa}.DataGrid-BOX/deep/.ivu-table td[data-v-466c2f63],.DataGrid-BOX/deep/.ivu-table th[data-v-466c2f63]{height:40px}.DataGrid-BOX .steylehang .btnBox .button[data-v-466c2f63]{margin:1px 0 0 20px;font-size:16px;padding:0 12px}.DataGrid-BOX .head-btn[data-v-466c2f63]{font-size:15px}.DataGrid-BOX/deep/.ivu-table td a[data-v-466c2f63]{color:#2c2cf9;text-decoration:none;border-bottom:1px solid;cursor:pointer}.DataGrid-BOX/deep/.ivu-page-item[data-v-466c2f63]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active[data-v-466c2f63]{background-color:#2b5fd9!important}.DataGrid-BOX/deep/.ivu-page-options-elevator input[data-v-466c2f63]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active:hover>a[data-v-466c2f63],.DataGrid-BOX/deep/.ivu-page-item-active>a[data-v-466c2f63]{color:#fff!important}.DataGrid-BOX/deep/.ivu-input[data-v-466c2f63]{font-size:15px;border-color:#cee0f0}.DataGrid-BOX/deep/.el-input--small .el-input__inner[data-v-466c2f63]:focus,.DataGrid-BOX/deep/.ivu-input[data-v-466c2f63]:focus{border-color:#2b5fd9;box-shadow:inset 0 0 0 1000px #fff!important}.DataGrid-BOX/deep/.el-input__inner[data-v-466c2f63]{border-color:#cee0f0}.DataGrid-BOX/deep/.ivu-select-item[data-v-466c2f63],.DataGrid-BOX/deep/.ivu-select-placeholder[data-v-466c2f63],.DataGrid-BOX/deep/.ivu-select-selected-value[data-v-466c2f63]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-page-options-elevator[data-v-466c2f63]{font-size:15px}.DataGrid-BOX/deep/.el-date-table[data-v-466c2f63],.DataGrid-BOX/deep/.el-input[data-v-466c2f63]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-466c2f63]::-webkit-scrollbar,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-466c2f63]::-webkit-scrollbar{width:10px;height:10px}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-466c2f63]::-webkit-scrollbar-thumb,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-466c2f63]::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-466c2f63]::-webkit-scrollbar-track,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-466c2f63]::-webkit-scrollbar-track{border-radius:10px;background:#ededed}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-thumb:hover .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-466c2f63]::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-button .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-466c2f63]::-webkit-scrollbar-button{height:2px;width:2px}.DataGrid-BOX/deep/.ivu-table-cell[data-v-466c2f63]{padding-left:8px;padding-right:8px}.ivu-btn-info.disabled[data-v-466c2f63],.ivu-btn-info[disabled][data-v-466c2f63],.ivu-btn-primary.disabled[data-v-466c2f63],.ivu-btn-primary[disabled][data-v-466c2f63]{color:#c5c8ce;background-color:#f7f7f7!important;border-color:#dcdee2}.DataGrid-BOX .btnBox[data-v-466c2f63],.timeTextzhi[data-v-466c2f63]{display:flex;justify-content:center}.timeTextzhi[data-v-466c2f63]{align-items:center}.data-grid-bsp[data-v-466c2f63]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:0 10%;width:120px}.data-grid-bsp/deep/.ivu-btn[data-v-466c2f63],.data-grid-bsp/deep/div[data-v-466c2f63]{width:100%!important;margin-bottom:5px}.saveBtn-dlsx[data-v-466c2f63]{width:55px;font-size:14px;line-height:33px;margin-bottom:5px}.saveBtn-dlsx/deep/span[data-v-466c2f63]{margin-left:-4px!important}", ""]);
4119
+ exports.push([module.i, ".list[data-v-766f6033]{list-style:none;border-left:1px solid #cee0f0;border-right:1px solid #cee0f0}.ele1[data-v-766f6033],.list .list-item[data-v-766f6033]{text-align:center;width:60px}.ele2[data-v-766f6033],.list .list-item[data-v-766f6033]{text-align:left;flex:1}.ele3[data-v-766f6033],.list .list-item[data-v-766f6033]{text-align:center;width:80px}.list .list-item[data-v-766f6033]{width:100%;display:flex;flex-direction:row;padding:0 8px;cursor:move;height:40px;line-height:40px;border-bottom:1px solid #cee0f0;font-size:16px}.list .list-item[data-v-766f6033]:first-child{border-top:1px solid #cee0f0}.list .list-item[data-v-766f6033]:hover{background:#f0f5ff}[data-v-766f6033].ivu-checkbox-wrapper{font-size:16px}[data-v-766f6033].ivu-checkbox-checked .ivu-checkbox-inner{background-color:#2b5fd9;border-color:#2b5fd9}.list/deep/.ivu-checkbox-disabled .ivu-checkbox-inner[data-v-766f6033]{background-color:#b4bccc;border-color:#b4bccc;color:#fff}[data-v-766f6033].ivu-checkbox-checked:focus{box-shadow:none}[data-v-766f6033].ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{border-color:#fff}.user-selector-modal .flow-modal-title[data-v-766f6033]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}[data-v-766f6033].user-selector-modal .ivu-modal-body::-webkit-scrollbar{width:10px;height:10px}[data-v-766f6033].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}[data-v-766f6033].user-selector-modal .ivu-modal-body::-webkit-scrollbar-track{border-radius:10px;background:#ededed}[data-v-766f6033].user-selector-modal .ivu-modal-body::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}[data-v-766f6033].user-selector-modal .ivu-modal-body::-webkit-scrollbar-button{height:2px;width:2px}[data-v-766f6033].user-selector-modal .ivu-modal-body{height:600px;max-height:600px;overflow-y:auto;padding:16px!important}[data-v-766f6033].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-766f6033].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}.footer-container[data-v-766f6033]{text-align:center}.cancle-button[data-v-766f6033]{background:#fff;border:1px solid #2b5fda;color:#2b5fda}.set-button[data-v-766f6033]{background:#f06060}.submit-button[data-v-766f6033]{background:#2b5fda}.DataGrid-BOX[data-v-766f6033]{padding:0}.DataGrid-BOX .formbox[data-v-766f6033]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;border:1px solid #cee0f0}.ivu-btn-primary[data-v-766f6033]{background:#2b5fd9}.ivu-btn-info[data-v-766f6033]{background:#316cf5}.DataGrid-BOX .formbox-simple[data-v-766f6033]{background:#f7f9fc;padding:20px 20px 10px;margin-bottom:10px;overflow:hidden;border:1px solid #cee0f0}.DataGrid-BOX .formbox-simple .searchBox[data-v-766f6033],.DataGrid-BOX .formbox .searchBox[data-v-766f6033]{display:flex;flex-wrap:wrap}.style2>div[data-v-766f6033]{width:50%}.style3>div[data-v-766f6033]{width:33.3%}.style4>div[data-v-766f6033]{width:25%}.style5>div[data-v-766f6033]{width:20%}.DataGrid-BOX/deep/.ivu-form-item[data-v-766f6033]{margin-bottom:10px!important}.DataGrid-BOX/deep/.ivu-form .ivu-form-item-label[data-v-766f6033]{width:60px;font-size:16px;padding:8px 2px 10px 0;color:#1a2133}.DataGrid-BOX/deep/.formbox-simple.ivu-form .ivu-form-item-label[data-v-766f6033]{padding-top:10px}.DataGrid-BOX .titleNav .navleft/deep/.ivu-btn[data-v-766f6033]{margin-right:10px;font-size:15px;line-height:30px}.DataGrid-BOX .button[data-v-766f6033]{margin:10px;border-radius:4px}.DataGrid-BOX .btn[data-v-766f6033]{color:#2b5fd9;border:1px solid #2b5fd9;background:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn1[data-v-766f6033]{background:#2b5fd9;color:#fff;width:56px;line-height:30px}.DataGrid-BOX .btn2[data-v-766f6033]{background:#17b0fc;color:#fff}.DataGrid-BOX .navleft>span[data-v-766f6033]{display:inline-block;padding:0 12px;color:#fff;background:#c0c4cc;height:30px;line-height:30px;margin:10px 10px 10px 0;border-radius:2px;cursor:pointer}.DataGrid-BOX .titleNav[data-v-766f6033]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:-10px;line-height:50px;min-height:2px}.DataGrid-BOX .hale>div[data-v-766f6033]{width:50%}.DataGrid-BOX .nohale>div[data-v-766f6033]{width:100%}.DataGrid-BOX .navleft .La[data-v-766f6033]{background:#3179f5}.DataGrid-BOX .navleft .Lv[data-v-766f6033]{background:#11c28a}.DataGrid-BOX .navleft .Hong[data-v-766f6033]{background:#f06060}.DataGrid-BOX .titleNav>div.navright[data-v-766f6033]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.DataGrid-BOX .navright span[data-v-766f6033]{display:inline-block;height:24px;line-height:16px;margin:8px;border-radius:2px;padding:0 3px;cursor:pointer;position:relative}.DataGrid-BOX .navright span[data-v-766f6033]:hover{background:#eff6ff}.DataGrid-BOX .navright .active[data-v-766f6033]{border-bottom:3px solid #3179f5;color:#2372fa}.DataGrid-BOX .navright .active-a[data-v-766f6033]{margin-right:40px;position:relative}.DataGrid-BOX .i-data[data-v-766f6033]{position:absolute;display:inline-block;background:#e5efff;font-style:normal;color:#666;padding:0 10px;height:20px;line-height:20px;top:6px;border-radius:50px;right:-35px}.DataGrid-BOX .common_optation .input[data-v-766f6033],.DataGrid-BOX .common_optation .select[data-v-766f6033]{max-width:300px}.DataGrid-BOX .page-btn[data-v-766f6033],.DataGrid-BOX .page-Data[data-v-766f6033],.DataGrid-BOX .page-set[data-v-766f6033]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0 10px 10px;font-size:15px}.DataGrid-BOX .page-Data i[data-v-766f6033]{font-style:normal;color:#2b5fd9;margin:0 5px;font-weight:700}.DataGrid-BOX .page-btn[data-v-766f6033]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAOtJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9T4hqYXrhBVxaoEWWeTsItrOrgBvFyMTEcn6aC1zDdxFsM/3G4H8Vr6rJsDGubFbAaZp5xh+Hrj384LcIII28LXobODEkUDf7VDxjuPv2F17VYA7syWpQh2lUQrLF0+nOG7Sc/g9nYwhEWZjhjDaYJV+CiO48kg4aJi0DpamePIoNV1l2iEioVswi1Mi1VihFFNWZGSgq2/wwMT68tXC4HKtgAxxpwt8uJc1IAAAAASUVORK5CYII=\") no-repeat 0}.DataGrid-BOX .custom[data-v-766f6033]{cursor:pointer;position:relative;padding-left:20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAATVJREFUOE9jZACDBibtuMiHDIwMMhA+keA/w5Ori5bLMzA0/GNkYPjPpB1/6y+RWrEqu7pQjZlRO+7mY5Jdgm7cf4YnjNrxN/9js8ZOn5uhMFSEIbDmIVh6foUMw6Kd7xn2n/+K1VVYDTo7S4WBnY0Jq4afv/4xGKfdwZDDatCVBWp4g0wn4RadDCoIFWFI8BBkYGFmBNv46/d/BoeCuwz//zMwHJyozMDGChH/8/c/w4Id7xkmrH4DdxmK19C9hO4FfPKD3CCQhx0MuBmmFEiD/Q4Km9jWR2D24mo5BkZIEDFkT3jKcPACanoa5NEPi0trHS6GmSWQgqB46jMGQV5mhpo4cTA/recJw7Er37AkSCIzLTMTA8PffzgSPCjTUqUYUVSDJmEyC7b/DAxPry1cLgcq2AD6t5K3B+tq3QAAAABJRU5ErkJggg==\") no-repeat 0}.DataGrid-BOX .sx[data-v-766f6033]{font-size:24px;color:blue;position:absolute;margin-top:2px;left:-5px}.DataGrid-BOX .ulnavlist[data-v-766f6033]{list-style:none;border:1px solid #0394f9;position:absolute;left:-78px;width:150px;bottom:100%;background:#fff;z-index:1000;height:310px;overflow-y:hidden;-webkit-box-shadow:0 0 5px 0 #bebef3;box-shadow:0 0 5px 0 #bebef3}.DataGrid-BOX .ulnavlist li[data-v-766f6033]{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.DataGrid-BOX .navlist[data-v-766f6033]{position:relative;padding:0 10px;font-size:15px}.DataGrid-BOX .After[data-v-766f6033]:after{content:\"\";width:2px;height:24px;background:#d5d5d6;position:absolute;top:16px;left:0}.DataGrid-BOX .iconlist[data-v-766f6033]{font-style:normal;display:inline-block;width:18px;height:18px;border:1px solid #2b5fd9;border-radius:4px;margin:8px;vertical-align:middle}.DataGrid-BOX li.active .iconlist[data-v-766f6033]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%}.DataGrid-BOX .Total[data-v-766f6033]{display:inline-block;height:24px;line-height:24px;vertical-align:top;margin:10px 0;padding:0 15px;border-radius:2px;cursor:pointer;font-size:15px}[data-v-766f6033].ivu-table-row-highlight td,[data-v-766f6033].ivu-table-row-hover td,[data-v-766f6033].ivu-table-row:hover td{background-color:#dae5ff!important}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td[data-v-766f6033],.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td[data-v-766f6033]{background:#f7f9fc!important}.DataGrid-BOX/deep/.ivu-table-border tr td[data-v-766f6033]{font-family:Microsoft YaHei;font-weight:400;font-size:16px;color:#475066}.DataGrid-BOX/deep/.ivu-table-wrapper[data-v-766f6033]{overflow:initial}.DataGrid-BOX/deep/.ivu-table-filter i[data-v-766f6033]:hover,[data-v-766f6033].ivu-table-sort i.on{color:#2b5fd9}.DataGrid-BOX .page_box[data-v-766f6033]{border:1px solid #ddd;border-top:none;padding:0 20px;height:42px}.DataGrid-BOX/deep/.ivu-table th[data-v-766f6033]{background:#dee9fc;font-family:Microsoft YaHei;font-weight:700;font-size:16px;color:#1f2533}.DataGrid-BOX/deep/.ivu-table[data-v-766f6033]{font-size:16px;color:#2b3646}.DataGrid-BOX/deep/.ivu-table-border td[data-v-766f6033],.DataGrid-BOX/deep/.ivu-table-border th[data-v-766f6033]{border-right:1px solid #f5f7fa}.DataGrid-BOX/deep/.ivu-table td[data-v-766f6033],.DataGrid-BOX/deep/.ivu-table th[data-v-766f6033]{height:40px}.DataGrid-BOX .steylehang .btnBox .button[data-v-766f6033]{margin:1px 0 0 20px;font-size:16px;padding:0 12px}.DataGrid-BOX .head-btn[data-v-766f6033]{font-size:15px}.DataGrid-BOX/deep/.ivu-table td a[data-v-766f6033]{color:#2c2cf9;text-decoration:none;border-bottom:1px solid;cursor:pointer}.DataGrid-BOX/deep/.ivu-page-item[data-v-766f6033]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active[data-v-766f6033]{background-color:#2b5fd9!important}.DataGrid-BOX/deep/.ivu-page-options-elevator input[data-v-766f6033]{font-size:15px}.DataGrid-BOX/deep/.ivu-page-item-active:hover>a[data-v-766f6033],.DataGrid-BOX/deep/.ivu-page-item-active>a[data-v-766f6033]{color:#fff!important}.DataGrid-BOX/deep/.ivu-input[data-v-766f6033]{font-size:15px;border-color:#cee0f0}.DataGrid-BOX/deep/.el-input--small .el-input__inner[data-v-766f6033]:focus,.DataGrid-BOX/deep/.ivu-input[data-v-766f6033]:focus{border-color:#2b5fd9;box-shadow:inset 0 0 0 1000px #fff!important}.DataGrid-BOX/deep/.el-input__inner[data-v-766f6033]{border-color:#cee0f0}.DataGrid-BOX/deep/.ivu-select-item[data-v-766f6033],.DataGrid-BOX/deep/.ivu-select-placeholder[data-v-766f6033],.DataGrid-BOX/deep/.ivu-select-selected-value[data-v-766f6033]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-page-options-elevator[data-v-766f6033]{font-size:15px}.DataGrid-BOX/deep/.el-date-table[data-v-766f6033],.DataGrid-BOX/deep/.el-input[data-v-766f6033]{font-size:15px!important}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-766f6033]::-webkit-scrollbar,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-766f6033]::-webkit-scrollbar{width:10px;height:10px}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-766f6033]::-webkit-scrollbar-thumb,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-766f6033]::-webkit-scrollbar-thumb{border-radius:10px;background:#d3daeb}.DataGrid-BOX/deep/.ivu-table-overflowX[data-v-766f6033]::-webkit-scrollbar-track,.DataGrid-BOX/deep/.ivu-table-overflowY[data-v-766f6033]::-webkit-scrollbar-track{border-radius:10px;background:#ededed}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-thumb:hover .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-766f6033]::-webkit-scrollbar-thumb:hover{background-color:#b6c0d9;cursor:pointer}.DataGrid-BOX/deep/.ivu-table-overflowY::-webkit-scrollbar-button .DataGrid-BOX/deep/.ivu-table-overflowX[data-v-766f6033]::-webkit-scrollbar-button{height:2px;width:2px}.DataGrid-BOX/deep/.ivu-table-cell[data-v-766f6033]{padding-left:8px;padding-right:8px}.ivu-btn-info.disabled[data-v-766f6033],.ivu-btn-info[disabled][data-v-766f6033],.ivu-btn-primary.disabled[data-v-766f6033],.ivu-btn-primary[disabled][data-v-766f6033]{color:#c5c8ce;background-color:#f7f7f7!important;border-color:#dcdee2}.DataGrid-BOX .btnBox[data-v-766f6033],.timeTextzhi[data-v-766f6033]{display:flex;justify-content:center}.timeTextzhi[data-v-766f6033]{align-items:center}.data-grid-bsp[data-v-766f6033]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:0 10%;width:120px}.data-grid-bsp/deep/.ivu-btn[data-v-766f6033],.data-grid-bsp/deep/div[data-v-766f6033]{width:100%!important;margin-bottom:5px}.saveBtn-dlsx[data-v-766f6033]{width:55px;font-size:14px;line-height:33px;margin-bottom:5px}.saveBtn-dlsx/deep/span[data-v-766f6033]{margin-left:-4px!important}.search-content-select[data-v-766f6033]{display:flex;align-items:center;justify-content:space-between}.search-content-select-main[data-v-766f6033]{display:flex;align-items:center;flex-wrap:wrap}.searchBox.style4[data-v-766f6033]{display:flex;flex-wrap:wrap}.select-content[data-v-766f6033]{background:linear-gradient(90deg,#115fc6,#56bbff);color:#fff;padding:6px 10px;margin-right:10px;margin-bottom:10px;border-radius:6px;cursor:pointer;height:42px}.select-content i[data-v-766f6033]{font-style:normal}.select-content/deep/.sp-base[data-v-766f6033],.select-content/deep/.sp-selected-tag[data-v-766f6033]{background:transparent!important;border:none!important;color:#fff!important}.select-content/deep/.sp-button[data-v-766f6033]{display:none!important}.textOverflowBsp[data-v-766f6033]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}", ""]);
3136
4120
 
3137
4121
  // exports
3138
4122
 
3139
4123
 
3140
4124
  /***/ }),
3141
- /* 22 */
4125
+ /* 28 */
3142
4126
  /***/ (function(module, exports) {
3143
4127
 
3144
4128
  /**
@@ -3171,15 +4155,15 @@ module.exports = function listToStyles (parentId, list) {
3171
4155
 
3172
4156
 
3173
4157
  /***/ }),
3174
- /* 23 */
4158
+ /* 29 */
3175
4159
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3176
4160
 
3177
4161
  "use strict";
3178
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_showFields__ = __webpack_require__(24);
3179
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_queryField__ = __webpack_require__(30);
3180
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mixins_quickFilter__ = __webpack_require__(31);
3181
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__mixins_page__ = __webpack_require__(32);
3182
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__mixins_oper__ = __webpack_require__(33);
4162
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_showFields__ = __webpack_require__(30);
4163
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_queryField__ = __webpack_require__(36);
4164
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mixins_quickFilter__ = __webpack_require__(37);
4165
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__mixins_page__ = __webpack_require__(38);
4166
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__mixins_oper__ = __webpack_require__(39);
3183
4167
  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; };
3184
4168
 
3185
4169
  /* eslint-disable no-tabs */
@@ -3189,6 +4173,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3189
4173
 
3190
4174
 
3191
4175
 
4176
+
3192
4177
  /* harmony default export */ __webpack_exports__["a"] = ({
3193
4178
  mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_showFields__["a" /* default */], __WEBPACK_IMPORTED_MODULE_1__mixins_queryField__["a" /* default */], __WEBPACK_IMPORTED_MODULE_2__mixins_quickFilter__["a" /* default */], __WEBPACK_IMPORTED_MODULE_3__mixins_page__["a" /* default */], __WEBPACK_IMPORTED_MODULE_4__mixins_oper__["a" /* default */]],
3194
4179
  created: function created() {
@@ -3274,6 +4259,38 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3274
4259
  }
3275
4260
  },
3276
4261
  methods: {
4262
+ closeItem: function closeItem(order, index, item) {
4263
+ if (item.searchValue) {
4264
+ this.$set(this.complexQueryConfig[order].fields[index], 'searchValue', '');
4265
+ } else if (item.opName == 'between') {
4266
+ this.$set(this.complexQueryConfig[order].fields[index], 'start', '');
4267
+ this.$set(this.complexQueryConfig[order].fields[index], 'end', '');
4268
+ }
4269
+ },
4270
+ closeAll: function closeAll() {
4271
+ var _this = this;
4272
+
4273
+ this.complexQueryConfig.forEach(function (ele) {
4274
+ ele.fields.forEach(function (item) {
4275
+ if (item.searchValue) {
4276
+ _this.$set(item, 'searchValue', '');
4277
+ } else if (item.opName == 'between') {
4278
+ _this.$set(item, 'start', '');
4279
+ _this.$set(item, 'end', '');
4280
+ }
4281
+ });
4282
+ });
4283
+ },
4284
+ confirmSearch: function confirmSearch(data) {
4285
+ this.complexQueryConfig = data;
4286
+ this.$set(this, 'complexQueryConfig', data);
4287
+ this.query_grid_data(this.pageNo, true);
4288
+ },
4289
+
4290
+ // 高级查询
4291
+ resetSearch: function resetSearch() {
4292
+ this.$set(this, 'complexQueryConfig', this.complexQueryConfig && this.complexQueryConfig.length > 0 ? this.complexQueryConfig : this.comModelProps && this.comModelProps.complexQueryConfig ? JSON.parse(this.comModelProps.complexQueryConfig) : []), this.$refs.girdMoreSearch.modal = true;
4293
+ },
3277
4294
  initId: function initId() {
3278
4295
  if (this.$route.query.mark) {
3279
4296
  this.dataGridId = this.$route.query.mark;
@@ -3317,13 +4334,38 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3317
4334
  }
3318
4335
  }
3319
4336
  },
4337
+ getZhcxArr: function getZhcxArr(data) {
4338
+ var _this2 = this;
4339
+
4340
+ this.queryFieldsZH = [];
4341
+ if (data.length > 0 && this.complexQueryConfig.length > 0) {
4342
+ this.complexQueryConfig.forEach(function (item) {
4343
+ if (item.fields && item.fields.length > 0) {
4344
+ item.fields.forEach(function (ele) {
4345
+ data.forEach(function (eleItem) {
4346
+ if (ele.field == eleItem.name && ele.isDefault) {
4347
+ ele = Object.assign(ele, eleItem);
4348
+ _this2.queryFieldsZH.push(ele);
4349
+ }
4350
+ });
4351
+ });
4352
+ }
4353
+ });
4354
+ this.$nextTick(function () {
4355
+ _this2.build_query_fields(_this2.queryFieldsZH);
4356
+ });
4357
+ }
4358
+ },
3320
4359
  init: function init(resp) {
3321
- var _this = this;
4360
+ var _this3 = this;
3322
4361
 
3323
4362
  this.returnParams = resp;
3324
4363
  this.comModel = resp.comModel;
3325
4364
  this.comModelProps = JSON.parse(resp.comModel.attachProps);
3326
- this.dataGridHeight = this.comModelProps.height;
4365
+ this.$set(this, 'complexQueryConfig', this.comModelProps && this.comModelProps.complexQueryConfig ? JSON.parse(this.comModelProps.complexQueryConfig) : []), this.dataGridHeight = this.comModelProps.height;
4366
+
4367
+ // this.comModelProps
4368
+ this.comModelProps.allqueryFields = resp.queryFields;
3327
4369
  if (this.comModelProps.labelWidth) {
3328
4370
  this.labelWidth = Number(this.comModelProps.labelWidth);
3329
4371
  }
@@ -3366,17 +4408,17 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3366
4408
  this.searchType = this.comModelProps.searchType;
3367
4409
  }
3368
4410
 
3369
- this.build_query_fields(resp.queryFields);
4411
+ this.searchType === '03' ? this.getZhcxArr(resp.queryFields) : this.build_query_fields(resp.queryFields);
3370
4412
  }
3371
4413
  // 快速筛选
3372
4414
  if (this.comModelProps.isQuickFilter && this.comModelProps.isQuickFilter === '1') {
3373
4415
  // 添加可配置默认标签配置判断
3374
4416
  if (this.params && this.params.isDefaultTitle && resp.quickFilter && resp.quickFilter.length > 0) {
3375
4417
  resp.quickFilter.forEach(function (item) {
3376
- if (item.label == _this.params.isDefaultTitle) {
3377
- _this.$set(item, 'isDefault', '1');
4418
+ if (item.label == _this3.params.isDefaultTitle) {
4419
+ _this3.$set(item, 'isDefault', '1');
3378
4420
  } else {
3379
- _this.$set(item, 'isDefault', '0');
4421
+ _this3.$set(item, 'isDefault', '0');
3380
4422
  }
3381
4423
  });
3382
4424
  }
@@ -3390,7 +4432,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3390
4432
  this.column = [];
3391
4433
  this.build_show_field();
3392
4434
  this.query_grid_data();
3393
- var elementResizeDetectorMaker = __webpack_require__(34);
4435
+ var elementResizeDetectorMaker = __webpack_require__(40);
3394
4436
  // 监听元素变化
3395
4437
  var erd = elementResizeDetectorMaker();
3396
4438
  var that = this;
@@ -3403,7 +4445,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3403
4445
  }
3404
4446
  },
3405
4447
  init_grid_config: function init_grid_config(mark) {
3406
- var _this2 = this;
4448
+ var _this4 = this;
3407
4449
 
3408
4450
  var params = {
3409
4451
  mark: mark
@@ -3415,15 +4457,15 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3415
4457
  url: '/bsp-com/com/datagrid/viewGrid',
3416
4458
  params: params
3417
4459
  }).then(function (resp) {
3418
- _this2.dataGridLoad = true;
4460
+ _this4.dataGridLoad = true;
3419
4461
  if (resp.success) {
3420
- _this2.dbType = resp.dbType;
3421
- _this2.init(resp);
4462
+ _this4.dbType = resp.dbType;
4463
+ _this4.init(resp);
3422
4464
  }
3423
4465
  });
3424
4466
  },
3425
4467
  init_func_config: function init_func_config(mark) {
3426
- var _this3 = this;
4468
+ var _this5 = this;
3427
4469
 
3428
4470
  var params = {
3429
4471
  mark: mark
@@ -3436,9 +4478,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3436
4478
  params: params
3437
4479
  }).then(function (resp) {
3438
4480
  if (resp.success) {
3439
- _this3.errorMsg = '';
3440
- _this3.dataGridLoad = true;
3441
- _this3.exportMaxCount = resp.exportMaxCount;
4481
+ _this5.errorMsg = '';
4482
+ _this5.dataGridLoad = true;
4483
+ _this5.exportMaxCount = resp.exportMaxCount;
3442
4484
  var headOper = [];
3443
4485
  var headOperBatch = [];
3444
4486
  var rowOper = [];
@@ -3462,7 +4504,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3462
4504
  }
3463
4505
  } else if (item.dispPos === '2') {
3464
4506
  // 行操作
3465
- _this3.hasRowOper = true;
4507
+ _this5.hasRowOper = true;
3466
4508
  if (item.batch) {
3467
4509
  rowOperBatch.push(item);
3468
4510
  } else {
@@ -3472,22 +4514,22 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3472
4514
  });
3473
4515
  }
3474
4516
 
3475
- _this3.funcAuth = funcMark;
3476
- _this3.headOper = headOper;
3477
- _this3.headOperBatch = headOperBatch;
3478
- _this3.rowOper = rowOper;
3479
- _this3.rowOperBatch = rowOperBatch;
3480
- _this3.dbType = resp.dbType;
3481
- _this3.init(resp);
4517
+ _this5.funcAuth = funcMark;
4518
+ _this5.headOper = headOper;
4519
+ _this5.headOperBatch = headOperBatch;
4520
+ _this5.rowOper = rowOper;
4521
+ _this5.rowOperBatch = rowOperBatch;
4522
+ _this5.dbType = resp.dbType;
4523
+ _this5.init(resp);
3482
4524
  } else {
3483
- _this3.loading = false;
3484
- _this3.dataGridLoad = false;
3485
- _this3.errorMsg = resp.msg;
4525
+ _this5.loading = false;
4526
+ _this5.dataGridLoad = false;
4527
+ _this5.errorMsg = resp.msg;
3486
4528
  }
3487
4529
  });
3488
4530
  },
3489
4531
  getCustomFields: function getCustomFields(mark) {
3490
- var _this4 = this;
4532
+ var _this6 = this;
3491
4533
 
3492
4534
  if (this.loading || this.showModal) {
3493
4535
  return;
@@ -3500,7 +4542,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3500
4542
  url: '/bsp-com/com/datagrid/getCustomShowFields',
3501
4543
  params: params
3502
4544
  }).then(function (resp) {
3503
- _this4.loading = false;
4545
+ _this6.loading = false;
3504
4546
  if (resp.success) {
3505
4547
  var datas = resp.data;
3506
4548
  var fieldList = [];
@@ -3516,10 +4558,10 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3516
4558
  require: item.require
3517
4559
  });
3518
4560
  });
3519
- _this4.customShowList = fieldList;
3520
- _this4.showModal = true;
4561
+ _this6.customShowList = fieldList;
4562
+ _this6.showModal = true;
3521
4563
  } else {
3522
- _this4.$Modal.warning({
4564
+ _this6.$Modal.warning({
3523
4565
  title: '温馨提示',
3524
4566
  content: resp.msg
3525
4567
  });
@@ -3530,7 +4572,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3530
4572
  this.showModal = false;
3531
4573
  },
3532
4574
  handleSet: function handleSet() {
3533
- var _this5 = this;
4575
+ var _this7 = this;
3534
4576
 
3535
4577
  this.$Modal.confirm({
3536
4578
  title: '温馨提示',
@@ -3538,13 +4580,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3538
4580
  loading: true,
3539
4581
  okText: '确定',
3540
4582
  onOk: function onOk() {
3541
- _this5.saveCustomReset();
4583
+ _this7.saveCustomReset();
3542
4584
  }
3543
4585
  });
3544
4586
  // resetShowFields
3545
4587
  },
3546
4588
  handleSubmit: function handleSubmit() {
3547
- var _this6 = this;
4589
+ var _this8 = this;
3548
4590
 
3549
4591
  var arr = [];
3550
4592
  this.customShowList.forEach(function (item, index) {
@@ -3563,13 +4605,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3563
4605
  params: params
3564
4606
  }).then(function (resp) {
3565
4607
  if (resp.success) {
3566
- _this6.showModal = false;
3567
- _this6.init_grid();
4608
+ _this8.showModal = false;
4609
+ _this8.init_grid();
3568
4610
  } else {}
3569
4611
  });
3570
4612
  },
3571
4613
  saveCustomReset: function saveCustomReset() {
3572
- var _this7 = this;
4614
+ var _this9 = this;
3573
4615
 
3574
4616
  var params = {
3575
4617
  mark: this.dataGridId
@@ -3578,9 +4620,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3578
4620
  url: '/bsp-com/com/datagrid/resetShowFields',
3579
4621
  params: params
3580
4622
  }).then(function (resp) {
3581
- _this7.showModal = false;
3582
- _this7.init_grid();
3583
- _this7.$Modal.remove();
4623
+ _this9.showModal = false;
4624
+ _this9.init_grid();
4625
+ _this9.$Modal.remove();
3584
4626
  });
3585
4627
  },
3586
4628
  multi_col_sort: function multi_col_sort() {
@@ -3620,7 +4662,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
3620
4662
  });
3621
4663
 
3622
4664
  /***/ }),
3623
- /* 24 */
4665
+ /* 30 */
3624
4666
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3625
4667
 
3626
4668
  "use strict";
@@ -4056,11 +5098,11 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
4056
5098
  });
4057
5099
 
4058
5100
  /***/ }),
4059
- /* 25 */
5101
+ /* 31 */
4060
5102
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4061
5103
 
4062
5104
  "use strict";
4063
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_template_js__ = __webpack_require__(26);
5105
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_template_js__ = __webpack_require__(32);
4064
5106
  /* eslint-disable no-eval */
4065
5107
  /* eslint-disable no-tabs */
4066
5108
  /* eslint-disable no-mixed-spaces-and-tabs */
@@ -4126,14 +5168,14 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
4126
5168
  });
4127
5169
 
4128
5170
  /***/ }),
4129
- /* 26 */
5171
+ /* 32 */
4130
5172
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4131
5173
 
4132
5174
  "use strict";
4133
5175
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jsmini_type__ = __webpack_require__(4);
4134
5176
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__jsmini_extend__ = __webpack_require__(5);
4135
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__templatejs_parser__ = __webpack_require__(28);
4136
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__templatejs_runtime__ = __webpack_require__(29);
5177
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__templatejs_parser__ = __webpack_require__(34);
5178
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__templatejs_runtime__ = __webpack_require__(35);
4137
5179
  /*!
4138
5180
  * template_js 2.4.0 (https://github.com/yanhaijing/template)
4139
5181
  * API https://github.com/yanhaijing/template/blob/master/doc/api.md
@@ -4255,7 +5297,7 @@ template.__compile = compile;
4255
5297
 
4256
5298
 
4257
5299
  /***/ }),
4258
- /* 27 */
5300
+ /* 33 */
4259
5301
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4260
5302
 
4261
5303
  "use strict";
@@ -4330,7 +5372,7 @@ var isArray = isFunction(Array.isArray) ? Array.isArray : function isArray(x) {
4330
5372
 
4331
5373
 
4332
5374
  /***/ }),
4333
- /* 28 */
5375
+ /* 34 */
4334
5376
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4335
5377
 
4336
5378
  "use strict";
@@ -4415,7 +5457,7 @@ function parse(tpl, opt) {
4415
5457
 
4416
5458
 
4417
5459
  /***/ }),
4418
- /* 29 */
5460
+ /* 35 */
4419
5461
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4420
5462
 
4421
5463
  "use strict";
@@ -4534,7 +5576,7 @@ runtime.o = o;
4534
5576
 
4535
5577
 
4536
5578
  /***/ }),
4537
- /* 30 */
5579
+ /* 36 */
4538
5580
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4539
5581
 
4540
5582
  "use strict";
@@ -4598,7 +5640,7 @@ runtime.o = o;
4598
5640
  }
4599
5641
  }
4600
5642
  this.searchShow = searchShow;
4601
- if (this.searchType === '02') {
5643
+ if (this.searchType === '02' || this.searchType === '03') {
4602
5644
  queryFields.push(line);
4603
5645
  }
4604
5646
  this.queryFields = JSON.parse(JSON.stringify(queryFields));
@@ -4627,7 +5669,7 @@ runtime.o = o;
4627
5669
  });
4628
5670
 
4629
5671
  /***/ }),
4630
- /* 31 */
5672
+ /* 37 */
4631
5673
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4632
5674
 
4633
5675
  "use strict";
@@ -4695,7 +5737,7 @@ runtime.o = o;
4695
5737
  });
4696
5738
 
4697
5739
  /***/ }),
4698
- /* 32 */
5740
+ /* 38 */
4699
5741
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4700
5742
 
4701
5743
  "use strict";
@@ -4731,7 +5773,7 @@ runtime.o = o;
4731
5773
  });
4732
5774
 
4733
5775
  /***/ }),
4734
- /* 33 */
5776
+ /* 39 */
4735
5777
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4736
5778
 
4737
5779
  "use strict";
@@ -5029,25 +6071,25 @@ runtime.o = o;
5029
6071
  });
5030
6072
 
5031
6073
  /***/ }),
5032
- /* 34 */
6074
+ /* 40 */
5033
6075
  /***/ (function(module, exports, __webpack_require__) {
5034
6076
 
5035
6077
  "use strict";
5036
6078
 
5037
6079
 
5038
- var forEach = __webpack_require__(8).forEach;
5039
- var elementUtilsMaker = __webpack_require__(35);
5040
- var listenerHandlerMaker = __webpack_require__(36);
5041
- var idGeneratorMaker = __webpack_require__(37);
5042
- var idHandlerMaker = __webpack_require__(38);
5043
- var reporterMaker = __webpack_require__(39);
5044
- var browserDetector = __webpack_require__(9);
5045
- var batchProcessorMaker = __webpack_require__(40);
5046
- var stateHandler = __webpack_require__(42);
6080
+ var forEach = __webpack_require__(9).forEach;
6081
+ var elementUtilsMaker = __webpack_require__(41);
6082
+ var listenerHandlerMaker = __webpack_require__(42);
6083
+ var idGeneratorMaker = __webpack_require__(43);
6084
+ var idHandlerMaker = __webpack_require__(44);
6085
+ var reporterMaker = __webpack_require__(45);
6086
+ var browserDetector = __webpack_require__(10);
6087
+ var batchProcessorMaker = __webpack_require__(46);
6088
+ var stateHandler = __webpack_require__(48);
5047
6089
 
5048
6090
  //Detection strategies.
5049
- var objectStrategyMaker = __webpack_require__(43);
5050
- var scrollStrategyMaker = __webpack_require__(44);
6091
+ var objectStrategyMaker = __webpack_require__(49);
6092
+ var scrollStrategyMaker = __webpack_require__(50);
5051
6093
 
5052
6094
  function isCollection(obj) {
5053
6095
  return Array.isArray(obj) || obj.length !== undefined;
@@ -5364,7 +6406,7 @@ function getOption(options, name, defaultValue) {
5364
6406
 
5365
6407
 
5366
6408
  /***/ }),
5367
- /* 35 */
6409
+ /* 41 */
5368
6410
  /***/ (function(module, exports, __webpack_require__) {
5369
6411
 
5370
6412
  "use strict";
@@ -5423,7 +6465,7 @@ module.exports = function(options) {
5423
6465
 
5424
6466
 
5425
6467
  /***/ }),
5426
- /* 36 */
6468
+ /* 42 */
5427
6469
  /***/ (function(module, exports, __webpack_require__) {
5428
6470
 
5429
6471
  "use strict";
@@ -5490,7 +6532,7 @@ module.exports = function(idHandler) {
5490
6532
 
5491
6533
 
5492
6534
  /***/ }),
5493
- /* 37 */
6535
+ /* 43 */
5494
6536
  /***/ (function(module, exports, __webpack_require__) {
5495
6537
 
5496
6538
  "use strict";
@@ -5515,7 +6557,7 @@ module.exports = function() {
5515
6557
 
5516
6558
 
5517
6559
  /***/ }),
5518
- /* 38 */
6560
+ /* 44 */
5519
6561
  /***/ (function(module, exports, __webpack_require__) {
5520
6562
 
5521
6563
  "use strict";
@@ -5569,7 +6611,7 @@ module.exports = function(options) {
5569
6611
 
5570
6612
 
5571
6613
  /***/ }),
5572
- /* 39 */
6614
+ /* 45 */
5573
6615
  /***/ (function(module, exports, __webpack_require__) {
5574
6616
 
5575
6617
  "use strict";
@@ -5618,13 +6660,13 @@ module.exports = function(quiet) {
5618
6660
  };
5619
6661
 
5620
6662
  /***/ }),
5621
- /* 40 */
6663
+ /* 46 */
5622
6664
  /***/ (function(module, exports, __webpack_require__) {
5623
6665
 
5624
6666
  "use strict";
5625
6667
 
5626
6668
 
5627
- var utils = __webpack_require__(41);
6669
+ var utils = __webpack_require__(47);
5628
6670
 
5629
6671
  module.exports = function batchProcessorMaker(options) {
5630
6672
  options = options || {};
@@ -5763,7 +6805,7 @@ function Batch() {
5763
6805
 
5764
6806
 
5765
6807
  /***/ }),
5766
- /* 41 */
6808
+ /* 47 */
5767
6809
  /***/ (function(module, exports, __webpack_require__) {
5768
6810
 
5769
6811
  "use strict";
@@ -5785,7 +6827,7 @@ function getOption(options, name, defaultValue) {
5785
6827
 
5786
6828
 
5787
6829
  /***/ }),
5788
- /* 42 */
6830
+ /* 48 */
5789
6831
  /***/ (function(module, exports, __webpack_require__) {
5790
6832
 
5791
6833
  "use strict";
@@ -5814,7 +6856,7 @@ module.exports = {
5814
6856
 
5815
6857
 
5816
6858
  /***/ }),
5817
- /* 43 */
6859
+ /* 49 */
5818
6860
  /***/ (function(module, exports, __webpack_require__) {
5819
6861
 
5820
6862
  "use strict";
@@ -5825,7 +6867,7 @@ module.exports = {
5825
6867
 
5826
6868
 
5827
6869
 
5828
- var browserDetector = __webpack_require__(9);
6870
+ var browserDetector = __webpack_require__(10);
5829
6871
 
5830
6872
  module.exports = function(options) {
5831
6873
  options = options || {};
@@ -6068,7 +7110,7 @@ module.exports = function(options) {
6068
7110
 
6069
7111
 
6070
7112
  /***/ }),
6071
- /* 44 */
7113
+ /* 50 */
6072
7114
  /***/ (function(module, exports, __webpack_require__) {
6073
7115
 
6074
7116
  "use strict";
@@ -6079,7 +7121,7 @@ module.exports = function(options) {
6079
7121
 
6080
7122
 
6081
7123
 
6082
- var forEach = __webpack_require__(8).forEach;
7124
+ var forEach = __webpack_require__(9).forEach;
6083
7125
 
6084
7126
  module.exports = function(options) {
6085
7127
  options = options || {};
@@ -6747,17 +7789,17 @@ module.exports = function(options) {
6747
7789
 
6748
7790
 
6749
7791
  /***/ }),
6750
- /* 45 */
7792
+ /* 51 */
6751
7793
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6752
7794
 
6753
7795
  "use strict";
6754
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_iframeComponent_vue__ = __webpack_require__(10);
7796
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_iframeComponent_vue__ = __webpack_require__(11);
6755
7797
  /* unused harmony namespace reexport */
6756
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3b47f035_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_iframeComponent_vue__ = __webpack_require__(48);
7798
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3b47f035_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_iframeComponent_vue__ = __webpack_require__(54);
6757
7799
  function injectStyle (ssrContext) {
6758
- __webpack_require__(46)
7800
+ __webpack_require__(52)
6759
7801
  }
6760
- var normalizeComponent = __webpack_require__(2)
7802
+ var normalizeComponent = __webpack_require__(0)
6761
7803
  /* script */
6762
7804
 
6763
7805
 
@@ -6784,23 +7826,23 @@ var Component = normalizeComponent(
6784
7826
 
6785
7827
 
6786
7828
  /***/ }),
6787
- /* 46 */
7829
+ /* 52 */
6788
7830
  /***/ (function(module, exports, __webpack_require__) {
6789
7831
 
6790
7832
  // style-loader: Adds some css to the DOM by adding a <style> tag
6791
7833
 
6792
7834
  // load the styles
6793
- var content = __webpack_require__(47);
7835
+ var content = __webpack_require__(53);
6794
7836
  if(typeof content === 'string') content = [[module.i, content, '']];
6795
7837
  if(content.locals) module.exports = content.locals;
6796
7838
  // add the styles to the DOM
6797
- var update = __webpack_require__(1)("1a416c25", content, true);
7839
+ var update = __webpack_require__(2)("1a416c25", content, true);
6798
7840
 
6799
7841
  /***/ }),
6800
- /* 47 */
7842
+ /* 53 */
6801
7843
  /***/ (function(module, exports, __webpack_require__) {
6802
7844
 
6803
- exports = module.exports = __webpack_require__(0)(false);
7845
+ exports = module.exports = __webpack_require__(1)(false);
6804
7846
  // imports
6805
7847
 
6806
7848
 
@@ -6811,7 +7853,7 @@ exports.push([module.i, ".frame .ivu-modal-content .ivu-modal-body{padding:0}",
6811
7853
 
6812
7854
 
6813
7855
  /***/ }),
6814
- /* 48 */
7856
+ /* 54 */
6815
7857
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6816
7858
 
6817
7859
  "use strict";
@@ -6821,17 +7863,17 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
6821
7863
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
6822
7864
 
6823
7865
  /***/ }),
6824
- /* 49 */
7866
+ /* 55 */
6825
7867
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6826
7868
 
6827
7869
  "use strict";
6828
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_export_opt_vue__ = __webpack_require__(11);
7870
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_export_opt_vue__ = __webpack_require__(12);
6829
7871
  /* unused harmony namespace reexport */
6830
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_74bd151f_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_export_opt_vue__ = __webpack_require__(54);
7872
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_74bd151f_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_export_opt_vue__ = __webpack_require__(60);
6831
7873
  function injectStyle (ssrContext) {
6832
- __webpack_require__(50)
7874
+ __webpack_require__(56)
6833
7875
  }
6834
- var normalizeComponent = __webpack_require__(2)
7876
+ var normalizeComponent = __webpack_require__(0)
6835
7877
  /* script */
6836
7878
 
6837
7879
 
@@ -6858,23 +7900,23 @@ var Component = normalizeComponent(
6858
7900
 
6859
7901
 
6860
7902
  /***/ }),
6861
- /* 50 */
7903
+ /* 56 */
6862
7904
  /***/ (function(module, exports, __webpack_require__) {
6863
7905
 
6864
7906
  // style-loader: Adds some css to the DOM by adding a <style> tag
6865
7907
 
6866
7908
  // load the styles
6867
- var content = __webpack_require__(51);
7909
+ var content = __webpack_require__(57);
6868
7910
  if(typeof content === 'string') content = [[module.i, content, '']];
6869
7911
  if(content.locals) module.exports = content.locals;
6870
7912
  // add the styles to the DOM
6871
- var update = __webpack_require__(1)("10ffa6fa", content, true);
7913
+ var update = __webpack_require__(2)("10ffa6fa", content, true);
6872
7914
 
6873
7915
  /***/ }),
6874
- /* 51 */
7916
+ /* 57 */
6875
7917
  /***/ (function(module, exports, __webpack_require__) {
6876
7918
 
6877
- exports = module.exports = __webpack_require__(0)(false);
7919
+ exports = module.exports = __webpack_require__(1)(false);
6878
7920
  // imports
6879
7921
 
6880
7922
 
@@ -6885,14 +7927,14 @@ exports.push([module.i, "[data-v-74bd151f].export-modal .ivu-modal-body,[data-v-
6885
7927
 
6886
7928
 
6887
7929
  /***/ }),
6888
- /* 52 */
7930
+ /* 58 */
6889
7931
  /***/ (function(module, exports, __webpack_require__) {
6890
7932
 
6891
7933
  "use strict";
6892
7934
 
6893
7935
 
6894
- var utils = __webpack_require__(12);
6895
- var formats = __webpack_require__(13);
7936
+ var utils = __webpack_require__(13);
7937
+ var formats = __webpack_require__(14);
6896
7938
 
6897
7939
  var arrayPrefixGenerators = {
6898
7940
  brackets: function brackets(prefix) {
@@ -7109,13 +8151,13 @@ module.exports = function (object, opts) {
7109
8151
 
7110
8152
 
7111
8153
  /***/ }),
7112
- /* 53 */
8154
+ /* 59 */
7113
8155
  /***/ (function(module, exports, __webpack_require__) {
7114
8156
 
7115
8157
  "use strict";
7116
8158
 
7117
8159
 
7118
- var utils = __webpack_require__(12);
8160
+ var utils = __webpack_require__(13);
7119
8161
 
7120
8162
  var has = Object.prototype.hasOwnProperty;
7121
8163
 
@@ -7291,7 +8333,7 @@ module.exports = function (str, opts) {
7291
8333
 
7292
8334
 
7293
8335
  /***/ }),
7294
- /* 54 */
8336
+ /* 60 */
7295
8337
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7296
8338
 
7297
8339
  "use strict";
@@ -7301,17 +8343,17 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
7301
8343
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
7302
8344
 
7303
8345
  /***/ }),
7304
- /* 55 */
8346
+ /* 61 */
7305
8347
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7306
8348
 
7307
8349
  "use strict";
7308
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_data_opt_vue__ = __webpack_require__(14);
8350
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_data_opt_vue__ = __webpack_require__(15);
7309
8351
  /* unused harmony namespace reexport */
7310
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_163200f3_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_data_opt_vue__ = __webpack_require__(59);
8352
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_163200f3_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_data_opt_vue__ = __webpack_require__(65);
7311
8353
  function injectStyle (ssrContext) {
7312
- __webpack_require__(56)
8354
+ __webpack_require__(62)
7313
8355
  }
7314
- var normalizeComponent = __webpack_require__(2)
8356
+ var normalizeComponent = __webpack_require__(0)
7315
8357
  /* script */
7316
8358
 
7317
8359
 
@@ -7338,23 +8380,23 @@ var Component = normalizeComponent(
7338
8380
 
7339
8381
 
7340
8382
  /***/ }),
7341
- /* 56 */
8383
+ /* 62 */
7342
8384
  /***/ (function(module, exports, __webpack_require__) {
7343
8385
 
7344
8386
  // style-loader: Adds some css to the DOM by adding a <style> tag
7345
8387
 
7346
8388
  // load the styles
7347
- var content = __webpack_require__(57);
8389
+ var content = __webpack_require__(63);
7348
8390
  if(typeof content === 'string') content = [[module.i, content, '']];
7349
8391
  if(content.locals) module.exports = content.locals;
7350
8392
  // add the styles to the DOM
7351
- var update = __webpack_require__(1)("389fe406", content, true);
8393
+ var update = __webpack_require__(2)("389fe406", content, true);
7352
8394
 
7353
8395
  /***/ }),
7354
- /* 57 */
8396
+ /* 63 */
7355
8397
  /***/ (function(module, exports, __webpack_require__) {
7356
8398
 
7357
- exports = module.exports = __webpack_require__(0)(false);
8399
+ exports = module.exports = __webpack_require__(1)(false);
7358
8400
  // imports
7359
8401
 
7360
8402
 
@@ -7365,7 +8407,7 @@ exports.push([module.i, "[data-v-163200f3].export-modal .ivu-modal-body,[data-v-
7365
8407
 
7366
8408
 
7367
8409
  /***/ }),
7368
- /* 58 */
8410
+ /* 64 */
7369
8411
  /***/ (function(module, exports, __webpack_require__) {
7370
8412
 
7371
8413
  !function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define("sd-table-grid",[],e):"object"==typeof exports?exports["sd-table-grid"]=e():t["sd-table-grid"]=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:!1,exports:{}};return t[a].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,a){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:a})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=16)}([function(t,e,r){"use strict";var a=r(22);e.a={data:function(){return{customShowList:[],showModal:!1,modalStatus:!1,dataGridLoad:!1,comModelProps:null,comModel:null,modelShowFields:null,dataGridColumns:[],gridData:[],queryFields:[],hiddenQueryFields:[],filterFields:{},pageNo:1,pageSize:10,pageSizeOpts:[10,20,50,100],labelWidth:120,totalNum:0,orderKey:[],orderType:[],quickFilter:[],batch_select:[],multiColSetShow:!1,column:[],slotColumn:[],funcAuth:[],showOper:!0,hasRowOper:!1,headOper:[],headOperBatch:[],rowOper:[],rowOperBatch:[],iframeUrl:"",iframeComponent:"",gridExportOptStatus:!1,gridExportDataStatus:!1,gridExportDataRequestParams:null,gridDataRequestParams:null,modalId:"",modalTitle:"",modalWidth:1e3,modalHeight:600,searchShow:!1,pageSearch:!0,showCheckbox:!1,loading:!0,dataGridId:"",clearCache:"",browsePerm:!0,dataGridWidth:0,dataGridHeight:-1,searchType:"01",errorMsg:"",dbType:"",exportMaxCount:0}},mixins:[a.a],methods:{query_grid_data:function(t){var e=this;this.loading=!0,t&&(this.pageNo=t);var r=this.getGridRequestParams();console.log(r,"params"),this.$store.dispatch("postRequest",{url:"/bsp-com/com/datagrid/getQueryPageData",params:r}).then(function(t){t.success&&(e.beforeRender?e.beforeRender(t).then(function(t){t.success&&e.initRenderData(t.rows,t.total)}):e.initRenderData(t.rows,t.total))})},getGridRequestParams:function(){var t=this,e={modelId:this.comModel.mark,pageNo:this.pageNo,pageSize:this.pageSize,browsePerm:this.browsePerm},r=[],a=this.build_query_condis(),i=this.build_filter_condis();i.length>0&&(r=r.concat(i)),a.length>0&&(r=r.concat(a)),r.length>0&&(e.condis=JSON.stringify(r));var o=this.get_quick_filter();o&&""!==o&&(e.quickFilterSql=o);var n=[];return this.orderKey.length>0&&this.orderKey.forEach(function(e){var r=t.chineseSort[e];r?n.push(r):n.push(e)}),e.sortName=n.join(","),e.sortType=this.orderType.join(","),Object.keys(this.extendParams).length>0?e.extendParams=JSON.stringify(this.extendParams):Object.keys(this.params).length>0&&(e.extendParams=JSON.stringify(this.params)),e},initRenderData:function(t,e){this.gridData=t,this.totalNum=e;var r=this.modelShowFields.filter(function(t){return t.attachProps&&JSON.parse(t.attachProps)&&JSON.parse(t.attachProps)._disabled});this.gridData&&this.gridData.length>0&&this.gridData.forEach(function(t){r.forEach(function(e){JSON.parse(e.attachProps)._disabledValue==t[e.name.toLowerCase()]&&(t._disabled=!0)})}),this.batch_select=[],this.loading=!1},refreshGrid:function(t){this.query_grid_data(t)},get_quick_filter:function(){var t=[];return this.quickFilter.forEach(function(e){var r=[];e.forEach(function(t){"1"===t.isDefault&&t.filterSql&&r.push(t.filterSql)}),r.length>0&&t.push(r.join(" or "))}),t.join(" and ")},build_query_condis:function(){var t=[],e=this.queryFields.concat(),r=this;if(this.hiddenQueryFields.length>0){var a=[],i=Object.assign({},this.$route.query,this.params),o={user:this.$store.getters.sessionUser,req:i};this.hiddenQueryFields.forEach(function(t){var e=Object.assign({},t),i=e.defaultValue?e.defaultValue.trim():"",n=r.template(i,o);""!==n&&(e.searchValue=n),e.startDefault&&(e.start=r.template(e.startDefault.trim(),o)),e.endDefault&&(e.end=r.template(e.endDefault.trim(),o)),a.push(e)}),a.length>0&&e.push(a)}return e.forEach(function(e){e.forEach(function(e){if("between"===e.opName){if(e.start){var r={name:e.name,op:">=",value:e.start,valueType:e.valueType};t.push(r)}if(e.end){var a=e.end;16===a.length&&"datetime"===e.valueType?a+=":59":14===a.length&&"datetime"===e.valueType&&(a+=":59:59");var i={name:e.name,op:"<=",value:a,valueType:e.valueType};t.push(i)}}else if(e.searchValue instanceof Array){if(e.searchValue.length>0){var o={name:e.name,op:"dicmultiple",value:e.searchValue.join(","),valueType:e.valueType};t.push(o)}}else if(e.searchValue){var n={name:e.name,op:e.opName,value:e.searchValue,valueType:e.valueType};e.isDicMultiple&&(n.op="dicmultiple"),t.push(n)}})}),t},build_filter_condis:function(){var t={};Object.assign(t,this.filterFields);var e=[];for(var r in t){if(t[r].length>0){var a="=";t[r].length>1&&(a="dicmultiple");var i={name:r,op:a,value:t[r].join(","),valueType:"string"};e.push(i)}}return e},on_batch_select:function(t){this.batch_select=t},isAuth:function(t){return!t||""===t}}}},function(t,e){function r(t,e){var r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=a(i);return[r].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[r].join("\n")}function a(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=r(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var n=t[i];"number"==typeof n[0]&&a[n[0]]||(r&&!n[2]?n[2]=r:r&&(n[2]="("+n[2]+") and ("+r+")"),e.push(n))}},e}},function(t,e,r){function a(t){for(var e=0;e<t.length;e++){var r=t[e],a=d[r.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](r.parts[i]);for(;i<r.parts.length;i++)a.parts.push(o(r.parts[i]));a.parts.length>r.parts.length&&(a.parts.length=r.parts.length)}else{for(var n=[],i=0;i<r.parts.length;i++)n.push(o(r.parts[i]));d[r.id]={id:r.id,refs:1,parts:n}}}}function i(){var t=document.createElement("style");return t.type="text/css",u.appendChild(t),t}function o(t){var e,r,a=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(a){if(h)return m;a.parentNode.removeChild(a)}if(v){var o=f++;a=p||(p=i()),e=n.bind(null,a,o,!1),r=n.bind(null,a,o,!0)}else a=i(),e=s.bind(null,a),r=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else r()}}function n(t,e,r,a){var i=r?"":a.css;if(t.styleSheet)t.styleSheet.cssText=g(e,i);else{var o=document.createTextNode(i),n=t.childNodes;n[e]&&t.removeChild(n[e]),n.length?t.insertBefore(o,n[e]):t.appendChild(o)}}function s(t,e){var r=e.css,a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=r(19),d={},u=l&&(document.head||document.getElementsByTagName("head")[0]),p=null,f=0,h=!1,m=function(){},v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,r){h=r;var i=c(t,e);return a(i),function(e){for(var r=[],o=0;o<i.length;o++){var n=i[o],s=d[n.id];s.refs--,r.push(s)}e?(i=c(t,e),a(i)):i=[];for(var o=0;o<r.length;o++){var s=r[o];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete d[s.id]}}}};var g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e,r,a,i,o){var n,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(n=t,s=t.default);var c="function"==typeof s?s.options:s;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i);var d;if(o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=d):a&&(d=a),d){var u=c.functional,p=u?c.render:c.beforeCreate;u?(c._injectStyles=d,c.render=function(t,e){return d.call(e),p(t,e)}):c.beforeCreate=p?[].concat(p,d):[d]}return{esModule:n,exports:s,options:c}}},function(t,e,r){"use strict";/*!
@@ -7384,7 +8426,7 @@ function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function i(){re
7384
8426
  //# sourceMappingURL=sd-table-grid.js.map
7385
8427
 
7386
8428
  /***/ }),
7387
- /* 59 */
8429
+ /* 65 */
7388
8430
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7389
8431
 
7390
8432
  "use strict";
@@ -7394,17 +8436,17 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
7394
8436
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
7395
8437
 
7396
8438
  /***/ }),
7397
- /* 60 */
8439
+ /* 66 */
7398
8440
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7399
8441
 
7400
8442
  "use strict";
7401
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_print_opt_vue__ = __webpack_require__(15);
8443
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_print_opt_vue__ = __webpack_require__(16);
7402
8444
  /* unused harmony namespace reexport */
7403
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5add0429_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_print_opt_vue__ = __webpack_require__(66);
8445
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5add0429_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_print_opt_vue__ = __webpack_require__(72);
7404
8446
  function injectStyle (ssrContext) {
7405
- __webpack_require__(61)
8447
+ __webpack_require__(67)
7406
8448
  }
7407
- var normalizeComponent = __webpack_require__(2)
8449
+ var normalizeComponent = __webpack_require__(0)
7408
8450
  /* script */
7409
8451
 
7410
8452
 
@@ -7431,23 +8473,23 @@ var Component = normalizeComponent(
7431
8473
 
7432
8474
 
7433
8475
  /***/ }),
7434
- /* 61 */
8476
+ /* 67 */
7435
8477
  /***/ (function(module, exports, __webpack_require__) {
7436
8478
 
7437
8479
  // style-loader: Adds some css to the DOM by adding a <style> tag
7438
8480
 
7439
8481
  // load the styles
7440
- var content = __webpack_require__(62);
8482
+ var content = __webpack_require__(68);
7441
8483
  if(typeof content === 'string') content = [[module.i, content, '']];
7442
8484
  if(content.locals) module.exports = content.locals;
7443
8485
  // add the styles to the DOM
7444
- var update = __webpack_require__(1)("b85cb7a4", content, true);
8486
+ var update = __webpack_require__(2)("b85cb7a4", content, true);
7445
8487
 
7446
8488
  /***/ }),
7447
- /* 62 */
8489
+ /* 68 */
7448
8490
  /***/ (function(module, exports, __webpack_require__) {
7449
8491
 
7450
- exports = module.exports = __webpack_require__(0)(false);
8492
+ exports = module.exports = __webpack_require__(1)(false);
7451
8493
  // imports
7452
8494
 
7453
8495
 
@@ -7458,11 +8500,11 @@ exports.push([module.i, "[data-v-5add0429].export-modal .ivu-modal-body,[data-v-
7458
8500
 
7459
8501
 
7460
8502
  /***/ }),
7461
- /* 63 */
8503
+ /* 69 */
7462
8504
  /***/ (function(module, exports, __webpack_require__) {
7463
8505
 
7464
- var v1 = __webpack_require__(64);
7465
- var v4 = __webpack_require__(65);
8506
+ var v1 = __webpack_require__(70);
8507
+ var v4 = __webpack_require__(71);
7466
8508
 
7467
8509
  var uuid = v4;
7468
8510
  uuid.v1 = v1;
@@ -7472,11 +8514,11 @@ module.exports = uuid;
7472
8514
 
7473
8515
 
7474
8516
  /***/ }),
7475
- /* 64 */
8517
+ /* 70 */
7476
8518
  /***/ (function(module, exports, __webpack_require__) {
7477
8519
 
7478
- var rng = __webpack_require__(16);
7479
- var bytesToUuid = __webpack_require__(17);
8520
+ var rng = __webpack_require__(17);
8521
+ var bytesToUuid = __webpack_require__(18);
7480
8522
 
7481
8523
  // **`v1()` - Generate time-based UUID**
7482
8524
  //
@@ -7587,11 +8629,11 @@ module.exports = v1;
7587
8629
 
7588
8630
 
7589
8631
  /***/ }),
7590
- /* 65 */
8632
+ /* 71 */
7591
8633
  /***/ (function(module, exports, __webpack_require__) {
7592
8634
 
7593
- var rng = __webpack_require__(16);
7594
- var bytesToUuid = __webpack_require__(17);
8635
+ var rng = __webpack_require__(17);
8636
+ var bytesToUuid = __webpack_require__(18);
7595
8637
 
7596
8638
  function v4(options, buf, offset) {
7597
8639
  var i = buf && offset || 0;
@@ -7622,7 +8664,7 @@ module.exports = v4;
7622
8664
 
7623
8665
 
7624
8666
  /***/ }),
7625
- /* 66 */
8667
+ /* 72 */
7626
8668
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7627
8669
 
7628
8670
  "use strict";
@@ -7632,7 +8674,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
7632
8674
  /* harmony default export */ __webpack_exports__["a"] = (esExports);
7633
8675
 
7634
8676
  /***/ }),
7635
- /* 67 */
8677
+ /* 73 */
7636
8678
  /***/ (function(module, exports, __webpack_require__) {
7637
8679
 
7638
8680
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8441,7 +9483,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
8441
9483
  //# sourceMappingURL=sd-area-select-new.js.map
8442
9484
 
8443
9485
  /***/ }),
8444
- /* 68 */
9486
+ /* 74 */
8445
9487
  /***/ (function(module, exports, __webpack_require__) {
8446
9488
 
8447
9489
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8829,7 +9871,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
8829
9871
  //# sourceMappingURL=sd-cascader.js.map
8830
9872
 
8831
9873
  /***/ }),
8832
- /* 69 */
9874
+ /* 75 */
8833
9875
  /***/ (function(module, exports, __webpack_require__) {
8834
9876
 
8835
9877
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -9614,7 +10656,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
9614
10656
  //# sourceMappingURL=sd-area-tree-select-new.js.map
9615
10657
 
9616
10658
  /***/ }),
9617
- /* 70 */
10659
+ /* 76 */
9618
10660
  /***/ (function(module, exports, __webpack_require__) {
9619
10661
 
9620
10662
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -10453,7 +11495,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
10453
11495
  //# sourceMappingURL=sd-ay-tree-select.js.map
10454
11496
 
10455
11497
  /***/ }),
10456
- /* 71 */
11498
+ /* 77 */
10457
11499
  /***/ (function(module, exports, __webpack_require__) {
10458
11500
 
10459
11501
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -19305,18 +20347,111 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
19305
20347
  //# sourceMappingURL=sd-dic-manage.js.map
19306
20348
 
19307
20349
  /***/ }),
19308
- /* 72 */
20350
+ /* 78 */
19309
20351
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19310
20352
 
19311
20353
  "use strict";
19312
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"DataGrid-BOX"},[(_vm.displayQuery && _vm.searchShow && _vm.searchType === '02')?_c('Form',{staticClass:"formbox-simple",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_c('div',{staticClass:"searchBox steylehang",staticStyle:{"float":"left"}},[_vm._l((_vm.queryFields[0]),function(condi,idx){return _c('div',{key:idx},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,style:({ 'width': (condi.width ? condi.width + 'px' : '100%') }),attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{style:({ 'width': (condi.width ? condi.width + 'px' : '100%') }),attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '150px') }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '150px') }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '150px') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,style:({ 'width': (condi.width ? condi.width + 'px' : '210px') }),attrs:{"ajlx":_vm.params.ajlx?_vm.params.ajlx:'02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',[_c('Input',{key:idx,style:({ 'width': (condi.width ? condi.width + 'px' : '150px') }),attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('Input',{key:idx,style:({ 'width': (condi.width ? condi.width + 'px' : '150px') }),attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,style:({ 'width': (condi.width ? condi.width + 'px' : '100%') }),attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),_vm._v(" "),_c('div',{staticClass:"btnBox"},[_c('Button',{staticClass:"button btn1",attrs:{"type":"primary"},on:{"click":function($event){return _vm.query_grid_data(1);}}},[_vm._v("查询")]),_vm._v(" "),_c('Button',{staticClass:"button btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.reset_query_condis()}}},[_vm._v("重置")])],1)],2)]):_vm._e(),_vm._v(" "),(_vm.displayQuery && _vm.searchShow && _vm.searchType === '01')?_c('Form',{staticClass:"formbox",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_vm._l((_vm.queryFields),function(condis,index){return [_c('div',{key:index,staticClass:"searchBox",class:'style' + _vm.comModelProps.queryLineNums},_vm._l((condis),function(condi,idx){return _c('div',{key:idx},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"ajlx":_vm.params.ajlx?_vm.params.ajlx:'02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,style:({ 'width': (condi.width && condi.width > 1 ? condi.width + '%' : '100%') }),attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1);}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),0)]}),_vm._v(" "),_c('div',{staticClass:"btnBox",staticStyle:{"text-align":"center"}},[_c('Button',{staticClass:"button btn",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.reset_query_condis()}}},[_vm._v("重置")]),_vm._v(" "),_c('Button',{staticClass:"button btn1",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.query_grid_data(1);}}},[_vm._v("查询")])],1)],2):_vm._e(),_vm._v(" "),((_vm.quickFilter && _vm.quickFilter.length > 0) || ((_vm.headOper && _vm.headOper.length > 0) && _vm.showOper))?_c('div',{class:['titleNav', _vm.quickFilter && _vm.quickFilter.length > 0 ? 'hale' : 'nohale']},[_c('div',{staticClass:"navleft"},[(_vm.customFunc && _vm.showOper)?_c('div',[_vm._t("customHeadFunc",null,{"func":_vm.funcAuth}),_vm._v(" "),_vm._l((_vm.headOper),function(oper){return (!_vm.isAuth(oper.auth))?[(oper.operType === 'EXPORT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headExportOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1),_vm._v(" "),(_vm.asyncExportTotal > 0)?_c('Button',{key:"DATAEXPORTKey",staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-download',"size":"18"}}),_vm._v("导出数据下载\n\t\t\t\t\t\t\t")],1):_vm._e()]:_vm._e(),_vm._v(" "),(oper.operType === 'PRINT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headPrintOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-print',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:_vm._e()]:_vm._e()})],2):_vm._e(),_vm._v(" "),(!_vm.customFunc && _vm.showOper)?[_vm._l((_vm.headOper),function(oper){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"oper":oper}):(oper.operType === 'ADD')?[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.headAddOper(oper.mark)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-add',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DELETE')?[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"error"},on:{"click":function($event){return _vm.headDeleteOper(oper.mark, oper.url)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'ios-trash-outline',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:(oper.operType === 'REFRESH')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headRefreshOper(1)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-refresh',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:(oper.operType === 'EXPORT')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headExportOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1),_vm._v(" "),(_vm.asyncExportTotal > 0)?_c('Button',{key:"DATAEXPORT",staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-download',"size":"18"}}),_vm._v("导出数据下载\n\t\t\t\t\t\t\t")],1):_vm._e()]:(oper.operType === 'DATAEXPORT')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:(oper.operType === 'PRINT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headPrintOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-print',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]:[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.headDealFunction(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t")],1)]]:_vm._e()}),_vm._v(" "),(_vm.headOperBatch.length > 0)?_c('Dropdown',{attrs:{"placement":"bottom","trigger":"click","transfer":""}},[_c('Button',{staticStyle:{"font-size":"15px","margin-right":"10px","margin-top":"5px"},attrs:{"type":"info"}},[_vm._v("\n\t\t\t\t\t\t\t操 作"),_c('Icon',{staticStyle:{"margin-left":"2px"},attrs:{"size":"20","type":"ios-arrow-down"}})],1),_vm._v(" "),_c('DropdownMenu',{staticClass:"data-grid-bsp",staticStyle:{"text-align":"center"},attrs:{"slot":"list"},slot:"list"},[_vm._l((_vm.headOperBatch),function(oper,idx){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"oper":oper}):(oper.operType === 'ADD')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headAddOper(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DELETE')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headDeleteOper(oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'REFRESH')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headRefreshOper(1)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'EXPORT')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headExportOper()}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t")],1)]:[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headDealFunction(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t")],1)]]:_vm._e()})],2)],1):_vm._e()]:_vm._e()],2),_vm._v(" "),(_vm.quickFilter && _vm.quickFilter.length > 0 && _vm.rightShowTabs)?_c('div',{staticClass:"navright"},[_vm._l((_vm.quickFilter),function(filters,index){return [_c('div',{key:'filter_div' + index,staticClass:"navlist",class:{ After: index > 0 }},_vm._l((filters),function(item,idx){return _c('span',{key:'filter' + item.id,class:{ active: item.isDefault === '1' },attrs:{"match":item.groupMatchValue},on:{"click":function($event){return _vm.change_quick_filter(index, idx, item.label)}}},[_vm._v("\n\t\t\t\t\t\t\t"+_vm._s(item.label)),(_vm.comModel.groupStat)?[_vm._v("("+_vm._s(item.groupNum ? item.groupNum :
19313
- 0)+")")]:_vm._e()],2)}),0)]})],2):_vm._e()]):_vm._e(),_vm._v(" "),(_vm.errorMsg === '')?_c('div',{staticStyle:{"width":"100%"},attrs:{"id":_vm.dataGridId}},[_c('Table',{ref:"sdtable",attrs:{"loading":_vm.loading,"tooltip-theme":"light","tooltip-max-width":300,"height":_vm.externalHeight !== null ? _vm.externalHeight : (_vm.dataGridHeight ? _vm.dataGridHeight : '85px'),"columns":_vm.dataGridColumns,"data":_vm.gridData,"stripe":"","border":""},on:{"on-row-dblclick":_vm.on_row_dblclick,"on-sort-change":_vm.on_sort_change,"on-row-click":_vm.on_row_click,"on-selection-change":_vm.on_batch_select},scopedSlots:_vm._u([_vm._l((_vm.slotColumn),function(sc){return {key:sc.slot,fn:function(ref){
19314
- var row = ref.row;
19315
- var index = ref.index;
20354
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_more_search_vue__ = __webpack_require__(19);
20355
+ /* unused harmony namespace reexport */
20356
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_50e980cd_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_more_search_vue__ = __webpack_require__(83);
20357
+ function injectStyle (ssrContext) {
20358
+ __webpack_require__(79)
20359
+ }
20360
+ var normalizeComponent = __webpack_require__(0)
20361
+ /* script */
20362
+
20363
+
20364
+ /* template */
20365
+
20366
+ /* template functional */
20367
+ var __vue_template_functional__ = false
20368
+ /* styles */
20369
+ var __vue_styles__ = injectStyle
20370
+ /* scopeId */
20371
+ var __vue_scopeId__ = "data-v-50e980cd"
20372
+ /* moduleIdentifier (server only) */
20373
+ var __vue_module_identifier__ = null
20374
+ var Component = normalizeComponent(
20375
+ __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_grid_more_search_vue__["a" /* default */],
20376
+ __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_50e980cd_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_grid_more_search_vue__["a" /* default */],
20377
+ __vue_template_functional__,
20378
+ __vue_styles__,
20379
+ __vue_scopeId__,
20380
+ __vue_module_identifier__
20381
+ )
20382
+
20383
+ /* harmony default export */ __webpack_exports__["a"] = (Component.exports);
20384
+
20385
+
20386
+ /***/ }),
20387
+ /* 79 */
20388
+ /***/ (function(module, exports, __webpack_require__) {
20389
+
20390
+ // style-loader: Adds some css to the DOM by adding a <style> tag
20391
+
20392
+ // load the styles
20393
+ var content = __webpack_require__(80);
20394
+ if(typeof content === 'string') content = [[module.i, content, '']];
20395
+ if(content.locals) module.exports = content.locals;
20396
+ // add the styles to the DOM
20397
+ var update = __webpack_require__(2)("a4f6c1e0", content, true);
20398
+
20399
+ /***/ }),
20400
+ /* 80 */
20401
+ /***/ (function(module, exports, __webpack_require__) {
20402
+
20403
+ exports = module.exports = __webpack_require__(1)(false);
20404
+ // imports
20405
+
20406
+
20407
+ // module
20408
+ exports.push([module.i, ".search-content-select[data-v-50e980cd]{display:flex;align-items:center;justify-content:space-between}.search-content-select-main[data-v-50e980cd]{display:flex;align-items:center;flex-wrap:wrap}.searchBox.style4[data-v-50e980cd]{display:flex;flex-wrap:wrap}.select-content[data-v-50e980cd]{background:linear-gradient(90deg,#115fc6,#56bbff);color:#fff;padding:6px 10px;margin-right:10px;margin-bottom:10px;border-radius:6px;cursor:pointer;height:42px}.select-content i[data-v-50e980cd]{font-style:normal}.select-content/deep/.sp-base[data-v-50e980cd],.select-content/deep/.sp-selected-tag[data-v-50e980cd]{background:transparent!important;border:none!important;color:#fff!important}.select-content/deep/.sp-button[data-v-50e980cd]{display:none!important}.textOverflowBsp[data-v-50e980cd]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ivu-form-item[data-v-50e980cd]{margin-bottom:10px!important}", ""]);
20409
+
20410
+ // exports
20411
+
20412
+
20413
+ /***/ }),
20414
+ /* 81 */
20415
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20416
+
20417
+ "use strict";
20418
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('CheckboxGroup',{on:{"on-change":_vm.getSelect},model:{value:(_vm.selectValue),callback:function ($$v) {_vm.selectValue=$$v},expression:"selectValue"}},_vm._l((_vm.dicList),function(ele,index){return _c('Checkbox',{key:ele.code,attrs:{"label":ele.code}},[_vm._v(_vm._s(ele.name))])}),1)],1)}
20419
+ var staticRenderFns = []
20420
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
20421
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
20422
+
20423
+ /***/ }),
20424
+ /* 82 */
20425
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20426
+
20427
+ "use strict";
20428
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('RadioGroup',{on:{"on-change":_vm.getSelect},model:{value:(_vm.selectValue),callback:function ($$v) {_vm.selectValue=$$v},expression:"selectValue"}},_vm._l((_vm.dicList),function(ele,index){return _c('Radio',{key:index,attrs:{"label":ele.code}},[_vm._v(_vm._s(ele.name))])}),1)],1)}
20429
+ var staticRenderFns = []
20430
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
20431
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
20432
+
20433
+ /***/ }),
20434
+ /* 83 */
20435
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20436
+
20437
+ "use strict";
20438
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Modal',{attrs:{"width":_vm.modalWidth,"class-name":"export-modal","closable":false,"mask-closable":false},model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c('div',{staticClass:"flow-modal-title",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"17px"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(" "),_c('span',{staticStyle:{"position":"absolute","right":"6px","cursor":"pointer"},on:{"click":function($event){return _vm.closeModal()}}},[_c('i',{staticClass:"ivu-icon ivu-icon-ios-close"})])]),_vm._v(" "),_c('div',{staticClass:"search-content"},[_c('p',{staticClass:"search-content-select"},[_c('span',[_vm._v("已筛选条件:")]),_c('Button',{attrs:{"type":"error"},on:{"click":_vm.closeAll}},[_vm._v("清空")])],1),_vm._v(" "),_c('div',{staticClass:"search-content-select-main"},[_vm._l((_vm.complexQueryConfigAll),function(ele,order){return _vm._l((ele.fields),function(item,index){return (item.searchValue || (item.opName == 'between' && (item.start || item.end)))?_c('p',{staticClass:"select-content",staticStyle:{"display":"flex","align-items":"center","font-size":"14px !important"},attrs:{"closable":""}},[_c('span',{staticClass:"textOverflowBsp",staticStyle:{"min-width":"80px","display":"inline-block","font-size":"14px"},attrs:{"title":item.label}},[_vm._v(_vm._s(item.label)+":"),(item.searchValue && !item.dicInfo)?_c('i',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(item.searchValue))]):_vm._e(),_vm._v(" "),(item.start)?_c('i',[_vm._v(" "+_vm._s(_vm.dayjs(item.start).format('YYYY-MM-DD HH:mm:ss'))+"-")]):_vm._e(),(item.end)?_c('i',[_vm._v(_vm._s(_vm.dayjs(item.end).format('YYYY-MM-DD HH:mm:ss')))]):_vm._e()]),_vm._v(" "),(item.searchValue && item.dicInfo)?_c('s-dicgrid',{attrs:{"disabled":"","multiple":item.isDicMultiple,"dicName":item.dicInfo},model:{value:(item.searchValue),callback:function ($$v) {_vm.$set(item, "searchValue", $$v)},expression:"item.searchValue"}}):_vm._e(),_vm._v("\n    "),_c('Icon',{attrs:{"type":"md-close-circle"},on:{"click":function($event){return _vm.closeItem(order, index, item)}}})],1):_vm._e()})})],2),_vm._v(" "),_c('Collapse',{model:{value:(_vm.searchType),callback:function ($$v) {_vm.searchType=$$v},expression:"searchType"}},_vm._l((_vm.complexQueryConfigAll),function(item,order){return _c('Panel',{attrs:{"name":order + ''}},[_vm._v("\n "+_vm._s(item.groupName)+"\n "),_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('Form',{staticClass:"formbox",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_c('div',{key:order,staticClass:"searchBox",class:'style' + _vm.comModelProps.queryLineNums},_vm._l((item.fields),function(condi,idx){return _c('div',{key:idx,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '31%' })},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '13' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('data-checkbox',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '12' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('data-radio',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,staticStyle:{"width":"100%"},attrs:{"ajlx":_vm.params.ajlx ? _vm.params.ajlx : '02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),0)])],1)])}),1)],1),_vm._v(" "),_c('div',{staticClass:"model-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('Button',{on:{"click":_vm.closeModal}},[_vm._v("取消")]),_vm._v(" "),_c('Button',{attrs:{"type":"primary","loading":_vm.modal_loading},on:{"click":_vm.confirmExport}},[_vm._v("立即检索")])],1)])}
20439
+ var staticRenderFns = []
20440
+ var esExports = { render: render, staticRenderFns: staticRenderFns }
20441
+ /* harmony default export */ __webpack_exports__["a"] = (esExports);
20442
+
20443
+ /***/ }),
20444
+ /* 84 */
20445
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20446
+
20447
+ "use strict";
20448
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"DataGrid-BOX"},[(_vm.displayQuery && _vm.searchShow && _vm.searchType === '02')?_c('Form',{staticClass:"formbox-simple",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_c('div',{staticClass:"searchBox steylehang",staticStyle:{"float":"left"}},[_vm._l((_vm.queryFields[0]),function(condi,idx){return _c('div',{key:idx},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,style:({ width: condi.width ? condi.width + 'px' : '100%' }),attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{style:({ width: condi.width ? condi.width + 'px' : '100%' }),attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '150px' }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '150px' }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '150px' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '210px' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '210px' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '210px' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{style:({ width: condi.width ? condi.width + 'px' : '210px' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,style:({ width: condi.width ? condi.width + 'px' : '210px' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,style:({ width: condi.width ? condi.width + 'px' : '210px' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,style:({ width: condi.width ? condi.width + 'px' : '210px' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,style:({ width: condi.width ? condi.width + 'px' : '210px' }),attrs:{"ajlx":_vm.params.ajlx ? _vm.params.ajlx : '02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',[_c('Input',{key:idx,style:({ width: condi.width ? condi.width + 'px' : '150px' }),attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"}},[_vm._v(" 至 ")]),_vm._v(" "),_c('Col',[_c('Input',{key:idx,style:({ width: condi.width ? condi.width + 'px' : '150px' }),attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,style:({ width: condi.width ? condi.width + 'px' : '100%' }),attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),_vm._v(" "),_c('div',{staticClass:"btnBox"},[_c('Button',{staticClass:"button btn1",attrs:{"type":"primary"},on:{"click":function($event){return _vm.query_grid_data(1)}}},[_vm._v("查询")]),_vm._v(" "),_c('Button',{staticClass:"button btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.reset_query_condis()}}},[_vm._v("重置")])],1)],2)]):_vm._e(),_vm._v(" "),(_vm.displayQuery && _vm.searchShow && _vm.searchType === '01')?_c('Form',{staticClass:"formbox",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_vm._l((_vm.queryFields),function(condis,index){return [_c('div',{key:index,staticClass:"searchBox",class:'style' + _vm.comModelProps.queryLineNums},_vm._l((condis),function(condi,idx){return _c('div',{key:idx},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"ajlx":_vm.params.ajlx ? _vm.params.ajlx : '02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '100%' }),attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),0)]}),_vm._v(" "),_c('div',{staticClass:"btnBox",staticStyle:{"text-align":"center"}},[_c('Button',{staticClass:"button btn",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.reset_query_condis()}}},[_vm._v("重置")]),_vm._v(" "),_c('Button',{staticClass:"button btn1",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.query_grid_data(1)}}},[_vm._v("查询")])],1)],2):_vm._e(),_vm._v(" "),(_vm.displayQuery && _vm.searchShow && _vm.searchType === '03')?_c('Form',{staticClass:"formbox",attrs:{"label-width":_vm.labelWidth},nativeOn:{"submit":function($event){$event.preventDefault();}}},[_vm._l((_vm.queryFields),function(condis,index){return [_c('div',{key:index,staticClass:"searchBox",class:'style' + _vm.comModelProps.queryLineNums},_vm._l((condis),function(condi,idx){return _c('div',{key:idx,style:({ width: condi.width && condi.width > 1 ? condi.width + '%' : '31%' })},[_c('FormItem',{attrs:{"label":condi.description + ':'}},[(_vm.$scopedSlots[condi.queryId])?_vm._t(condi.queryId,null,{"condi":condi}):[(condi.controlTypeName === '02' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('s-dicgrid',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '02' && condi.dicType === '3')?[_c('Select',{staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"clearable":"","placeholder":"请选择"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}},_vm._l((condi.option),function(item){return _c('Option',{key:item.key,attrs:{"value":item.key}},[_vm._v(_vm._s(item.text))])}),1)]:(condi.controlTypeName === '13' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('data-checkbox',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '12' && (condi.dicType === '0' || condi.dicType === '1'))?[_c('data-radio',{key:idx,ref:"dicGrid",refInFor:true,staticStyle:{"width":"100%"},attrs:{"multiple":condi.isDicMultiple,"dicName":condi.dicInfo},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '03' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 1),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"开始日期"},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","picker-options":_vm.pickerOptions(condi, 2),"format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"结束日期"},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '03')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM-dd","size":"small","type":"date","placeholder":"选择日期"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '04' && condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"开始时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"结束时间"},on:{"change":function($event){return _vm.compareDateTime(condi, 2)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:(condi.controlTypeName === '04')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":condi.format,"size":"small","type":"datetime","placeholder":"选择时间"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '07')?[_c('el-date-picker',{staticStyle:{"width":"100%"},attrs:{"popper-class":"DataGrid-BOX","format":condi.format,"value-format":"yyyy-MM","size":"small","type":"month","placeholder":"选择月份"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '08')?[_c('sd-area-select-new',{ref:"refCascader",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '09')?[_c('sd-cascader',{ref:"sdCascader",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '10')?[_c('sd-area-tree-select-new',{ref:"refSdTreeSelect",refInFor:true,staticStyle:{"width":"100%"},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.controlTypeName === '11')?[_c('sd-ay-tree-select',{ref:"refSdAyTreeSelect",refInFor:true,staticStyle:{"width":"100%"},attrs:{"ajlx":_vm.params.ajlx ? _vm.params.ajlx : '02'},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]:(condi.opName === 'between')?[_c('Row',[_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":"输入起始值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.start),callback:function ($$v) {_vm.$set(condi, "start", $$v)},expression:"condi.start"}})],1),_vm._v(" "),_c('Col',{staticClass:"timeTextzhi",staticStyle:{"text-align":"center"},attrs:{"span":"2"}},[_vm._v("至")]),_vm._v(" "),_c('Col',{attrs:{"span":"11"}},[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":"输入结束值"},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},model:{value:(condi.end),callback:function ($$v) {_vm.$set(condi, "end", $$v)},expression:"condi.end"}})],1)],1)]:[_c('Input',{key:idx,staticStyle:{"width":"100%"},attrs:{"placeholder":""},on:{"on-enter":function($event){return _vm.query_grid_data(1)}},nativeOn:{"input":function($event){condi.triggerMethod == 'input' ? _vm.query_grid_data(1) : null},"change":function($event){condi.triggerMethod == 'change' ? _vm.query_grid_data(1) : null},"!blur":function($event){condi.triggerMethod == 'blur' ? _vm.query_grid_data(1) : null}},model:{value:(condi.searchValue),callback:function ($$v) {_vm.$set(condi, "searchValue", $$v)},expression:"condi.searchValue"}})]]],2)],1)}),0)]}),_vm._v(" "),_c('div',{staticClass:"btnBox",staticStyle:{"text-align":"center"}},[_c('Button',{staticClass:"button btn",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.reset_query_condis()}}},[_vm._v("重置")]),_vm._v(" "),_c('Button',{staticClass:"button btn1",staticStyle:{"font-size":"15px","padding":"0 12px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.query_grid_data(1)}}},[_vm._v("查询")]),_vm._v(" "),_c('Button',{staticClass:"button btn2",attrs:{"type":"primary"},on:{"click":_vm.resetSearch}},[_vm._v("高级查询")])],1)],2):_vm._e(),_vm._v(" "),(_vm.displayQuery && _vm.searchShow && _vm.searchType === '03')?_c('div',{staticClass:"search-content"},[_c('p',{staticClass:"search-content-select"},[_c('span',[_vm._v("已筛选条件:")]),_c('Button',{attrs:{"type":"error"},on:{"click":_vm.closeAll}},[_vm._v("清空")])],1),_vm._v(" "),_c('div',{staticClass:"search-content-select-main"},[_vm._l((_vm.complexQueryConfig),function(ele,order){return _vm._l((ele.fields),function(item,index){return (item.searchValue || (item.opName == 'between' && (item.start || item.end)))?_c('p',{staticClass:"select-content",staticStyle:{"display":"flex","align-items":"center","font-size":"14px !important"},attrs:{"closable":""}},[_c('span',{staticClass:"textOverflowBsp",staticStyle:{"min-width":"80px","display":"inline-block","font-size":"14px"},attrs:{"title":item.label}},[_vm._v(_vm._s(item.label)+":"),(item.searchValue && !item.dicInfo)?_c('i',{staticStyle:{"font-size":"16px"}},[_vm._v(_vm._s(item.searchValue))]):_vm._e(),_vm._v(" "),(item.start)?_c('i',[_vm._v(" "+_vm._s(_vm.dayjs(item.start).format('YYYY-MM-DD HH:mm:ss'))+"-")]):_vm._e(),(item.end)?_c('i',[_vm._v(_vm._s(_vm.dayjs(item.end).format('YYYY-MM-DD HH:mm:ss')))]):_vm._e()]),_vm._v(" "),(item.searchValue && item.dicInfo)?_c('s-dicgrid',{attrs:{"disabled":"","multiple":item.isDicMultiple,"dicName":item.dicInfo},model:{value:(item.searchValue),callback:function ($$v) {_vm.$set(item, "searchValue", $$v)},expression:"item.searchValue"}}):_vm._e(),_vm._v("\n    "),_c('Icon',{attrs:{"type":"md-close-circle"},on:{"click":function($event){return _vm.closeItem(order, index, item)}}})],1):_vm._e()})})],2)]):_vm._e(),_vm._v(" "),((_vm.quickFilter && _vm.quickFilter.length > 0) || (_vm.headOper && _vm.headOper.length > 0 && _vm.showOper))?_c('div',{class:['titleNav', _vm.quickFilter && _vm.quickFilter.length > 0 ? 'hale' : 'nohale']},[_c('div',{staticClass:"navleft"},[(_vm.customFunc && _vm.showOper)?_c('div',[_vm._t("customHeadFunc",null,{"func":_vm.funcAuth}),_vm._v(" "),_vm._l((_vm.headOper),function(oper){return (!_vm.isAuth(oper.auth))?[(oper.operType === 'EXPORT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headExportOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n ")],1),_vm._v(" "),(_vm.asyncExportTotal > 0)?_c('Button',{key:"DATAEXPORTKey",staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-download',"size":"18"}}),_vm._v("导出数据下载\n ")],1):_vm._e()]:_vm._e(),_vm._v(" "),(oper.operType === 'PRINT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headPrintOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-print',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n ")],1)]:_vm._e()]:_vm._e()})],2):_vm._e(),_vm._v(" "),(!_vm.customFunc && _vm.showOper)?[_vm._l((_vm.headOper),function(oper){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"oper":oper}):(oper.operType === 'ADD')?[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.headAddOper(oper.mark)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-add',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'DELETE')?[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"error"},on:{"click":function($event){return _vm.headDeleteOper(oper.mark, oper.url)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'ios-trash-outline',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'REFRESH')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headRefreshOper(1)}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-refresh',"size":"18"}}),_vm._v(_vm._s(oper.name)+" ")],1)]:(oper.operType === 'EXPORT')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headExportOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+" ")],1),_vm._v(" "),(_vm.asyncExportTotal > 0)?_c('Button',{key:"DATAEXPORT",staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-download',"size":"18"}}),_vm._v("导出数据下载\n ")],1):_vm._e()]:(oper.operType === 'DATAEXPORT')?[_c('Button',{key:oper.id,staticClass:"head-btn",on:{"click":function($event){return _vm.headDataExport()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-log-out',"size":"18"}}),_vm._v(_vm._s(oper.name)+" ")],1)]:(oper.operType === 'PRINT')?[_c('Button',{key:oper.id + 'key',staticClass:"head-btn",on:{"click":function($event){return _vm.headPrintOper()}}},[_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath ? oper.iconPath : 'md-print',"size":"18"}}),_vm._v(_vm._s(oper.name)+"\n ")],1)]:[_c('Button',{key:oper.id,staticClass:"head-btn",attrs:{"type":"primary"},on:{"click":function($event){return _vm.headDealFunction(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticClass:"Iconclass",attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]]:_vm._e()}),_vm._v(" "),(_vm.headOperBatch.length > 0)?_c('Dropdown',{attrs:{"placement":"bottom","trigger":"click","transfer":""}},[_c('Button',{staticStyle:{"font-size":"15px","margin-right":"10px","margin-top":"5px"},attrs:{"type":"info"}},[_vm._v(" 操 作"),_c('Icon',{staticStyle:{"margin-left":"2px"},attrs:{"size":"20","type":"ios-arrow-down"}})],1),_vm._v(" "),_c('DropdownMenu',{staticClass:"data-grid-bsp",staticStyle:{"text-align":"center"},attrs:{"slot":"list"},slot:"list"},[_vm._l((_vm.headOperBatch),function(oper,idx){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"oper":oper}):(oper.operType === 'ADD')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headAddOper(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'DELETE')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headDeleteOper(oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'REFRESH')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headRefreshOper(1)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'EXPORT')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headExportOper()}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0},nativeOn:{"click":function($event){return _vm.headDealFunction(oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]]:_vm._e()})],2)],1):_vm._e()]:_vm._e()],2),_vm._v(" "),(_vm.quickFilter && _vm.quickFilter.length > 0 && _vm.rightShowTabs)?_c('div',{staticClass:"navright"},[_vm._l((_vm.quickFilter),function(filters,index){return [_c('div',{key:'filter_div' + index,staticClass:"navlist",class:{ After: index > 0 }},_vm._l((filters),function(item,idx){return _c('span',{key:'filter' + item.id,class:{ active: item.isDefault === '1' },attrs:{"match":item.groupMatchValue},on:{"click":function($event){return _vm.change_quick_filter(index, idx, item.label)}}},[_vm._v("\n "+_vm._s(item.label)),(_vm.comModel.groupStat)?[_vm._v("("+_vm._s(item.groupNum ? item.groupNum : 0)+")")]:_vm._e()],2)}),0)]})],2):_vm._e()]):_vm._e(),_vm._v(" "),(_vm.errorMsg === '')?_c('div',{staticStyle:{"width":"100%"},attrs:{"id":_vm.dataGridId}},[_c('Table',{ref:"sdtable",attrs:{"loading":_vm.loading,"tooltip-theme":"light","tooltip-max-width":300,"height":_vm.externalHeight !== null ? _vm.externalHeight : _vm.dataGridHeight ? _vm.dataGridHeight : '85px',"columns":_vm.dataGridColumns,"data":_vm.gridData,"stripe":"","border":""},on:{"on-row-dblclick":_vm.on_row_dblclick,"on-sort-change":_vm.on_sort_change,"on-row-click":_vm.on_row_click,"on-selection-change":_vm.on_batch_select},scopedSlots:_vm._u([_vm._l((_vm.slotColumn),function(sc){return {key:sc.slot,fn:function(ref){
20449
+ var row = ref.row;
20450
+ var index = ref.index;
19316
20451
  return [_vm._t('slot_' + sc.slot,null,{"row":row,"index":index})]}}}),{key:"action",fn:function(ref){
19317
- var row = ref.row;
19318
- var index = ref.index;
19319
- return [(_vm.customFunc && _vm.showOper)?_vm._t("customRowFunc",null,{"func":_vm.funcAuth,"row":row,"index":index}):_vm._e(),_vm._v(" "),(!_vm.customFunc && _vm.showOper)?[_vm._l((_vm.rowOper),function(oper){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"row":row,"index":index,"oper":oper}):(oper.operType === 'ADD')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small"},on:{"click":function($event){return _vm.rowAddOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DELETE')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"type":"error","size":"small"},on:{"click":function($event){return _vm.rowDeleteOper(row, index, oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'MODIFY')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.rowModifyOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DETAIL')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.rowDetailOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t")],1)]:[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.rowDealFunction(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t")],1)]]:_vm._e()}),_vm._v(" "),(_vm.rowOperBatch.length > 0)?_c('Dropdown',{attrs:{"trigger":"click","transfer":"","placement":index > 5 ? 'top' : 'bottom'}},[_c('Button',{attrs:{"type":"info","size":"small"}},[_vm._v("\n\t\t\t\t\t\t\t\t操 作"),_c('Icon',{attrs:{"type":"ios-arrow-down"}})],1),_vm._v(" "),_c('DropdownMenu',{staticClass:"data-grid-bsp",attrs:{"slot":"list"},slot:"list"},[_vm._l((_vm.rowOperBatch),function(oper,idx){return [(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"row":row,"index":idx,"oper":oper}):(oper.operType === 'ADD')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowAddOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v("\n\t\t\t\t\t\t\t\t\t\t\t"+_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DELETE')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDeleteOper(row, index, oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'MODIFY')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowModifyOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"1\n\t\t\t\t\t\t\t\t\t\t")],1)]:(oper.operType === 'DETAIL')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDetailOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t\t")],1)]:[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDealFunction(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n\t\t\t\t\t\t\t\t\t\t")],1)]]})],2)],1):_vm._e()]:_vm._e()]}}],null,true)})],1):(_vm.errorMsg !== '')?_c('div',{staticStyle:{"text-align":"center"}},[_vm._v("\n\t\t\t"+_vm._s(_vm.errorMsg)+"\n\t\t")]):_vm._e(),_vm._v(" "),(_vm.dataGridLoad)?[_c('div',{staticClass:"page_box"},[(_vm.showCheckbox)?_c('span',{staticClass:"page-Data"},[_vm._v("共选中"),_c('i',[_vm._v(_vm._s(_vm.batch_select.length))]),_vm._v("条数据")]):_vm._e(),_vm._v(" "),_c('div',{staticStyle:{"float":"right"}},[(_vm.pageSearch)?_c('Page',{staticStyle:{"display":"inline-block","margin":"10px 0"},attrs:{"total":_vm.totalNum,"current":_vm.pageNo,"page-size":_vm.pageSize,"page-size-opts":_vm.pageSizeOpts,"size":"small","show-elevator":"","show-sizer":""},on:{"on-change":_vm.change_page,"on-page-size-change":_vm.change_aage_size}}):_vm._e(),_vm._v(" "),_c('span',{staticClass:"Total"},[_vm._v("共 "+_vm._s(_vm.totalNum)+" 条 ")]),_vm._v(" "),(_vm.comModel.customShowField)?_c('span',{staticClass:"page-btn custom",on:{"click":_vm.multi_col_sort}},[_c('span',[_vm._v("自定义列")]),_vm._v(" "),_c('Modal',{attrs:{"width":600,"closable":false,"mask-closable":false,"class-name":"user-selector-modal"},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v},expression:"showModal"}},[_c('div',{staticClass:"flow-modal-title",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"17px !important"}},[_vm._v("自定义列"),_c('span',{staticStyle:{"font-size":"14px","padding-left":"15px"}},[_vm._v("勾选需要显示的列,拖动列名进行排序")])]),_vm._v(" "),_c('span',{staticStyle:{"position":"absolute","right":"6px","font-size":"32px","cursor":"pointer"},on:{"click":_vm.handleCancel}},[_c('i',{staticClass:"ivu-icon ivu-icon-ios-close"})])]),_vm._v(" "),_c('div',[_c('ul',{staticClass:"list"},_vm._l((_vm.customShowList),function(item,index){return _c('li',{key:item.label,staticClass:"list-item",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('div',{staticClass:"ele1"},[_vm._v(_vm._s(index + 1))]),_vm._v(" "),_c('div',{staticClass:"ele2",style:({ 'color': (item.require ? '#999999' : '#3E4E66') })},[_c('Checkbox',{attrs:{"disabled":item.require},model:{value:(item.check),callback:function ($$v) {_vm.$set(item, "check", $$v)},expression:"item.check"}},[_vm._v(_vm._s(item.label)+"\n\t\t\t\t\t\t\t\t\t\t\t")])],1),_vm._v(" "),_c('div',{staticClass:"ele3"},[_vm._v(_vm._s(item.require ? '(必选)' : ''))])])}),0)]),_vm._v(" "),_c('div',{staticClass:"footer-container",attrs:{"slot":"footer"},slot:"footer"},[_c('Button',{staticClass:"cancle-button",staticStyle:{"background":"#fff"},on:{"click":_vm.handleSet}},[_vm._v("恢复默认")]),_vm._v(" "),_c('Button',{staticClass:"set-button",attrs:{"type":"error"},on:{"click":_vm.handleCancel}},[_vm._v("关  闭")]),_vm._v(" "),_c('Button',{staticClass:"submit-button",attrs:{"type":"primary"},on:{"click":_vm.handleSubmit}},[_vm._v("保 存")])],1)])],1):_vm._e(),_vm._v(" "),_c('span',{staticClass:"page-btn",on:{"click":function($event){return _vm.multi_col_set()}}},[_c('span',[_vm._v("多列筛选")]),_vm._v(" "),(_vm.multiColSetShow)?_c('div',{staticClass:"ulnavlist",on:{"mouseleave":function($event){_vm.multiColSetShow = false}}},[_c('ul',{staticStyle:{"width":"100%","height":"258px","overflow-y":"auto"}},_vm._l((_vm.column),function(col,index){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(col.isColumnFiltering === '1'),expression:"col.isColumnFiltering === '1'"}],key:'col_' + index,class:{ active: col.show },attrs:{"title":col.title},on:{"click":function($event){$event.stopPropagation();return _vm.multi_col_change(index)}}},[_c('i',{staticClass:"iconlist"}),_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(col.title)+"\n\t\t\t\t\t\t\t\t")])}),0),_vm._v(" "),_c('div',{staticStyle:{"text-align":"center","margin-top":"16px","bottom":"1px"}},[_c('Button',{staticClass:"saveBtn-dlsx",attrs:{"type":"primary","shape":"circle"},on:{"click":function($event){$event.stopPropagation();return _vm.saveCustom()}}},[_vm._v("保 存")]),_vm._v(" \n\t\t\t\t\t\t\t\t"),_c('Button',{staticClass:"saveBtn-dlsx",attrs:{"shape":"circle"},on:{"click":function($event){$event.stopPropagation();return _vm.resetCustom()}}},[_vm._v("重 置")])],1)]):_vm._e()]),_vm._v(" "),(_vm.$store.getters.isSAdmin)?_c('span',{staticClass:"page-set",staticStyle:{"cursor":"pointer","margin-right":"-10px"},attrs:{"title":"列表设置"},on:{"click":function($event){return _vm.openSetPage(_vm.$store.getters.token)}}},[_c('Icon',{attrs:{"type":"ios-settings","size":"22"}})],1):_vm._e(),_vm._v(" "),(_vm.showDicManage)?_c('span',{staticClass:"page-set",staticStyle:{"cursor":"pointer","margin-right":"-10px"},attrs:{"title":"字典代码管理"},on:{"click":function($event){return _vm.openDicManage(_vm.$store.getters.token)}}},[_c('Divider',{attrs:{"type":"vertical"}}),_vm._v(" "),_c('Icon',{attrs:{"type":"ios-construct","size":"22"}})],1):_vm._e()],1)])]:_vm._e()],2),_vm._v(" "),(_vm.modalStatus)?_c('div',[_c(_vm.iframeComponent,{tag:"component",attrs:{"modalWidth":_vm.modalWidth,"modalHeight":_vm.modalHeight,"title":_vm.modalTitle,"iframeUrl":_vm.iframeUrl,"modalId":_vm.modalId},on:{"closeModal":_vm.closeModal}})],1):_vm._e(),_vm._v(" "),(_vm.gridExportOptStatus)?_c('grid-export-opt',{attrs:{"gridAllShowFields":_vm.modelShowFields,"modalWidth":_vm.modalWidth,"selectedRows":_vm.batch_select,"rowMark":_vm.comModelProps.rowMark,"gridRequestParams":_vm.gridExportDataRequestParams,"pageSize":_vm.pageSize,"exportMaxCount":_vm.exportMaxCount},on:{"closeModal":_vm.closeExportOptModal}}):_vm._e(),_vm._v(" "),(_vm.gridExportDataStatus)?_c('grid-data-opt',{attrs:{"gridRequestParams":_vm.gridDataRequestParams,"rowMark":_vm.comModelProps.rowMark,"modalWidth":_vm.modalWidth},on:{"closeModal":_vm.closeDataOptModal}}):_vm._e(),_vm._v(" "),(_vm.gridPrintOptStatus)?_c('grid-print-opt',{attrs:{"gridAllShowFields":_vm.modelShowFields,"modalWidth":_vm.modalWidth,"selectedRows":_vm.batch_select,"rowMark":_vm.comModelProps.rowMark,"modelName":_vm.comModel.name,"gridRequestParams":_vm.gridPrintDataRequestParams,"pageSize":_vm.pageSize,"exportMaxCount":_vm.exportMaxCount},on:{"closeModal":_vm.closePrintOptModal}}):_vm._e(),_vm._v(" "),_c('Modal',{attrs:{"mask-closable":false,"closable":true,"width":"80%","title":_vm.dicModalTitle,"footer-hide":true,"scrollable":true},model:{value:(_vm.openDicModal),callback:function ($$v) {_vm.openDicModal=$$v},expression:"openDicModal"}},[(_vm.openDicModal)?_c('dic-manage',{attrs:{"dicNames":_vm.comModelProps.dicNames,"isRefApp":_vm.comModelProps.dicRefApp}}):_vm._e()],1)],1)}
20452
+ var row = ref.row;
20453
+ var index = ref.index;
20454
+ return [(_vm.customFunc && _vm.showOper)?_vm._t("customRowFunc",null,{"func":_vm.funcAuth,"row":row,"index":index}):_vm._e(),_vm._v(" "),(!_vm.customFunc && _vm.showOper)?[_vm._l((_vm.rowOper),function(oper){return (!_vm.isAuth(oper.auth))?[(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"row":row,"index":index,"oper":oper}):(oper.operType === 'ADD')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small"},on:{"click":function($event){return _vm.rowAddOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'DELETE')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"type":"error","size":"small"},on:{"click":function($event){return _vm.rowDeleteOper(row, index, oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'MODIFY')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.rowModifyOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'DETAIL')?[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.rowDetailOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]:[_c('Button',{key:oper.id,staticStyle:{"margin-right":"4px"},attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.rowDealFunction(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{attrs:{"type":oper.iconPath,"size":"15"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]]:_vm._e()}),_vm._v(" "),(_vm.rowOperBatch.length > 0)?_c('Dropdown',{attrs:{"trigger":"click","transfer":"","placement":index > 5 ? 'top' : 'bottom'}},[_c('Button',{attrs:{"type":"info","size":"small"}},[_vm._v(" 操 作"),_c('Icon',{attrs:{"type":"ios-arrow-down"}})],1),_vm._v(" "),_c('DropdownMenu',{staticClass:"data-grid-bsp",attrs:{"slot":"list"},slot:"list"},[_vm._l((_vm.rowOperBatch),function(oper,idx){return [(_vm.$scopedSlots[oper.mark])?_vm._t(oper.mark,null,{"row":row,"index":idx,"oper":oper}):(oper.operType === 'ADD')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowAddOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v("\n "+_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'DELETE')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDeleteOper(row, index, oper.mark, oper.url)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:(oper.operType === 'MODIFY')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowModifyOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"1\n ")],1)]:(oper.operType === 'DETAIL')?[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDetailOper(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]:[_c('DropdownItem',{key:idx,attrs:{"divided":idx > 0,"disabled":_vm.isAuth(oper.auth)},nativeOn:{"click":function($event){return _vm.rowDealFunction(row, index, oper.mark)}}},[(_vm.notEmpty(oper.iconPath))?_c('Icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":oper.iconPath,"size":"18"}}):_vm._e(),_vm._v(_vm._s(oper.name)+"\n ")],1)]]})],2)],1):_vm._e()]:_vm._e()]}}],null,true)})],1):(_vm.errorMsg !== '')?_c('div',{staticStyle:{"text-align":"center"}},[_vm._v("\n "+_vm._s(_vm.errorMsg)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.dataGridLoad)?[_c('div',{staticClass:"page_box"},[(_vm.showCheckbox)?_c('span',{staticClass:"page-Data"},[_vm._v("共选中"),_c('i',[_vm._v(_vm._s(_vm.batch_select.length))]),_vm._v("条数据")]):_vm._e(),_vm._v(" "),_c('div',{staticStyle:{"float":"right"}},[(_vm.pageSearch)?_c('Page',{staticStyle:{"display":"inline-block","margin":"10px 0"},attrs:{"total":_vm.totalNum,"current":_vm.pageNo,"page-size":_vm.pageSize,"page-size-opts":_vm.pageSizeOpts,"size":"small","show-elevator":"","show-sizer":""},on:{"on-change":_vm.change_page,"on-page-size-change":_vm.change_aage_size}}):_vm._e(),_vm._v(" "),_c('span',{staticClass:"Total"},[_vm._v("共 "+_vm._s(_vm.totalNum)+" 条 ")]),_vm._v(" "),(_vm.comModel.customShowField)?_c('span',{staticClass:"page-btn custom",on:{"click":_vm.multi_col_sort}},[_c('span',[_vm._v("自定义列")]),_vm._v(" "),_c('Modal',{attrs:{"width":600,"closable":false,"mask-closable":false,"class-name":"user-selector-modal"},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v},expression:"showModal"}},[_c('div',{staticClass:"flow-modal-title",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"17px !important"}},[_vm._v("自定义列"),_c('span',{staticStyle:{"font-size":"14px","padding-left":"15px"}},[_vm._v("勾选需要显示的列,拖动列名进行排序")])]),_vm._v(" "),_c('span',{staticStyle:{"position":"absolute","right":"6px","font-size":"32px","cursor":"pointer"},on:{"click":_vm.handleCancel}},[_c('i',{staticClass:"ivu-icon ivu-icon-ios-close"})])]),_vm._v(" "),_c('div',[_c('ul',{staticClass:"list"},_vm._l((_vm.customShowList),function(item,index){return _c('li',{key:item.label,staticClass:"list-item",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('div',{staticClass:"ele1"},[_vm._v(_vm._s(index + 1))]),_vm._v(" "),_c('div',{staticClass:"ele2",style:({ color: item.require ? '#999999' : '#3E4E66' })},[_c('Checkbox',{attrs:{"disabled":item.require},model:{value:(item.check),callback:function ($$v) {_vm.$set(item, "check", $$v)},expression:"item.check"}},[_vm._v(_vm._s(item.label)+" ")])],1),_vm._v(" "),_c('div',{staticClass:"ele3"},[_vm._v(_vm._s(item.require ? '(必选)' : ''))])])}),0)]),_vm._v(" "),_c('div',{staticClass:"footer-container",attrs:{"slot":"footer"},slot:"footer"},[_c('Button',{staticClass:"cancle-button",staticStyle:{"background":"#fff"},on:{"click":_vm.handleSet}},[_vm._v("恢复默认")]),_vm._v(" "),_c('Button',{staticClass:"set-button",attrs:{"type":"error"},on:{"click":_vm.handleCancel}},[_vm._v("关  闭")]),_vm._v(" "),_c('Button',{staticClass:"submit-button",attrs:{"type":"primary"},on:{"click":_vm.handleSubmit}},[_vm._v("保 存")])],1)])],1):_vm._e(),_vm._v(" "),_c('span',{staticClass:"page-btn",on:{"click":function($event){return _vm.multi_col_set()}}},[_c('span',[_vm._v("多列筛选")]),_vm._v(" "),(_vm.multiColSetShow)?_c('div',{staticClass:"ulnavlist",on:{"mouseleave":function($event){_vm.multiColSetShow = false}}},[_c('ul',{staticStyle:{"width":"100%","height":"258px","overflow-y":"auto"}},_vm._l((_vm.column),function(col,index){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(col.isColumnFiltering === '1'),expression:"col.isColumnFiltering === '1'"}],key:'col_' + index,class:{ active: col.show },attrs:{"title":col.title},on:{"click":function($event){$event.stopPropagation();return _vm.multi_col_change(index)}}},[_c('i',{staticClass:"iconlist"}),_vm._v("\n "+_vm._s(col.title)+"\n ")])}),0),_vm._v(" "),_c('div',{staticStyle:{"text-align":"center","margin-top":"16px","bottom":"1px"}},[_c('Button',{staticClass:"saveBtn-dlsx",attrs:{"type":"primary","shape":"circle"},on:{"click":function($event){$event.stopPropagation();return _vm.saveCustom()}}},[_vm._v("保 存")]),_vm._v(" \n "),_c('Button',{staticClass:"saveBtn-dlsx",attrs:{"shape":"circle"},on:{"click":function($event){$event.stopPropagation();return _vm.resetCustom()}}},[_vm._v("重 置")])],1)]):_vm._e()]),_vm._v(" "),(_vm.$store.getters.isSAdmin)?_c('span',{staticClass:"page-set",staticStyle:{"cursor":"pointer","margin-right":"-10px"},attrs:{"title":"列表设置"},on:{"click":function($event){return _vm.openSetPage(_vm.$store.getters.token)}}},[_c('Icon',{attrs:{"type":"ios-settings","size":"22"}})],1):_vm._e(),_vm._v(" "),(_vm.showDicManage)?_c('span',{staticClass:"page-set",staticStyle:{"cursor":"pointer","margin-right":"-10px"},attrs:{"title":"字典代码管理"},on:{"click":function($event){return _vm.openDicManage(_vm.$store.getters.token)}}},[_c('Divider',{attrs:{"type":"vertical"}}),_vm._v(" "),_c('Icon',{attrs:{"type":"ios-construct","size":"22"}})],1):_vm._e()],1)])]:_vm._e()],2),_vm._v(" "),(_vm.modalStatus)?_c('div',[_c(_vm.iframeComponent,{tag:"component",attrs:{"modalWidth":_vm.modalWidth,"modalHeight":_vm.modalHeight,"title":_vm.modalTitle,"iframeUrl":_vm.iframeUrl,"modalId":_vm.modalId},on:{"closeModal":_vm.closeModal}})],1):_vm._e(),_vm._v(" "),(_vm.gridExportOptStatus)?_c('grid-export-opt',{attrs:{"gridAllShowFields":_vm.modelShowFields,"modalWidth":_vm.modalWidth,"selectedRows":_vm.batch_select,"rowMark":_vm.comModelProps.rowMark,"gridRequestParams":_vm.gridExportDataRequestParams,"pageSize":_vm.pageSize,"exportMaxCount":_vm.exportMaxCount},on:{"closeModal":_vm.closeExportOptModal}}):_vm._e(),_vm._v(" "),(_vm.gridExportDataStatus)?_c('grid-data-opt',{attrs:{"gridRequestParams":_vm.gridDataRequestParams,"rowMark":_vm.comModelProps.rowMark,"modalWidth":_vm.modalWidth},on:{"closeModal":_vm.closeDataOptModal}}):_vm._e(),_vm._v(" "),(_vm.gridPrintOptStatus)?_c('grid-print-opt',{attrs:{"gridAllShowFields":_vm.modelShowFields,"modalWidth":_vm.modalWidth,"selectedRows":_vm.batch_select,"rowMark":_vm.comModelProps.rowMark,"modelName":_vm.comModel.name,"gridRequestParams":_vm.gridPrintDataRequestParams,"pageSize":_vm.pageSize,"exportMaxCount":_vm.exportMaxCount},on:{"closeModal":_vm.closePrintOptModal}}):_vm._e(),_vm._v(" "),_c('Modal',{attrs:{"mask-closable":false,"closable":true,"width":"80%","title":_vm.dicModalTitle,"footer-hide":true,"scrollable":true},model:{value:(_vm.openDicModal),callback:function ($$v) {_vm.openDicModal=$$v},expression:"openDicModal"}},[(_vm.openDicModal)?_c('dic-manage',{attrs:{"dicNames":_vm.comModelProps.dicNames,"isRefApp":_vm.comModelProps.dicRefApp}}):_vm._e()],1),_vm._v(" "),_c('girdMoreSearch',{ref:"girdMoreSearch",attrs:{"complexQueryConfig":_vm.complexQueryConfig,"comModelProps":_vm.comModelProps,"labelWidth":_vm.labelWidth},on:{"confirmSearch":_vm.confirmSearch}})],1)}
19320
20455
  var staticRenderFns = []
19321
20456
  var esExports = { render: render, staticRenderFns: staticRenderFns }
19322
20457
  /* harmony default export */ __webpack_exports__["a"] = (esExports);