@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.
@@ -290,17 +290,6 @@ $({ target: 'Object', stat: true }, {
290
290
  });
291
291
 
292
292
 
293
- /***/ }),
294
-
295
- /***/ "0aaf":
296
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
297
-
298
- "use strict";
299
- /* 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");
300
- /* 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__);
301
- /* unused harmony reexport * */
302
-
303
-
304
293
  /***/ }),
305
294
 
306
295
  /***/ "0ae6":
@@ -395,22 +384,6 @@ $({ target: 'Object', stat: true }, {
395
384
  });
396
385
 
397
386
 
398
- /***/ }),
399
-
400
- /***/ "133c":
401
- /***/ (function(module, exports, __webpack_require__) {
402
-
403
- // style-loader: Adds some css to the DOM by adding a <style> tag
404
-
405
- // load the styles
406
- var content = __webpack_require__("4555");
407
- if(content.__esModule) content = content.default;
408
- if(typeof content === 'string') content = [[module.i, content, '']];
409
- if(content.locals) module.exports = content.locals;
410
- // add the styles to the DOM
411
- var add = __webpack_require__("499e").default
412
- var update = add("26e8ffdc", content, true, {"sourceMap":false,"shadowMode":false});
413
-
414
387
  /***/ }),
415
388
 
416
389
  /***/ "13d5":
@@ -2488,20 +2461,6 @@ module.exports = function (it) {
2488
2461
  };
2489
2462
 
2490
2463
 
2491
- /***/ }),
2492
-
2493
- /***/ "4555":
2494
- /***/ (function(module, exports, __webpack_require__) {
2495
-
2496
- // Imports
2497
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
2498
- exports = ___CSS_LOADER_API_IMPORT___(false);
2499
- // Module
2500
- 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}", ""]);
2501
- // Exports
2502
- module.exports = exports;
2503
-
2504
-
2505
2464
  /***/ }),
2506
2465
 
2507
2466
  /***/ "456b":
@@ -4138,6 +4097,20 @@ module.exports = function(options) {
4138
4097
  };
4139
4098
 
4140
4099
 
4100
+ /***/ }),
4101
+
4102
+ /***/ "5c37":
4103
+ /***/ (function(module, exports, __webpack_require__) {
4104
+
4105
+ // Imports
4106
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
4107
+ exports = ___CSS_LOADER_API_IMPORT___(false);
4108
+ // Module
4109
+ 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}", ""]);
4110
+ // Exports
4111
+ module.exports = exports;
4112
+
4113
+
4141
4114
  /***/ }),
4142
4115
 
4143
4116
  /***/ "5c6c":
@@ -4186,6 +4159,22 @@ module.exports = collection('Set', function (init) {
4186
4159
  }, collectionStrong);
4187
4160
 
4188
4161
 
4162
+ /***/ }),
4163
+
4164
+ /***/ "60aa":
4165
+ /***/ (function(module, exports, __webpack_require__) {
4166
+
4167
+ // style-loader: Adds some css to the DOM by adding a <style> tag
4168
+
4169
+ // load the styles
4170
+ var content = __webpack_require__("5c37");
4171
+ if(content.__esModule) content = content.default;
4172
+ if(typeof content === 'string') content = [[module.i, content, '']];
4173
+ if(content.locals) module.exports = content.locals;
4174
+ // add the styles to the DOM
4175
+ var add = __webpack_require__("499e").default
4176
+ var update = add("b2cd25e4", content, true, {"sourceMap":false,"shadowMode":false});
4177
+
4189
4178
  /***/ }),
4190
4179
 
4191
4180
  /***/ "60da":
@@ -5265,6 +5254,17 @@ if(content.locals) module.exports = content.locals;
5265
5254
  var add = __webpack_require__("499e").default
5266
5255
  var update = add("b83755ea", content, true, {"sourceMap":false,"shadowMode":false});
5267
5256
 
5257
+ /***/ }),
5258
+
5259
+ /***/ "794c":
5260
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5261
+
5262
+ "use strict";
5263
+ /* 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");
5264
+ /* 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__);
5265
+ /* unused harmony reexport * */
5266
+
5267
+
5268
5268
  /***/ }),
