@wakaka1/adaptive-page 2.1.11 → 2.1.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/README.md +13 -0
- package/adaptive-page.common.js +113 -59
- package/adaptive-page.common.js.map +1 -1
- package/adaptive-page.umd.js +113 -59
- package/adaptive-page.umd.js.map +1 -1
- package/adaptive-page.umd.min.js +3 -3
- package/adaptive-page.umd.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/adaptive-page.common.js
CHANGED
|
@@ -281,17 +281,6 @@ $({ target: 'Object', stat: true }, {
|
|
|
281
281
|
});
|
|
282
282
|
|
|
283
283
|
|
|
284
|
-
/***/ }),
|
|
285
|
-
|
|
286
|
-
/***/ "0aaf":
|
|
287
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
288
|
-
|
|
289
|
-
"use strict";
|
|
290
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("133c");
|
|
291
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
292
|
-
/* unused harmony reexport * */
|
|
293
|
-
|
|
294
|
-
|
|
295
284
|
/***/ }),
|
|
296
285
|
|
|
297
286
|
/***/ "0ae6":
|
|
@@ -386,22 +375,6 @@ $({ target: 'Object', stat: true }, {
|
|
|
386
375
|
});
|
|
387
376
|
|
|
388
377
|
|
|
389
|
-
/***/ }),
|
|
390
|
-
|
|
391
|
-
/***/ "133c":
|
|
392
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
393
|
-
|
|
394
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
395
|
-
|
|
396
|
-
// load the styles
|
|
397
|
-
var content = __webpack_require__("4555");
|
|
398
|
-
if(content.__esModule) content = content.default;
|
|
399
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
400
|
-
if(content.locals) module.exports = content.locals;
|
|
401
|
-
// add the styles to the DOM
|
|
402
|
-
var add = __webpack_require__("499e").default
|
|
403
|
-
var update = add("26e8ffdc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
404
|
-
|
|
405
378
|
/***/ }),
|
|
406
379
|
|
|
407
380
|
/***/ "13d5":
|
|
@@ -2479,20 +2452,6 @@ module.exports = function (it) {
|
|
|
2479
2452
|
};
|
|
2480
2453
|
|
|
2481
2454
|
|
|
2482
|
-
/***/ }),
|
|
2483
|
-
|
|
2484
|
-
/***/ "4555":
|
|
2485
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2486
|
-
|
|
2487
|
-
// Imports
|
|
2488
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
2489
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
2490
|
-
// Module
|
|
2491
|
-
exports.push([module.i, ".content-page[data-v-9d5af136]{height:100%;background-color:#fff;margin:16px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;position:relative}.content-page .header[data-v-9d5af136]{padding:0 16px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ebebeb}.content-page .header[data-v-9d5af136],.content-page .header .header-operator[data-v-9d5af136]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content-page .header .header-operator[data-v-9d5af136]{margin:10px 0}.content-page .body[data-v-9d5af136]{padding-left:200px;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;height:calc(100% - 46px)}.content-page .body.to-left[data-v-9d5af136]{padding-left:0}.el-aside[data-v-9d5af136]{background:transparent;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;left:0;top:44px;bottom:-20px;padding:0;border-right:1px solid #ebebeb}.el-aside.hidden-aside[data-v-9d5af136]{left:-210px}.arrow-btn i[data-v-9d5af136]:hover{background:rgba(247,247,253,.8509803921568627)}.arrow-btn i[data-v-9d5af136]{font-weight:700}.arrow-btn>i.flip[data-v-9d5af136]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.arrow-btn[data-v-9d5af136]{color:var(--color-primary);width:20px;height:32px;background:#f7f7fd;-webkit-transition-property:left,right;transition-property:left,right;-webkit-transition-duration:.5s,.5s;transition-duration:.5s,.5s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;position:absolute;top:330px;z-index:99;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.arrow-btn.left[data-v-9d5af136]{left:200px;border-top-left-radius:4px;border-bottom-left-radius:4px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.arrow-btn.to-left[data-v-9d5af136]{left:0;-webkit-transform:rotate(0deg);transform:rotate(0deg);border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.puncher-item[data-v-9d5af136]{list-style-type:none;margin:10px 8px;border:1px solid #ececec;border-radius:4px}.puncher-item.active[data-v-9d5af136]{border:1px solid var(--color-primary);background-color:#f7f7fd}.puncher-item .puncher-item-main[data-v-9d5af136]{margin:10px 10px 4px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:22px}.puncher-item .puncher-item-main .title[data-v-9d5af136]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:rgba(0,0,0,.85);font-weight:700}.puncher-item .puncher-item-main .title.active[data-v-9d5af136]{color:var(--color-primary)!important}.puncher-item .puncher-item-main div[data-v-9d5af136]{font-family:PingFang SC;font-size:14px;font-weight:400;color:rgba(0,0,0,.85);-webkit-box-flex:1;-ms-flex:1;flex:1}.puncher-item .puncher-item-main .puncher-item-btn[data-v-9d5af136]{margin-left:10px}.puncher-item .puncher-item-main .puncher-item-btn[data-v-9d5af136]:hover{color:var(--color-primary)}.puncher-item .puncher-item-date[data-v-9d5af136]{margin:4px 10px 10px 10px;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:18px;color:rgba(0,0,0,.45)}.detail[data-v-9d5af136]{margin:10px 16px 16px 16px;background:#f7f7fd;display:-webkit-box;display:-ms-flexbox;display:flex}.detail .detail-item[data-v-9d5af136]{text-align:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.detail .detail-item .detail-item-value[data-v-9d5af136]{margin-top:16px;font-family:PingFang SC;font-size:16px;font-weight:400;line-height:16px;color:var(--color-primary)}.detail .detail-item .detail-item-label[data-v-9d5af136]{margin-top:10px;margin-bottom:16px;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:16px;color:rgba(0,0,0,.45)}.table-container[data-v-9d5af136]{height:calc(100% - 100px)}.span-title[data-v-9d5af136]{border-left:none;background:transparent}.btn-title[data-v-9d5af136]{margin-left:10px;background:transparent;border-color:#ebebeb;font-family:Source Han Sans;font-weight:400;line-height:normal;color:rgba(0,0,0,.85);padding:2.5px 15px}.btn-title[data-v-9d5af136],.btn-title .icon[data-v-9d5af136]{font-size:12px}.btn-title.add[data-v-9d5af136]{color:#fff;background:var(--color-primary);border-color:var(--color-primary);padding:2.5px 3px}.btn-title.add .icon[data-v-9d5af136]{font-size:16px}.main-pagination[data-v-9d5af136]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid #ebebeb}.line-label[data-v-9d5af136]{color:rgba(0,0,0,.85);font-weight:700;position:relative;line-height:24px}.line-label.bold[data-v-9d5af136]{font-size:18px}.line-label[data-v-9d5af136]:before{content:\"\";width:4px;height:15px;display:inline-block;border-radius:3px;background:var(--color-primary);margin-right:4px;vertical-align:middle;position:relative;top:-1px}[data-v-9d5af136] .header-operator .el-range-editor.el-input__inner{padding:1px 10px;height:24px}[data-v-9d5af136] .header-operator .el-input__inner{height:24px;line-height:24px;text-align:left;padding-left:15px}[data-v-9d5af136] .header-operator .el-form-item__content{line-height:24px}", ""]);
|
|
2492
|
-
// Exports
|
|
2493
|
-
module.exports = exports;
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
2455
|
/***/ }),
|
|
2497
2456
|
|
|
2498
2457
|
/***/ "456b":
|
|
@@ -4129,6 +4088,20 @@ module.exports = function(options) {
|
|
|
4129
4088
|
};
|
|
4130
4089
|
|
|
4131
4090
|
|
|
4091
|
+
/***/ }),
|
|
4092
|
+
|
|
4093
|
+
/***/ "5c37":
|
|
4094
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4095
|
+
|
|
4096
|
+
// Imports
|
|
4097
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4098
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4099
|
+
// Module
|
|
4100
|
+
exports.push([module.i, ".content-page[data-v-88d49e6c]{height:100%;background-color:#fff;margin:16px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;position:relative}.content-page .header[data-v-88d49e6c]{padding:0 16px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ebebeb}.content-page .header[data-v-88d49e6c],.content-page .header .header-operator[data-v-88d49e6c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.content-page .header .header-operator[data-v-88d49e6c]{margin:10px 0}.content-page .body[data-v-88d49e6c]{padding-left:200px;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;height:calc(100% - 46px)}.content-page .body.to-left[data-v-88d49e6c]{padding-left:0}.el-aside[data-v-88d49e6c]{background:transparent;-webkit-transition:all .5s ease-in-out;transition:all .5s ease-in-out;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;left:0;top:44px;bottom:-20px;padding:0;border-right:1px solid #ebebeb}.el-aside.hidden-aside[data-v-88d49e6c]{left:-210px}.arrow-btn i[data-v-88d49e6c]:hover{background:rgba(247,247,253,.8509803921568627)}.arrow-btn i[data-v-88d49e6c]{font-weight:700}.arrow-btn>i.flip[data-v-88d49e6c]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.arrow-btn[data-v-88d49e6c]{color:var(--color-primary);width:20px;height:32px;background:#f7f7fd;-webkit-transition-property:left,right;transition-property:left,right;-webkit-transition-duration:.5s,.5s;transition-duration:.5s,.5s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;position:absolute;top:330px;z-index:99;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.arrow-btn.left[data-v-88d49e6c]{left:200px;border-top-left-radius:4px;border-bottom-left-radius:4px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.arrow-btn.to-left[data-v-88d49e6c]{left:0;-webkit-transform:rotate(0deg);transform:rotate(0deg);border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.puncher-item[data-v-88d49e6c]{list-style-type:none;margin:10px 8px;border:1px solid #ececec;border-radius:4px}.puncher-item.active[data-v-88d49e6c]{border:1px solid var(--color-primary);background-color:#f7f7fd}.puncher-item .puncher-item-main[data-v-88d49e6c]{margin:10px 10px 4px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:22px}.puncher-item .puncher-item-main .title[data-v-88d49e6c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:rgba(0,0,0,.85);font-weight:700}.puncher-item .puncher-item-main .title.active[data-v-88d49e6c]{color:var(--color-primary)!important}.puncher-item .puncher-item-main div[data-v-88d49e6c]{font-family:PingFang SC;font-size:14px;font-weight:400;color:rgba(0,0,0,.85);-webkit-box-flex:1;-ms-flex:1;flex:1}.puncher-item .puncher-item-main .puncher-item-btn[data-v-88d49e6c]{margin-left:10px}.puncher-item .puncher-item-main .puncher-item-btn[data-v-88d49e6c]:hover{color:var(--color-primary)}.puncher-item .puncher-item-date[data-v-88d49e6c]{margin:4px 10px 10px 10px;font-family:PingFang SC;font-size:12px;font-weight:400;line-height:18px;color:rgba(0,0,0,.45)}.detail[data-v-88d49e6c]{margin:10px 16px 16px 16px;background:#f7f7fd;display:-webkit-box;display:-ms-flexbox;display:flex}.detail .detail-item[data-v-88d49e6c]{text-align:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.detail .detail-item .detail-item-value[data-v-88d49e6c]{margin-top:16px;font-family:PingFang SC;font-size:16px;font-weight:400;line-height:16px;color:var(--color-primary)}.detail .detail-item .detail-item-label[data-v-88d49e6c]{margin-top:10px;margin-bottom:16px;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:16px;color:rgba(0,0,0,.45)}.table-container[data-v-88d49e6c]{height:calc(100% - 100px)}.span-title[data-v-88d49e6c]{border-left:none;background:transparent}.btn-title[data-v-88d49e6c]{margin-left:10px;background:transparent;border-color:#ebebeb;font-family:Source Han Sans;font-weight:400;line-height:normal;color:rgba(0,0,0,.85);padding:2.5px 15px}.btn-title[data-v-88d49e6c],.btn-title .icon[data-v-88d49e6c]{font-size:12px}.btn-title.add[data-v-88d49e6c]{color:#fff;background:var(--color-primary);border-color:var(--color-primary);padding:2.5px 3px}.btn-title.add .icon[data-v-88d49e6c]{font-size:16px}.main-pagination[data-v-88d49e6c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:48px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-top:1px solid #ebebeb}.line-label[data-v-88d49e6c]{color:rgba(0,0,0,.85);font-weight:700;position:relative;line-height:24px}.line-label.bold[data-v-88d49e6c]{font-size:18px}.line-label[data-v-88d49e6c]:before{content:\"\";width:4px;height:15px;display:inline-block;border-radius:3px;background:var(--color-primary);margin-right:4px;vertical-align:middle;position:relative;top:-1px}[data-v-88d49e6c] .header-operator .el-range-editor.el-input__inner{padding:1px 10px;height:24px}[data-v-88d49e6c] .header-operator .el-input__inner{height:24px;line-height:24px;text-align:left;padding-left:15px}[data-v-88d49e6c] .header-operator .el-form-item__content{line-height:24px}", ""]);
|
|
4101
|
+
// Exports
|
|
4102
|
+
module.exports = exports;
|
|
4103
|
+
|
|
4104
|
+
|
|
4132
4105
|
/***/ }),
|
|
4133
4106
|
|
|
4134
4107
|
/***/ "5c6c":
|
|
@@ -4177,6 +4150,22 @@ module.exports = collection('Set', function (init) {
|
|
|
4177
4150
|
}, collectionStrong);
|
|
4178
4151
|
|
|
4179
4152
|
|
|
4153
|
+
/***/ }),
|
|
4154
|
+
|
|
4155
|
+
/***/ "60aa":
|
|
4156
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4157
|
+
|
|
4158
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
4159
|
+
|
|
4160
|
+
// load the styles
|
|
4161
|
+
var content = __webpack_require__("5c37");
|
|
4162
|
+
if(content.__esModule) content = content.default;
|
|
4163
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
4164
|
+
if(content.locals) module.exports = content.locals;
|
|
4165
|
+
// add the styles to the DOM
|
|
4166
|
+
var add = __webpack_require__("499e").default
|
|
4167
|
+
var update = add("b2cd25e4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4168
|
+
|
|
4180
4169
|
/***/ }),
|
|
4181
4170
|
|
|
4182
4171
|
/***/ "60da":
|
|
@@ -5256,6 +5245,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
5256
5245
|
var add = __webpack_require__("499e").default
|
|
5257
5246
|
var update = add("b83755ea", content, true, {"sourceMap":false,"shadowMode":false});
|
|
5258
5247
|
|
|
5248
|
+
/***/ }),
|
|
5249
|
+
|
|
5250
|
+
/***/ "794c":
|
|
5251
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5252
|
+
|
|
5253
|
+
"use strict";
|
|
5254
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_88d49e6c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("60aa");
|
|
5255
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_88d49e6c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_88d49e6c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
5256
|
+
/* unused harmony reexport * */
|
|
5257
|
+
|
|
5258
|
+
|
|
5259
5259
|
/***/ }),
|
|
5260
5260
|
|
|
5261
5261
|
/***/ "7b0b":
|
|
@@ -19938,12 +19938,12 @@ var select_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19938
19938
|
)
|
|
19939
19939
|
|
|
19940
19940
|
/* harmony default export */ var adaptive_page_select = (select_component.exports);
|
|
19941
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d2c1b37-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package/main-sub-table/index.vue?vue&type=template&id=
|
|
19942
|
-
var
|
|
19943
|
-
var
|
|
19941
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d2c1b37-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/package/main-sub-table/index.vue?vue&type=template&id=88d49e6c&scoped=true&
|
|
19942
|
+
var main_sub_tablevue_type_template_id_88d49e6c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-page"},[_c('div',{staticClass:"header"},[_c('div',{staticClass:"line-label"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"header-operator"},[_c('query-condition',{ref:"query-condition",attrs:{"loading":_vm.mainLoading || _vm.subLoading,"opts":_vm.queryOpts,"labelWidth":"0px","querySize":"mini"},on:{"submit":_vm.submit}}),(!!_vm.importBtn && !_vm.importBtn.hidden)?_c('el-button',_vm._b({directives:[{name:"permission",rawName:"v-permission",value:(_vm.importBtn.permission),expression:"importBtn.permission"}],staticClass:"btn-title",attrs:{"disabled":_vm.mainLoading || _vm.subLoading,"size":"mini"},on:{"click":_vm.onImportClicked}},'el-button',_vm.importBtn.bind,false),[_c('i',{staticClass:"icon fa fa-daoru"}),_vm._v(_vm._s(" " + _vm.$t("global.import")))]):_vm._e(),(!!_vm.exportBtn && !_vm.exportBtn.hidden)?_c('el-button',_vm._b({directives:[{name:"permission",rawName:"v-permission",value:(_vm.exportBtn.permission),expression:"exportBtn.permission"}],staticClass:"btn-title",attrs:{"disabled":_vm.mainLoading || _vm.subLoading,"size":"mini"},on:{"click":_vm.onExportClicked}},'el-button',_vm.exportBtn.bind,false),[_c('i',{staticClass:"icon fa fa-daochu"}),_vm._v(_vm._s(" " + _vm.$t("global.export")))]):_vm._e(),_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":_vm.$t('global.add'),"placement":"top-start"}},[(!!_vm.addBtn && !_vm.addBtn.hidden)?_c('el-button',_vm._b({directives:[{name:"permission",rawName:"v-permission",value:(_vm.addBtn.permission),expression:"addBtn.permission"}],staticClass:"btn-title add",attrs:{"disabled":_vm.mainLoading || _vm.subLoading,"size":"mini"},on:{"click":function($event){_vm.addBtn.func || _vm.navTo()}}},'el-button',_vm.addBtn.bind,false),[_c('i',{staticClass:"icon el-icon-circle-plus-outline"})]):_vm._e()],1),_vm._t("header-operator")],2)]),_c('el-container',{staticClass:"body",class:{ 'to-left': !_vm.showLeftPanel }},[_c('div',{staticClass:"arrow-btn left",class:{ 'to-left': !_vm.showLeftPanel },on:{"click":_vm.switchLeftPanel}},[_c('i',{staticClass:"el-icon-d-arrow-right",class:{ flip: !_vm.showLeftPanel }})]),_c('el-aside',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.mainLoading),expression:"mainLoading"}],class:{ 'hidden-aside': !_vm.showLeftPanel },staticStyle:{"width":"200px"}},[(_vm.mainItems.length === 0)?_c('el-empty',{staticStyle:{"flex":"1"},attrs:{"description":_vm.$t('tagsView.noData')}}):[_c('ul',{staticStyle:{"overflow":"auto","list-style":"none","flex":"1"}},_vm._l((_vm.mainItems),function(item){return _c('li',{key:item.id,staticClass:"puncher-item",class:{ active: item.id === _vm.selectedMain.id },on:{"click":function($event){return _vm.selectItem(item)}}},[_c('div',{staticClass:"puncher-item-main"},[_c('div',{staticClass:"title",class:{ active: item.selected }},[_vm._v(" "+_vm._s(item[_vm.mainCardTitle] || "--")+" ")]),(!!_vm.editBtn && !_vm.editBtn.hidden)?_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":_vm.$t('global.edit'),"placement":"top-start"}},[_c('i',{directives:[{name:"permission",rawName:"v-permission",value:(_vm.editBtn.permission),expression:"editBtn.permission"}],staticClass:"el-icon-edit-outline puncher-item-btn",on:{"click":function($event){return _vm.onEditClicked(item)}}})]):_vm._e(),(!!_vm.deleteBtn && !_vm.deleteBtn.hidden)?_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":_vm.$t('global.delete'),"placement":"top-start"}},[_c('i',{directives:[{name:"permission",rawName:"v-permission",value:(_vm.deleteBtn.permission),expression:"deleteBtn.permission"}],staticClass:"el-icon-delete puncher-item-btn",on:{"click":function($event){return _vm.onDeleteClicked(item)}}})]):_vm._e()],1),_vm._l((_vm.mainCardList),function(content){return _c('div',{key:content.prop,staticClass:"puncher-item-date"},[_vm._v(" "+_vm._s(((content.label) + ": " + (content.formater ? content.formater(item[content.prop]) : item[content.prop])))+" ")])})],2)}),0),_c('div',{staticClass:"main-pagination"},[_c('div'),_c('el-pagination',{staticStyle:{"line-height":"16px","margin-right":"16px"},attrs:{"small":"","layout":"prev, pager, next","page-size":_vm.mainPage.pageSize,"current-page":_vm.mainPage.currentPage,"pager-count":5,"total":_vm.mainPage.total},on:{"update:currentPage":function($event){return _vm.$set(_vm.mainPage, "currentPage", $event)},"update:current-page":function($event){return _vm.$set(_vm.mainPage, "currentPage", $event)},"current-change":_vm.loadMain}})],1)]],2),_c('el-main',{staticStyle:{"padding":"0"}},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.mainLoading),expression:"mainLoading"}],staticClass:"detail"},_vm._l((_vm.descList),function(desc){return _c('div',{key:desc.prop,staticClass:"detail-item"},[_c('div',{staticClass:"detail-item-value"},[_vm._v(" "+_vm._s((desc.formater ? desc.formater(_vm.selectedMain[desc.prop]) : _vm.selectedMain[desc.prop]) || "--")+" ")]),_c('div',{staticClass:"detail-item-label"},[_vm._v(_vm._s(desc.label))])])}),0),_c('div',{staticClass:"table-container"},[_c('adaptive-page',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.subLoading || _vm.mainLoading),expression:"subLoading || mainLoading"}],ref:"adcrud",attrs:{"border":"","columns":_vm.subColumns,"table":_vm.table,"pageForm":_vm.subPage,"highlightCurrentRow":true,"is-show-search":false},on:{"handlePage":_vm.handlePageSize},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(index,name){return {key:name,fn:function(data){return [_vm._t(name,null,null,data)]}}})],null,true)})],1)])],1)],1)}
|
|
19943
|
+
var main_sub_tablevue_type_template_id_88d49e6c_scoped_true_staticRenderFns = []
|
|
19944
19944
|
|
|
19945
19945
|
|
|
19946
|
-
// CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=template&id=
|
|
19946
|
+
// CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=template&id=88d49e6c&scoped=true&
|
|
19947
19947
|
|
|
19948
19948
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
19949
19949
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -20322,9 +20322,6 @@ function _regeneratorRuntime() {
|
|
|
20322
20322
|
}
|
|
20323
20323
|
}, exports;
|
|
20324
20324
|
}
|
|
20325
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
20326
|
-
var toConsumableArray = __webpack_require__("2909");
|
|
20327
|
-
|
|
20328
20325
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
20329
20326
|
|
|
20330
20327
|
|
|
@@ -20367,6 +20364,12 @@ var es_object_assign = __webpack_require__("cca6");
|
|
|
20367
20364
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.finally.js
|
|
20368
20365
|
var es_promise_finally = __webpack_require__("a79d");
|
|
20369
20366
|
|
|
20367
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
20368
|
+
var es_string_replace = __webpack_require__("5319");
|
|
20369
|
+
|
|
20370
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
20371
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
20372
|
+
|
|
20370
20373
|
// EXTERNAL MODULE: ./src/package/adaptive-page/query-condition/flow.vue + 4 modules
|
|
20371
20374
|
var flow = __webpack_require__("350f");
|
|
20372
20375
|
|
|
@@ -20398,6 +20401,18 @@ var CompType = {
|
|
|
20398
20401
|
|
|
20399
20402
|
|
|
20400
20403
|
|
|
20404
|
+
|
|
20405
|
+
//
|
|
20406
|
+
//
|
|
20407
|
+
//
|
|
20408
|
+
//
|
|
20409
|
+
//
|
|
20410
|
+
//
|
|
20411
|
+
//
|
|
20412
|
+
//
|
|
20413
|
+
//
|
|
20414
|
+
//
|
|
20415
|
+
//
|
|
20401
20416
|
//
|
|
20402
20417
|
//
|
|
20403
20418
|
//
|
|
@@ -20600,6 +20615,18 @@ var CompType = {
|
|
|
20600
20615
|
apiSubList: {
|
|
20601
20616
|
type: Function
|
|
20602
20617
|
},
|
|
20618
|
+
/**
|
|
20619
|
+
* 使用父节点数据获取子数据请求参数,如果不提供,使用父节点的id数据请求
|
|
20620
|
+
*/
|
|
20621
|
+
subListRequestFormatter: {
|
|
20622
|
+
type: Function
|
|
20623
|
+
},
|
|
20624
|
+
/**
|
|
20625
|
+
* 对子列表的应答数据进行处理, 返回格式必须是{data: [xx,yy]}, 其中可以对数据进行处理
|
|
20626
|
+
*/
|
|
20627
|
+
subListCallback: {
|
|
20628
|
+
type: Function
|
|
20629
|
+
},
|
|
20603
20630
|
/**
|
|
20604
20631
|
* 导入按钮的相关配置,包括hidden(未提供时默认显示),permission, func(提供时优先执行该方法,否则跳转导入页面), importType(默认跳转的参数)
|
|
20605
20632
|
*/
|
|
@@ -20716,7 +20743,6 @@ var CompType = {
|
|
|
20716
20743
|
}
|
|
20717
20744
|
}
|
|
20718
20745
|
}
|
|
20719
|
-
console.log(res, "queryOpts");
|
|
20720
20746
|
return res;
|
|
20721
20747
|
},
|
|
20722
20748
|
mainCardTitle: function mainCardTitle() {
|
|
@@ -20809,7 +20835,15 @@ var CompType = {
|
|
|
20809
20835
|
pageSize: _this.mainPage.pageSize,
|
|
20810
20836
|
example: example
|
|
20811
20837
|
}).then(function (res) {
|
|
20812
|
-
|
|
20838
|
+
var mainItems = [];
|
|
20839
|
+
for (var i = 0; i < res.data.data.length; i++) {
|
|
20840
|
+
var item = res.data.data[i];
|
|
20841
|
+
if (!item.id) {
|
|
20842
|
+
item.id = _this.generateUUID();
|
|
20843
|
+
}
|
|
20844
|
+
mainItems.push(item);
|
|
20845
|
+
}
|
|
20846
|
+
_this.mainItems = mainItems;
|
|
20813
20847
|
if (_this.mainItems.length > 0) {
|
|
20814
20848
|
_this.selectItem(_this.mainItems[0]);
|
|
20815
20849
|
}
|
|
@@ -20825,15 +20859,35 @@ var CompType = {
|
|
|
20825
20859
|
}, _callee);
|
|
20826
20860
|
}))();
|
|
20827
20861
|
},
|
|
20862
|
+
generateUUID: function generateUUID() {
|
|
20863
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
|
|
20864
|
+
var r = Math.random() * 16 | 0;
|
|
20865
|
+
var v = c === "x" ? r : r & 0x3 | 0x8;
|
|
20866
|
+
return v.toString(16);
|
|
20867
|
+
});
|
|
20868
|
+
},
|
|
20828
20869
|
selectItem: function selectItem(item) {
|
|
20829
20870
|
var _this2 = this;
|
|
20830
20871
|
this.selectedMain = item;
|
|
20831
20872
|
this.subLoading = true;
|
|
20832
|
-
|
|
20873
|
+
var requestData = {
|
|
20833
20874
|
id: item.id
|
|
20834
|
-
}
|
|
20835
|
-
|
|
20836
|
-
|
|
20875
|
+
};
|
|
20876
|
+
if (this.subListRequestFormatter) {
|
|
20877
|
+
requestData = this.subListRequestFormatter(item);
|
|
20878
|
+
}
|
|
20879
|
+
this.apiSubList(requestData).then(function (res) {
|
|
20880
|
+
if (_this2.subListCallback) {
|
|
20881
|
+
var formatSubData = _this2.subListCallback(res);
|
|
20882
|
+
_this2.subItems = formatSubData.data;
|
|
20883
|
+
_this2.subPage.total = formatSubData.data.length;
|
|
20884
|
+
if (formatSubData.main) {
|
|
20885
|
+
_this2.selectedMain = Object.assign(item, formatSubData.main);
|
|
20886
|
+
}
|
|
20887
|
+
} else {
|
|
20888
|
+
_this2.subItems = res.data;
|
|
20889
|
+
_this2.subPage.total = res.data.length;
|
|
20890
|
+
}
|
|
20837
20891
|
_this2.subPage.currentPage = 1;
|
|
20838
20892
|
_this2.refreshSubTable();
|
|
20839
20893
|
}).finally(function () {
|
|
@@ -20934,8 +20988,8 @@ var CompType = {
|
|
|
20934
20988
|
});
|
|
20935
20989
|
// CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=script&lang=js&
|
|
20936
20990
|
/* harmony default export */ var package_main_sub_tablevue_type_script_lang_js_ = (main_sub_tablevue_type_script_lang_js_);
|
|
20937
|
-
// EXTERNAL MODULE: ./src/package/main-sub-table/index.vue?vue&type=style&index=0&id=
|
|
20938
|
-
var
|
|
20991
|
+
// EXTERNAL MODULE: ./src/package/main-sub-table/index.vue?vue&type=style&index=0&id=88d49e6c&prod&lang=scss&scoped=true&
|
|
20992
|
+
var main_sub_tablevue_type_style_index_0_id_88d49e6c_prod_lang_scss_scoped_true_ = __webpack_require__("794c");
|
|
20939
20993
|
|
|
20940
20994
|
// CONCATENATED MODULE: ./src/package/main-sub-table/index.vue
|
|
20941
20995
|
|
|
@@ -20948,11 +21002,11 @@ var main_sub_tablevue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true_
|
|
|
20948
21002
|
|
|
20949
21003
|
var main_sub_table_component = Object(componentNormalizer["a" /* default */])(
|
|
20950
21004
|
package_main_sub_tablevue_type_script_lang_js_,
|
|
20951
|
-
|
|
20952
|
-
|
|
21005
|
+
main_sub_tablevue_type_template_id_88d49e6c_scoped_true_render,
|
|
21006
|
+
main_sub_tablevue_type_template_id_88d49e6c_scoped_true_staticRenderFns,
|
|
20953
21007
|
false,
|
|
20954
21008
|
null,
|
|
20955
|
-
"
|
|
21009
|
+
"88d49e6c",
|
|
20956
21010
|
null
|
|
20957
21011
|
|
|
20958
21012
|
)
|