@scenetechnology/cj_iview_table 0.0.14 → 0.0.16
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.
- package/dist/cj_iview_table.common.js +85 -69
- package/dist/cj_iview_table.common.js.map +1 -1
- package/dist/cj_iview_table.css +1 -1
- package/dist/cj_iview_table.umd.js +114 -98
- package/dist/cj_iview_table.umd.js.map +1 -1
- package/dist/cj_iview_table.umd.min.js +1 -1
- package/dist/cj_iview_table.umd.min.js.map +1 -1
- package/package.json +69 -69
|
@@ -19959,7 +19959,7 @@ if (typeof window !== 'undefined') {
|
|
|
19959
19959
|
// Indicate to webpack that this file can be concatenated
|
|
19960
19960
|
/* harmony default export */ var setPublicPath = (null);
|
|
19961
19961
|
|
|
19962
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=template&id=
|
|
19962
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=template&id=5924d5a8&scoped=true
|
|
19963
19963
|
var render = function render() {
|
|
19964
19964
|
var _vm = this,
|
|
19965
19965
|
_c = _vm._self._c;
|
|
@@ -20146,7 +20146,7 @@ var render = function render() {
|
|
|
20146
20146
|
}
|
|
20147
20147
|
}
|
|
20148
20148
|
}, [_vm._v(" " + _vm._s(btn.text) + " ")])]], 2);
|
|
20149
|
-
}), 0), _c('div', {
|
|
20149
|
+
}), 0), _vm.isShowtoolBarRight ? _c('div', {
|
|
20150
20150
|
staticClass: "tool-bar-right"
|
|
20151
20151
|
}, [_c('Button', {
|
|
20152
20152
|
attrs: {
|
|
@@ -20274,7 +20274,7 @@ var render = function render() {
|
|
|
20274
20274
|
"vertical-align": "middle",
|
|
20275
20275
|
"margin-left": "5px"
|
|
20276
20276
|
}
|
|
20277
|
-
}, [_vm._v("视图管理")])])])], 1)], 1)], 1), _c('div')])] : _vm._e(), _c('div', {
|
|
20277
|
+
}, [_vm._v("视图管理")])])])], 1)], 1)], 1) : _vm._e(), _c('div')])] : _vm._e(), _c('div', {
|
|
20278
20278
|
staticClass: "table-container"
|
|
20279
20279
|
}, [_c('Table', {
|
|
20280
20280
|
ref: "selection",
|
|
@@ -20284,7 +20284,8 @@ var render = function render() {
|
|
|
20284
20284
|
"loading": _vm.tableLoading,
|
|
20285
20285
|
"data": _vm.dataSource,
|
|
20286
20286
|
"height": _vm.height,
|
|
20287
|
-
"max-height": _vm.maxHeight
|
|
20287
|
+
"max-height": _vm.maxHeight,
|
|
20288
|
+
"size": _vm.size
|
|
20288
20289
|
},
|
|
20289
20290
|
on: {
|
|
20290
20291
|
"on-selection-change": _vm.onSelectionChange,
|
|
@@ -20323,7 +20324,8 @@ var render = function render() {
|
|
|
20323
20324
|
attrs: {
|
|
20324
20325
|
"columnSettingObj": _vm.columnSettingObj,
|
|
20325
20326
|
"columnSettingId": _vm.columnSettingId,
|
|
20326
|
-
"columnsList": _vm.setcolumnsList
|
|
20327
|
+
"columnsList": _vm.setcolumnsList,
|
|
20328
|
+
"customPath": _vm.customPath
|
|
20327
20329
|
}
|
|
20328
20330
|
}), _c('save-view-modal', {
|
|
20329
20331
|
ref: "saveViewModal",
|
|
@@ -24558,8 +24560,8 @@ const getUserQuery = (data) => {
|
|
|
24558
24560
|
var table_no_flod_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAAAXNSR0IArs4c6QAAAh1JREFUOE+dlMtu00AYhc9vKxvkBwDEEgFvgERXKRepkYBmWWCPEBIo8sRcCpIF5ZYZOxJ5gRYkWLAp3bULEAIkXgFYtzxAYwgLz5CJZqKpsTHprJzR78+fzxyHAKDb7c4BuJ7n+fM0Tb/ovf0sxthVACcbjcYt0gDG2CaAc+NnZES0wDn/OCuYMXYfwANz300LbgN4A8AfP2dIRK1Z4AXotu/7pyZgvcIwXCKilxaulFpIkuRTnXkYhveI6KGZ2yaiJuf8+xS8H3gRKqWcT9P0m2btAZu8LwF4UWfOGFsGsGJNXWgpuAS+q5RqubEUoDtSyqY1tdH9ZexkfpmI1oz5rmnL5/+BTo0ZYzfGAH0AK0IIXgUH8AqA7qpeO57nzfd6va/6RxzHB7Ise617DKBl67YB4LweUEotJ0ny2MIZY1cArBpzu10G3VBKnTaMaxNwp9M56vv+BwCHzZ13hRBPKuA/PM9ruqbD4fAtgDNmfjMIggvTjKMoOi6lfPcP+EUAbSJ6pHtqX78EuhjH8WjP4dXB3Y/FZLqulDprTfM8b/f7/V+ldTPw9wAOTQaI7nDOn84CrexxEQ7gthDimXP6rulWnueL1rS2x2XwIAgGWZbVQiuNnR6fICJ9oJNYAOj/gWPmutS01rgA15kfdHLeCoKgHcfxTzd797ryk3aHwjDU5hZeC62NwoVHUXREKTU3Go3WB4PB7ypTu/8HEL0+yS21nGMAAAAASUVORK5CYII=";
|
|
24559
24561
|
;// ./src/assets/images/table_flod.png
|
|
24560
24562
|
var table_flod_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAAAXNSR0IArs4c6QAAAiJJREFUOE+V1D1v01AYBeBzHAVYAPEnWPgDVUEoTluVsiG1DLS0jQMDSLABUgcWhASsTAjiNIUwdENCFIa0EUJ8SKhswM4AlSio0C6A70F2bCuxkzj1Zvvex+e+970mBrwKriYJc0q0bjRL/Jw1jVkD/PdFVyVB9wHkAGxYYLHh8GO/uZlwAo2sDc+j/fI8P/XC+8KFiuZJPQiTbkGqg7wYYn3xnnAKBcfXHL6zK7oC6k4W3hVOoiJPNEt8Gy07gX/zPBaTZUnBBVdzhCrR8i1xolHmm2QtbVdXAd0On6fwDnhQNE6ewEXaUSvGsF3RLCi3W9KpZeW+75h7ECdJXlot8WEWHsB2RadBPY5QgidXHb723wXotlkCeCbEPIHlpsNahBequkbpVnBPfBU43IJd8xzAOICtFLpjahCnEzXui5O8HMCFqoYoc0Gy7jbLfB8n7UTXYXgdluoADgLwIDprZS5FH20dJjNk5ayFru3mL39z2ywKnAknrf/dy9FX0/xZdDUsaAXAgW549JEU3A3dYzj24hx/tCXrwEmW2je0Veq2K9io36YK8myUNIkOisdwEiXwIW842p40dUgWdRRGz6KyCJxvOnwUJw5bygU4Gz7MROM+7oGHfezdBLkQocxxrDHHzV6/xB7J/Q3dH2woONJqN9csE5jyl79bNJE8wP2SBPCxug7l/2BiXx5PV2b4a9CkyXEjNR3WPxw5/gVP/gNEyE+/VqwYfAAAAABJRU5ErkJggg==";
|
|
24561
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/table-setting.vue?vue&type=template&id=
|
|
24562
|
-
var
|
|
24563
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/table-setting.vue?vue&type=template&id=e9cb8b60&scoped=true
|
|
24564
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_render = function render() {
|
|
24563
24565
|
var _vm = this,
|
|
24564
24566
|
_c = _vm._self._c;
|
|
24565
24567
|
return _c('div', [_c('Modal', {
|
|
@@ -24728,7 +24730,7 @@ var table_settingvue_type_template_id_17321f10_scoped_true_render = function ren
|
|
|
24728
24730
|
}
|
|
24729
24731
|
}, [_vm._v("确定")])], 1)])], 1);
|
|
24730
24732
|
};
|
|
24731
|
-
var
|
|
24733
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns = [];
|
|
24732
24734
|
|
|
24733
24735
|
;// ./src/assets/images/model_title_icon.png
|
|
24734
24736
|
var model_title_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAYCAYAAADkgu3FAAAAAXNSR0IArs4c6QAAA5xJREFUSEuVll1onFUQhp/32yTYxJAKitSItiXZaOuFCooiqKA33tUbKdSWFrNJGn9aRav5MayJKRqaXAjVZLdN1QotVVFBil4IBUEjaKUXJm6yxR8w8afiVlOVJLtjzpqGLyfZzfa7/M7MvGdm3nfmiBK/awdsTWUVrcAeAioFg9l/6Es/oT9LCaFVjU5YpP48OwIjbnCdZ38OES+rITn6kGaKxSoKFB2yLYheYNMqF0pLtKUaeRfJVrJdEaguYfcE8BJwh+d0xowOGf8qoM/gVu98BLFvPKZPfbAlQPUJu1mwH3jAMzxrRtfEFMeJK5c/M1P9IbbK6AbqPPv3THRMxDR28X8eqH7YNgZZeszYCgQhpykZPZErOFyoB5tOWMVshmZBF3BlyHfORLIsR89Ys6bUkLBt800eBipCRhmMl6fhlclm/b0qYYCGw1ZNjmfN2ANcHvKZNtip6JCdRtwSOjg2U07r97uUKQXAt7lxyNbloNfErsUz8buiCXsD2BFycDQ9NCu6v4vpl0sCc1LIsD2AFzwpjOmaIausDmg34ylgTThlxIGyGfpHH9V0UcD/ifGg6+cyKYhPAqN1kXXR16zWInQLdi4hhPgZo6faSH7VrFkfMDpo9xHkmXr7kjPjaxntqRZ95P4v01FdwjZHRNKMO72g6bxjE+84UUYTdts8gRzA/Z7dpGBfapJji1LwgRxVs3+w18TzHnPCsb4AJoEtK10UcD3unzZeDDN2MaMbknZvzjjo1TgncdyMu4DrC/TJjZyTkLdZGxLoj47q4816P1+6umG7KphlALHNu+GIcjyeatGXLtO5DI8BbZ4oPyRH53iLzmxI2tXlRh+w3Ytzcs7YrYakfeb14zfBc6lJXg/X2N1q/RFbWz5HDNhgWY6mW/S5n2X9oN2NOChx0+KZI0Y0YY66VSGHN7NZnjm7W79ekoYWjJ1cquBJKT8DL46z8y6jvWb0ezPOgQ8owoHUI/qrFMCF8jYCncC68AAw8rMQikztcxK9kRpeLbjY4hZEa3kYI+5KGgJwU/6tSEDXWKN+WKKjQntI4BjUNT7F0fCaiCbzFHfTYLOX9Qc56Eg36ZsQC5cXpshmHZVozxkXFvaWE22o55wy0ZaOacSPWniVF38rLIkjOC1o/7ZJHxfq56qPk/VH7LKK2fzrx9fQfFuYCKAzFePtQm+FoqVb6VYbh6ymXDxt0AJcMLG/9ieGT8U1Vwor/wOKJWKSdidLTwAAAABJRU5ErkJggg==";
|
|
@@ -25143,7 +25145,7 @@ let checkAllGroup = [];
|
|
|
25143
25145
|
|
|
25144
25146
|
|
|
25145
25147
|
/* harmony default export */ var table_settingvue_type_script_lang_js = ({
|
|
25146
|
-
props: ['columnsList', 'columnSettingObj', 'columnSettingId'],
|
|
25148
|
+
props: ['columnsList', 'columnSettingObj', 'columnSettingId', 'customPath'],
|
|
25147
25149
|
components: {
|
|
25148
25150
|
tuoDrag: tuo_drag
|
|
25149
25151
|
},
|
|
@@ -25378,8 +25380,9 @@ let checkAllGroup = [];
|
|
|
25378
25380
|
}
|
|
25379
25381
|
this.exportBtnLoading = true;
|
|
25380
25382
|
let route_path = '';
|
|
25381
|
-
if (this
|
|
25382
|
-
|
|
25383
|
+
if (this.customPath) {
|
|
25384
|
+
route_path = this.customPath;
|
|
25385
|
+
} else if (this.$route.path) {
|
|
25383
25386
|
route_path = this.$route.path.replace(/^\/?/, '');
|
|
25384
25387
|
}
|
|
25385
25388
|
let contentObj = {
|
|
@@ -25671,10 +25674,10 @@ let checkAllGroup = [];
|
|
|
25671
25674
|
});
|
|
25672
25675
|
;// ./packages/components/table-setting.vue?vue&type=script&lang=js
|
|
25673
25676
|
/* harmony default export */ var components_table_settingvue_type_script_lang_js = (table_settingvue_type_script_lang_js);
|
|
25674
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/table-setting.vue?vue&type=style&index=0&id=
|
|
25677
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/table-setting.vue?vue&type=style&index=0&id=e9cb8b60&prod&scoped=true&lang=css
|
|
25675
25678
|
// extracted by mini-css-extract-plugin
|
|
25676
25679
|
|
|
25677
|
-
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=
|
|
25680
|
+
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=e9cb8b60&prod&scoped=true&lang=css
|
|
25678
25681
|
|
|
25679
25682
|
;// ./packages/components/table-setting.vue
|
|
25680
25683
|
|
|
@@ -25687,11 +25690,11 @@ let checkAllGroup = [];
|
|
|
25687
25690
|
|
|
25688
25691
|
var table_setting_component = normalizeComponent(
|
|
25689
25692
|
components_table_settingvue_type_script_lang_js,
|
|
25690
|
-
|
|
25691
|
-
|
|
25693
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_render,
|
|
25694
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns,
|
|
25692
25695
|
false,
|
|
25693
25696
|
null,
|
|
25694
|
-
"
|
|
25697
|
+
"e9cb8b60",
|
|
25695
25698
|
null
|
|
25696
25699
|
|
|
25697
25700
|
)
|
|
@@ -26223,6 +26226,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26223
26226
|
viewEdit: view_edit
|
|
26224
26227
|
},
|
|
26225
26228
|
props: {
|
|
26229
|
+
customPath: {
|
|
26230
|
+
type: String,
|
|
26231
|
+
default: ''
|
|
26232
|
+
},
|
|
26226
26233
|
filterGridSpan: {
|
|
26227
26234
|
type: Number,
|
|
26228
26235
|
default: 6
|
|
@@ -26245,10 +26252,19 @@ var view_edit_component = normalizeComponent(
|
|
|
26245
26252
|
type: String,
|
|
26246
26253
|
default: ''
|
|
26247
26254
|
},
|
|
26255
|
+
size: {
|
|
26256
|
+
type: String,
|
|
26257
|
+
default: ''
|
|
26258
|
+
},
|
|
26248
26259
|
loading: {
|
|
26249
26260
|
type: Boolean,
|
|
26250
26261
|
required: false
|
|
26251
26262
|
},
|
|
26263
|
+
isShowtoolBarRight: {
|
|
26264
|
+
type: Boolean,
|
|
26265
|
+
required: false,
|
|
26266
|
+
default: true
|
|
26267
|
+
},
|
|
26252
26268
|
// 表格项
|
|
26253
26269
|
columns: {
|
|
26254
26270
|
type: Array,
|
|
@@ -26264,10 +26280,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26264
26280
|
type: Number,
|
|
26265
26281
|
default: 10
|
|
26266
26282
|
},
|
|
26267
|
-
/**
|
|
26268
|
-
* params及pagination可设置每页数据条数, params优先级最高
|
|
26269
|
-
* params: {current, pageSize}
|
|
26270
|
-
* pagination: {pageSize, onChange}
|
|
26283
|
+
/**
|
|
26284
|
+
* params及pagination可设置每页数据条数, params优先级最高
|
|
26285
|
+
* params: {current, pageSize}
|
|
26286
|
+
* pagination: {pageSize, onChange}
|
|
26271
26287
|
*/
|
|
26272
26288
|
params: {
|
|
26273
26289
|
type: Object,
|
|
@@ -26277,10 +26293,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26277
26293
|
type: Object,
|
|
26278
26294
|
default: () => ({})
|
|
26279
26295
|
},
|
|
26280
|
-
/**
|
|
26281
|
-
* 可通过传递data和request字段设置表格数据
|
|
26282
|
-
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26283
|
-
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26296
|
+
/**
|
|
26297
|
+
* 可通过传递data和request字段设置表格数据
|
|
26298
|
+
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26299
|
+
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26284
26300
|
*/
|
|
26285
26301
|
data: {
|
|
26286
26302
|
type: Object,
|
|
@@ -26333,8 +26349,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26333
26349
|
};
|
|
26334
26350
|
},
|
|
26335
26351
|
computed: {
|
|
26336
|
-
/**
|
|
26337
|
-
* 表格列
|
|
26352
|
+
/**
|
|
26353
|
+
* 表格列
|
|
26338
26354
|
*/
|
|
26339
26355
|
tableColumns() {
|
|
26340
26356
|
return this.columnsList.filter(item => !item.hideInTable) // 过滤隐藏列
|
|
@@ -26413,8 +26429,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26413
26429
|
};
|
|
26414
26430
|
});
|
|
26415
26431
|
},
|
|
26416
|
-
/**
|
|
26417
|
-
* 筛选项集合
|
|
26432
|
+
/**
|
|
26433
|
+
* 筛选项集合
|
|
26418
26434
|
*/
|
|
26419
26435
|
setcolumnsList() {
|
|
26420
26436
|
return this.columns.filter(item => item.title && item.title != '操作');
|
|
@@ -26449,10 +26465,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26449
26465
|
tableSlot() {
|
|
26450
26466
|
return this.columns.filter(item => item.slot);
|
|
26451
26467
|
},
|
|
26452
|
-
/**
|
|
26453
|
-
* 获取数据请求参数
|
|
26454
|
-
* params及pagination如果为空,默认通过page.current进行查询
|
|
26455
|
-
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26468
|
+
/**
|
|
26469
|
+
* 获取数据请求参数
|
|
26470
|
+
* params及pagination如果为空,默认通过page.current进行查询
|
|
26471
|
+
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26456
26472
|
*/
|
|
26457
26473
|
requestParams() {
|
|
26458
26474
|
const {
|
|
@@ -26467,8 +26483,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26467
26483
|
pageSize: pageSize || defaultSize
|
|
26468
26484
|
};
|
|
26469
26485
|
},
|
|
26470
|
-
/**
|
|
26471
|
-
* 数据源
|
|
26486
|
+
/**
|
|
26487
|
+
* 数据源
|
|
26472
26488
|
*/
|
|
26473
26489
|
dataSource() {
|
|
26474
26490
|
if (this.data && this.data.data) {
|
|
@@ -26476,8 +26492,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26476
26492
|
}
|
|
26477
26493
|
return this.tableData;
|
|
26478
26494
|
},
|
|
26479
|
-
/**
|
|
26480
|
-
* 筛选栏表单属性名
|
|
26495
|
+
/**
|
|
26496
|
+
* 筛选栏表单属性名
|
|
26481
26497
|
*/
|
|
26482
26498
|
formKey() {
|
|
26483
26499
|
return item => item.as ? item.as : item.key;
|
|
@@ -26612,8 +26628,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26612
26628
|
}
|
|
26613
26629
|
}
|
|
26614
26630
|
let route_path = '';
|
|
26615
|
-
if (this.$route && this.$route.path) {
|
|
26616
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
26631
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
26632
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
26617
26633
|
}
|
|
26618
26634
|
let contentObj = {
|
|
26619
26635
|
current: this.page.current,
|
|
@@ -26716,8 +26732,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26716
26732
|
console.log(JSON.stringify(filterForm));
|
|
26717
26733
|
this.filterForm = Object.assign({}, filterForm);
|
|
26718
26734
|
},
|
|
26719
|
-
/**
|
|
26720
|
-
* 获取数据
|
|
26735
|
+
/**
|
|
26736
|
+
* 获取数据
|
|
26721
26737
|
*/
|
|
26722
26738
|
async getDataSource(params = this.requestParams) {
|
|
26723
26739
|
if (this.request) {
|
|
@@ -26732,9 +26748,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26732
26748
|
this.tableLoading = false;
|
|
26733
26749
|
}
|
|
26734
26750
|
},
|
|
26735
|
-
/**
|
|
26736
|
-
* 删除对象属性值为空的属性
|
|
26737
|
-
* @param {*} obj
|
|
26751
|
+
/**
|
|
26752
|
+
* 删除对象属性值为空的属性
|
|
26753
|
+
* @param {*} obj
|
|
26738
26754
|
*/
|
|
26739
26755
|
delValueEmptyProperty(obj) {
|
|
26740
26756
|
for (const key in obj) {
|
|
@@ -26746,8 +26762,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26746
26762
|
}
|
|
26747
26763
|
return obj;
|
|
26748
26764
|
},
|
|
26749
|
-
/**
|
|
26750
|
-
* 清空筛选栏表单
|
|
26765
|
+
/**
|
|
26766
|
+
* 清空筛选栏表单
|
|
26751
26767
|
*/
|
|
26752
26768
|
reset() {
|
|
26753
26769
|
this.page.current = 1;
|
|
@@ -26781,9 +26797,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26781
26797
|
pageSize: this.page.pageSize
|
|
26782
26798
|
});
|
|
26783
26799
|
},
|
|
26784
|
-
/**
|
|
26785
|
-
* 监听当前选中项
|
|
26786
|
-
* @param {*} selectionItems
|
|
26800
|
+
/**
|
|
26801
|
+
* 监听当前选中项
|
|
26802
|
+
* @param {*} selectionItems
|
|
26787
26803
|
*/
|
|
26788
26804
|
onSelectionChange(selectionItems) {
|
|
26789
26805
|
this.selectionItems = selectionItems;
|
|
@@ -26806,9 +26822,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26806
26822
|
});
|
|
26807
26823
|
this.reload();
|
|
26808
26824
|
},
|
|
26809
|
-
/**
|
|
26810
|
-
* 监听工具栏按钮
|
|
26811
|
-
* @param {*} index
|
|
26825
|
+
/**
|
|
26826
|
+
* 监听工具栏按钮
|
|
26827
|
+
* @param {*} index
|
|
26812
26828
|
*/
|
|
26813
26829
|
onToolBar(index) {
|
|
26814
26830
|
const isSelection = this.columns.some(item => item.type === 'selection');
|
|
@@ -26817,8 +26833,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26817
26833
|
}
|
|
26818
26834
|
this.$emit('onToolBar', index, this.selectionItems);
|
|
26819
26835
|
},
|
|
26820
|
-
/**
|
|
26821
|
-
* 当前表单属性值是否为空
|
|
26836
|
+
/**
|
|
26837
|
+
* 当前表单属性值是否为空
|
|
26822
26838
|
*/
|
|
26823
26839
|
isEmptyFilterForm() {
|
|
26824
26840
|
let isEmpty = true;
|
|
@@ -26830,8 +26846,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26830
26846
|
}
|
|
26831
26847
|
return isEmpty;
|
|
26832
26848
|
},
|
|
26833
|
-
/**
|
|
26834
|
-
* 监听筛选按钮
|
|
26849
|
+
/**
|
|
26850
|
+
* 监听筛选按钮
|
|
26835
26851
|
*/
|
|
26836
26852
|
onFilter() {
|
|
26837
26853
|
const isHasOnFilter = this.$listeners.onFilter;
|
|
@@ -26845,9 +26861,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26845
26861
|
pageSize: this.page.pageSize
|
|
26846
26862
|
});
|
|
26847
26863
|
},
|
|
26848
|
-
/**
|
|
26849
|
-
* 监听页数变化
|
|
26850
|
-
* @param {*} current
|
|
26864
|
+
/**
|
|
26865
|
+
* 监听页数变化
|
|
26866
|
+
* @param {*} current
|
|
26851
26867
|
*/
|
|
26852
26868
|
onPageChange(current) {
|
|
26853
26869
|
this.page.current = current;
|
|
@@ -26871,8 +26887,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26871
26887
|
setSelectionItem(status) {
|
|
26872
26888
|
this.$refs.selection.selectAll(status);
|
|
26873
26889
|
},
|
|
26874
|
-
/**
|
|
26875
|
-
* 刷新
|
|
26890
|
+
/**
|
|
26891
|
+
* 刷新
|
|
26876
26892
|
*/
|
|
26877
26893
|
reload() {
|
|
26878
26894
|
if (this.selectionItems.length > 0) {
|
|
@@ -27003,8 +27019,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27003
27019
|
},
|
|
27004
27020
|
handleGetUserQueryView() {
|
|
27005
27021
|
let route_path = '';
|
|
27006
|
-
if (this.$route && this.$route.path) {
|
|
27007
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27022
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27023
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27008
27024
|
}
|
|
27009
27025
|
let obj = {
|
|
27010
27026
|
tag: route_path + 'tableSetView',
|
|
@@ -27026,8 +27042,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27026
27042
|
},
|
|
27027
27043
|
handleGetUserQuery() {
|
|
27028
27044
|
let route_path = '';
|
|
27029
|
-
if (this.$route && this.$route.path) {
|
|
27030
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27045
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27046
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27031
27047
|
}
|
|
27032
27048
|
let obj = {
|
|
27033
27049
|
tag: route_path + 'tableSet',
|
|
@@ -27107,15 +27123,15 @@ var view_edit_component = normalizeComponent(
|
|
|
27107
27123
|
});
|
|
27108
27124
|
;// ./packages/components/index.vue?vue&type=script&lang=js
|
|
27109
27125
|
/* harmony default export */ var packages_componentsvue_type_script_lang_js = (componentsvue_type_script_lang_js);
|
|
27110
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=0&id=
|
|
27126
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=0&id=5924d5a8&prod&scoped=true&lang=less
|
|
27111
27127
|
// extracted by mini-css-extract-plugin
|
|
27112
27128
|
|
|
27113
|
-
;// ./packages/components/index.vue?vue&type=style&index=0&id=
|
|
27129
|
+
;// ./packages/components/index.vue?vue&type=style&index=0&id=5924d5a8&prod&scoped=true&lang=less
|
|
27114
27130
|
|
|
27115
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=1&id=
|
|
27131
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=1&id=5924d5a8&prod&lang=css
|
|
27116
27132
|
// extracted by mini-css-extract-plugin
|
|
27117
27133
|
|
|
27118
|
-
;// ./packages/components/index.vue?vue&type=style&index=1&id=
|
|
27134
|
+
;// ./packages/components/index.vue?vue&type=style&index=1&id=5924d5a8&prod&lang=css
|
|
27119
27135
|
|
|
27120
27136
|
;// ./packages/components/index.vue
|
|
27121
27137
|
|
|
@@ -27133,7 +27149,7 @@ var components_component = normalizeComponent(
|
|
|
27133
27149
|
staticRenderFns,
|
|
27134
27150
|
false,
|
|
27135
27151
|
null,
|
|
27136
|
-
"
|
|
27152
|
+
"5924d5a8",
|
|
27137
27153
|
null
|
|
27138
27154
|
|
|
27139
27155
|
)
|