@scenetechnology/cj_iview_table 0.0.11 → 0.0.13
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 +80 -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 +80 -69
- 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 +64 -64
|
@@ -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=3dc5e268&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",
|
|
@@ -20323,7 +20323,8 @@ var render = function render() {
|
|
|
20323
20323
|
attrs: {
|
|
20324
20324
|
"columnSettingObj": _vm.columnSettingObj,
|
|
20325
20325
|
"columnSettingId": _vm.columnSettingId,
|
|
20326
|
-
"columnsList": _vm.setcolumnsList
|
|
20326
|
+
"columnsList": _vm.setcolumnsList,
|
|
20327
|
+
"customPath": _vm.customPath
|
|
20327
20328
|
}
|
|
20328
20329
|
}), _c('save-view-modal', {
|
|
20329
20330
|
ref: "saveViewModal",
|
|
@@ -24482,7 +24483,7 @@ if(localStorage.getItem('publicHost')){
|
|
|
24482
24483
|
test: `${baseUri}simpalarm/api/`,
|
|
24483
24484
|
prod: `${baseUri}simpalarm/api/`,
|
|
24484
24485
|
simp: localStorage.getItem('is_root') === 'true' || localStorage.getItem('is_root') === 'false'
|
|
24485
|
-
? `${mapUrl}index.php/api
|
|
24486
|
+
? `${mapUrl}simp/index.php/api/`
|
|
24486
24487
|
: `${mapUrl}index.php/api/`,
|
|
24487
24488
|
simpelements:`${baseUri}simpelements/api/`,
|
|
24488
24489
|
simpdouble:`${baseUri}simpdouble/api/`,
|
|
@@ -24558,8 +24559,8 @@ const getUserQuery = (data) => {
|
|
|
24558
24559
|
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
24560
|
;// ./src/assets/images/table_flod.png
|
|
24560
24561
|
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
|
|
24562
|
+
;// ./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
|
|
24563
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_render = function render() {
|
|
24563
24564
|
var _vm = this,
|
|
24564
24565
|
_c = _vm._self._c;
|
|
24565
24566
|
return _c('div', [_c('Modal', {
|
|
@@ -24728,7 +24729,7 @@ var table_settingvue_type_template_id_17321f10_scoped_true_render = function ren
|
|
|
24728
24729
|
}
|
|
24729
24730
|
}, [_vm._v("确定")])], 1)])], 1);
|
|
24730
24731
|
};
|
|
24731
|
-
var
|
|
24732
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns = [];
|
|
24732
24733
|
|
|
24733
24734
|
;// ./src/assets/images/model_title_icon.png
|
|
24734
24735
|
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 +25144,7 @@ let checkAllGroup = [];
|
|
|
25143
25144
|
|
|
25144
25145
|
|
|
25145
25146
|
/* harmony default export */ var table_settingvue_type_script_lang_js = ({
|
|
25146
|
-
props: ['columnsList', 'columnSettingObj', 'columnSettingId'],
|
|
25147
|
+
props: ['columnsList', 'columnSettingObj', 'columnSettingId', 'customPath'],
|
|
25147
25148
|
components: {
|
|
25148
25149
|
tuoDrag: tuo_drag
|
|
25149
25150
|
},
|
|
@@ -25378,8 +25379,9 @@ let checkAllGroup = [];
|
|
|
25378
25379
|
}
|
|
25379
25380
|
this.exportBtnLoading = true;
|
|
25380
25381
|
let route_path = '';
|
|
25381
|
-
if (this
|
|
25382
|
-
|
|
25382
|
+
if (this.customPath) {
|
|
25383
|
+
route_path = this.customPath;
|
|
25384
|
+
} else if (this.$route.path) {
|
|
25383
25385
|
route_path = this.$route.path.replace(/^\/?/, '');
|
|
25384
25386
|
}
|
|
25385
25387
|
let contentObj = {
|
|
@@ -25671,10 +25673,10 @@ let checkAllGroup = [];
|
|
|
25671
25673
|
});
|
|
25672
25674
|
;// ./packages/components/table-setting.vue?vue&type=script&lang=js
|
|
25673
25675
|
/* 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=
|
|
25676
|
+
;// ./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
25677
|
// extracted by mini-css-extract-plugin
|
|
25676
25678
|
|
|
25677
|
-
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=
|
|
25679
|
+
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=e9cb8b60&prod&scoped=true&lang=css
|
|
25678
25680
|
|
|
25679
25681
|
;// ./packages/components/table-setting.vue
|
|
25680
25682
|
|
|
@@ -25687,11 +25689,11 @@ let checkAllGroup = [];
|
|
|
25687
25689
|
|
|
25688
25690
|
var table_setting_component = normalizeComponent(
|
|
25689
25691
|
components_table_settingvue_type_script_lang_js,
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_render,
|
|
25693
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns,
|
|
25692
25694
|
false,
|
|
25693
25695
|
null,
|
|
25694
|
-
"
|
|
25696
|
+
"e9cb8b60",
|
|
25695
25697
|
null
|
|
25696
25698
|
|
|
25697
25699
|
)
|
|
@@ -26223,6 +26225,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26223
26225
|
viewEdit: view_edit
|
|
26224
26226
|
},
|
|
26225
26227
|
props: {
|
|
26228
|
+
customPath: {
|
|
26229
|
+
type: String,
|
|
26230
|
+
default: ''
|
|
26231
|
+
},
|
|
26226
26232
|
filterGridSpan: {
|
|
26227
26233
|
type: Number,
|
|
26228
26234
|
default: 6
|
|
@@ -26249,6 +26255,11 @@ var view_edit_component = normalizeComponent(
|
|
|
26249
26255
|
type: Boolean,
|
|
26250
26256
|
required: false
|
|
26251
26257
|
},
|
|
26258
|
+
isShowtoolBarRight: {
|
|
26259
|
+
type: Boolean,
|
|
26260
|
+
required: false,
|
|
26261
|
+
default: true
|
|
26262
|
+
},
|
|
26252
26263
|
// 表格项
|
|
26253
26264
|
columns: {
|
|
26254
26265
|
type: Array,
|
|
@@ -26264,10 +26275,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26264
26275
|
type: Number,
|
|
26265
26276
|
default: 10
|
|
26266
26277
|
},
|
|
26267
|
-
/**
|
|
26268
|
-
* params及pagination可设置每页数据条数, params优先级最高
|
|
26269
|
-
* params: {current, pageSize}
|
|
26270
|
-
* pagination: {pageSize, onChange}
|
|
26278
|
+
/**
|
|
26279
|
+
* params及pagination可设置每页数据条数, params优先级最高
|
|
26280
|
+
* params: {current, pageSize}
|
|
26281
|
+
* pagination: {pageSize, onChange}
|
|
26271
26282
|
*/
|
|
26272
26283
|
params: {
|
|
26273
26284
|
type: Object,
|
|
@@ -26277,10 +26288,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26277
26288
|
type: Object,
|
|
26278
26289
|
default: () => ({})
|
|
26279
26290
|
},
|
|
26280
|
-
/**
|
|
26281
|
-
* 可通过传递data和request字段设置表格数据
|
|
26282
|
-
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26283
|
-
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26291
|
+
/**
|
|
26292
|
+
* 可通过传递data和request字段设置表格数据
|
|
26293
|
+
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26294
|
+
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26284
26295
|
*/
|
|
26285
26296
|
data: {
|
|
26286
26297
|
type: Object,
|
|
@@ -26333,8 +26344,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26333
26344
|
};
|
|
26334
26345
|
},
|
|
26335
26346
|
computed: {
|
|
26336
|
-
/**
|
|
26337
|
-
* 表格列
|
|
26347
|
+
/**
|
|
26348
|
+
* 表格列
|
|
26338
26349
|
*/
|
|
26339
26350
|
tableColumns() {
|
|
26340
26351
|
return this.columnsList.filter(item => !item.hideInTable) // 过滤隐藏列
|
|
@@ -26413,8 +26424,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26413
26424
|
};
|
|
26414
26425
|
});
|
|
26415
26426
|
},
|
|
26416
|
-
/**
|
|
26417
|
-
* 筛选项集合
|
|
26427
|
+
/**
|
|
26428
|
+
* 筛选项集合
|
|
26418
26429
|
*/
|
|
26419
26430
|
setcolumnsList() {
|
|
26420
26431
|
return this.columns.filter(item => item.title && item.title != '操作');
|
|
@@ -26449,10 +26460,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26449
26460
|
tableSlot() {
|
|
26450
26461
|
return this.columns.filter(item => item.slot);
|
|
26451
26462
|
},
|
|
26452
|
-
/**
|
|
26453
|
-
* 获取数据请求参数
|
|
26454
|
-
* params及pagination如果为空,默认通过page.current进行查询
|
|
26455
|
-
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26463
|
+
/**
|
|
26464
|
+
* 获取数据请求参数
|
|
26465
|
+
* params及pagination如果为空,默认通过page.current进行查询
|
|
26466
|
+
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26456
26467
|
*/
|
|
26457
26468
|
requestParams() {
|
|
26458
26469
|
const {
|
|
@@ -26467,8 +26478,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26467
26478
|
pageSize: pageSize || defaultSize
|
|
26468
26479
|
};
|
|
26469
26480
|
},
|
|
26470
|
-
/**
|
|
26471
|
-
* 数据源
|
|
26481
|
+
/**
|
|
26482
|
+
* 数据源
|
|
26472
26483
|
*/
|
|
26473
26484
|
dataSource() {
|
|
26474
26485
|
if (this.data && this.data.data) {
|
|
@@ -26476,8 +26487,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26476
26487
|
}
|
|
26477
26488
|
return this.tableData;
|
|
26478
26489
|
},
|
|
26479
|
-
/**
|
|
26480
|
-
* 筛选栏表单属性名
|
|
26490
|
+
/**
|
|
26491
|
+
* 筛选栏表单属性名
|
|
26481
26492
|
*/
|
|
26482
26493
|
formKey() {
|
|
26483
26494
|
return item => item.as ? item.as : item.key;
|
|
@@ -26612,8 +26623,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26612
26623
|
}
|
|
26613
26624
|
}
|
|
26614
26625
|
let route_path = '';
|
|
26615
|
-
if (this.$route && this.$route.path) {
|
|
26616
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
26626
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
26627
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
26617
26628
|
}
|
|
26618
26629
|
let contentObj = {
|
|
26619
26630
|
current: this.page.current,
|
|
@@ -26716,8 +26727,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26716
26727
|
console.log(JSON.stringify(filterForm));
|
|
26717
26728
|
this.filterForm = Object.assign({}, filterForm);
|
|
26718
26729
|
},
|
|
26719
|
-
/**
|
|
26720
|
-
* 获取数据
|
|
26730
|
+
/**
|
|
26731
|
+
* 获取数据
|
|
26721
26732
|
*/
|
|
26722
26733
|
async getDataSource(params = this.requestParams) {
|
|
26723
26734
|
if (this.request) {
|
|
@@ -26732,9 +26743,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26732
26743
|
this.tableLoading = false;
|
|
26733
26744
|
}
|
|
26734
26745
|
},
|
|
26735
|
-
/**
|
|
26736
|
-
* 删除对象属性值为空的属性
|
|
26737
|
-
* @param {*} obj
|
|
26746
|
+
/**
|
|
26747
|
+
* 删除对象属性值为空的属性
|
|
26748
|
+
* @param {*} obj
|
|
26738
26749
|
*/
|
|
26739
26750
|
delValueEmptyProperty(obj) {
|
|
26740
26751
|
for (const key in obj) {
|
|
@@ -26746,8 +26757,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26746
26757
|
}
|
|
26747
26758
|
return obj;
|
|
26748
26759
|
},
|
|
26749
|
-
/**
|
|
26750
|
-
* 清空筛选栏表单
|
|
26760
|
+
/**
|
|
26761
|
+
* 清空筛选栏表单
|
|
26751
26762
|
*/
|
|
26752
26763
|
reset() {
|
|
26753
26764
|
this.page.current = 1;
|
|
@@ -26781,9 +26792,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26781
26792
|
pageSize: this.page.pageSize
|
|
26782
26793
|
});
|
|
26783
26794
|
},
|
|
26784
|
-
/**
|
|
26785
|
-
* 监听当前选中项
|
|
26786
|
-
* @param {*} selectionItems
|
|
26795
|
+
/**
|
|
26796
|
+
* 监听当前选中项
|
|
26797
|
+
* @param {*} selectionItems
|
|
26787
26798
|
*/
|
|
26788
26799
|
onSelectionChange(selectionItems) {
|
|
26789
26800
|
this.selectionItems = selectionItems;
|
|
@@ -26806,9 +26817,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26806
26817
|
});
|
|
26807
26818
|
this.reload();
|
|
26808
26819
|
},
|
|
26809
|
-
/**
|
|
26810
|
-
* 监听工具栏按钮
|
|
26811
|
-
* @param {*} index
|
|
26820
|
+
/**
|
|
26821
|
+
* 监听工具栏按钮
|
|
26822
|
+
* @param {*} index
|
|
26812
26823
|
*/
|
|
26813
26824
|
onToolBar(index) {
|
|
26814
26825
|
const isSelection = this.columns.some(item => item.type === 'selection');
|
|
@@ -26817,8 +26828,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26817
26828
|
}
|
|
26818
26829
|
this.$emit('onToolBar', index, this.selectionItems);
|
|
26819
26830
|
},
|
|
26820
|
-
/**
|
|
26821
|
-
* 当前表单属性值是否为空
|
|
26831
|
+
/**
|
|
26832
|
+
* 当前表单属性值是否为空
|
|
26822
26833
|
*/
|
|
26823
26834
|
isEmptyFilterForm() {
|
|
26824
26835
|
let isEmpty = true;
|
|
@@ -26830,8 +26841,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26830
26841
|
}
|
|
26831
26842
|
return isEmpty;
|
|
26832
26843
|
},
|
|
26833
|
-
/**
|
|
26834
|
-
* 监听筛选按钮
|
|
26844
|
+
/**
|
|
26845
|
+
* 监听筛选按钮
|
|
26835
26846
|
*/
|
|
26836
26847
|
onFilter() {
|
|
26837
26848
|
const isHasOnFilter = this.$listeners.onFilter;
|
|
@@ -26845,9 +26856,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26845
26856
|
pageSize: this.page.pageSize
|
|
26846
26857
|
});
|
|
26847
26858
|
},
|
|
26848
|
-
/**
|
|
26849
|
-
* 监听页数变化
|
|
26850
|
-
* @param {*} current
|
|
26859
|
+
/**
|
|
26860
|
+
* 监听页数变化
|
|
26861
|
+
* @param {*} current
|
|
26851
26862
|
*/
|
|
26852
26863
|
onPageChange(current) {
|
|
26853
26864
|
this.page.current = current;
|
|
@@ -26871,8 +26882,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26871
26882
|
setSelectionItem(status) {
|
|
26872
26883
|
this.$refs.selection.selectAll(status);
|
|
26873
26884
|
},
|
|
26874
|
-
/**
|
|
26875
|
-
* 刷新
|
|
26885
|
+
/**
|
|
26886
|
+
* 刷新
|
|
26876
26887
|
*/
|
|
26877
26888
|
reload() {
|
|
26878
26889
|
if (this.selectionItems.length > 0) {
|
|
@@ -27003,8 +27014,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27003
27014
|
},
|
|
27004
27015
|
handleGetUserQueryView() {
|
|
27005
27016
|
let route_path = '';
|
|
27006
|
-
if (this.$route && this.$route.path) {
|
|
27007
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27017
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27018
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27008
27019
|
}
|
|
27009
27020
|
let obj = {
|
|
27010
27021
|
tag: route_path + 'tableSetView',
|
|
@@ -27026,8 +27037,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27026
27037
|
},
|
|
27027
27038
|
handleGetUserQuery() {
|
|
27028
27039
|
let route_path = '';
|
|
27029
|
-
if (this.$route && this.$route.path) {
|
|
27030
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27040
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27041
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27031
27042
|
}
|
|
27032
27043
|
let obj = {
|
|
27033
27044
|
tag: route_path + 'tableSet',
|
|
@@ -27107,15 +27118,15 @@ var view_edit_component = normalizeComponent(
|
|
|
27107
27118
|
});
|
|
27108
27119
|
;// ./packages/components/index.vue?vue&type=script&lang=js
|
|
27109
27120
|
/* 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=
|
|
27121
|
+
;// ./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=3dc5e268&prod&scoped=true&lang=less
|
|
27111
27122
|
// extracted by mini-css-extract-plugin
|
|
27112
27123
|
|
|
27113
|
-
;// ./packages/components/index.vue?vue&type=style&index=0&id=
|
|
27124
|
+
;// ./packages/components/index.vue?vue&type=style&index=0&id=3dc5e268&prod&scoped=true&lang=less
|
|
27114
27125
|
|
|
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=
|
|
27126
|
+
;// ./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=3dc5e268&prod&lang=css
|
|
27116
27127
|
// extracted by mini-css-extract-plugin
|
|
27117
27128
|
|
|
27118
|
-
;// ./packages/components/index.vue?vue&type=style&index=1&id=
|
|
27129
|
+
;// ./packages/components/index.vue?vue&type=style&index=1&id=3dc5e268&prod&lang=css
|
|
27119
27130
|
|
|
27120
27131
|
;// ./packages/components/index.vue
|
|
27121
27132
|
|
|
@@ -27133,7 +27144,7 @@ var components_component = normalizeComponent(
|
|
|
27133
27144
|
staticRenderFns,
|
|
27134
27145
|
false,
|
|
27135
27146
|
null,
|
|
27136
|
-
"
|
|
27147
|
+
"3dc5e268",
|
|
27137
27148
|
null
|
|
27138
27149
|
|
|
27139
27150
|
)
|