5269
5269
 
5270
5270
  /***/ "7b0b":
@@ -19947,12 +19947,12 @@ var select_component = Object(componentNormalizer["a" /* default */])(
19947
19947
  )
19948
19948
 
19949
19949
  /* harmony default export */ var adaptive_page_select = (select_component.exports);
19950
- // 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=9d5af136&scoped=true&
19951
- var main_sub_tablevue_type_template_id_9d5af136_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])+" ")]),_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)}}})]),_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)}}})])],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}})],1)])],1)],1)}
19952
- var main_sub_tablevue_type_template_id_9d5af136_scoped_true_staticRenderFns = []
19950
+ // 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&
19951
+ 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)}
19952
+ var main_sub_tablevue_type_template_id_88d49e6c_scoped_true_staticRenderFns = []
19953
19953
 
19954
19954
 
19955
- // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=template&id=9d5af136&scoped=true&
19955
+ // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=template&id=88d49e6c&scoped=true&
19956
19956
 
19957
19957
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
19958
19958
  var es_symbol = __webpack_require__("a4d3");
@@ -20331,9 +20331,6 @@ function _regeneratorRuntime() {
20331
20331
  }
20332
20332
  }, exports;
20333
20333
  }
20334
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
20335
- var toConsumableArray = __webpack_require__("2909");
20336
-
20337
20334
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
20338
20335
 
20339
20336
 
@@ -20376,6 +20373,12 @@ var es_object_assign = __webpack_require__("cca6");
20376
20373
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.finally.js
20377
20374
  var es_promise_finally = __webpack_require__("a79d");
20378
20375
 
20376
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
20377
+ var es_string_replace = __webpack_require__("5319");
20378
+
20379
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
20380
+ var es_regexp_to_string = __webpack_require__("25f0");
20381
+
20379
20382
  // EXTERNAL MODULE: ./src/package/adaptive-page/query-condition/flow.vue + 4 modules
20380
20383
  var flow = __webpack_require__("350f");
20381
20384
 
@@ -20407,6 +20410,18 @@ var CompType = {
20407
20410
 
20408
20411
 
20409
20412
 
20413
+
20414
+ //
20415
+ //
20416
+ //
20417
+ //
20418
+ //
20419
+ //
20420
+ //
20421
+ //
20422
+ //
20423
+ //
20424
+ //
20410
20425
  //
20411
20426
  //
20412
20427
  //
@@ -20609,6 +20624,18 @@ var CompType = {
20609
20624
  apiSubList: {
20610
20625
  type: Function
20611
20626
  },
20627
+ /**
20628
+ * 使用父节点数据获取子数据请求参数,如果不提供,使用父节点的id数据请求
20629
+ */
20630
+ subListRequestFormatter: {
20631
+ type: Function
20632
+ },
20633
+ /**
20634
+ * 对子列表的应答数据进行处理, 返回格式必须是{data: [xx,yy]}, 其中可以对数据进行处理
20635
+ */
20636
+ subListCallback: {
20637
+ type: Function
20638
+ },
20612
20639
  /**
20613
20640
  * 导入按钮的相关配置,包括hidden(未提供时默认显示),permission, func(提供时优先执行该方法,否则跳转导入页面), importType(默认跳转的参数)
20614
20641
  */
@@ -20725,7 +20752,6 @@ var CompType = {
20725
20752
  }
20726
20753
  }
20727
20754
  }
20728
- console.log(res, "queryOpts");
20729
20755
  return res;
20730
20756
  },
