bl-common-vue3 3.3.71 → 3.3.73
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/lib/vue3common.common.js +328 -466
- package/lib/vue3common.umd.js +328 -466
- package/lib/vue3common.umd.min.js +6 -6
- package/package.json +1 -1
package/lib/vue3common.common.js
CHANGED
|
@@ -33195,6 +33195,20 @@ module.exports = ZStream;
|
|
|
33195
33195
|
|
|
33196
33196
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("b639").Buffer, __webpack_require__("c8ba")))
|
|
33197
33197
|
|
|
33198
|
+
/***/ }),
|
|
33199
|
+
|
|
33200
|
+
/***/ "15d0":
|
|
33201
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33202
|
+
|
|
33203
|
+
// Imports
|
|
33204
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
33205
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
33206
|
+
// Module
|
|
33207
|
+
exports.push([module.i, ".primary-color-text[data-v-9e6d37a2]{color:#2681f3}.choose-housing[data-v-9e6d37a2]{width:100%;height:100%;display:flex;flex-direction:column}.choose-housing .tree-view[data-v-9e6d37a2]{position:relative;flex:1;overflow:hidden}.choose-housing .tree-view .spin-box[data-v-9e6d37a2]{position:absolute;right:4px;top:4px;z-index:2}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-9e6d37a2] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-9e6d37a2]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-9e6d37a2]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-9e6d37a2]{display:flex;align-content:center;justify-content:space-between;padding-right:20px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title[data-v-9e6d37a2]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-9e6d37a2]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-9e6d37a2]{color:#2681f3}.choose-housing .text-gray[data-v-9e6d37a2]{color:rgba(0,0,0,.25)}", ""]);
|
|
33208
|
+
// Exports
|
|
33209
|
+
module.exports = exports;
|
|
33210
|
+
|
|
33211
|
+
|
|
33198
33212
|
/***/ }),
|
|
33199
33213
|
|
|
33200
33214
|
/***/ "15fd":
|
|
@@ -37421,22 +37435,6 @@ exportTypedArrayMethod('slice', function slice(start, end) {
|
|
|
37421
37435
|
}, FORCED);
|
|
37422
37436
|
|
|
37423
37437
|
|
|
37424
|
-
/***/ }),
|
|
37425
|
-
|
|
37426
|
-
/***/ "299f":
|
|
37427
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
37428
|
-
|
|
37429
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
37430
|
-
|
|
37431
|
-
// load the styles
|
|
37432
|
-
var content = __webpack_require__("8830");
|
|
37433
|
-
if(content.__esModule) content = content.default;
|
|
37434
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
37435
|
-
if(content.locals) module.exports = content.locals;
|
|
37436
|
-
// add the styles to the DOM
|
|
37437
|
-
var add = __webpack_require__("499e").default
|
|
37438
|
-
var update = add("52ccd943", content, true, {"sourceMap":false,"shadowMode":false});
|
|
37439
|
-
|
|
37440
37438
|
/***/ }),
|
|
37441
37439
|
|
|
37442
37440
|
/***/ "29e6":
|
|
@@ -57638,6 +57636,17 @@ var CertCtl;
|
|
|
57638
57636
|
}
|
|
57639
57637
|
}));
|
|
57640
57638
|
|
|
57639
|
+
/***/ }),
|
|
57640
|
+
|
|
57641
|
+
/***/ "3efc":
|
|
57642
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
57643
|
+
|
|
57644
|
+
"use strict";
|
|
57645
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_9e6d37a2_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9193");
|
|
57646
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_9e6d37a2_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_9e6d37a2_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
57647
|
+
/* unused harmony reexport * */
|
|
57648
|
+
|
|
57649
|
+
|
|
57641
57650
|
/***/ }),
|
|
57642
57651
|
|
|
57643
57652
|
/***/ "3f8c":
|
|
@@ -65638,20 +65647,6 @@ module.exports = function (it) {
|
|
|
65638
65647
|
};
|
|
65639
65648
|
|
|
65640
65649
|
|
|
65641
|
-
/***/ }),
|
|
65642
|
-
|
|
65643
|
-
/***/ "8830":
|
|
65644
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
65645
|
-
|
|
65646
|
-
// Imports
|
|
65647
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
65648
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
65649
|
-
// Module
|
|
65650
|
-
exports.push([module.i, ".primary-color-text[data-v-af00a168]{color:#2681f3}.choose-housing[data-v-af00a168]{width:100%;height:100%;display:flex;flex-direction:column}.choose-housing .tree-view[data-v-af00a168]{flex:1;overflow:hidden;position:relative}.choose-housing .tree-view .spin-box[data-v-af00a168]{position:absolute;right:4px;top:4px;z-index:2}.choose-housing .tree-view[data-v-af00a168] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-af00a168] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-af00a168] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-af00a168] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-af00a168] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-af00a168] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-af00a168]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-af00a168]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-af00a168]{display:flex;align-content:center;justify-content:space-between;padding-right:20px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title[data-v-af00a168]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-af00a168]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-af00a168]{color:#2681f3}.choose-housing .text-gray[data-v-af00a168]{color:rgba(0,0,0,.25)}", ""]);
|
|
65651
|
-
// Exports
|
|
65652
|
-
module.exports = exports;
|
|
65653
|
-
|
|
65654
|
-
|
|
65655
65650
|
/***/ }),
|
|
65656
65651
|
|
|
65657
65652
|
/***/ "8875":
|
|
@@ -66296,6 +66291,22 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
66296
66291
|
}
|
|
66297
66292
|
|
|
66298
66293
|
|
|
66294
|
+
/***/ }),
|
|
66295
|
+
|
|
66296
|
+
/***/ "9193":
|
|
66297
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
66298
|
+
|
|
66299
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
66300
|
+
|
|
66301
|
+
// load the styles
|
|
66302
|
+
var content = __webpack_require__("15d0");
|
|
66303
|
+
if(content.__esModule) content = content.default;
|
|
66304
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
66305
|
+
if(content.locals) module.exports = content.locals;
|
|
66306
|
+
// add the styles to the DOM
|
|
66307
|
+
var add = __webpack_require__("499e").default
|
|
66308
|
+
var update = add("d85a188a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
66309
|
+
|
|
66299
66310
|
/***/ }),
|
|
66300
66311
|
|
|
66301
66312
|
/***/ "922a":
|
|
@@ -75284,17 +75295,6 @@ module.exports = function (target, TAG, STATIC) {
|
|
|
75284
75295
|
};
|
|
75285
75296
|
|
|
75286
75297
|
|
|
75287
|
-
/***/ }),
|
|
75288
|
-
|
|
75289
|
-
/***/ "d48c":
|
|
75290
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
75291
|
-
|
|
75292
|
-
"use strict";
|
|
75293
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_af00a168_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("299f");
|
|
75294
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_af00a168_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_af00a168_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
75295
|
-
/* unused harmony reexport * */
|
|
75296
|
-
|
|
75297
|
-
|
|
75298
75298
|
/***/ }),
|
|
75299
75299
|
|
|
75300
75300
|
/***/ "d4c3":
|
|
@@ -130535,34 +130535,34 @@ var SelectPropertyvue_type_style_index_0_id_50038b3a_lang_less_scoped_true = __w
|
|
|
130535
130535
|
const SelectProperty_exports_ = /*#__PURE__*/exportHelper_default()(SelectPropertyvue_type_script_lang_js, [['render',SelectPropertyvue_type_template_id_50038b3a_scoped_true_render],['__scopeId',"data-v-50038b3a"]])
|
|
130536
130536
|
|
|
130537
130537
|
/* harmony default export */ var SelectProperty = (SelectProperty_exports_);
|
|
130538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/ChooseHousingResources/index.vue?vue&type=template&id=
|
|
130538
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/ChooseHousingResources/index.vue?vue&type=template&id=9e6d37a2&scoped=true
|
|
130539
130539
|
|
|
130540
130540
|
|
|
130541
|
-
var
|
|
130542
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
130541
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_withScopeId = function _withScopeId(n) {
|
|
130542
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-9e6d37a2"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
130543
130543
|
};
|
|
130544
130544
|
|
|
130545
|
-
var
|
|
130545
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_1 = {
|
|
130546
130546
|
class: "choose-housing"
|
|
130547
130547
|
};
|
|
130548
|
-
var
|
|
130548
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_2 = {
|
|
130549
130549
|
class: "tree-view",
|
|
130550
130550
|
ref: "treeRef"
|
|
130551
130551
|
};
|
|
130552
|
-
var
|
|
130552
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_3 = {
|
|
130553
130553
|
class: "room-title"
|
|
130554
130554
|
};
|
|
130555
|
-
var
|
|
130555
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_4 = {
|
|
130556
130556
|
class: "title-show",
|
|
130557
130557
|
key: "title-disabled-tip"
|
|
130558
130558
|
};
|
|
130559
|
-
var
|
|
130559
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_5 = {
|
|
130560
130560
|
class: "title"
|
|
130561
130561
|
};
|
|
130562
|
-
var
|
|
130562
|
+
var ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_6 = {
|
|
130563
130563
|
key: 1
|
|
130564
130564
|
};
|
|
130565
|
-
function
|
|
130565
|
+
function ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
130566
130566
|
var _component_a_alert = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-alert");
|
|
130567
130567
|
|
|
130568
130568
|
var _component_a_spin = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-spin");
|
|
@@ -130577,14 +130577,14 @@ function ChooseHousingResourcesvue_type_template_id_af00a168_scoped_true_render(
|
|
|
130577
130577
|
|
|
130578
130578
|
var _component_a_tree = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tree");
|
|
130579
130579
|
|
|
130580
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
130580
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_1, [_ctx.alertTip ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_alert, {
|
|
130581
130581
|
key: 0,
|
|
130582
130582
|
"show-icon": "",
|
|
130583
130583
|
message: _ctx.alertTip,
|
|
130584
130584
|
style: {
|
|
130585
130585
|
"margin-bottom": "10px"
|
|
130586
130586
|
}
|
|
130587
|
-
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
130587
|
+
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_2, [_ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
130588
130588
|
key: 0
|
|
130589
130589
|
}, [_ctx.spinning ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_spin, {
|
|
130590
130590
|
key: 0,
|
|
@@ -130642,7 +130642,7 @@ function ChooseHousingResourcesvue_type_template_id_af00a168_scoped_true_render(
|
|
|
130642
130642
|
placement: "topLeft"
|
|
130643
130643
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
130644
130644
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
130645
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
130645
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_5, [dataRef.is_lock == 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_LockOutlined, {
|
|
130646
130646
|
key: 0,
|
|
130647
130647
|
class: "locked"
|
|
130648
130648
|
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1)]), _ctx.checkable && _ctx.showRoomArea ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
|
|
@@ -130657,12 +130657,12 @@ function ChooseHousingResourcesvue_type_template_id_af00a168_scoped_true_render(
|
|
|
130657
130657
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.disabledTip), 1)];
|
|
130658
130658
|
}),
|
|
130659
130659
|
key: "0"
|
|
130660
|
-
} : undefined]), 1024)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
130660
|
+
} : undefined]), 1024)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1))];
|
|
130661
130661
|
}),
|
|
130662
130662
|
_: 1
|
|
130663
130663
|
}, 8, ["height", "checkable", "expandedKeys", "loadedKeys", "checkedKeys", "tree-data", "loadData", "disabled", "onCheck"])], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512)]);
|
|
130664
130664
|
}
|
|
130665
|
-
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=
|
|
130665
|
+
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=9e6d37a2&scoped=true
|
|
130666
130666
|
|
|
130667
130667
|
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
130668
130668
|
var runtime = __webpack_require__("96cf");
|
|
@@ -131799,32 +131799,32 @@ var util_utils = {
|
|
|
131799
131799
|
var getShowList = function getShowList(list) {
|
|
131800
131800
|
// eslint-disable-next-line no-async-promise-executor
|
|
131801
131801
|
return new Promise( /*#__PURE__*/function () {
|
|
131802
|
-
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
131803
|
-
var result, childType, buildId,
|
|
131802
|
+
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(resolve) {
|
|
131803
|
+
var result, childType, buildId, getLayerAsync, projectBuild, vId, vItem, layerIds, getRoomAsync, roomIds, villageId, _iterator, _step, _loop;
|
|
131804
131804
|
|
|
131805
|
-
return regeneratorRuntime.wrap(function
|
|
131805
|
+
return regeneratorRuntime.wrap(function _callee5$(_context6) {
|
|
131806
131806
|
while (1) {
|
|
131807
|
-
switch (
|
|
131807
|
+
switch (_context6.prev = _context6.next) {
|
|
131808
131808
|
case 0:
|
|
131809
131809
|
result = [];
|
|
131810
131810
|
|
|
131811
131811
|
if (list.length) {
|
|
131812
|
-
|
|
131812
|
+
_context6.next = 3;
|
|
131813
131813
|
break;
|
|
131814
131814
|
}
|
|
131815
131815
|
|
|
131816
|
-
return
|
|
131816
|
+
return _context6.abrupt("return", result);
|
|
131817
131817
|
|
|
131818
131818
|
case 3:
|
|
131819
131819
|
childType = list[0].childType; // childType 取的第一个 所以把 buildLevel 放在这里面判断
|
|
131820
131820
|
|
|
131821
131821
|
if (!["build", "layer", "room", "buildLevel"].includes(childType)) {
|
|
131822
|
-
|
|
131822
|
+
_context6.next = 35;
|
|
131823
131823
|
break;
|
|
131824
131824
|
}
|
|
131825
131825
|
|
|
131826
131826
|
if (!(childType == "build" || childType == "buildLevel")) {
|
|
131827
|
-
|
|
131827
|
+
_context6.next = 19;
|
|
131828
131828
|
break;
|
|
131829
131829
|
}
|
|
131830
131830
|
|
|
@@ -131838,179 +131838,64 @@ var util_utils = {
|
|
|
131838
131838
|
});
|
|
131839
131839
|
result = list.filter(function (item) {
|
|
131840
131840
|
return buildId.includes(item.id) || item.childType === "buildLevel" && item.children.length;
|
|
131841
|
-
});
|
|
131842
|
-
|
|
131843
|
-
resultLength = 0;
|
|
131844
|
-
currentIndex = 0;
|
|
131845
|
-
|
|
131846
|
-
getResultLength = function getResultLength(data) {
|
|
131847
|
-
data.forEach(function (item) {
|
|
131848
|
-
var _item$children;
|
|
131849
|
-
|
|
131850
|
-
if (item !== null && item !== void 0 && (_item$children = item.children) !== null && _item$children !== void 0 && _item$children.length) {
|
|
131851
|
-
getResultLength(item.children);
|
|
131852
|
-
} else {
|
|
131853
|
-
resultLength += 1;
|
|
131854
|
-
}
|
|
131855
|
-
});
|
|
131856
|
-
};
|
|
131857
|
-
|
|
131858
|
-
getResultLength(result);
|
|
131841
|
+
});
|
|
131859
131842
|
|
|
131860
131843
|
getLayerAsync = /*#__PURE__*/function () {
|
|
131861
|
-
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
131862
|
-
var
|
|
131863
|
-
|
|
131864
|
-
return regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
131844
|
+
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
131845
|
+
var requestArr, expandedKeys;
|
|
131846
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
131865
131847
|
while (1) {
|
|
131866
|
-
switch (
|
|
131848
|
+
switch (_context2.prev = _context2.next) {
|
|
131867
131849
|
case 0:
|
|
131868
|
-
|
|
131869
|
-
|
|
131870
|
-
|
|
131871
|
-
|
|
131872
|
-
|
|
131873
|
-
|
|
131874
|
-
|
|
131875
|
-
|
|
131876
|
-
|
|
131877
|
-
|
|
131878
|
-
|
|
131879
|
-
|
|
131880
|
-
|
|
131881
|
-
|
|
131882
|
-
|
|
131883
|
-
|
|
131884
|
-
|
|
131885
|
-
|
|
131886
|
-
|
|
131887
|
-
|
|
131888
|
-
|
|
131889
|
-
|
|
131890
|
-
|
|
131891
|
-
|
|
131892
|
-
|
|
131893
|
-
|
|
131894
|
-
|
|
131895
|
-
|
|
131896
|
-
});
|
|
131897
|
-
|
|
131898
|
-
case 3:
|
|
131899
|
-
showExpandedKeys.push(result[index].children[childIndex].key);
|
|
131900
|
-
|
|
131901
|
-
if (!(currentIndex == resultLength)) {
|
|
131902
|
-
_context.next = 7;
|
|
131903
|
-
break;
|
|
131904
|
-
}
|
|
131905
|
-
|
|
131906
|
-
_context.next = 7;
|
|
131907
|
-
return getShowListAfter("layer");
|
|
131908
|
-
|
|
131909
|
-
case 7:
|
|
131910
|
-
case "end":
|
|
131911
|
-
return _context.stop();
|
|
131912
|
-
}
|
|
131913
|
-
}
|
|
131914
|
-
}, _callee);
|
|
131915
|
-
}));
|
|
131916
|
-
|
|
131917
|
-
return function (_x2) {
|
|
131918
|
-
return _ref4.apply(this, arguments);
|
|
131919
|
-
};
|
|
131920
|
-
}());
|
|
131921
|
-
|
|
131922
|
-
case 2:
|
|
131923
|
-
case "end":
|
|
131924
|
-
return _context2.stop();
|
|
131925
|
-
}
|
|
131926
|
-
}
|
|
131927
|
-
}, _loop2);
|
|
131928
|
-
});
|
|
131929
|
-
_context4.t0 = regeneratorRuntime.keys(result[index].children);
|
|
131930
|
-
|
|
131931
|
-
case 3:
|
|
131932
|
-
if ((_context4.t1 = _context4.t0()).done) {
|
|
131933
|
-
_context4.next = 8;
|
|
131934
|
-
break;
|
|
131935
|
-
}
|
|
131936
|
-
|
|
131937
|
-
childIndex = _context4.t1.value;
|
|
131938
|
-
return _context4.delegateYield(_loop2(childIndex), "t2", 6);
|
|
131939
|
-
|
|
131940
|
-
case 6:
|
|
131941
|
-
_context4.next = 3;
|
|
131942
|
-
break;
|
|
131943
|
-
|
|
131944
|
-
case 8:
|
|
131945
|
-
_context4.next = 12;
|
|
131946
|
-
break;
|
|
131947
|
-
|
|
131948
|
-
case 10:
|
|
131949
|
-
_context4.next = 12;
|
|
131950
|
-
return getLayerList(result[index]).then( /*#__PURE__*/function () {
|
|
131951
|
-
var _ref5 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(layerList) {
|
|
131952
|
-
return regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
131953
|
-
while (1) {
|
|
131954
|
-
switch (_context3.prev = _context3.next) {
|
|
131955
|
-
case 0:
|
|
131956
|
-
currentIndex += 1;
|
|
131957
|
-
_context3.next = 3;
|
|
131958
|
-
return getShowList(layerList).then(function (res) {
|
|
131959
|
-
result[index].children = res;
|
|
131960
|
-
});
|
|
131961
|
-
|
|
131962
|
-
case 3:
|
|
131963
|
-
showExpandedKeys.push(result[index].key);
|
|
131964
|
-
|
|
131965
|
-
if (!(currentIndex == resultLength)) {
|
|
131966
|
-
_context3.next = 7;
|
|
131967
|
-
break;
|
|
131968
|
-
}
|
|
131969
|
-
|
|
131970
|
-
_context3.next = 7;
|
|
131971
|
-
return getShowListAfter("layer");
|
|
131972
|
-
|
|
131973
|
-
case 7:
|
|
131974
|
-
case "end":
|
|
131975
|
-
return _context3.stop();
|
|
131976
|
-
}
|
|
131977
|
-
}
|
|
131978
|
-
}, _callee2);
|
|
131850
|
+
requestArr = [];
|
|
131851
|
+
expandedKeys = [];
|
|
131852
|
+
result.forEach(function (item) {
|
|
131853
|
+
if (item.childType === "buildLevel") {
|
|
131854
|
+
item.children.forEach(function (child) {
|
|
131855
|
+
expandedKeys.push(child.key);
|
|
131856
|
+
requestArr.push(getLayerList(child));
|
|
131857
|
+
});
|
|
131858
|
+
} else {
|
|
131859
|
+
expandedKeys.push(item.key);
|
|
131860
|
+
requestArr.push(getLayerList(item));
|
|
131861
|
+
}
|
|
131862
|
+
});
|
|
131863
|
+
_context2.next = 5;
|
|
131864
|
+
return Promise.all(requestArr).then( /*#__PURE__*/function () {
|
|
131865
|
+
var _ref4 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(data) {
|
|
131866
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
131867
|
+
while (1) {
|
|
131868
|
+
switch (_context.prev = _context.next) {
|
|
131869
|
+
case 0:
|
|
131870
|
+
showExpandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(showExpandedKeys), expandedKeys);
|
|
131871
|
+
_context.next = 3;
|
|
131872
|
+
return getShowListAfter("layer");
|
|
131873
|
+
|
|
131874
|
+
case 3:
|
|
131875
|
+
_context.next = 5;
|
|
131876
|
+
return Promise.all(data.map(function (item) {
|
|
131877
|
+
return getShowList(item);
|
|
131979
131878
|
}));
|
|
131980
131879
|
|
|
131981
|
-
|
|
131982
|
-
|
|
131983
|
-
|
|
131984
|
-
|
|
131985
|
-
|
|
131986
|
-
case 12:
|
|
131987
|
-
case "end":
|
|
131988
|
-
return _context4.stop();
|
|
131880
|
+
case 5:
|
|
131881
|
+
case "end":
|
|
131882
|
+
return _context.stop();
|
|
131883
|
+
}
|
|
131989
131884
|
}
|
|
131990
|
-
}
|
|
131991
|
-
}
|
|
131992
|
-
});
|
|
131993
|
-
_context5.t0 = regeneratorRuntime.keys(result);
|
|
131994
|
-
|
|
131995
|
-
case 2:
|
|
131996
|
-
if ((_context5.t1 = _context5.t0()).done) {
|
|
131997
|
-
_context5.next = 7;
|
|
131998
|
-
break;
|
|
131999
|
-
}
|
|
131885
|
+
}, _callee);
|
|
131886
|
+
}));
|
|
132000
131887
|
|
|
132001
|
-
|
|
132002
|
-
|
|
131888
|
+
return function (_x2) {
|
|
131889
|
+
return _ref4.apply(this, arguments);
|
|
131890
|
+
};
|
|
131891
|
+
}());
|
|
132003
131892
|
|
|
132004
131893
|
case 5:
|
|
132005
|
-
_context5.next = 2;
|
|
132006
|
-
break;
|
|
132007
|
-
|
|
132008
|
-
case 7:
|
|
132009
131894
|
case "end":
|
|
132010
|
-
return
|
|
131895
|
+
return _context2.stop();
|
|
132011
131896
|
}
|
|
132012
131897
|
}
|
|
132013
|
-
},
|
|
131898
|
+
}, _callee2);
|
|
132014
131899
|
}));
|
|
132015
131900
|
|
|
132016
131901
|
return function getLayerAsync() {
|
|
@@ -132019,26 +131904,26 @@ var util_utils = {
|
|
|
132019
131904
|
}();
|
|
132020
131905
|
|
|
132021
131906
|
if (!(props.checkType == "build")) {
|
|
132022
|
-
|
|
131907
|
+
_context6.next = 15;
|
|
132023
131908
|
break;
|
|
132024
131909
|
}
|
|
132025
131910
|
|
|
132026
|
-
|
|
131911
|
+
_context6.next = 13;
|
|
132027
131912
|
return getShowListAfter("build");
|
|
132028
131913
|
|
|
132029
|
-
case
|
|
132030
|
-
|
|
131914
|
+
case 13:
|
|
131915
|
+
_context6.next = 17;
|
|
132031
131916
|
break;
|
|
132032
131917
|
|
|
132033
|
-
case
|
|
132034
|
-
|
|
131918
|
+
case 15:
|
|
131919
|
+
_context6.next = 17;
|
|
132035
131920
|
return getLayerAsync();
|
|
132036
131921
|
|
|
132037
|
-
case
|
|
132038
|
-
|
|
131922
|
+
case 17:
|
|
131923
|
+
_context6.next = 33;
|
|
132039
131924
|
break;
|
|
132040
131925
|
|
|
132041
|
-
case
|
|
131926
|
+
case 19:
|
|
132042
131927
|
projectBuild = props.showList.projectBuild;
|
|
132043
131928
|
vId = list[0].extra.village_id;
|
|
132044
131929
|
vItem = projectBuild.find(function (item) {
|
|
@@ -132046,7 +131931,7 @@ var util_utils = {
|
|
|
132046
131931
|
});
|
|
132047
131932
|
|
|
132048
131933
|
if (!(childType == "layer")) {
|
|
132049
|
-
|
|
131934
|
+
_context6.next = 31;
|
|
132050
131935
|
break;
|
|
132051
131936
|
}
|
|
132052
131937
|
|
|
@@ -132059,102 +131944,74 @@ var util_utils = {
|
|
|
132059
131944
|
});
|
|
132060
131945
|
|
|
132061
131946
|
if (!(props.checkType != "layer")) {
|
|
132062
|
-
|
|
131947
|
+
_context6.next = 29;
|
|
132063
131948
|
break;
|
|
132064
131949
|
}
|
|
132065
131950
|
|
|
132066
131951
|
getRoomAsync = /*#__PURE__*/function () {
|
|
132067
|
-
var
|
|
132068
|
-
var
|
|
132069
|
-
|
|
132070
|
-
return regeneratorRuntime.wrap(function _callee5$(_context8) {
|
|
131952
|
+
var _ref5 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
131953
|
+
var requestArr, expandedKeys;
|
|
131954
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
132071
131955
|
while (1) {
|
|
132072
|
-
switch (
|
|
131956
|
+
switch (_context4.prev = _context4.next) {
|
|
132073
131957
|
case 0:
|
|
132074
|
-
|
|
132075
|
-
|
|
132076
|
-
|
|
132077
|
-
|
|
132078
|
-
|
|
132079
|
-
|
|
132080
|
-
|
|
132081
|
-
|
|
132082
|
-
|
|
132083
|
-
|
|
132084
|
-
|
|
132085
|
-
|
|
132086
|
-
|
|
132087
|
-
|
|
132088
|
-
|
|
132089
|
-
|
|
132090
|
-
|
|
132091
|
-
|
|
132092
|
-
|
|
132093
|
-
|
|
132094
|
-
|
|
132095
|
-
_context6.next = 6;
|
|
132096
|
-
break;
|
|
132097
|
-
}
|
|
132098
|
-
|
|
132099
|
-
_context6.next = 6;
|
|
132100
|
-
return getShowListAfter("room");
|
|
132101
|
-
|
|
132102
|
-
case 6:
|
|
132103
|
-
case "end":
|
|
132104
|
-
return _context6.stop();
|
|
132105
|
-
}
|
|
132106
|
-
}
|
|
132107
|
-
}, _callee4);
|
|
131958
|
+
requestArr = [];
|
|
131959
|
+
expandedKeys = [];
|
|
131960
|
+
result.forEach(function (item) {
|
|
131961
|
+
requestArr.push(getRoomList(item));
|
|
131962
|
+
expandedKeys.push(item.key);
|
|
131963
|
+
});
|
|
131964
|
+
_context4.next = 5;
|
|
131965
|
+
return Promise.all(requestArr).then( /*#__PURE__*/function () {
|
|
131966
|
+
var _ref6 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(data) {
|
|
131967
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
131968
|
+
while (1) {
|
|
131969
|
+
switch (_context3.prev = _context3.next) {
|
|
131970
|
+
case 0:
|
|
131971
|
+
showExpandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(showExpandedKeys), expandedKeys);
|
|
131972
|
+
_context3.next = 3;
|
|
131973
|
+
return getShowListAfter("room");
|
|
131974
|
+
|
|
131975
|
+
case 3:
|
|
131976
|
+
_context3.next = 5;
|
|
131977
|
+
return Promise.all(data.map(function (item) {
|
|
131978
|
+
return getShowList(item);
|
|
132108
131979
|
}));
|
|
132109
131980
|
|
|
132110
|
-
|
|
132111
|
-
|
|
132112
|
-
|
|
132113
|
-
|
|
132114
|
-
|
|
132115
|
-
case 2:
|
|
132116
|
-
case "end":
|
|
132117
|
-
return _context7.stop();
|
|
131981
|
+
case 5:
|
|
131982
|
+
case "end":
|
|
131983
|
+
return _context3.stop();
|
|
131984
|
+
}
|
|
132118
131985
|
}
|
|
132119
|
-
}
|
|
132120
|
-
}
|
|
132121
|
-
});
|
|
132122
|
-
_context8.t0 = regeneratorRuntime.keys(result);
|
|
132123
|
-
|
|
132124
|
-
case 2:
|
|
132125
|
-
if ((_context8.t1 = _context8.t0()).done) {
|
|
132126
|
-
_context8.next = 7;
|
|
132127
|
-
break;
|
|
132128
|
-
}
|
|
131986
|
+
}, _callee3);
|
|
131987
|
+
}));
|
|
132129
131988
|
|
|
132130
|
-
|
|
132131
|
-
|
|
131989
|
+
return function (_x3) {
|
|
131990
|
+
return _ref6.apply(this, arguments);
|
|
131991
|
+
};
|
|
131992
|
+
}());
|
|
132132
131993
|
|
|
132133
131994
|
case 5:
|
|
132134
|
-
_context8.next = 2;
|
|
132135
|
-
break;
|
|
132136
|
-
|
|
132137
|
-
case 7:
|
|
132138
131995
|
case "end":
|
|
132139
|
-
return
|
|
131996
|
+
return _context4.stop();
|
|
132140
131997
|
}
|
|
132141
131998
|
}
|
|
132142
|
-
},
|
|
131999
|
+
}, _callee4);
|
|
132143
132000
|
}));
|
|
132144
132001
|
|
|
132145
132002
|
return function getRoomAsync() {
|
|
132146
|
-
return
|
|
132003
|
+
return _ref5.apply(this, arguments);
|
|
132147
132004
|
};
|
|
132148
132005
|
}();
|
|
132149
132006
|
|
|
132150
|
-
|
|
132007
|
+
_context6.next = 29;
|
|
132151
132008
|
return getRoomAsync();
|
|
132152
132009
|
|
|
132153
|
-
case
|
|
132154
|
-
|
|
132010
|
+
case 29:
|
|
132011
|
+
_context6.next = 33;
|
|
132155
132012
|
break;
|
|
132156
132013
|
|
|
132157
|
-
case
|
|
132014
|
+
case 31:
|
|
132158
132015
|
// 房间
|
|
132159
132016
|
roomIds = vItem.room.map(function (item) {
|
|
132160
132017
|
return item.id;
|
|
@@ -132163,29 +132020,29 @@ var util_utils = {
|
|
|
132163
132020
|
return roomIds.includes(item.id);
|
|
132164
132021
|
});
|
|
132165
132022
|
|
|
132166
|
-
case
|
|
132167
|
-
|
|
132023
|
+
case 33:
|
|
132024
|
+
_context6.next = 52;
|
|
132168
132025
|
break;
|
|
132169
132026
|
|
|
132170
|
-
case
|
|
132027
|
+
case 35:
|
|
132171
132028
|
// 部门 或者 项目
|
|
132172
132029
|
villageId = props.showList.villageId;
|
|
132173
132030
|
_iterator = _createForOfIteratorHelper(list);
|
|
132174
|
-
|
|
132175
|
-
|
|
132031
|
+
_context6.prev = 37;
|
|
132032
|
+
_loop = /*#__PURE__*/regeneratorRuntime.mark(function _loop() {
|
|
132176
132033
|
var item;
|
|
132177
|
-
return regeneratorRuntime.wrap(function
|
|
132034
|
+
return regeneratorRuntime.wrap(function _loop$(_context5) {
|
|
132178
132035
|
while (1) {
|
|
132179
|
-
switch (
|
|
132036
|
+
switch (_context5.prev = _context5.next) {
|
|
132180
132037
|
case 0:
|
|
132181
132038
|
item = _step.value;
|
|
132182
132039
|
|
|
132183
132040
|
if (!(item.childType == "department")) {
|
|
132184
|
-
|
|
132041
|
+
_context5.next = 7;
|
|
132185
132042
|
break;
|
|
132186
132043
|
}
|
|
132187
132044
|
|
|
132188
|
-
|
|
132045
|
+
_context5.next = 4;
|
|
132189
132046
|
return getShowList(item.children).then(function (res) {
|
|
132190
132047
|
item.children = res;
|
|
132191
132048
|
});
|
|
@@ -132195,21 +132052,21 @@ var util_utils = {
|
|
|
132195
132052
|
result.push(item);
|
|
132196
132053
|
}
|
|
132197
132054
|
|
|
132198
|
-
|
|
132055
|
+
_context5.next = 12;
|
|
132199
132056
|
break;
|
|
132200
132057
|
|
|
132201
132058
|
case 7:
|
|
132202
132059
|
if (!(item.childType == "village")) {
|
|
132203
|
-
|
|
132060
|
+
_context5.next = 12;
|
|
132204
132061
|
break;
|
|
132205
132062
|
}
|
|
132206
132063
|
|
|
132207
132064
|
if (!villageId.includes(item.id)) {
|
|
132208
|
-
|
|
132065
|
+
_context5.next = 12;
|
|
132209
132066
|
break;
|
|
132210
132067
|
}
|
|
132211
132068
|
|
|
132212
|
-
|
|
132069
|
+
_context5.next = 11;
|
|
132213
132070
|
return getShowList(item.children).then(function (res) {
|
|
132214
132071
|
item.children = res;
|
|
132215
132072
|
});
|
|
@@ -132219,52 +132076,52 @@ var util_utils = {
|
|
|
132219
132076
|
|
|
132220
132077
|
case 12:
|
|
132221
132078
|
case "end":
|
|
132222
|
-
return
|
|
132079
|
+
return _context5.stop();
|
|
132223
132080
|
}
|
|
132224
132081
|
}
|
|
132225
|
-
},
|
|
132082
|
+
}, _loop);
|
|
132226
132083
|
});
|
|
132227
132084
|
|
|
132228
132085
|
_iterator.s();
|
|
132229
132086
|
|
|
132230
|
-
case
|
|
132087
|
+
case 40:
|
|
132231
132088
|
if ((_step = _iterator.n()).done) {
|
|
132232
|
-
|
|
132089
|
+
_context6.next = 44;
|
|
132233
132090
|
break;
|
|
132234
132091
|
}
|
|
132235
132092
|
|
|
132236
|
-
return
|
|
132093
|
+
return _context6.delegateYield(_loop(), "t0", 42);
|
|
132237
132094
|
|
|
132238
|
-
case
|
|
132239
|
-
|
|
132095
|
+
case 42:
|
|
132096
|
+
_context6.next = 40;
|
|
132240
132097
|
break;
|
|
132241
132098
|
|
|
132242
|
-
case
|
|
132243
|
-
|
|
132099
|
+
case 44:
|
|
132100
|
+
_context6.next = 49;
|
|
132244
132101
|
break;
|
|
132245
132102
|
|
|
132246
|
-
case
|
|
132247
|
-
|
|
132248
|
-
|
|
132103
|
+
case 46:
|
|
132104
|
+
_context6.prev = 46;
|
|
132105
|
+
_context6.t1 = _context6["catch"](37);
|
|
132249
132106
|
|
|
132250
|
-
_iterator.e(
|
|
132107
|
+
_iterator.e(_context6.t1);
|
|
132251
132108
|
|
|
132252
|
-
case
|
|
132253
|
-
|
|
132109
|
+
case 49:
|
|
132110
|
+
_context6.prev = 49;
|
|
132254
132111
|
|
|
132255
132112
|
_iterator.f();
|
|
132256
132113
|
|
|
132257
|
-
return
|
|
132114
|
+
return _context6.finish(49);
|
|
132258
132115
|
|
|
132259
|
-
case
|
|
132116
|
+
case 52:
|
|
132260
132117
|
resolve(result);
|
|
132261
132118
|
|
|
132262
|
-
case
|
|
132119
|
+
case 53:
|
|
132263
132120
|
case "end":
|
|
132264
|
-
return
|
|
132121
|
+
return _context6.stop();
|
|
132265
132122
|
}
|
|
132266
132123
|
}
|
|
132267
|
-
},
|
|
132124
|
+
}, _callee5, null, [[37, 46, 49, 52]]);
|
|
132268
132125
|
}));
|
|
132269
132126
|
|
|
132270
132127
|
return function (_x) {
|
|
@@ -132416,84 +132273,85 @@ var util_utils = {
|
|
|
132416
132273
|
}
|
|
132417
132274
|
|
|
132418
132275
|
CL("emitResult====", _result);
|
|
132419
|
-
|
|
132276
|
+
spinning.value = false;
|
|
132420
132277
|
emit("changeTreeLoading", false);
|
|
132278
|
+
emit("getResult", _result);
|
|
132421
132279
|
};
|
|
132422
132280
|
|
|
132423
132281
|
var getVillageFromTree = /*#__PURE__*/function () {
|
|
132424
|
-
var
|
|
132282
|
+
var _ref7 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(data, id) {
|
|
132425
132283
|
var index, item, _item;
|
|
132426
132284
|
|
|
132427
|
-
return regeneratorRuntime.wrap(function
|
|
132285
|
+
return regeneratorRuntime.wrap(function _callee6$(_context7) {
|
|
132428
132286
|
while (1) {
|
|
132429
|
-
switch (
|
|
132287
|
+
switch (_context7.prev = _context7.next) {
|
|
132430
132288
|
case 0:
|
|
132431
|
-
|
|
132289
|
+
_context7.t0 = regeneratorRuntime.keys(data);
|
|
132432
132290
|
|
|
132433
132291
|
case 1:
|
|
132434
|
-
if ((
|
|
132435
|
-
|
|
132292
|
+
if ((_context7.t1 = _context7.t0()).done) {
|
|
132293
|
+
_context7.next = 17;
|
|
132436
132294
|
break;
|
|
132437
132295
|
}
|
|
132438
132296
|
|
|
132439
|
-
index =
|
|
132297
|
+
index = _context7.t1.value;
|
|
132440
132298
|
item = data[index];
|
|
132441
132299
|
|
|
132442
132300
|
if (["build", "buildLevel", "room", "layer", "subRoom"].includes(item.childType)) {
|
|
132443
|
-
|
|
132301
|
+
_context7.next = 15;
|
|
132444
132302
|
break;
|
|
132445
132303
|
}
|
|
132446
132304
|
|
|
132447
132305
|
if (!(item.childType === "village" && item.id == id)) {
|
|
132448
|
-
|
|
132306
|
+
_context7.next = 9;
|
|
132449
132307
|
break;
|
|
132450
132308
|
}
|
|
132451
132309
|
|
|
132452
|
-
return
|
|
132310
|
+
return _context7.abrupt("return", item);
|
|
132453
132311
|
|
|
132454
132312
|
case 9:
|
|
132455
132313
|
if (!(item.children && item.children.length)) {
|
|
132456
|
-
|
|
132314
|
+
_context7.next = 15;
|
|
132457
132315
|
break;
|
|
132458
132316
|
}
|
|
132459
132317
|
|
|
132460
|
-
|
|
132318
|
+
_context7.next = 12;
|
|
132461
132319
|
return getVillageFromTree(item.children, id);
|
|
132462
132320
|
|
|
132463
132321
|
case 12:
|
|
132464
|
-
_item =
|
|
132322
|
+
_item = _context7.sent;
|
|
132465
132323
|
|
|
132466
132324
|
if (!_item) {
|
|
132467
|
-
|
|
132325
|
+
_context7.next = 15;
|
|
132468
132326
|
break;
|
|
132469
132327
|
}
|
|
132470
132328
|
|
|
132471
|
-
return
|
|
132329
|
+
return _context7.abrupt("return", _item);
|
|
132472
132330
|
|
|
132473
132331
|
case 15:
|
|
132474
|
-
|
|
132332
|
+
_context7.next = 1;
|
|
132475
132333
|
break;
|
|
132476
132334
|
|
|
132477
132335
|
case 17:
|
|
132478
132336
|
case "end":
|
|
132479
|
-
return
|
|
132337
|
+
return _context7.stop();
|
|
132480
132338
|
}
|
|
132481
132339
|
}
|
|
132482
|
-
},
|
|
132340
|
+
}, _callee6);
|
|
132483
132341
|
}));
|
|
132484
132342
|
|
|
132485
|
-
return function getVillageFromTree(
|
|
132486
|
-
return
|
|
132343
|
+
return function getVillageFromTree(_x4, _x5) {
|
|
132344
|
+
return _ref7.apply(this, arguments);
|
|
132487
132345
|
};
|
|
132488
132346
|
}();
|
|
132489
132347
|
|
|
132490
132348
|
var getCheckedInfoByKeys = /*#__PURE__*/function () {
|
|
132491
|
-
var
|
|
132492
|
-
var result, initKeys, checkedKeys, setResult, villageMap, _iterator3, _step3,
|
|
132349
|
+
var _ref8 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
|
132350
|
+
var result, initKeys, checkedKeys, setResult, villageMap, _iterator3, _step3, _loop2, _ret;
|
|
132493
132351
|
|
|
132494
|
-
return regeneratorRuntime.wrap(function
|
|
132352
|
+
return regeneratorRuntime.wrap(function _callee11$(_context13) {
|
|
132495
132353
|
while (1) {
|
|
132496
|
-
switch (
|
|
132354
|
+
switch (_context13.prev = _context13.next) {
|
|
132497
132355
|
case 0:
|
|
132498
132356
|
result = {
|
|
132499
132357
|
villageList: [],
|
|
@@ -132506,12 +132364,12 @@ var util_utils = {
|
|
|
132506
132364
|
};
|
|
132507
132365
|
|
|
132508
132366
|
if (state.checkedKeys.length) {
|
|
132509
|
-
|
|
132367
|
+
_context13.next = 4;
|
|
132510
132368
|
break;
|
|
132511
132369
|
}
|
|
132512
132370
|
|
|
132513
132371
|
emitResult(result);
|
|
132514
|
-
return
|
|
132372
|
+
return _context13.abrupt("return");
|
|
132515
132373
|
|
|
132516
132374
|
case 4:
|
|
132517
132375
|
emit("handleResult", true);
|
|
@@ -132543,12 +132401,12 @@ var util_utils = {
|
|
|
132543
132401
|
|
|
132544
132402
|
villageMap = {};
|
|
132545
132403
|
_iterator3 = _createForOfIteratorHelper(checkedKeys);
|
|
132546
|
-
|
|
132547
|
-
|
|
132404
|
+
_context13.prev = 10;
|
|
132405
|
+
_loop2 = /*#__PURE__*/regeneratorRuntime.mark(function _loop2() {
|
|
132548
132406
|
var key, arrKey, villageId, village, buildId, build, layerId;
|
|
132549
|
-
return regeneratorRuntime.wrap(function
|
|
132407
|
+
return regeneratorRuntime.wrap(function _loop2$(_context12) {
|
|
132550
132408
|
while (1) {
|
|
132551
|
-
switch (
|
|
132409
|
+
switch (_context12.prev = _context12.next) {
|
|
132552
132410
|
case 0:
|
|
132553
132411
|
key = _step3.value;
|
|
132554
132412
|
arrKey = [];
|
|
@@ -132563,26 +132421,26 @@ var util_utils = {
|
|
|
132563
132421
|
village = villageMap[villageId];
|
|
132564
132422
|
|
|
132565
132423
|
if (village) {
|
|
132566
|
-
|
|
132424
|
+
_context12.next = 10;
|
|
132567
132425
|
break;
|
|
132568
132426
|
}
|
|
132569
132427
|
|
|
132570
|
-
|
|
132428
|
+
_context12.next = 9;
|
|
132571
132429
|
return getVillageFromTree(state.treeList, villageId);
|
|
132572
132430
|
|
|
132573
132431
|
case 9:
|
|
132574
|
-
village = villageMap[villageId] =
|
|
132432
|
+
village = villageMap[villageId] = _context12.sent;
|
|
132575
132433
|
|
|
132576
132434
|
case 10:
|
|
132577
132435
|
if (!(arrKey.length == 2)) {
|
|
132578
|
-
|
|
132436
|
+
_context12.next = 15;
|
|
132579
132437
|
break;
|
|
132580
132438
|
}
|
|
132581
132439
|
|
|
132582
132440
|
emit("changeTreeLoading", true); // 选中项目
|
|
132583
132441
|
|
|
132584
132442
|
setResult("villageList", village);
|
|
132585
|
-
|
|
132443
|
+
_context12.next = 29;
|
|
132586
132444
|
break;
|
|
132587
132445
|
|
|
132588
132446
|
case 15:
|
|
@@ -132604,69 +132462,70 @@ var util_utils = {
|
|
|
132604
132462
|
});
|
|
132605
132463
|
|
|
132606
132464
|
if (!(arrKey.length == 4)) {
|
|
132607
|
-
|
|
132465
|
+
_context12.next = 22;
|
|
132608
132466
|
break;
|
|
132609
132467
|
}
|
|
132610
132468
|
|
|
132611
132469
|
emit("changeTreeLoading", true); // 选中楼宇
|
|
132612
132470
|
|
|
132613
132471
|
setResult("buildList", build);
|
|
132614
|
-
|
|
132472
|
+
_context12.next = 29;
|
|
132615
132473
|
break;
|
|
132616
132474
|
|
|
132617
132475
|
case 22:
|
|
132618
132476
|
if (build) {
|
|
132619
|
-
|
|
132477
|
+
_context12.next = 24;
|
|
132620
132478
|
break;
|
|
132621
132479
|
}
|
|
132622
132480
|
|
|
132623
|
-
return
|
|
132481
|
+
return _context12.abrupt("return", {
|
|
132624
132482
|
v: void 0
|
|
132625
132483
|
});
|
|
132626
132484
|
|
|
132627
132485
|
case 24:
|
|
132486
|
+
spinning.value = true;
|
|
132628
132487
|
emit("changeTreeLoading", true);
|
|
132629
132488
|
layerId = Number(arrKey[5]);
|
|
132630
|
-
|
|
132489
|
+
_context12.next = 29;
|
|
132631
132490
|
return getLayerList(build).then( /*#__PURE__*/function () {
|
|
132632
|
-
var
|
|
132491
|
+
var _ref9 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(layerList) {
|
|
132633
132492
|
var layer, roomId, subRoomId;
|
|
132634
|
-
return regeneratorRuntime.wrap(function
|
|
132493
|
+
return regeneratorRuntime.wrap(function _callee10$(_context11) {
|
|
132635
132494
|
while (1) {
|
|
132636
|
-
switch (
|
|
132495
|
+
switch (_context11.prev = _context11.next) {
|
|
132637
132496
|
case 0:
|
|
132638
132497
|
layer = (layerList || []).find(function (item) {
|
|
132639
132498
|
return item.id == layerId;
|
|
132640
132499
|
});
|
|
132641
132500
|
|
|
132642
132501
|
if (!(arrKey.length == 6)) {
|
|
132643
|
-
|
|
132502
|
+
_context11.next = 5;
|
|
132644
132503
|
break;
|
|
132645
132504
|
}
|
|
132646
132505
|
|
|
132647
132506
|
setResult("layerList", layer);
|
|
132648
|
-
|
|
132507
|
+
_context11.next = 21;
|
|
132649
132508
|
break;
|
|
132650
132509
|
|
|
132651
132510
|
case 5:
|
|
132652
132511
|
roomId = Number(arrKey[7]);
|
|
132653
132512
|
|
|
132654
132513
|
if (!(arrKey.length == 8)) {
|
|
132655
|
-
|
|
132514
|
+
_context11.next = 12;
|
|
132656
132515
|
break;
|
|
132657
132516
|
}
|
|
132658
132517
|
|
|
132659
132518
|
if (!(props.checkType != "layer")) {
|
|
132660
|
-
|
|
132519
|
+
_context11.next = 10;
|
|
132661
132520
|
break;
|
|
132662
132521
|
}
|
|
132663
132522
|
|
|
132664
|
-
|
|
132665
|
-
return getRoomList(layer).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
132523
|
+
_context11.next = 10;
|
|
132524
|
+
return getRoomList(layer).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
132666
132525
|
var room;
|
|
132667
|
-
return regeneratorRuntime.wrap(function
|
|
132526
|
+
return regeneratorRuntime.wrap(function _callee7$(_context8) {
|
|
132668
132527
|
while (1) {
|
|
132669
|
-
switch (
|
|
132528
|
+
switch (_context8.prev = _context8.next) {
|
|
132670
132529
|
case 0:
|
|
132671
132530
|
room = ((layer === null || layer === void 0 ? void 0 : layer.children) || []).find(function (item) {
|
|
132672
132531
|
return item.id == roomId;
|
|
@@ -132675,45 +132534,45 @@ var util_utils = {
|
|
|
132675
132534
|
|
|
132676
132535
|
case 2:
|
|
132677
132536
|
case "end":
|
|
132678
|
-
return
|
|
132537
|
+
return _context8.stop();
|
|
132679
132538
|
}
|
|
132680
132539
|
}
|
|
132681
|
-
},
|
|
132540
|
+
}, _callee7);
|
|
132682
132541
|
})));
|
|
132683
132542
|
|
|
132684
132543
|
case 10:
|
|
132685
|
-
|
|
132544
|
+
_context11.next = 21;
|
|
132686
132545
|
break;
|
|
132687
132546
|
|
|
132688
132547
|
case 12:
|
|
132689
132548
|
if (!(arrKey.length == 10)) {
|
|
132690
|
-
|
|
132549
|
+
_context11.next = 19;
|
|
132691
132550
|
break;
|
|
132692
132551
|
}
|
|
132693
132552
|
|
|
132694
132553
|
if (!(props.checkType != "layer")) {
|
|
132695
|
-
|
|
132554
|
+
_context11.next = 17;
|
|
132696
132555
|
break;
|
|
132697
132556
|
}
|
|
132698
132557
|
|
|
132699
132558
|
// 子房间
|
|
132700
132559
|
subRoomId = Number(arrKey[9]);
|
|
132701
|
-
|
|
132702
|
-
return getRoomList(layer).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
132560
|
+
_context11.next = 17;
|
|
132561
|
+
return getRoomList(layer).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
|
132703
132562
|
var room;
|
|
132704
|
-
return regeneratorRuntime.wrap(function
|
|
132563
|
+
return regeneratorRuntime.wrap(function _callee9$(_context10) {
|
|
132705
132564
|
while (1) {
|
|
132706
|
-
switch (
|
|
132565
|
+
switch (_context10.prev = _context10.next) {
|
|
132707
132566
|
case 0:
|
|
132708
132567
|
room = ((layer === null || layer === void 0 ? void 0 : layer.children) || []).find(function (item) {
|
|
132709
132568
|
return item.id == roomId;
|
|
132710
132569
|
});
|
|
132711
|
-
|
|
132712
|
-
return getSubRooms(room).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
132570
|
+
_context10.next = 3;
|
|
132571
|
+
return getSubRooms(room).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
132713
132572
|
var subRoom;
|
|
132714
|
-
return regeneratorRuntime.wrap(function
|
|
132573
|
+
return regeneratorRuntime.wrap(function _callee8$(_context9) {
|
|
132715
132574
|
while (1) {
|
|
132716
|
-
switch (
|
|
132575
|
+
switch (_context9.prev = _context9.next) {
|
|
132717
132576
|
case 0:
|
|
132718
132577
|
subRoom = ((room === null || room === void 0 ? void 0 : room.children) || []).find(function (item) {
|
|
132719
132578
|
return item.id == subRoomId;
|
|
@@ -132722,99 +132581,100 @@ var util_utils = {
|
|
|
132722
132581
|
|
|
132723
132582
|
case 2:
|
|
132724
132583
|
case "end":
|
|
132725
|
-
return
|
|
132584
|
+
return _context9.stop();
|
|
132726
132585
|
}
|
|
132727
132586
|
}
|
|
132728
|
-
},
|
|
132587
|
+
}, _callee8);
|
|
132729
132588
|
})));
|
|
132730
132589
|
|
|
132731
132590
|
case 3:
|
|
132732
132591
|
case "end":
|
|
132733
|
-
return
|
|
132592
|
+
return _context10.stop();
|
|
132734
132593
|
}
|
|
132735
132594
|
}
|
|
132736
|
-
},
|
|
132595
|
+
}, _callee9);
|
|
132737
132596
|
})));
|
|
132738
132597
|
|
|
132739
132598
|
case 17:
|
|
132740
|
-
|
|
132599
|
+
_context11.next = 21;
|
|
132741
132600
|
break;
|
|
132742
132601
|
|
|
132743
132602
|
case 19:
|
|
132744
132603
|
emit("changeTreeLoading", false);
|
|
132604
|
+
spinning.value = false;
|
|
132745
132605
|
|
|
132746
|
-
case
|
|
132606
|
+
case 21:
|
|
132747
132607
|
case "end":
|
|
132748
|
-
return
|
|
132608
|
+
return _context11.stop();
|
|
132749
132609
|
}
|
|
132750
132610
|
}
|
|
132751
|
-
},
|
|
132611
|
+
}, _callee10);
|
|
132752
132612
|
}));
|
|
132753
132613
|
|
|
132754
|
-
return function (
|
|
132755
|
-
return
|
|
132614
|
+
return function (_x6) {
|
|
132615
|
+
return _ref9.apply(this, arguments);
|
|
132756
132616
|
};
|
|
132757
132617
|
}());
|
|
132758
132618
|
|
|
132759
|
-
case
|
|
132619
|
+
case 29:
|
|
132760
132620
|
case "end":
|
|
132761
|
-
return
|
|
132621
|
+
return _context12.stop();
|
|
132762
132622
|
}
|
|
132763
132623
|
}
|
|
132764
|
-
},
|
|
132624
|
+
}, _loop2);
|
|
132765
132625
|
});
|
|
132766
132626
|
|
|
132767
132627
|
_iterator3.s();
|
|
132768
132628
|
|
|
132769
132629
|
case 13:
|
|
132770
132630
|
if ((_step3 = _iterator3.n()).done) {
|
|
132771
|
-
|
|
132631
|
+
_context13.next = 20;
|
|
132772
132632
|
break;
|
|
132773
132633
|
}
|
|
132774
132634
|
|
|
132775
|
-
return
|
|
132635
|
+
return _context13.delegateYield(_loop2(), "t0", 15);
|
|
132776
132636
|
|
|
132777
132637
|
case 15:
|
|
132778
|
-
_ret =
|
|
132638
|
+
_ret = _context13.t0;
|
|
132779
132639
|
|
|
132780
132640
|
if (!(Object(esm_typeof["a" /* default */])(_ret) === "object")) {
|
|
132781
|
-
|
|
132641
|
+
_context13.next = 18;
|
|
132782
132642
|
break;
|
|
132783
132643
|
}
|
|
132784
132644
|
|
|
132785
|
-
return
|
|
132645
|
+
return _context13.abrupt("return", _ret.v);
|
|
132786
132646
|
|
|
132787
132647
|
case 18:
|
|
132788
|
-
|
|
132648
|
+
_context13.next = 13;
|
|
132789
132649
|
break;
|
|
132790
132650
|
|
|
132791
132651
|
case 20:
|
|
132792
|
-
|
|
132652
|
+
_context13.next = 25;
|
|
132793
132653
|
break;
|
|
132794
132654
|
|
|
132795
132655
|
case 22:
|
|
132796
|
-
|
|
132797
|
-
|
|
132656
|
+
_context13.prev = 22;
|
|
132657
|
+
_context13.t1 = _context13["catch"](10);
|
|
132798
132658
|
|
|
132799
|
-
_iterator3.e(
|
|
132659
|
+
_iterator3.e(_context13.t1);
|
|
132800
132660
|
|
|
132801
132661
|
case 25:
|
|
132802
|
-
|
|
132662
|
+
_context13.prev = 25;
|
|
132803
132663
|
|
|
132804
132664
|
_iterator3.f();
|
|
132805
132665
|
|
|
132806
|
-
return
|
|
132666
|
+
return _context13.finish(25);
|
|
132807
132667
|
|
|
132808
132668
|
case 28:
|
|
132809
132669
|
case "end":
|
|
132810
|
-
return
|
|
132670
|
+
return _context13.stop();
|
|
132811
132671
|
}
|
|
132812
132672
|
}
|
|
132813
|
-
},
|
|
132673
|
+
}, _callee11, null, [[10, 22, 25, 28]]);
|
|
132814
132674
|
}));
|
|
132815
132675
|
|
|
132816
132676
|
return function getCheckedInfoByKeys() {
|
|
132817
|
-
return
|
|
132677
|
+
return _ref8.apply(this, arguments);
|
|
132818
132678
|
};
|
|
132819
132679
|
}();
|
|
132820
132680
|
|
|
@@ -132877,36 +132737,36 @@ var util_utils = {
|
|
|
132877
132737
|
}
|
|
132878
132738
|
|
|
132879
132739
|
var getRoomAsync = /*#__PURE__*/function () {
|
|
132880
|
-
var
|
|
132740
|
+
var _ref13 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
|
132881
132741
|
var index;
|
|
132882
|
-
return regeneratorRuntime.wrap(function
|
|
132742
|
+
return regeneratorRuntime.wrap(function _callee12$(_context14) {
|
|
132883
132743
|
while (1) {
|
|
132884
|
-
switch (
|
|
132744
|
+
switch (_context14.prev = _context14.next) {
|
|
132885
132745
|
case 0:
|
|
132886
132746
|
if (!(props.checkType == "layer")) {
|
|
132887
|
-
|
|
132747
|
+
_context14.next = 3;
|
|
132888
132748
|
break;
|
|
132889
132749
|
}
|
|
132890
132750
|
|
|
132891
132751
|
resolve(result);
|
|
132892
|
-
return
|
|
132752
|
+
return _context14.abrupt("return");
|
|
132893
132753
|
|
|
132894
132754
|
case 3:
|
|
132895
132755
|
if (!result.layerList.length) {
|
|
132896
|
-
|
|
132756
|
+
_context14.next = 14;
|
|
132897
132757
|
break;
|
|
132898
132758
|
}
|
|
132899
132759
|
|
|
132900
|
-
|
|
132760
|
+
_context14.t0 = regeneratorRuntime.keys(result.layerList);
|
|
132901
132761
|
|
|
132902
132762
|
case 5:
|
|
132903
|
-
if ((
|
|
132904
|
-
|
|
132763
|
+
if ((_context14.t1 = _context14.t0()).done) {
|
|
132764
|
+
_context14.next = 11;
|
|
132905
132765
|
break;
|
|
132906
132766
|
}
|
|
132907
132767
|
|
|
132908
|
-
index =
|
|
132909
|
-
|
|
132768
|
+
index = _context14.t1.value;
|
|
132769
|
+
_context14.next = 9;
|
|
132910
132770
|
return getRoomList(result.layerList[index]).then(function (roomList) {
|
|
132911
132771
|
if (roomList && roomList.length) {
|
|
132912
132772
|
var list = roomList.filter(function (item) {
|
|
@@ -132917,12 +132777,12 @@ var util_utils = {
|
|
|
132917
132777
|
});
|
|
132918
132778
|
|
|
132919
132779
|
case 9:
|
|
132920
|
-
|
|
132780
|
+
_context14.next = 5;
|
|
132921
132781
|
break;
|
|
132922
132782
|
|
|
132923
132783
|
case 11:
|
|
132924
132784
|
resolve(result);
|
|
132925
|
-
|
|
132785
|
+
_context14.next = 15;
|
|
132926
132786
|
break;
|
|
132927
132787
|
|
|
132928
132788
|
case 14:
|
|
@@ -132930,35 +132790,35 @@ var util_utils = {
|
|
|
132930
132790
|
|
|
132931
132791
|
case 15:
|
|
132932
132792
|
case "end":
|
|
132933
|
-
return
|
|
132793
|
+
return _context14.stop();
|
|
132934
132794
|
}
|
|
132935
132795
|
}
|
|
132936
|
-
},
|
|
132796
|
+
}, _callee12);
|
|
132937
132797
|
}));
|
|
132938
132798
|
|
|
132939
132799
|
return function getRoomAsync() {
|
|
132940
|
-
return
|
|
132800
|
+
return _ref13.apply(this, arguments);
|
|
132941
132801
|
};
|
|
132942
132802
|
}();
|
|
132943
132803
|
|
|
132944
132804
|
if (result.buildList.length) {
|
|
132945
132805
|
var getLayerAsync = /*#__PURE__*/function () {
|
|
132946
|
-
var
|
|
132806
|
+
var _ref14 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
|
132947
132807
|
var index;
|
|
132948
|
-
return regeneratorRuntime.wrap(function
|
|
132808
|
+
return regeneratorRuntime.wrap(function _callee13$(_context15) {
|
|
132949
132809
|
while (1) {
|
|
132950
|
-
switch (
|
|
132810
|
+
switch (_context15.prev = _context15.next) {
|
|
132951
132811
|
case 0:
|
|
132952
|
-
|
|
132812
|
+
_context15.t0 = regeneratorRuntime.keys(result.buildList);
|
|
132953
132813
|
|
|
132954
132814
|
case 1:
|
|
132955
|
-
if ((
|
|
132956
|
-
|
|
132815
|
+
if ((_context15.t1 = _context15.t0()).done) {
|
|
132816
|
+
_context15.next = 7;
|
|
132957
132817
|
break;
|
|
132958
132818
|
}
|
|
132959
132819
|
|
|
132960
|
-
index =
|
|
132961
|
-
|
|
132820
|
+
index = _context15.t1.value;
|
|
132821
|
+
_context15.next = 5;
|
|
132962
132822
|
return getLayerList(result.buildList[index]).then(function (layerList) {
|
|
132963
132823
|
if (layerList && layerList.length) {
|
|
132964
132824
|
var list = layerList.filter(function (item) {
|
|
@@ -132969,19 +132829,19 @@ var util_utils = {
|
|
|
132969
132829
|
});
|
|
132970
132830
|
|
|
132971
132831
|
case 5:
|
|
132972
|
-
|
|
132832
|
+
_context15.next = 1;
|
|
132973
132833
|
break;
|
|
132974
132834
|
|
|
132975
132835
|
case 7:
|
|
132976
132836
|
case "end":
|
|
132977
|
-
return
|
|
132837
|
+
return _context15.stop();
|
|
132978
132838
|
}
|
|
132979
132839
|
}
|
|
132980
|
-
},
|
|
132840
|
+
}, _callee13);
|
|
132981
132841
|
}));
|
|
132982
132842
|
|
|
132983
132843
|
return function getLayerAsync() {
|
|
132984
|
-
return
|
|
132844
|
+
return _ref14.apply(this, arguments);
|
|
132985
132845
|
};
|
|
132986
132846
|
}();
|
|
132987
132847
|
|
|
@@ -133406,7 +133266,7 @@ var util_utils = {
|
|
|
133406
133266
|
var expandedKeys = [];
|
|
133407
133267
|
var loadedVillage = {};
|
|
133408
133268
|
|
|
133409
|
-
var
|
|
133269
|
+
var _loop3 = function _loop3(key) {
|
|
133410
133270
|
if (defaultChecked[key].length) {
|
|
133411
133271
|
defaultChecked[key].forEach(function (dcItem) {
|
|
133412
133272
|
if (dcItem.extra) {
|
|
@@ -133494,7 +133354,7 @@ var util_utils = {
|
|
|
133494
133354
|
};
|
|
133495
133355
|
|
|
133496
133356
|
for (var key in defaultChecked) {
|
|
133497
|
-
|
|
133357
|
+
_loop3(key);
|
|
133498
133358
|
}
|
|
133499
133359
|
|
|
133500
133360
|
if (checkedKeys.length) {
|
|
@@ -134025,9 +133885,11 @@ var util_utils = {
|
|
|
134025
133885
|
/************* 初始化 --end **************/
|
|
134026
133886
|
|
|
134027
133887
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
|
|
134028
|
-
|
|
133888
|
+
setTimeout(function () {
|
|
133889
|
+
var _treeRef$value;
|
|
134029
133890
|
|
|
134030
|
-
|
|
133891
|
+
treeHeight.value = treeRef === null || treeRef === void 0 ? void 0 : (_treeRef$value = treeRef.value) === null || _treeRef$value === void 0 ? void 0 : _treeRef$value.offsetHeight;
|
|
133892
|
+
}, 0);
|
|
134031
133893
|
});
|
|
134032
133894
|
return Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({
|
|
134033
133895
|
showDpt: showDpt,
|
|
@@ -134042,8 +133904,8 @@ var util_utils = {
|
|
|
134042
133904
|
}));
|
|
134043
133905
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=script&lang=js
|
|
134044
133906
|
|
|
134045
|
-
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=
|
|
134046
|
-
var
|
|
133907
|
+
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=9e6d37a2&lang=less&scoped=true
|
|
133908
|
+
var ChooseHousingResourcesvue_type_style_index_0_id_9e6d37a2_lang_less_scoped_true = __webpack_require__("3efc");
|
|
134047
133909
|
|
|
134048
133910
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue
|
|
134049
133911
|
|
|
@@ -134053,7 +133915,7 @@ var ChooseHousingResourcesvue_type_style_index_0_id_af00a168_lang_less_scoped_tr
|
|
|
134053
133915
|
|
|
134054
133916
|
|
|
134055
133917
|
|
|
134056
|
-
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',
|
|
133918
|
+
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',ChooseHousingResourcesvue_type_template_id_9e6d37a2_scoped_true_render],['__scopeId',"data-v-9e6d37a2"]])
|
|
134057
133919
|
|
|
134058
133920
|
/* harmony default export */ var ChooseHousingResources = (ChooseHousingResources_exports_);
|
|
134059
133921
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/CheckedHousingResources/index.vue?vue&type=template&id=cb16e7b0&scoped=true
|