@scenetechnology/cj_iview_table 0.0.14 → 0.0.15
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 +79 -68
- 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 +79 -68
- 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
package/dist/cj_iview_table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-22b2a22d]::-webkit-scrollbar{display:none}.ellipsis[data-v-22b2a22d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ele[data-v-22b2a22d]{cursor:pointer;height:30px;line-height:30px;display:flex;align-items:center;justify-content:space-between}.ele[data-v-22b2a22d]:hover{background-color:#f7f8fb}[data-v-22b2a22d]{list-style:none}.classTitle[data-v-
|
|
1
|
+
[data-v-22b2a22d]::-webkit-scrollbar{display:none}.ellipsis[data-v-22b2a22d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ele[data-v-22b2a22d]{cursor:pointer;height:30px;line-height:30px;display:flex;align-items:center;justify-content:space-between}.ele[data-v-22b2a22d]:hover{background-color:#f7f8fb}[data-v-22b2a22d]{list-style:none}.classTitle[data-v-e9cb8b60]:before{content:"*";display:inline-block;margin-right:4px;line-height:1;font-family:SimSun;font-size:12px;color:#ed4014}.classTitle[data-v-e9cb8b60]{font-family:PingFang SC;font-weight:400;font-size:15px;color:#333}.content[data-v-e9cb8b60]{display:flex;justify-content:space-between}.headerTitle[data-v-e9cb8b60]{font-weight:500;font-size:16px;color:#1d2027}.classTitle[data-v-961a178a]:before{content:"*";display:inline-block;margin-right:4px;line-height:1;font-family:SimSun;font-size:12px;color:#ed4014}.classTitle[data-v-961a178a]{font-family:PingFang SC;font-weight:400;font-size:15px;color:#333}.content[data-v-961a178a]{display:flex;justify-content:space-between}.headerTitle[data-v-961a178a]{font-weight:500;font-size:16px;color:#1d2027}.classTitle[data-v-3cf84ea4]:before{content:"*";display:inline-block;margin-right:4px;line-height:1;font-family:SimSun;font-size:12px;color:#ed4014}.classTitle[data-v-3cf84ea4]{font-family:PingFang SC;font-weight:400;font-size:15px;color:#333}.content[data-v-3cf84ea4]{display:flex;justify-content:space-between}.headerTitle[data-v-3cf84ea4]{font-weight:500;font-size:16px;color:#1d2027}[data-v-3cf84ea4] thead tr{background-color:#eff2fa!important;font-size:14px;font-family:Source Han Sans;font-weight:500;color:#222}[data-v-3dc5e268] .ivu-table th,[data-v-3dc5e268] .ivu-table-border th{background-color:#eff2fa}[data-v-3dc5e268] .ivu-table-border{border-color:#ececec!important}[data-v-3dc5e268] .ivu-table-border td,[data-v-3dc5e268] .ivu-table-border th{border-right:1px solid #ececec}[data-v-3dc5e268] .ivu-table-header .ivu-table-cell{font-size:14px;font-family:Source Han Sans;font-weight:500;color:#222}[data-v-3dc5e268] .ivu-table-row .ivu-table-cell{font-size:14px;font-family:Source Han Sans;font-weight:400;color:#555}.pro-table[data-v-3dc5e268]{background-color:#fff}.pro-table .filter-bar-group[data-v-3dc5e268]{padding:0 20px;margin-bottom:15px;background-color:#fff;padding-top:20px;box-sizing:border-box}.pro-table .filter-bar-group .filter-bar-item[data-v-3dc5e268]{margin-bottom:20px;display:flex;align-items:center;box-sizing:border-box;height:32px}.pro-table .filter-bar-group .filter-bar-item .labelClass[data-v-3dc5e268]{font-size:12px;font-family:Source Han Sans;font-weight:400;color:#222;text-align:right;line-height:15px;margin-right:8px;white-space:normal;word-wrap:break-word;word-break:break-all}.pro-table .filter-bar-group .filter-bar-item label[data-v-3dc5e268]{white-space:nowrap}.pro-table .filter-bar[data-v-3dc5e268]{padding:0 20px;margin-bottom:15px;display:flex;justify-content:space-between;background-color:#fff}.pro-table .filter-bar .filter-bar-left[data-v-3dc5e268]{flex:1;display:flex;align-items:center;flex-wrap:wrap;padding-top:20px}.pro-table .filter-bar .filter-bar-right[data-v-3dc5e268]{padding-top:20px}.pro-table .filter-bar .btn[data-v-3dc5e268]{margin:0 10px 20px 0}.pro-table .filterForm[data-v-3dc5e268]{display:flex;align-items:center;margin:0 20px 20px 0}.pro-table .filterForm .labelClass[data-v-3dc5e268]{font-size:12px;font-family:Source Han Sans;font-weight:400;color:#222;text-align:right;line-height:15px;margin-right:8px;white-space:normal;word-wrap:break-word;word-break:break-all}.pro-table .filterForm label[data-v-3dc5e268]{white-space:nowrap}.pro-table .tool-bar-content[data-v-3dc5e268]{padding:0 20px;box-sizing:border-box;background-color:#fff;display:flex;align-items:center;justify-content:space-between}.pro-table .tool-bar-content .tool-bar-left[data-v-3dc5e268]{display:flex;margin-bottom:15px;flex:2}.pro-table .tool-bar-content .tool-bar-left>div[data-v-3dc5e268]{margin-right:10px}.pro-table .tool-bar-content .tool-bar-right[data-v-3dc5e268]{display:flex;flex:1;justify-content:right;margin-bottom:15px}.pro-table .dropdownItem_content[data-v-3dc5e268]{display:flex;align-items:center;justify-content:space-between}.pro-table .dropdownItem_content .textTitle[data-v-3dc5e268]{width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:5px;font-size:12px}.pro-table .dropdownItem_content .textTitle2[data-v-3dc5e268]{font-weight:400;font-size:12px;color:#666}.pro-table .table-container[data-v-3dc5e268]{padding:0 20px;background-color:#fff;box-sizing:border-box}.pro-table .footer[data-v-3dc5e268]{width:100%;display:flex;justify-content:center;padding:15px 10px;background-color:#fff}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:32px}::-webkit-scrollbar-track{background-color:#f2f2f2;border-radius:32px}.ivu-table-overflowY::-webkit-scrollbar{width:8px;height:8px}.ivu-tooltip,.ivu-tooltip-inner,.ivu-tooltip-popper{z-index:9999!important}.ivu-table-wrapper{position:relative;z-index:1}.ivu-table-fixed-left,.ivu-table-fixed-right{z-index:2}
|
|
@@ -19969,7 +19969,7 @@ if (typeof window !== 'undefined') {
|
|
|
19969
19969
|
// Indicate to webpack that this file can be concatenated
|
|
19970
19970
|
/* harmony default export */ var setPublicPath = (null);
|
|
19971
19971
|
|
|
19972
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
19972
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
19973
19973
|
var render = function render() {
|
|
19974
19974
|
var _vm = this,
|
|
19975
19975
|
_c = _vm._self._c;
|
|
@@ -20156,7 +20156,7 @@ var render = function render() {
|
|
|
20156
20156
|
}
|
|
20157
20157
|
}
|
|
20158
20158
|
}, [_vm._v(" " + _vm._s(btn.text) + " ")])]], 2);
|
|
20159
|
-
}), 0), _c('div', {
|
|
20159
|
+
}), 0), _vm.isShowtoolBarRight ? _c('div', {
|
|
20160
20160
|
staticClass: "tool-bar-right"
|
|
20161
20161
|
}, [_c('Button', {
|
|
20162
20162
|
attrs: {
|
|
@@ -20284,7 +20284,7 @@ var render = function render() {
|
|
|
20284
20284
|
"vertical-align": "middle",
|
|
20285
20285
|
"margin-left": "5px"
|
|
20286
20286
|
}
|
|
20287
|
-
}, [_vm._v("视图管理")])])])], 1)], 1)], 1), _c('div')])] : _vm._e(), _c('div', {
|
|
20287
|
+
}, [_vm._v("视图管理")])])])], 1)], 1)], 1) : _vm._e(), _c('div')])] : _vm._e(), _c('div', {
|
|
20288
20288
|
staticClass: "table-container"
|
|
20289
20289
|
}, [_c('Table', {
|
|
20290
20290
|
ref: "selection",
|
|
@@ -20333,7 +20333,8 @@ var render = function render() {
|
|
|
20333
20333
|
attrs: {
|
|
20334
20334
|
"columnSettingObj": _vm.columnSettingObj,
|
|
20335
20335
|
"columnSettingId": _vm.columnSettingId,
|
|
20336
|
-
"columnsList": _vm.setcolumnsList
|
|
20336
|
+
"columnsList": _vm.setcolumnsList,
|
|
20337
|
+
"customPath": _vm.customPath
|
|
20337
20338
|
}
|
|
20338
20339
|
}), _c('save-view-modal', {
|
|
20339
20340
|
ref: "saveViewModal",
|
|
@@ -24568,8 +24569,8 @@ const getUserQuery = (data) => {
|
|
|
24568
24569
|
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=";
|
|
24569
24570
|
;// ./src/assets/images/table_flod.png
|
|
24570
24571
|
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==";
|
|
24571
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=
|
|
24572
|
-
var
|
|
24572
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
|
|
24573
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_render = function render() {
|
|
24573
24574
|
var _vm = this,
|
|
24574
24575
|
_c = _vm._self._c;
|
|
24575
24576
|
return _c('div', [_c('Modal', {
|
|
@@ -24738,7 +24739,7 @@ var table_settingvue_type_template_id_17321f10_scoped_true_render = function ren
|
|
|
24738
24739
|
}
|
|
24739
24740
|
}, [_vm._v("确定")])], 1)])], 1);
|
|
24740
24741
|
};
|
|
24741
|
-
var
|
|
24742
|
+
var table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns = [];
|
|
24742
24743
|
|
|
24743
24744
|
;// ./src/assets/images/model_title_icon.png
|
|
24744
24745
|
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==";
|
|
@@ -25153,7 +25154,7 @@ let checkAllGroup = [];
|
|
|
25153
25154
|
|
|
25154
25155
|
|
|
25155
25156
|
/* harmony default export */ var table_settingvue_type_script_lang_js = ({
|
|
25156
|
-
props: ['columnsList', 'columnSettingObj', 'columnSettingId'],
|
|
25157
|
+
props: ['columnsList', 'columnSettingObj', 'columnSettingId', 'customPath'],
|
|
25157
25158
|
components: {
|
|
25158
25159
|
tuoDrag: tuo_drag
|
|
25159
25160
|
},
|
|
@@ -25388,8 +25389,9 @@ let checkAllGroup = [];
|
|
|
25388
25389
|
}
|
|
25389
25390
|
this.exportBtnLoading = true;
|
|
25390
25391
|
let route_path = '';
|
|
25391
|
-
if (this
|
|
25392
|
-
|
|
25392
|
+
if (this.customPath) {
|
|
25393
|
+
route_path = this.customPath;
|
|
25394
|
+
} else if (this.$route.path) {
|
|
25393
25395
|
route_path = this.$route.path.replace(/^\/?/, '');
|
|
25394
25396
|
}
|
|
25395
25397
|
let contentObj = {
|
|
@@ -25681,10 +25683,10 @@ let checkAllGroup = [];
|
|
|
25681
25683
|
});
|
|
25682
25684
|
;// ./packages/components/table-setting.vue?vue&type=script&lang=js
|
|
25683
25685
|
/* harmony default export */ var components_table_settingvue_type_script_lang_js = (table_settingvue_type_script_lang_js);
|
|
25684
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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=
|
|
25686
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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
|
|
25685
25687
|
// extracted by mini-css-extract-plugin
|
|
25686
25688
|
|
|
25687
|
-
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=
|
|
25689
|
+
;// ./packages/components/table-setting.vue?vue&type=style&index=0&id=e9cb8b60&prod&scoped=true&lang=css
|
|
25688
25690
|
|
|
25689
25691
|
;// ./packages/components/table-setting.vue
|
|
25690
25692
|
|
|
@@ -25697,11 +25699,11 @@ let checkAllGroup = [];
|
|
|
25697
25699
|
|
|
25698
25700
|
var table_setting_component = normalizeComponent(
|
|
25699
25701
|
components_table_settingvue_type_script_lang_js,
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_render,
|
|
25703
|
+
table_settingvue_type_template_id_e9cb8b60_scoped_true_staticRenderFns,
|
|
25702
25704
|
false,
|
|
25703
25705
|
null,
|
|
25704
|
-
"
|
|
25706
|
+
"e9cb8b60",
|
|
25705
25707
|
null
|
|
25706
25708
|
|
|
25707
25709
|
)
|
|
@@ -26233,6 +26235,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26233
26235
|
viewEdit: view_edit
|
|
26234
26236
|
},
|
|
26235
26237
|
props: {
|
|
26238
|
+
customPath: {
|
|
26239
|
+
type: String,
|
|
26240
|
+
default: ''
|
|
26241
|
+
},
|
|
26236
26242
|
filterGridSpan: {
|
|
26237
26243
|
type: Number,
|
|
26238
26244
|
default: 6
|
|
@@ -26259,6 +26265,11 @@ var view_edit_component = normalizeComponent(
|
|
|
26259
26265
|
type: Boolean,
|
|
26260
26266
|
required: false
|
|
26261
26267
|
},
|
|
26268
|
+
isShowtoolBarRight: {
|
|
26269
|
+
type: Boolean,
|
|
26270
|
+
required: false,
|
|
26271
|
+
default: true
|
|
26272
|
+
},
|
|
26262
26273
|
// 表格项
|
|
26263
26274
|
columns: {
|
|
26264
26275
|
type: Array,
|
|
@@ -26274,10 +26285,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26274
26285
|
type: Number,
|
|
26275
26286
|
default: 10
|
|
26276
26287
|
},
|
|
26277
|
-
/**
|
|
26278
|
-
* params及pagination可设置每页数据条数, params优先级最高
|
|
26279
|
-
* params: {current, pageSize}
|
|
26280
|
-
* pagination: {pageSize, onChange}
|
|
26288
|
+
/**
|
|
26289
|
+
* params及pagination可设置每页数据条数, params优先级最高
|
|
26290
|
+
* params: {current, pageSize}
|
|
26291
|
+
* pagination: {pageSize, onChange}
|
|
26281
26292
|
*/
|
|
26282
26293
|
params: {
|
|
26283
26294
|
type: Object,
|
|
@@ -26287,10 +26298,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26287
26298
|
type: Object,
|
|
26288
26299
|
default: () => ({})
|
|
26289
26300
|
},
|
|
26290
|
-
/**
|
|
26291
|
-
* 可通过传递data和request字段设置表格数据
|
|
26292
|
-
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26293
|
-
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26301
|
+
/**
|
|
26302
|
+
* 可通过传递data和request字段设置表格数据
|
|
26303
|
+
* data优先级最高, 如果通过data参数设置表格数据, 需手动刷新table数据, data需是一个对象,包含data 和 total属性
|
|
26304
|
+
* request函数会接收一个对象。对象中必须要有 data 和 total, 当params发生变化时会重新执行request
|
|
26294
26305
|
*/
|
|
26295
26306
|
data: {
|
|
26296
26307
|
type: Object,
|
|
@@ -26343,8 +26354,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26343
26354
|
};
|
|
26344
26355
|
},
|
|
26345
26356
|
computed: {
|
|
26346
|
-
/**
|
|
26347
|
-
* 表格列
|
|
26357
|
+
/**
|
|
26358
|
+
* 表格列
|
|
26348
26359
|
*/
|
|
26349
26360
|
tableColumns() {
|
|
26350
26361
|
return this.columnsList.filter(item => !item.hideInTable) // 过滤隐藏列
|
|
@@ -26423,8 +26434,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26423
26434
|
};
|
|
26424
26435
|
});
|
|
26425
26436
|
},
|
|
26426
|
-
/**
|
|
26427
|
-
* 筛选项集合
|
|
26437
|
+
/**
|
|
26438
|
+
* 筛选项集合
|
|
26428
26439
|
*/
|
|
26429
26440
|
setcolumnsList() {
|
|
26430
26441
|
return this.columns.filter(item => item.title && item.title != '操作');
|
|
@@ -26459,10 +26470,10 @@ var view_edit_component = normalizeComponent(
|
|
|
26459
26470
|
tableSlot() {
|
|
26460
26471
|
return this.columns.filter(item => item.slot);
|
|
26461
26472
|
},
|
|
26462
|
-
/**
|
|
26463
|
-
* 获取数据请求参数
|
|
26464
|
-
* params及pagination如果为空,默认通过page.current进行查询
|
|
26465
|
-
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26473
|
+
/**
|
|
26474
|
+
* 获取数据请求参数
|
|
26475
|
+
* params及pagination如果为空,默认通过page.current进行查询
|
|
26476
|
+
* 如果不为空,那么就覆盖掉默认查询参数
|
|
26466
26477
|
*/
|
|
26467
26478
|
requestParams() {
|
|
26468
26479
|
const {
|
|
@@ -26477,8 +26488,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26477
26488
|
pageSize: pageSize || defaultSize
|
|
26478
26489
|
};
|
|
26479
26490
|
},
|
|
26480
|
-
/**
|
|
26481
|
-
* 数据源
|
|
26491
|
+
/**
|
|
26492
|
+
* 数据源
|
|
26482
26493
|
*/
|
|
26483
26494
|
dataSource() {
|
|
26484
26495
|
if (this.data && this.data.data) {
|
|
@@ -26486,8 +26497,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26486
26497
|
}
|
|
26487
26498
|
return this.tableData;
|
|
26488
26499
|
},
|
|
26489
|
-
/**
|
|
26490
|
-
* 筛选栏表单属性名
|
|
26500
|
+
/**
|
|
26501
|
+
* 筛选栏表单属性名
|
|
26491
26502
|
*/
|
|
26492
26503
|
formKey() {
|
|
26493
26504
|
return item => item.as ? item.as : item.key;
|
|
@@ -26622,8 +26633,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26622
26633
|
}
|
|
26623
26634
|
}
|
|
26624
26635
|
let route_path = '';
|
|
26625
|
-
if (this.$route && this.$route.path) {
|
|
26626
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
26636
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
26637
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
26627
26638
|
}
|
|
26628
26639
|
let contentObj = {
|
|
26629
26640
|
current: this.page.current,
|
|
@@ -26726,8 +26737,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26726
26737
|
console.log(JSON.stringify(filterForm));
|
|
26727
26738
|
this.filterForm = Object.assign({}, filterForm);
|
|
26728
26739
|
},
|
|
26729
|
-
/**
|
|
26730
|
-
* 获取数据
|
|
26740
|
+
/**
|
|
26741
|
+
* 获取数据
|
|
26731
26742
|
*/
|
|
26732
26743
|
async getDataSource(params = this.requestParams) {
|
|
26733
26744
|
if (this.request) {
|
|
@@ -26742,9 +26753,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26742
26753
|
this.tableLoading = false;
|
|
26743
26754
|
}
|
|
26744
26755
|
},
|
|
26745
|
-
/**
|
|
26746
|
-
* 删除对象属性值为空的属性
|
|
26747
|
-
* @param {*} obj
|
|
26756
|
+
/**
|
|
26757
|
+
* 删除对象属性值为空的属性
|
|
26758
|
+
* @param {*} obj
|
|
26748
26759
|
*/
|
|
26749
26760
|
delValueEmptyProperty(obj) {
|
|
26750
26761
|
for (const key in obj) {
|
|
@@ -26756,8 +26767,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26756
26767
|
}
|
|
26757
26768
|
return obj;
|
|
26758
26769
|
},
|
|
26759
|
-
/**
|
|
26760
|
-
* 清空筛选栏表单
|
|
26770
|
+
/**
|
|
26771
|
+
* 清空筛选栏表单
|
|
26761
26772
|
*/
|
|
26762
26773
|
reset() {
|
|
26763
26774
|
this.page.current = 1;
|
|
@@ -26791,9 +26802,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26791
26802
|
pageSize: this.page.pageSize
|
|
26792
26803
|
});
|
|
26793
26804
|
},
|
|
26794
|
-
/**
|
|
26795
|
-
* 监听当前选中项
|
|
26796
|
-
* @param {*} selectionItems
|
|
26805
|
+
/**
|
|
26806
|
+
* 监听当前选中项
|
|
26807
|
+
* @param {*} selectionItems
|
|
26797
26808
|
*/
|
|
26798
26809
|
onSelectionChange(selectionItems) {
|
|
26799
26810
|
this.selectionItems = selectionItems;
|
|
@@ -26816,9 +26827,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26816
26827
|
});
|
|
26817
26828
|
this.reload();
|
|
26818
26829
|
},
|
|
26819
|
-
/**
|
|
26820
|
-
* 监听工具栏按钮
|
|
26821
|
-
* @param {*} index
|
|
26830
|
+
/**
|
|
26831
|
+
* 监听工具栏按钮
|
|
26832
|
+
* @param {*} index
|
|
26822
26833
|
*/
|
|
26823
26834
|
onToolBar(index) {
|
|
26824
26835
|
const isSelection = this.columns.some(item => item.type === 'selection');
|
|
@@ -26827,8 +26838,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26827
26838
|
}
|
|
26828
26839
|
this.$emit('onToolBar', index, this.selectionItems);
|
|
26829
26840
|
},
|
|
26830
|
-
/**
|
|
26831
|
-
* 当前表单属性值是否为空
|
|
26841
|
+
/**
|
|
26842
|
+
* 当前表单属性值是否为空
|
|
26832
26843
|
*/
|
|
26833
26844
|
isEmptyFilterForm() {
|
|
26834
26845
|
let isEmpty = true;
|
|
@@ -26840,8 +26851,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26840
26851
|
}
|
|
26841
26852
|
return isEmpty;
|
|
26842
26853
|
},
|
|
26843
|
-
/**
|
|
26844
|
-
* 监听筛选按钮
|
|
26854
|
+
/**
|
|
26855
|
+
* 监听筛选按钮
|
|
26845
26856
|
*/
|
|
26846
26857
|
onFilter() {
|
|
26847
26858
|
const isHasOnFilter = this.$listeners.onFilter;
|
|
@@ -26855,9 +26866,9 @@ var view_edit_component = normalizeComponent(
|
|
|
26855
26866
|
pageSize: this.page.pageSize
|
|
26856
26867
|
});
|
|
26857
26868
|
},
|
|
26858
|
-
/**
|
|
26859
|
-
* 监听页数变化
|
|
26860
|
-
* @param {*} current
|
|
26869
|
+
/**
|
|
26870
|
+
* 监听页数变化
|
|
26871
|
+
* @param {*} current
|
|
26861
26872
|
*/
|
|
26862
26873
|
onPageChange(current) {
|
|
26863
26874
|
this.page.current = current;
|
|
@@ -26881,8 +26892,8 @@ var view_edit_component = normalizeComponent(
|
|
|
26881
26892
|
setSelectionItem(status) {
|
|
26882
26893
|
this.$refs.selection.selectAll(status);
|
|
26883
26894
|
},
|
|
26884
|
-
/**
|
|
26885
|
-
* 刷新
|
|
26895
|
+
/**
|
|
26896
|
+
* 刷新
|
|
26886
26897
|
*/
|
|
26887
26898
|
reload() {
|
|
26888
26899
|
if (this.selectionItems.length > 0) {
|
|
@@ -27013,8 +27024,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27013
27024
|
},
|
|
27014
27025
|
handleGetUserQueryView() {
|
|
27015
27026
|
let route_path = '';
|
|
27016
|
-
if (this.$route && this.$route.path) {
|
|
27017
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27027
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27028
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27018
27029
|
}
|
|
27019
27030
|
let obj = {
|
|
27020
27031
|
tag: route_path + 'tableSetView',
|
|
@@ -27036,8 +27047,8 @@ var view_edit_component = normalizeComponent(
|
|
|
27036
27047
|
},
|
|
27037
27048
|
handleGetUserQuery() {
|
|
27038
27049
|
let route_path = '';
|
|
27039
|
-
if (this.$route && this.$route.path) {
|
|
27040
|
-
route_path = this.$route.path.replace(/^\/?/, '');
|
|
27050
|
+
if (this.customPath || this.$route && this.$route.path) {
|
|
27051
|
+
route_path = (this.customPath || this.$route.path).replace(/^\/?/, '');
|
|
27041
27052
|
}
|
|
27042
27053
|
let obj = {
|
|
27043
27054
|
tag: route_path + 'tableSet',
|
|
@@ -27117,15 +27128,15 @@ var view_edit_component = normalizeComponent(
|
|
|
27117
27128
|
});
|
|
27118
27129
|
;// ./packages/components/index.vue?vue&type=script&lang=js
|
|
27119
27130
|
/* harmony default export */ var packages_componentsvue_type_script_lang_js = (componentsvue_type_script_lang_js);
|
|
27120
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=0&id=
|
|
27131
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.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
|
|
27121
27132
|
// extracted by mini-css-extract-plugin
|
|
27122
27133
|
|
|
27123
|
-
;// ./packages/components/index.vue?vue&type=style&index=0&id=
|
|
27134
|
+
;// ./packages/components/index.vue?vue&type=style&index=0&id=3dc5e268&prod&scoped=true&lang=less
|
|
27124
27135
|
|
|
27125
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/index.vue?vue&type=style&index=1&id=
|
|
27136
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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
|
|
27126
27137
|
// extracted by mini-css-extract-plugin
|
|
27127
27138
|
|
|
27128
|
-
;// ./packages/components/index.vue?vue&type=style&index=1&id=
|
|
27139
|
+
;// ./packages/components/index.vue?vue&type=style&index=1&id=3dc5e268&prod&lang=css
|
|
27129
27140
|
|
|
27130
27141
|
;// ./packages/components/index.vue
|
|
27131
27142
|
|
|
@@ -27143,7 +27154,7 @@ var components_component = normalizeComponent(
|
|
|
27143
27154
|
staticRenderFns,
|
|
27144
27155
|
false,
|
|
27145
27156
|
null,
|
|
27146
|
-
"
|
|
27157
|
+
"3dc5e268",
|
|
27147
27158
|
null
|
|
27148
27159
|
|
|
27149
27160
|
)
|