@wakaka1/adaptive-page 2.1.12 → 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.
@@ -2477,17 +2477,6 @@ if(content.locals) module.exports = content.locals;
2477
2477
  var add = __webpack_require__("499e").default
2478
2478
  var update = add("2afb35a3", content, true, {"sourceMap":false,"shadowMode":false});
2479
2479
 
2480
- /***/ }),
2481
-
2482
- /***/ "467a":
2483
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2484
-
2485
- "use strict";
2486
- /* 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_77fb2f89_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a424");
2487
- /* 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_77fb2f89_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_77fb2f89_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
2488
- /* unused harmony reexport * */
2489
-
2490
-
2491
2480
  /***/ }),
2492
2481
 
2493
2482
  /***/ "4728":
@@ -4108,6 +4097,20 @@ module.exports = function(options) {
4108
4097
  };
4109
4098
 
4110
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
+
4111
4114
  /***/ }),
4112
4115
 
4113
4116
  /***/ "5c6c":
@@ -4156,6 +4159,22 @@ module.exports = collection('Set', function (init) {
4156
4159
  }, collectionStrong);
4157
4160
 
4158
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
+
4159
4178
  /***/ }),
4160
4179
 
4161
4180
  /***/ "60da":
@@ -5235,6 +5254,17 @@ if(content.locals) module.exports = content.locals;
5235
5254
  var add = __webpack_require__("499e").default
5236
5255
  var update = add("b83755ea", content, true, {"sourceMap":false,"shadowMode":false});
5237
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
+
5238
5268
  /***/ }),
5239
5269
 
5240
5270
  /***/ "7b0b":
@@ -7967,22 +7997,6 @@ $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
7967
7997
 
7968
7998
  /***/ }),
7969
7999
 
7970
- /***/ "a424":
7971
- /***/ (function(module, exports, __webpack_require__) {
7972
-
7973
- // style-loader: Adds some css to the DOM by adding a <style> tag
7974
-
7975
- // load the styles
7976
- var content = __webpack_require__("f76f");
7977
- if(content.__esModule) content = content.default;
7978
- if(typeof content === 'string') content = [[module.i, content, '']];
7979
- if(content.locals) module.exports = content.locals;
7980
- // add the styles to the DOM
7981
- var add = __webpack_require__("499e").default
7982
- var update = add("46ba4c86", content, true, {"sourceMap":false,"shadowMode":false});
7983
-
7984
- /***/ }),
7985
-
7986
8000
  /***/ "a4d3":
7987
8001
  /***/ (function(module, exports, __webpack_require__) {
7988
8002
 
@@ -19027,20 +19041,6 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
19027
19041
  };
19028
19042
 
19029
19043
 
19030
- /***/ }),
19031
-
19032
- /***/ "f76f":
19033
- /***/ (function(module, exports, __webpack_require__) {
19034
-
19035
- // Imports
19036
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
19037
- exports = ___CSS_LOADER_API_IMPORT___(false);
19038
- // Module
19039
- exports.push([module.i, ".content-page[data-v-77fb2f89]{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-77fb2f89]{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-77fb2f89],.content-page .header .header-operator[data-v-77fb2f89]{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-77fb2f89]{margin:10px 0}.content-page .body[data-v-77fb2f89]{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-77fb2f89]{padding-left:0}.el-aside[data-v-77fb2f89]{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-77fb2f89]{left:-210px}.arrow-btn i[data-v-77fb2f89]:hover{background:rgba(247,247,253,.8509803921568627)}.arrow-btn i[data-v-77fb2f89]{font-weight:700}.arrow-btn>i.flip[data-v-77fb2f89]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.arrow-btn[data-v-77fb2f89]{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-77fb2f89]{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-77fb2f89]{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-77fb2f89]{list-style-type:none;margin:10px 8px;border:1px solid #ececec;border-radius:4px}.puncher-item.active[data-v-77fb2f89]{border:1px solid var(--color-primary);background-color:#f7f7fd}.puncher-item .puncher-item-main[data-v-77fb2f89]{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-77fb2f89]{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-77fb2f89]{color:var(--color-primary)!important}.puncher-item .puncher-item-main div[data-v-77fb2f89]{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-77fb2f89]{margin-left:10px}.puncher-item .puncher-item-main .puncher-item-btn[data-v-77fb2f89]:hover{color:var(--color-primary)}.puncher-item .puncher-item-date[data-v-77fb2f89]{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-77fb2f89]{margin:10px 16px 16px 16px;background:#f7f7fd;display:-webkit-box;display:-ms-flexbox;display:flex}.detail .detail-item[data-v-77fb2f89]{text-align:center;-webkit-box-flex:1;-ms-flex:1;flex:1}.detail .detail-item .detail-item-value[data-v-77fb2f89]{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-77fb2f89]{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-77fb2f89]{height:calc(100% - 100px)}.span-title[data-v-77fb2f89]{border-left:none;background:transparent}.btn-title[data-v-77fb2f89]{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-77fb2f89],.btn-title .icon[data-v-77fb2f89]{font-size:12px}.btn-title.add[data-v-77fb2f89]{color:#fff;background:var(--color-primary);border-color:var(--color-primary);padding:2.5px 3px}.btn-title.add .icon[data-v-77fb2f89]{font-size:16px}.main-pagination[data-v-77fb2f89]{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-77fb2f89]{color:rgba(0,0,0,.85);font-weight:700;position:relative;line-height:24px}.line-label.bold[data-v-77fb2f89]{font-size:18px}.line-label[data-v-77fb2f89]: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-77fb2f89] .header-operator .el-range-editor.el-input__inner{padding:1px 10px;height:24px}[data-v-77fb2f89] .header-operator .el-input__inner{height:24px;line-height:24px;text-align:left;padding-left:15px}[data-v-77fb2f89] .header-operator .el-form-item__content{line-height:24px}", ""]);
19040
- // Exports
19041
- module.exports = exports;
19042
-
19043
-
19044
19044
  /***/ }),