20731
20757
  mainCardTitle: function mainCardTitle() {
@@ -20818,7 +20844,15 @@ var CompType = {
20818
20844
  pageSize: _this.mainPage.pageSize,
20819
20845
  example: example
20820
20846
  }).then(function (res) {
20821
- _this.mainItems = Object(toConsumableArray["a" /* default */])(res.data.data);
20847
+ var mainItems = [];
20848
+ for (var i = 0; i < res.data.data.length; i++) {
20849
+ var item = res.data.data[i];
20850
+ if (!item.id) {
20851
+ item.id = _this.generateUUID();
20852
+ }
20853
+ mainItems.push(item);
20854
+ }
20855
+ _this.mainItems = mainItems;
20822
20856
  if (_this.mainItems.length > 0) {
20823
20857
  _this.selectItem(_this.mainItems[0]);
20824
20858
  }
@@ -20834,15 +20868,35 @@ var CompType = {
20834
20868
  }, _callee);
20835
20869
  }))();
20836
20870
  },
20871
+ generateUUID: function generateUUID() {
20872
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
20873
+ var r = Math.random() * 16 | 0;
20874
+ var v = c === "x" ? r : r & 0x3 | 0x8;
20875
+ return v.toString(16);
20876
+ });
20877
+ },
20837
20878
  selectItem: function selectItem(item) {
20838
20879
  var _this2 = this;
20839
20880
  this.selectedMain = item;
20840
20881
  this.subLoading = true;
20841
- this.apiSubList({
20882
+ var requestData = {
20842
20883
  id: item.id
20843
- }).then(function (res) {
20844
- _this2.subItems = res.data;
20845
- _this2.subPage.total = res.data.length;
20884
+ };
20885
+ if (this.subListRequestFormatter) {
20886
+ requestData = this.subListRequestFormatter(item);
20887
+ }
20888
+ this.apiSubList(requestData).then(function (res) {
20889
+ if (_this2.subListCallback) {
20890
+ var formatSubData = _this2.subListCallback(res);
20891
+ _this2.subItems = formatSubData.data;
20892
+ _this2.subPage.total = formatSubData.data.length;
20893
+ if (formatSubData.main) {
20894
+ _this2.selectedMain = Object.assign(item, formatSubData.main);
20895
+ }
20896
+ } else {
20897
+ _this2.subItems = res.data;
20898
+ _this2.subPage.total = res.data.length;
20899
+ }
20846
20900
  _this2.subPage.currentPage = 1;
20847
20901
  _this2.refreshSubTable();
20848
20902
  }).finally(function () {
@@ -20943,8 +20997,8 @@ var CompType = {
20943
20997
  });
20944
20998
  // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=script&lang=js&
20945
20999
  /* harmony default export */ var package_main_sub_tablevue_type_script_lang_js_ = (main_sub_tablevue_type_script_lang_js_);
20946
- // EXTERNAL MODULE: ./src/package/main-sub-table/index.vue?vue&type=style&index=0&id=9d5af136&prod&lang=scss&scoped=true&
20947
- var main_sub_tablevue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true_ = __webpack_require__("0aaf");
21000
+ // EXTERNAL MODULE: ./src/package/main-sub-table/index.vue?vue&type=style&index=0&id=88d49e6c&prod&lang=scss&scoped=true&
21001
+ var main_sub_tablevue_type_style_index_0_id_88d49e6c_prod_lang_scss_scoped_true_ = __webpack_require__("794c");
20948
21002
 
20949
21003
  // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue
20950
21004
 
@@ -20957,11 +21011,11 @@ var main_sub_tablevue_type_style_index_0_id_9d5af136_prod_lang_scss_scoped_true_
20957
21011
 
20958
21012
  var main_sub_table_component = Object(componentNormalizer["a" /* default */])(
20959
21013
  package_main_sub_tablevue_type_script_lang_js_,
20960
- main_sub_tablevue_type_template_id_9d5af136_scoped_true_render,
20961
- main_sub_tablevue_type_template_id_9d5af136_scoped_true_staticRenderFns,
21014
+ main_sub_tablevue_type_template_id_88d49e6c_scoped_true_render,
21015
+ main_sub_tablevue_type_template_id_88d49e6c_scoped_true_staticRenderFns,
20962
21016
  false,
20963
21017
  null,
20964
- "9d5af136",
21018
+ "88d49e6c",
20965
21019
  null
20966
21020
 
20967
21021
  )