bl-common-vue3 3.1.9 → 3.2.0
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 +398 -249
- package/lib/vue3common.umd.js +398 -249
- package/lib/vue3common.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/vue3common.common.js
CHANGED
|
@@ -23340,22 +23340,6 @@ Notification.newInstance = function newNotificationInstance(properties, callback
|
|
|
23340
23340
|
|
|
23341
23341
|
/***/ }),
|
|
23342
23342
|
|
|
23343
|
-
/***/ "3315":
|
|
23344
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
23345
|
-
|
|
23346
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
23347
|
-
|
|
23348
|
-
// load the styles
|
|
23349
|
-
var content = __webpack_require__("792b");
|
|
23350
|
-
if(content.__esModule) content = content.default;
|
|
23351
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
23352
|
-
if(content.locals) module.exports = content.locals;
|
|
23353
|
-
// add the styles to the DOM
|
|
23354
|
-
var add = __webpack_require__("499e").default
|
|
23355
|
-
var update = add("3a05790f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
23356
|
-
|
|
23357
|
-
/***/ }),
|
|
23358
|
-
|
|
23359
23343
|
/***/ "342f":
|
|
23360
23344
|
/***/ (function(module, exports, __webpack_require__) {
|
|
23361
23345
|
|
|
@@ -24610,6 +24594,17 @@ function toNumber(value) {
|
|
|
24610
24594
|
/* harmony default export */ var lodash_es_toNumber = __webpack_exports__["a"] = (toNumber);
|
|
24611
24595
|
|
|
24612
24596
|
|
|
24597
|
+
/***/ }),
|
|
24598
|
+
|
|
24599
|
+
/***/ "4a33":
|
|
24600
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24601
|
+
|
|
24602
|
+
"use strict";
|
|
24603
|
+
/* 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_1f03ea7c_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("73e2");
|
|
24604
|
+
/* 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_1f03ea7c_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_1f03ea7c_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
24605
|
+
/* unused harmony reexport * */
|
|
24606
|
+
|
|
24607
|
+
|
|
24613
24608
|
/***/ }),
|
|
24614
24609
|
|
|
24615
24610
|
/***/ "4d63":
|
|
@@ -26057,6 +26052,20 @@ module.exports = function (argument) {
|
|
|
26057
26052
|
};
|
|
26058
26053
|
|
|
26059
26054
|
|
|
26055
|
+
/***/ }),
|
|
26056
|
+
|
|
26057
|
+
/***/ "50c6":
|
|
26058
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26059
|
+
|
|
26060
|
+
// Imports
|
|
26061
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
26062
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
26063
|
+
// Module
|
|
26064
|
+
exports.push([module.i, ".primary-color-text[data-v-1f03ea7c]{color:#2681f3}.choose-housing[data-v-1f03ea7c]{width:100%;height:100%;overflow:hidden auto}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-1f03ea7c] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-1f03ea7c]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-1f03ea7c]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-1f03ea7c]{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-1f03ea7c]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-1f03ea7c]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-1f03ea7c]{color:#2681f3}.choose-housing .text-gray[data-v-1f03ea7c]{color:rgba(0,0,0,.25)}", ""]);
|
|
26065
|
+
// Exports
|
|
26066
|
+
module.exports = exports;
|
|
26067
|
+
|
|
26068
|
+
|
|
26060
26069
|
/***/ }),
|
|
26061
26070
|
|
|
26062
26071
|
/***/ "50d5":
|
|
@@ -29884,6 +29893,22 @@ var localeValues = {
|
|
|
29884
29893
|
|
|
29885
29894
|
/***/ }),
|
|
29886
29895
|
|
|
29896
|
+
/***/ "73e2":
|
|
29897
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
29898
|
+
|
|
29899
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
29900
|
+
|
|
29901
|
+
// load the styles
|
|
29902
|
+
var content = __webpack_require__("50c6");
|
|
29903
|
+
if(content.__esModule) content = content.default;
|
|
29904
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
29905
|
+
if(content.locals) module.exports = content.locals;
|
|
29906
|
+
// add the styles to the DOM
|
|
29907
|
+
var add = __webpack_require__("499e").default
|
|
29908
|
+
var update = add("7f7fbe6c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
29909
|
+
|
|
29910
|
+
/***/ }),
|
|
29911
|
+
|
|
29887
29912
|
/***/ "7418":
|
|
29888
29913
|
/***/ (function(module, exports) {
|
|
29889
29914
|
|
|
@@ -29972,20 +29997,6 @@ var DOMTokenListPrototype = classList && classList.constructor && classList.cons
|
|
|
29972
29997
|
module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;
|
|
29973
29998
|
|
|
29974
29999
|
|
|
29975
|
-
/***/ }),
|
|
29976
|
-
|
|
29977
|
-
/***/ "792b":
|
|
29978
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
29979
|
-
|
|
29980
|
-
// Imports
|
|
29981
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
29982
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
29983
|
-
// Module
|
|
29984
|
-
exports.push([module.i, ".primary-color-text[data-v-ef1ec100]{color:#2681f3}.choose-housing[data-v-ef1ec100]{width:100%;height:100%;overflow:hidden auto}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-ef1ec100] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-ef1ec100]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-ef1ec100]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-ef1ec100]{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-ef1ec100]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-ef1ec100]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-ef1ec100]{color:#2681f3}.choose-housing .text-gray[data-v-ef1ec100]{color:rgba(0,0,0,.25)}", ""]);
|
|
29985
|
-
// Exports
|
|
29986
|
-
module.exports = exports;
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
30000
|
/***/ }),
|
|
29990
30001
|
|
|
29991
30002
|
/***/ "7b05":
|
|
@@ -35756,17 +35767,6 @@ $({ target: 'Number', proto: true, forced: FORCED }, {
|
|
|
35756
35767
|
});
|
|
35757
35768
|
|
|
35758
35769
|
|
|
35759
|
-
/***/ }),
|
|
35760
|
-
|
|
35761
|
-
/***/ "b698":
|
|
35762
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
35763
|
-
|
|
35764
|
-
"use strict";
|
|
35765
|
-
/* 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_ef1ec100_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3315");
|
|
35766
|
-
/* 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_ef1ec100_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_ef1ec100_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
35767
|
-
/* unused harmony reexport * */
|
|
35768
|
-
|
|
35769
|
-
|
|
35770
35770
|
/***/ }),
|
|
35771
35771
|
|
|
35772
35772
|
/***/ "b6bb":
|
|
@@ -93148,34 +93148,34 @@ var SelectPropertyvue_type_style_index_0_id_50038b3a_lang_less_scoped_true = __w
|
|
|
93148
93148
|
const SelectProperty_exports_ = /*#__PURE__*/exportHelper_default()(SelectPropertyvue_type_script_lang_js, [['render',SelectPropertyvue_type_template_id_50038b3a_scoped_true_render],['__scopeId',"data-v-50038b3a"]])
|
|
93149
93149
|
|
|
93150
93150
|
/* harmony default export */ var SelectProperty = (SelectProperty_exports_);
|
|
93151
|
-
// 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=
|
|
93151
|
+
// 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=1f03ea7c&scoped=true
|
|
93152
93152
|
|
|
93153
93153
|
|
|
93154
|
-
var
|
|
93155
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
93154
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_withScopeId = function _withScopeId(n) {
|
|
93155
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-1f03ea7c"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
93156
93156
|
};
|
|
93157
93157
|
|
|
93158
|
-
var
|
|
93158
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_1 = {
|
|
93159
93159
|
class: "choose-housing beauty-scroller-bar"
|
|
93160
93160
|
};
|
|
93161
|
-
var
|
|
93161
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_2 = {
|
|
93162
93162
|
key: 1,
|
|
93163
93163
|
class: "tree-view"
|
|
93164
93164
|
};
|
|
93165
|
-
var
|
|
93165
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_3 = {
|
|
93166
93166
|
class: "room-title"
|
|
93167
93167
|
};
|
|
93168
|
-
var
|
|
93168
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_4 = {
|
|
93169
93169
|
class: "title-show",
|
|
93170
93170
|
key: "title-disabled-tip"
|
|
93171
93171
|
};
|
|
93172
|
-
var
|
|
93172
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_5 = {
|
|
93173
93173
|
class: "title"
|
|
93174
93174
|
};
|
|
93175
|
-
var
|
|
93175
|
+
var ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_6 = {
|
|
93176
93176
|
key: 1
|
|
93177
93177
|
};
|
|
93178
|
-
function
|
|
93178
|
+
function ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
93179
93179
|
var _component_a_alert = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-alert");
|
|
93180
93180
|
|
|
93181
93181
|
var _component_bl_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("bl-icon");
|
|
@@ -93188,14 +93188,14 @@ function ChooseHousingResourcesvue_type_template_id_ef1ec100_scoped_true_render(
|
|
|
93188
93188
|
|
|
93189
93189
|
var _component_a_tree = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tree");
|
|
93190
93190
|
|
|
93191
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
93191
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_1f03ea7c_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, {
|
|
93192
93192
|
key: 0,
|
|
93193
93193
|
"show-icon": "",
|
|
93194
93194
|
message: _ctx.alertTip,
|
|
93195
93195
|
style: {
|
|
93196
93196
|
"margin-bottom": "10px"
|
|
93197
93197
|
}
|
|
93198
|
-
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
93198
|
+
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_tree, {
|
|
93199
93199
|
checkable: _ctx.checkable,
|
|
93200
93200
|
"show-icon": "",
|
|
93201
93201
|
expandedKeys: _ctx.expandedKeys,
|
|
@@ -93244,7 +93244,7 @@ function ChooseHousingResourcesvue_type_template_id_ef1ec100_scoped_true_render(
|
|
|
93244
93244
|
placement: "topLeft"
|
|
93245
93245
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
93246
93246
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
93247
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
93247
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_1f03ea7c_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, {
|
|
93248
93248
|
key: 0,
|
|
93249
93249
|
class: "locked"
|
|
93250
93250
|
})) : 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", {
|
|
@@ -93259,12 +93259,12 @@ function ChooseHousingResourcesvue_type_template_id_ef1ec100_scoped_true_render(
|
|
|
93259
93259
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.disabledTip), 1)];
|
|
93260
93260
|
}),
|
|
93261
93261
|
key: "0"
|
|
93262
|
-
} : undefined]), 1024)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
93262
|
+
} : 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_1f03ea7c_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1))];
|
|
93263
93263
|
}),
|
|
93264
93264
|
_: 1
|
|
93265
93265
|
}, 8, ["checkable", "expandedKeys", "checkedKeys", "tree-data", "loadData", "disabled", "onCheck"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]);
|
|
93266
93266
|
}
|
|
93267
|
-
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=
|
|
93267
|
+
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=1f03ea7c&scoped=true
|
|
93268
93268
|
|
|
93269
93269
|
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
93270
93270
|
var runtime = __webpack_require__("96cf");
|
|
@@ -94980,182 +94980,317 @@ var util_utils = {
|
|
|
94980
94980
|
emit("changeTreeLoading", false);
|
|
94981
94981
|
};
|
|
94982
94982
|
|
|
94983
|
-
var getVillageFromTree = function
|
|
94984
|
-
|
|
94985
|
-
|
|
94986
|
-
if (item.childType === 'village' && item.id == id) {
|
|
94987
|
-
return item;
|
|
94988
|
-
} else {
|
|
94989
|
-
if (item.children && item.children.length) {
|
|
94990
|
-
var _item = getVillageFromTree(item.children, id);
|
|
94983
|
+
var getVillageFromTree = /*#__PURE__*/function () {
|
|
94984
|
+
var _ref8 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7(data, id) {
|
|
94985
|
+
var index, item, _item;
|
|
94991
94986
|
|
|
94992
|
-
|
|
94993
|
-
|
|
94994
|
-
|
|
94995
|
-
|
|
94996
|
-
|
|
94997
|
-
}
|
|
94998
|
-
});
|
|
94999
|
-
};
|
|
94987
|
+
return regeneratorRuntime.wrap(function _callee7$(_context11) {
|
|
94988
|
+
while (1) {
|
|
94989
|
+
switch (_context11.prev = _context11.next) {
|
|
94990
|
+
case 0:
|
|
94991
|
+
_context11.t0 = regeneratorRuntime.keys(data);
|
|
95000
94992
|
|
|
95001
|
-
|
|
95002
|
-
|
|
95003
|
-
|
|
95004
|
-
|
|
95005
|
-
|
|
95006
|
-
// 选中楼宇以及下面所有的房源
|
|
95007
|
-
layerList: [],
|
|
95008
|
-
// 选中楼层以及下面所有的房源
|
|
95009
|
-
roomList: []
|
|
95010
|
-
};
|
|
94993
|
+
case 1:
|
|
94994
|
+
if ((_context11.t1 = _context11.t0()).done) {
|
|
94995
|
+
_context11.next = 17;
|
|
94996
|
+
break;
|
|
94997
|
+
}
|
|
95011
94998
|
|
|
95012
|
-
|
|
95013
|
-
|
|
95014
|
-
return;
|
|
95015
|
-
}
|
|
94999
|
+
index = _context11.t1.value;
|
|
95000
|
+
item = data[index];
|
|
95016
95001
|
|
|
95017
|
-
|
|
95002
|
+
if (['build', 'buildLevel', 'room', 'layer', 'subRoom'].includes(item.childType)) {
|
|
95003
|
+
_context11.next = 15;
|
|
95004
|
+
break;
|
|
95005
|
+
}
|
|
95018
95006
|
|
|
95019
|
-
|
|
95007
|
+
if (!(item.childType === 'village' && item.id == id)) {
|
|
95008
|
+
_context11.next = 9;
|
|
95009
|
+
break;
|
|
95010
|
+
}
|
|
95020
95011
|
|
|
95021
|
-
|
|
95012
|
+
return _context11.abrupt("return", item);
|
|
95022
95013
|
|
|
95023
|
-
|
|
95024
|
-
|
|
95025
|
-
|
|
95014
|
+
case 9:
|
|
95015
|
+
if (!(item.children && item.children.length)) {
|
|
95016
|
+
_context11.next = 15;
|
|
95017
|
+
break;
|
|
95018
|
+
}
|
|
95026
95019
|
|
|
95027
|
-
|
|
95028
|
-
|
|
95029
|
-
}
|
|
95020
|
+
_context11.next = 12;
|
|
95021
|
+
return getVillageFromTree(item.children, id);
|
|
95030
95022
|
|
|
95031
|
-
|
|
95023
|
+
case 12:
|
|
95024
|
+
_item = _context11.sent;
|
|
95032
95025
|
|
|
95033
|
-
|
|
95034
|
-
|
|
95026
|
+
if (!_item) {
|
|
95027
|
+
_context11.next = 15;
|
|
95028
|
+
break;
|
|
95029
|
+
}
|
|
95030
|
+
|
|
95031
|
+
return _context11.abrupt("return", _item);
|
|
95032
|
+
|
|
95033
|
+
case 15:
|
|
95034
|
+
_context11.next = 1;
|
|
95035
|
+
break;
|
|
95035
95036
|
|
|
95036
|
-
|
|
95037
|
-
|
|
95037
|
+
case 17:
|
|
95038
|
+
case "end":
|
|
95039
|
+
return _context11.stop();
|
|
95040
|
+
}
|
|
95038
95041
|
}
|
|
95042
|
+
}, _callee7);
|
|
95043
|
+
}));
|
|
95039
95044
|
|
|
95040
|
-
|
|
95041
|
-
|
|
95042
|
-
});
|
|
95043
|
-
}
|
|
95045
|
+
return function getVillageFromTree(_x5, _x6) {
|
|
95046
|
+
return _ref8.apply(this, arguments);
|
|
95044
95047
|
};
|
|
95048
|
+
}();
|
|
95045
95049
|
|
|
95046
|
-
|
|
95050
|
+
var getCheckedInfoByKeys = /*#__PURE__*/function () {
|
|
95051
|
+
var _ref9 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
95052
|
+
var result, initKeys, checkedKeys, setResult, villageMap, _iterator3, _step3, _loop5, _ret;
|
|
95047
95053
|
|
|
95048
|
-
|
|
95049
|
-
|
|
95054
|
+
return regeneratorRuntime.wrap(function _callee8$(_context13) {
|
|
95055
|
+
while (1) {
|
|
95056
|
+
switch (_context13.prev = _context13.next) {
|
|
95057
|
+
case 0:
|
|
95058
|
+
result = {
|
|
95059
|
+
villageList: [],
|
|
95060
|
+
// 选中项目以及下面所有的房源
|
|
95061
|
+
buildList: [],
|
|
95062
|
+
// 选中楼宇以及下面所有的房源
|
|
95063
|
+
layerList: [],
|
|
95064
|
+
// 选中楼层以及下面所有的房源
|
|
95065
|
+
roomList: []
|
|
95066
|
+
};
|
|
95067
|
+
|
|
95068
|
+
if (state.checkedKeys.length) {
|
|
95069
|
+
_context13.next = 4;
|
|
95070
|
+
break;
|
|
95071
|
+
}
|
|
95050
95072
|
|
|
95051
|
-
|
|
95052
|
-
|
|
95053
|
-
var key = _step3.value;
|
|
95054
|
-
var arrKey = [];
|
|
95073
|
+
emitResult(result);
|
|
95074
|
+
return _context13.abrupt("return");
|
|
95055
95075
|
|
|
95056
|
-
|
|
95057
|
-
|
|
95058
|
-
|
|
95076
|
+
case 4:
|
|
95077
|
+
emit("handleResult", true);
|
|
95078
|
+
initKeys = Object(toConsumableArray["a" /* default */])(state.checkedKeys);
|
|
95079
|
+
checkedKeys = getInitKeys(initKeys, "village");
|
|
95080
|
+
|
|
95081
|
+
setResult = function setResult(key, value) {
|
|
95082
|
+
result[key].push(value);
|
|
95083
|
+
var totalLength = 0;
|
|
95059
95084
|
|
|
95060
|
-
|
|
95085
|
+
for (var _key in result) {
|
|
95086
|
+
totalLength += result[_key].length;
|
|
95087
|
+
}
|
|
95061
95088
|
|
|
95062
|
-
|
|
95063
|
-
var village = villageMap[villageId];
|
|
95089
|
+
CL("setResult", totalLength);
|
|
95064
95090
|
|
|
95065
|
-
|
|
95066
|
-
|
|
95067
|
-
}
|
|
95091
|
+
if (checkedKeys.length == totalLength) {
|
|
95092
|
+
CL("setResult getCheckedInfoByCheckType before", result); // 去重
|
|
95068
95093
|
|
|
95069
|
-
|
|
95070
|
-
|
|
95094
|
+
if (result.roomList && result.roomList.length > 0) {
|
|
95095
|
+
result.roomList = Array.from(new Set(result.roomList));
|
|
95096
|
+
}
|
|
95071
95097
|
|
|
95072
|
-
|
|
95073
|
-
|
|
95074
|
-
|
|
95075
|
-
|
|
95076
|
-
|
|
95077
|
-
|
|
95078
|
-
|
|
95079
|
-
|
|
95080
|
-
|
|
95081
|
-
|
|
95082
|
-
|
|
95083
|
-
|
|
95084
|
-
|
|
95085
|
-
|
|
95086
|
-
|
|
95087
|
-
|
|
95088
|
-
|
|
95089
|
-
|
|
95090
|
-
|
|
95098
|
+
getCheckedInfoByCheckType(result).then(function (newResult) {
|
|
95099
|
+
emitResult(newResult);
|
|
95100
|
+
});
|
|
95101
|
+
}
|
|
95102
|
+
};
|
|
95103
|
+
|
|
95104
|
+
villageMap = {};
|
|
95105
|
+
_iterator3 = _createForOfIteratorHelper(checkedKeys);
|
|
95106
|
+
_context13.prev = 10;
|
|
95107
|
+
_loop5 = /*#__PURE__*/regeneratorRuntime.mark(function _loop5() {
|
|
95108
|
+
var key, arrKey, villageId, village, buildId, build, layerId;
|
|
95109
|
+
return regeneratorRuntime.wrap(function _loop5$(_context12) {
|
|
95110
|
+
while (1) {
|
|
95111
|
+
switch (_context12.prev = _context12.next) {
|
|
95112
|
+
case 0:
|
|
95113
|
+
key = _step3.value;
|
|
95114
|
+
arrKey = [];
|
|
95115
|
+
|
|
95116
|
+
if (showDpt.value) {
|
|
95117
|
+
arrKey = key.split("-");
|
|
95118
|
+
}
|
|
95091
95119
|
|
|
95092
|
-
|
|
95093
|
-
emit("changeTreeLoading", true); // 选中楼宇
|
|
95120
|
+
arrKey = key.split("_"); // 找到对应village
|
|
95094
95121
|
|
|
95095
|
-
|
|
95096
|
-
|
|
95097
|
-
if (!build) return {
|
|
95098
|
-
v: void 0
|
|
95099
|
-
};
|
|
95100
|
-
emit("changeTreeLoading", true);
|
|
95101
|
-
var layerId = Number(arrKey[5]);
|
|
95102
|
-
getLayerList(build).then(function (layerList) {
|
|
95103
|
-
var layer = layerList.find(function (item) {
|
|
95104
|
-
return item.id == layerId;
|
|
95105
|
-
});
|
|
95122
|
+
villageId = Number(arrKey[1]);
|
|
95123
|
+
village = villageMap[villageId];
|
|
95106
95124
|
|
|
95107
|
-
|
|
95108
|
-
|
|
95109
|
-
|
|
95110
|
-
|
|
95125
|
+
if (village) {
|
|
95126
|
+
_context12.next = 10;
|
|
95127
|
+
break;
|
|
95128
|
+
}
|
|
95111
95129
|
|
|
95112
|
-
|
|
95113
|
-
|
|
95114
|
-
|
|
95115
|
-
|
|
95116
|
-
|
|
95117
|
-
|
|
95118
|
-
|
|
95119
|
-
|
|
95120
|
-
|
|
95121
|
-
|
|
95122
|
-
|
|
95123
|
-
|
|
95124
|
-
|
|
95125
|
-
|
|
95126
|
-
|
|
95127
|
-
|
|
95128
|
-
|
|
95130
|
+
_context12.next = 9;
|
|
95131
|
+
return getVillageFromTree(state.treeList, villageId);
|
|
95132
|
+
|
|
95133
|
+
case 9:
|
|
95134
|
+
village = villageMap[villageId] = _context12.sent;
|
|
95135
|
+
|
|
95136
|
+
case 10:
|
|
95137
|
+
if (!(arrKey.length == 2)) {
|
|
95138
|
+
_context12.next = 15;
|
|
95139
|
+
break;
|
|
95140
|
+
}
|
|
95141
|
+
|
|
95142
|
+
emit("changeTreeLoading", true); // 选中项目
|
|
95143
|
+
|
|
95144
|
+
setResult("villageList", village);
|
|
95145
|
+
_context12.next = 27;
|
|
95146
|
+
break;
|
|
95147
|
+
|
|
95148
|
+
case 15:
|
|
95149
|
+
buildId = Number(arrKey[3]);
|
|
95150
|
+
village.children.forEach(function (v) {
|
|
95151
|
+
if (v.childType === "buildLevel") {
|
|
95152
|
+
if (v.children.find(function (item) {
|
|
95153
|
+
return item.id == buildId;
|
|
95154
|
+
})) {
|
|
95155
|
+
build = v.children.find(function (item) {
|
|
95156
|
+
return item.id == buildId;
|
|
95157
|
+
});
|
|
95158
|
+
}
|
|
95159
|
+
} else {
|
|
95160
|
+
if (v.id == buildId) {
|
|
95161
|
+
build = v;
|
|
95162
|
+
}
|
|
95163
|
+
}
|
|
95129
95164
|
});
|
|
95130
|
-
|
|
95131
|
-
|
|
95132
|
-
|
|
95165
|
+
|
|
95166
|
+
if (!(arrKey.length == 4)) {
|
|
95167
|
+
_context12.next = 22;
|
|
95168
|
+
break;
|
|
95169
|
+
}
|
|
95170
|
+
|
|
95171
|
+
emit("changeTreeLoading", true); // 选中楼宇
|
|
95172
|
+
|
|
95173
|
+
setResult("buildList", build);
|
|
95174
|
+
_context12.next = 27;
|
|
95175
|
+
break;
|
|
95176
|
+
|
|
95177
|
+
case 22:
|
|
95178
|
+
if (build) {
|
|
95179
|
+
_context12.next = 24;
|
|
95180
|
+
break;
|
|
95181
|
+
}
|
|
95182
|
+
|
|
95183
|
+
return _context12.abrupt("return", {
|
|
95184
|
+
v: void 0
|
|
95185
|
+
});
|
|
95186
|
+
|
|
95187
|
+
case 24:
|
|
95188
|
+
emit("changeTreeLoading", true);
|
|
95189
|
+
layerId = Number(arrKey[5]);
|
|
95190
|
+
getLayerList(build).then(function (layerList) {
|
|
95191
|
+
var layer = layerList.find(function (item) {
|
|
95192
|
+
return item.id == layerId;
|
|
95133
95193
|
});
|
|
95134
|
-
|
|
95194
|
+
|
|
95195
|
+
if (arrKey.length == 6) {
|
|
95196
|
+
setResult("layerList", layer);
|
|
95197
|
+
} else {
|
|
95198
|
+
var roomId = Number(arrKey[7]);
|
|
95199
|
+
|
|
95200
|
+
if (arrKey.length == 8) {
|
|
95201
|
+
if (props.checkType != "layer") {
|
|
95202
|
+
getRoomList(layer).then(function (roomList) {
|
|
95203
|
+
var room = roomList.find(function (item) {
|
|
95204
|
+
return item.id == roomId;
|
|
95205
|
+
});
|
|
95206
|
+
setResult("roomList", room);
|
|
95207
|
+
});
|
|
95208
|
+
}
|
|
95209
|
+
} else {
|
|
95210
|
+
if (arrKey.length == 10) {
|
|
95211
|
+
if (props.checkType != "layer") {
|
|
95212
|
+
// 子房间
|
|
95213
|
+
var subRoomId = Number(arrKey[9]);
|
|
95214
|
+
getRoomList(layer).then(function (roomList) {
|
|
95215
|
+
var room = roomList.find(function (item) {
|
|
95216
|
+
return item.id == roomId;
|
|
95217
|
+
});
|
|
95218
|
+
getSubRooms(room).then(function (roomList) {
|
|
95219
|
+
var subRoom = roomList.find(function (item) {
|
|
95220
|
+
return item.id == subRoomId;
|
|
95221
|
+
});
|
|
95222
|
+
setResult("roomList", subRoom);
|
|
95223
|
+
});
|
|
95224
|
+
});
|
|
95225
|
+
}
|
|
95226
|
+
} else {
|
|
95227
|
+
emit("changeTreeLoading", false);
|
|
95228
|
+
}
|
|
95229
|
+
}
|
|
95230
|
+
}
|
|
95135
95231
|
});
|
|
95136
|
-
|
|
95232
|
+
|
|
95233
|
+
case 27:
|
|
95234
|
+
case "end":
|
|
95235
|
+
return _context12.stop();
|
|
95137
95236
|
}
|
|
95138
|
-
} else {
|
|
95139
|
-
emit("changeTreeLoading", false);
|
|
95140
95237
|
}
|
|
95141
|
-
}
|
|
95238
|
+
}, _loop5);
|
|
95239
|
+
});
|
|
95240
|
+
|
|
95241
|
+
_iterator3.s();
|
|
95242
|
+
|
|
95243
|
+
case 13:
|
|
95244
|
+
if ((_step3 = _iterator3.n()).done) {
|
|
95245
|
+
_context13.next = 20;
|
|
95246
|
+
break;
|
|
95142
95247
|
}
|
|
95143
|
-
|
|
95248
|
+
|
|
95249
|
+
return _context13.delegateYield(_loop5(), "t0", 15);
|
|
95250
|
+
|
|
95251
|
+
case 15:
|
|
95252
|
+
_ret = _context13.t0;
|
|
95253
|
+
|
|
95254
|
+
if (!(Object(esm_typeof["a" /* default */])(_ret) === "object")) {
|
|
95255
|
+
_context13.next = 18;
|
|
95256
|
+
break;
|
|
95257
|
+
}
|
|
95258
|
+
|
|
95259
|
+
return _context13.abrupt("return", _ret.v);
|
|
95260
|
+
|
|
95261
|
+
case 18:
|
|
95262
|
+
_context13.next = 13;
|
|
95263
|
+
break;
|
|
95264
|
+
|
|
95265
|
+
case 20:
|
|
95266
|
+
_context13.next = 25;
|
|
95267
|
+
break;
|
|
95268
|
+
|
|
95269
|
+
case 22:
|
|
95270
|
+
_context13.prev = 22;
|
|
95271
|
+
_context13.t1 = _context13["catch"](10);
|
|
95272
|
+
|
|
95273
|
+
_iterator3.e(_context13.t1);
|
|
95274
|
+
|
|
95275
|
+
case 25:
|
|
95276
|
+
_context13.prev = 25;
|
|
95277
|
+
|
|
95278
|
+
_iterator3.f();
|
|
95279
|
+
|
|
95280
|
+
return _context13.finish(25);
|
|
95281
|
+
|
|
95282
|
+
case 28:
|
|
95283
|
+
case "end":
|
|
95284
|
+
return _context13.stop();
|
|
95144
95285
|
}
|
|
95145
95286
|
}
|
|
95146
|
-
};
|
|
95147
|
-
|
|
95148
|
-
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
95149
|
-
var _ret = _loop5();
|
|
95287
|
+
}, _callee8, null, [[10, 22, 25, 28]]);
|
|
95288
|
+
}));
|
|
95150
95289
|
|
|
95151
|
-
|
|
95152
|
-
|
|
95153
|
-
}
|
|
95154
|
-
|
|
95155
|
-
} finally {
|
|
95156
|
-
_iterator3.f();
|
|
95157
|
-
}
|
|
95158
|
-
};
|
|
95290
|
+
return function getCheckedInfoByKeys() {
|
|
95291
|
+
return _ref9.apply(this, arguments);
|
|
95292
|
+
};
|
|
95293
|
+
}();
|
|
95159
95294
|
|
|
95160
95295
|
var fKeyMap = {
|
|
95161
95296
|
village: "build",
|
|
@@ -95182,8 +95317,9 @@ var util_utils = {
|
|
|
95182
95317
|
});
|
|
95183
95318
|
}
|
|
95184
95319
|
|
|
95185
|
-
var
|
|
95186
|
-
|
|
95320
|
+
var _result2 = getInitKeys(initKeys, fKey);
|
|
95321
|
+
|
|
95322
|
+
filterKeys = [].concat(Object(toConsumableArray["a" /* default */])(filterKeys), Object(toConsumableArray["a" /* default */])(_result2));
|
|
95187
95323
|
} else {
|
|
95188
95324
|
// type = room
|
|
95189
95325
|
filterKeys = [].concat(Object(toConsumableArray["a" /* default */])(filterKeys), Object(toConsumableArray["a" /* default */])(initKeys));
|
|
@@ -95215,36 +95351,36 @@ var util_utils = {
|
|
|
95215
95351
|
}
|
|
95216
95352
|
|
|
95217
95353
|
var getRoomAsync = /*#__PURE__*/function () {
|
|
95218
|
-
var
|
|
95354
|
+
var _ref10 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
|
95219
95355
|
var index;
|
|
95220
|
-
return regeneratorRuntime.wrap(function
|
|
95356
|
+
return regeneratorRuntime.wrap(function _callee9$(_context14) {
|
|
95221
95357
|
while (1) {
|
|
95222
|
-
switch (
|
|
95358
|
+
switch (_context14.prev = _context14.next) {
|
|
95223
95359
|
case 0:
|
|
95224
95360
|
if (!(props.checkType == "layer")) {
|
|
95225
|
-
|
|
95361
|
+
_context14.next = 3;
|
|
95226
95362
|
break;
|
|
95227
95363
|
}
|
|
95228
95364
|
|
|
95229
95365
|
resolve(result);
|
|
95230
|
-
return
|
|
95366
|
+
return _context14.abrupt("return");
|
|
95231
95367
|
|
|
95232
95368
|
case 3:
|
|
95233
95369
|
if (!result.layerList.length) {
|
|
95234
|
-
|
|
95370
|
+
_context14.next = 14;
|
|
95235
95371
|
break;
|
|
95236
95372
|
}
|
|
95237
95373
|
|
|
95238
|
-
|
|
95374
|
+
_context14.t0 = regeneratorRuntime.keys(result.layerList);
|
|
95239
95375
|
|
|
95240
95376
|
case 5:
|
|
95241
|
-
if ((
|
|
95242
|
-
|
|
95377
|
+
if ((_context14.t1 = _context14.t0()).done) {
|
|
95378
|
+
_context14.next = 11;
|
|
95243
95379
|
break;
|
|
95244
95380
|
}
|
|
95245
95381
|
|
|
95246
|
-
index =
|
|
95247
|
-
|
|
95382
|
+
index = _context14.t1.value;
|
|
95383
|
+
_context14.next = 9;
|
|
95248
95384
|
return getRoomList(result.layerList[index]).then(function (roomList) {
|
|
95249
95385
|
if (roomList && roomList.length) {
|
|
95250
95386
|
var list = roomList.filter(function (item) {
|
|
@@ -95255,12 +95391,12 @@ var util_utils = {
|
|
|
95255
95391
|
});
|
|
95256
95392
|
|
|
95257
95393
|
case 9:
|
|
95258
|
-
|
|
95394
|
+
_context14.next = 5;
|
|
95259
95395
|
break;
|
|
95260
95396
|
|
|
95261
95397
|
case 11:
|
|
95262
95398
|
resolve(result);
|
|
95263
|
-
|
|
95399
|
+
_context14.next = 15;
|
|
95264
95400
|
break;
|
|
95265
95401
|
|
|
95266
95402
|
case 14:
|
|
@@ -95268,35 +95404,35 @@ var util_utils = {
|
|
|
95268
95404
|
|
|
95269
95405
|
case 15:
|
|
95270
95406
|
case "end":
|
|
95271
|
-
return
|
|
95407
|
+
return _context14.stop();
|
|
95272
95408
|
}
|
|
95273
95409
|
}
|
|
95274
|
-
},
|
|
95410
|
+
}, _callee9);
|
|
95275
95411
|
}));
|
|
95276
95412
|
|
|
95277
95413
|
return function getRoomAsync() {
|
|
95278
|
-
return
|
|
95414
|
+
return _ref10.apply(this, arguments);
|
|
95279
95415
|
};
|
|
95280
95416
|
}();
|
|
95281
95417
|
|
|
95282
95418
|
if (result.buildList.length) {
|
|
95283
95419
|
var getLayerAsync = /*#__PURE__*/function () {
|
|
95284
|
-
var
|
|
95420
|
+
var _ref11 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
|
95285
95421
|
var index;
|
|
95286
|
-
return regeneratorRuntime.wrap(function
|
|
95422
|
+
return regeneratorRuntime.wrap(function _callee10$(_context15) {
|
|
95287
95423
|
while (1) {
|
|
95288
|
-
switch (
|
|
95424
|
+
switch (_context15.prev = _context15.next) {
|
|
95289
95425
|
case 0:
|
|
95290
|
-
|
|
95426
|
+
_context15.t0 = regeneratorRuntime.keys(result.buildList);
|
|
95291
95427
|
|
|
95292
95428
|
case 1:
|
|
95293
|
-
if ((
|
|
95294
|
-
|
|
95429
|
+
if ((_context15.t1 = _context15.t0()).done) {
|
|
95430
|
+
_context15.next = 7;
|
|
95295
95431
|
break;
|
|
95296
95432
|
}
|
|
95297
95433
|
|
|
95298
|
-
index =
|
|
95299
|
-
|
|
95434
|
+
index = _context15.t1.value;
|
|
95435
|
+
_context15.next = 5;
|
|
95300
95436
|
return getLayerList(result.buildList[index]).then(function (layerList) {
|
|
95301
95437
|
if (layerList && layerList.length) {
|
|
95302
95438
|
var list = layerList.filter(function (item) {
|
|
@@ -95307,19 +95443,19 @@ var util_utils = {
|
|
|
95307
95443
|
});
|
|
95308
95444
|
|
|
95309
95445
|
case 5:
|
|
95310
|
-
|
|
95446
|
+
_context15.next = 1;
|
|
95311
95447
|
break;
|
|
95312
95448
|
|
|
95313
95449
|
case 7:
|
|
95314
95450
|
case "end":
|
|
95315
|
-
return
|
|
95451
|
+
return _context15.stop();
|
|
95316
95452
|
}
|
|
95317
95453
|
}
|
|
95318
|
-
},
|
|
95454
|
+
}, _callee10);
|
|
95319
95455
|
}));
|
|
95320
95456
|
|
|
95321
95457
|
return function getLayerAsync() {
|
|
95322
|
-
return
|
|
95458
|
+
return _ref11.apply(this, arguments);
|
|
95323
95459
|
};
|
|
95324
95460
|
}();
|
|
95325
95461
|
|
|
@@ -95429,15 +95565,21 @@ var util_utils = {
|
|
|
95429
95565
|
return;
|
|
95430
95566
|
}
|
|
95431
95567
|
|
|
95568
|
+
var paramsObj = {
|
|
95569
|
+
village_id: layer.extra.village_id,
|
|
95570
|
+
layer_id: layer.id
|
|
95571
|
+
};
|
|
95572
|
+
|
|
95573
|
+
if (!props.showRoomArea) {
|
|
95574
|
+
paramsObj.exclude_area = 1;
|
|
95575
|
+
}
|
|
95576
|
+
|
|
95432
95577
|
emit("request", {
|
|
95433
95578
|
params: {
|
|
95434
95579
|
method: "get",
|
|
95435
95580
|
server: "/village",
|
|
95436
95581
|
url: "/project/room/all",
|
|
95437
|
-
extra: {
|
|
95438
|
-
village_id: layer.extra.village_id,
|
|
95439
|
-
layer_id: layer.id
|
|
95440
|
-
}
|
|
95582
|
+
extra: Object(objectSpread2["a" /* default */])({}, paramsObj)
|
|
95441
95583
|
},
|
|
95442
95584
|
success: function success(res) {
|
|
95443
95585
|
if (res.list.length) {
|
|
@@ -95523,16 +95665,22 @@ var util_utils = {
|
|
|
95523
95665
|
return;
|
|
95524
95666
|
}
|
|
95525
95667
|
|
|
95668
|
+
var paramsObj = {
|
|
95669
|
+
village_id: room.extra.village_id,
|
|
95670
|
+
layer_id: room.extra.layer_id,
|
|
95671
|
+
parent_room_id: room.id
|
|
95672
|
+
};
|
|
95673
|
+
|
|
95674
|
+
if (!props.showRoomArea) {
|
|
95675
|
+
paramsObj.exclude_area = 1;
|
|
95676
|
+
}
|
|
95677
|
+
|
|
95526
95678
|
emit("request", {
|
|
95527
95679
|
params: {
|
|
95528
95680
|
method: "get",
|
|
95529
95681
|
server: "/village",
|
|
95530
95682
|
url: "/project/room/all",
|
|
95531
|
-
extra: {
|
|
95532
|
-
village_id: room.extra.village_id,
|
|
95533
|
-
layer_id: room.extra.layer_id,
|
|
95534
|
-
parent_room_id: room.id
|
|
95535
|
-
}
|
|
95683
|
+
extra: Object(objectSpread2["a" /* default */])({}, paramsObj)
|
|
95536
95684
|
},
|
|
95537
95685
|
success: function success(res) {
|
|
95538
95686
|
if (res.list.length) {
|
|
@@ -95858,14 +96006,15 @@ var util_utils = {
|
|
|
95858
96006
|
|
|
95859
96007
|
if (defaultCheckedIds.villageId) {
|
|
95860
96008
|
var itemKey = "";
|
|
95861
|
-
var result = getVillageById(defaultCheckedIds.villageId);
|
|
95862
96009
|
|
|
95863
|
-
|
|
96010
|
+
var _result3 = getVillageById(defaultCheckedIds.villageId);
|
|
96011
|
+
|
|
96012
|
+
if (!_result3) {
|
|
95864
96013
|
emitError();
|
|
95865
96014
|
return;
|
|
95866
96015
|
}
|
|
95867
96016
|
|
|
95868
|
-
itemKey =
|
|
96017
|
+
itemKey = _result3.depId ? "department-".concat(_result3.depId, "-village_").concat(defaultCheckedIds.villageId) : "village_".concat(defaultCheckedIds.villageId);
|
|
95869
96018
|
|
|
95870
96019
|
if (defaultCheckedIds.buildId) {
|
|
95871
96020
|
itemKey = "".concat(itemKey, "_build_").concat(defaultCheckedIds.buildId);
|
|
@@ -96201,7 +96350,7 @@ var util_utils = {
|
|
|
96201
96350
|
} else {
|
|
96202
96351
|
if (village.buildList && village.buildList.length) {
|
|
96203
96352
|
var regExp = new RegExp("(.+?(".concat(utils_util.buildLevelArr.join("|"), "))"));
|
|
96204
|
-
var
|
|
96353
|
+
var _result4 = [];
|
|
96205
96354
|
village.isLeaf = false;
|
|
96206
96355
|
village.buildList.forEach(function (build) {
|
|
96207
96356
|
var buildItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, build), {}, {
|
|
@@ -96225,18 +96374,18 @@ var util_utils = {
|
|
|
96225
96374
|
var group1 = match[1]; // 提取"数字栋"
|
|
96226
96375
|
|
|
96227
96376
|
if (group1.length >= 2 && build.build_name.slice(group1.length).length > 0) {
|
|
96228
|
-
var index =
|
|
96377
|
+
var index = _result4.findIndex(function (v) {
|
|
96229
96378
|
return v.title === group1;
|
|
96230
96379
|
});
|
|
96231
96380
|
|
|
96232
96381
|
if (index !== -1) {
|
|
96233
|
-
|
|
96382
|
+
_result4[index].children.push(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, buildItem), {}, {
|
|
96234
96383
|
title: build.build_name.slice(group1.length) // 1单元
|
|
96235
96384
|
|
|
96236
96385
|
}));
|
|
96237
96386
|
} else {
|
|
96238
96387
|
// 将结果添加到数组
|
|
96239
|
-
|
|
96388
|
+
_result4.push({
|
|
96240
96389
|
childType: "buildLevel",
|
|
96241
96390
|
title: group1,
|
|
96242
96391
|
// 2栋
|
|
@@ -96252,14 +96401,14 @@ var util_utils = {
|
|
|
96252
96401
|
}
|
|
96253
96402
|
} else {
|
|
96254
96403
|
// 没匹配到
|
|
96255
|
-
|
|
96404
|
+
_result4.push(Object(objectSpread2["a" /* default */])({}, buildItem));
|
|
96256
96405
|
}
|
|
96257
96406
|
} else {
|
|
96258
96407
|
// 没匹配到
|
|
96259
|
-
|
|
96408
|
+
_result4.push(Object(objectSpread2["a" /* default */])({}, buildItem));
|
|
96260
96409
|
}
|
|
96261
96410
|
});
|
|
96262
|
-
|
|
96411
|
+
_result4 = _result4.map(function (v) {
|
|
96263
96412
|
var _v$children4, _v$children5;
|
|
96264
96413
|
|
|
96265
96414
|
if (v.childType === "buildLevel" && ((_v$children4 = v.children) === null || _v$children4 === void 0 ? void 0 : _v$children4.length) === 1) {
|
|
@@ -96276,7 +96425,7 @@ var util_utils = {
|
|
|
96276
96425
|
|
|
96277
96426
|
return v;
|
|
96278
96427
|
});
|
|
96279
|
-
village.children =
|
|
96428
|
+
village.children = _result4; // village.children = village.buildList.map((build) => ({
|
|
96280
96429
|
// ...build,
|
|
96281
96430
|
// level,
|
|
96282
96431
|
// childType: "build",
|
|
@@ -96359,8 +96508,8 @@ var util_utils = {
|
|
|
96359
96508
|
}));
|
|
96360
96509
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=script&lang=js
|
|
96361
96510
|
|
|
96362
|
-
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=
|
|
96363
|
-
var
|
|
96511
|
+
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=1f03ea7c&lang=less&scoped=true
|
|
96512
|
+
var ChooseHousingResourcesvue_type_style_index_0_id_1f03ea7c_lang_less_scoped_true = __webpack_require__("4a33");
|
|
96364
96513
|
|
|
96365
96514
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue
|
|
96366
96515
|
|
|
@@ -96370,7 +96519,7 @@ var ChooseHousingResourcesvue_type_style_index_0_id_ef1ec100_lang_less_scoped_tr
|
|
|
96370
96519
|
|
|
96371
96520
|
|
|
96372
96521
|
|
|
96373
|
-
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',
|
|
96522
|
+
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',ChooseHousingResourcesvue_type_template_id_1f03ea7c_scoped_true_render],['__scopeId',"data-v-1f03ea7c"]])
|
|
96374
96523
|
|
|
96375
96524
|
/* harmony default export */ var ChooseHousingResources = (ChooseHousingResources_exports_);
|
|
96376
96525
|
// 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=fce34f4a&scoped=true
|