19045
19045
 
19046
19046
  /***/ "f772":
@@ -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=77fb2f89&scoped=true&
19951
- var main_sub_tablevue_type_template_id_77fb2f89_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},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_77fb2f89_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=77fb2f89&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,9 @@ var CompType = {
20407
20410
 
20408
20411
 
20409
20412
 
20413
+
20414
+ //
20415
+ //
20410
20416
  //
20411
20417
  //
20412
20418
  //
@@ -20618,6 +20624,18 @@ var CompType = {
20618
20624
  apiSubList: {
20619
20625
  type: Function
20620
20626
  },
20627
+ /**
20628
+ * 使用父节点数据获取子数据请求参数,如果不提供,使用父节点的id数据请求
20629
+ */
20630
+ subListRequestFormatter: {
20631
+ type: Function
20632
+ },
20633
+ /**
20634
+ * 对子列表的应答数据进行处理, 返回格式必须是{data: [xx,yy]}, 其中可以对数据进行处理
20635
+ */
20636
+ subListCallback: {
20637
+ type: Function
20638
+ },
20621
20639
  /**
20622
20640
  * 导入按钮的相关配置,包括hidden(未提供时默认显示),permission, func(提供时优先执行该方法,否则跳转导入页面), importType(默认跳转的参数)
20623
20641
  */
@@ -20734,7 +20752,6 @@ var CompType = {
20734
20752
  }
20735
20753
  }
20736
20754
  }
20737
- console.log(res, "queryOpts");
20738
20755
  return res;
20739
20756
  },
20740
20757
  mainCardTitle: function mainCardTitle() {
@@ -20827,7 +20844,15 @@ var CompType = {
20827
20844
  pageSize: _this.mainPage.pageSize,
20828
20845
  example: example
20829
20846
  }).then(function (res) {
20830
- _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;
20831
20856
  if (_this.mainItems.length > 0) {
20832
20857
  _this.selectItem(_this.mainItems[0]);
20833
20858
  }
@@ -20843,15 +20868,35 @@ var CompType = {
20843
20868
  }, _callee);
20844
20869
  }))();
20845
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
+ },
20846
20878
  selectItem: function selectItem(item) {
20847
20879
  var _this2 = this;
20848
20880
  this.selectedMain = item;
20849
20881
  this.subLoading = true;
20850
- this.apiSubList({
20882
+ var requestData = {
20851
20883
  id: item.id
20852
- }).then(function (res) {
20853
- _this2.subItems = res.data;
20854
- _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
+ }
20855
20900
  _this2.subPage.currentPage = 1;
20856
20901
  _this2.refreshSubTable();
20857
20902
  }).finally(function () {
@@ -20952,8 +20997,8 @@ var CompType = {
20952
20997
  });
20953
20998
  // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue?vue&type=script&lang=js&
20954
20999
  /* harmony default export */ var package_main_sub_tablevue_type_script_lang_js_ = (main_sub_tablevue_type_script_lang_js_);
20955
- // EXTERNAL MODULE: ./src/package/main-sub-table/index.vue?vue&type=style&index=0&id=77fb2f89&prod&lang=scss&scoped=true&
20956
- var main_sub_tablevue_type_style_index_0_id_77fb2f89_prod_lang_scss_scoped_true_ = __webpack_require__("467a");
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");
20957
21002
 
20958
21003
  // CONCATENATED MODULE: ./src/package/main-sub-table/index.vue
20959
21004
 
@@ -20966,11 +21011,11 @@ var main_sub_tablevue_type_style_index_0_id_77fb2f89_prod_lang_scss_scoped_true_
20966
21011
 
20967
21012
  var main_sub_table_component = Object(componentNormalizer["a" /* default */])(
20968
21013
  package_main_sub_tablevue_type_script_lang_js_,
20969
- main_sub_tablevue_type_template_id_77fb2f89_scoped_true_render,
20970
- main_sub_tablevue_type_template_id_77fb2f89_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,
20971
21016
  false,
20972
21017
  null,
20973
- "77fb2f89",
21018
+ "88d49e6c",
20974
21019
  null
20975
21020
 
20976
21021
  )