bl-common-vue3 3.4.65 → 3.4.67
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 +1639 -840
- package/lib/vue3common.umd.js +1639 -840
- package/lib/vue3common.umd.min.js +9 -9
- package/package.json +1 -1
package/lib/vue3common.common.js
CHANGED
|
@@ -6136,17 +6136,6 @@ var locale = {
|
|
|
6136
6136
|
};
|
|
6137
6137
|
/* harmony default export */ __webpack_exports__["a"] = (locale);
|
|
6138
6138
|
|
|
6139
|
-
/***/ }),
|
|
6140
|
-
|
|
6141
|
-
/***/ "01e3":
|
|
6142
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6143
|
-
|
|
6144
|
-
"use strict";
|
|
6145
|
-
/* 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_785176f2_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("61f4");
|
|
6146
|
-
/* 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_785176f2_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_785176f2_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
6147
|
-
/* unused harmony reexport * */
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
6139
|
/***/ }),
|
|
6151
6140
|
|
|
6152
6141
|
/***/ "02be":
|
|
@@ -43354,6 +43343,22 @@ module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
|
43354
43343
|
} : [].forEach;
|
|
43355
43344
|
|
|
43356
43345
|
|
|
43346
|
+
/***/ }),
|
|
43347
|
+
|
|
43348
|
+
/***/ "181d":
|
|
43349
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
43350
|
+
|
|
43351
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
43352
|
+
|
|
43353
|
+
// load the styles
|
|
43354
|
+
var content = __webpack_require__("84b7");
|
|
43355
|
+
if(content.__esModule) content = content.default;
|
|
43356
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
43357
|
+
if(content.locals) module.exports = content.locals;
|
|
43358
|
+
// add the styles to the DOM
|
|
43359
|
+
var add = __webpack_require__("499e").default
|
|
43360
|
+
var update = add("9716f166", content, true, {"sourceMap":false,"shadowMode":false});
|
|
43361
|
+
|
|
43357
43362
|
/***/ }),
|
|
43358
43363
|
|
|
43359
43364
|
/***/ "182d":
|
|
@@ -43977,15 +43982,15 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
43977
43982
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
43978
43983
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
43979
43984
|
|
|
43980
|
-
// 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/CustomTable/index.vue?vue&type=template&id=
|
|
43985
|
+
// 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/CustomTable/index.vue?vue&type=template&id=ef702352&scoped=true
|
|
43981
43986
|
|
|
43982
43987
|
|
|
43983
43988
|
|
|
43984
43989
|
|
|
43985
43990
|
|
|
43986
43991
|
|
|
43987
|
-
var
|
|
43988
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
43992
|
+
var CustomTablevue_type_template_id_ef702352_scoped_true_withScopeId = function _withScopeId(n) {
|
|
43993
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-ef702352"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
43989
43994
|
};
|
|
43990
43995
|
|
|
43991
43996
|
var _hoisted_1 = {
|
|
@@ -44853,7 +44858,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44853
44858
|
_: 3
|
|
44854
44859
|
}, 8, ["title", "extraParams", "accept", "tempLink", "requestInfo", "visible", "onSuccess", "onRequest"])]);
|
|
44855
44860
|
}
|
|
44856
|
-
// CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=template&id=
|
|
44861
|
+
// CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=template&id=ef702352&scoped=true
|
|
44857
44862
|
|
|
44858
44863
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
44859
44864
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
@@ -52927,33 +52932,8 @@ var radio_Group = __webpack_require__("89ee");
|
|
|
52927
52932
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/input/TextArea.js + 2 modules
|
|
52928
52933
|
var TextArea = __webpack_require__("261e");
|
|
52929
52934
|
|
|
52930
|
-
//
|
|
52931
|
-
|
|
52932
|
-
var DICT_COLORS = [{
|
|
52933
|
-
label: '默认',
|
|
52934
|
-
value: 'default',
|
|
52935
|
-
color: ''
|
|
52936
|
-
}, {
|
|
52937
|
-
label: '主要',
|
|
52938
|
-
value: 'primary',
|
|
52939
|
-
color: '#409EFF'
|
|
52940
|
-
}, {
|
|
52941
|
-
label: '成功',
|
|
52942
|
-
value: 'success',
|
|
52943
|
-
color: '#67C23A'
|
|
52944
|
-
}, {
|
|
52945
|
-
label: '信息',
|
|
52946
|
-
value: 'info',
|
|
52947
|
-
color: '#5bc0de'
|
|
52948
|
-
}, {
|
|
52949
|
-
label: '警告',
|
|
52950
|
-
value: 'warning',
|
|
52951
|
-
color: '#E6A23C'
|
|
52952
|
-
}, {
|
|
52953
|
-
label: '错误',
|
|
52954
|
-
value: 'danger',
|
|
52955
|
-
color: '#F56c6c'
|
|
52956
|
-
}];
|
|
52935
|
+
// EXTERNAL MODULE: ./src/common/utils/constant.js
|
|
52936
|
+
var constant = __webpack_require__("20a6");
|
|
52957
52937
|
|
|
52958
52938
|
// 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/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/DictionarySetting/components/AddDictionary.vue?vue&type=script&lang=js
|
|
52959
52939
|
|
|
@@ -53140,7 +53120,7 @@ var useForm = es_form["a" /* default */].useForm;
|
|
|
53140
53120
|
validateInfos: validateInfos,
|
|
53141
53121
|
title: title,
|
|
53142
53122
|
statusOptions: statusOptions,
|
|
53143
|
-
DICT_COLORS: DICT_COLORS,
|
|
53123
|
+
DICT_COLORS: constant["a" /* DICT_COLORS */],
|
|
53144
53124
|
handleClose: handleClose,
|
|
53145
53125
|
handleSubmit: handleSubmit
|
|
53146
53126
|
});
|
|
@@ -54679,7 +54659,10 @@ dayjs_min_default.a.extend(weekday_default.a);
|
|
|
54679
54659
|
current: 1,
|
|
54680
54660
|
pageSize: 20,
|
|
54681
54661
|
total: 0,
|
|
54682
|
-
showSizeChanger: true
|
|
54662
|
+
showSizeChanger: true,
|
|
54663
|
+
showTotal: function showTotal(total) {
|
|
54664
|
+
return "\u5171".concat(total, "\u6761");
|
|
54665
|
+
}
|
|
54683
54666
|
}); // table 数据变化
|
|
54684
54667
|
|
|
54685
54668
|
var handleTableChange = function handleTableChange(pagination, filters, sorter, _ref2) {
|
|
@@ -55037,7 +55020,7 @@ dayjs_min_default.a.extend(weekday_default.a);
|
|
|
55037
55020
|
var getDictionaryColor = function getDictionaryColor(colorType) {
|
|
55038
55021
|
var _DICT_COLORS$find;
|
|
55039
55022
|
|
|
55040
|
-
return ((_DICT_COLORS$find = DICT_COLORS.find(function (v) {
|
|
55023
|
+
return ((_DICT_COLORS$find = constant["a" /* DICT_COLORS */].find(function (v) {
|
|
55041
55024
|
return v.value == colorType;
|
|
55042
55025
|
})) === null || _DICT_COLORS$find === void 0 ? void 0 : _DICT_COLORS$find.color) || '';
|
|
55043
55026
|
};
|
|
@@ -55229,8 +55212,8 @@ dayjs_min_default.a.extend(weekday_default.a);
|
|
|
55229
55212
|
}));
|
|
55230
55213
|
// CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=script&lang=js
|
|
55231
55214
|
|
|
55232
|
-
// EXTERNAL MODULE: ./src/components/CustomTable/index.vue?vue&type=style&index=0&id=
|
|
55233
|
-
var
|
|
55215
|
+
// EXTERNAL MODULE: ./src/components/CustomTable/index.vue?vue&type=style&index=0&id=ef702352&lang=less&scoped=true
|
|
55216
|
+
var CustomTablevue_type_style_index_0_id_ef702352_lang_less_scoped_true = __webpack_require__("1c20");
|
|
55234
55217
|
|
|
55235
55218
|
// CONCATENATED MODULE: ./src/components/CustomTable/index.vue
|
|
55236
55219
|
|
|
@@ -55240,7 +55223,7 @@ var CustomTablevue_type_style_index_0_id_492889fa_lang_less_scoped_true = __webp
|
|
|
55240
55223
|
|
|
55241
55224
|
|
|
55242
55225
|
|
|
55243
|
-
const CustomTable_exports_ = /*#__PURE__*/exportHelper_default()(CustomTablevue_type_script_lang_js, [['render',render],['__scopeId',"data-v-
|
|
55226
|
+
const CustomTable_exports_ = /*#__PURE__*/exportHelper_default()(CustomTablevue_type_script_lang_js, [['render',render],['__scopeId',"data-v-ef702352"]])
|
|
55244
55227
|
|
|
55245
55228
|
/* harmony default export */ var components_CustomTable = __webpack_exports__["default"] = (CustomTable_exports_);
|
|
55246
55229
|
|
|
@@ -55535,7 +55518,7 @@ function create() {
|
|
|
55535
55518
|
|
|
55536
55519
|
|
|
55537
55520
|
var BLIcon = create({
|
|
55538
|
-
scriptUrl: "https://at.alicdn.com/t/c/
|
|
55521
|
+
scriptUrl: "https://at.alicdn.com/t/c/font_3830450_r2njc41hhbf.js" // 在 iconfont.cn 上生成
|
|
55539
55522
|
|
|
55540
55523
|
});
|
|
55541
55524
|
/* harmony default export */ var components_BLIcon = __webpack_exports__["a"] = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
@@ -55636,6 +55619,17 @@ var getBuiltIn = __webpack_require__("d066");
|
|
|
55636
55619
|
module.exports = getBuiltIn('document', 'documentElement');
|
|
55637
55620
|
|
|
55638
55621
|
|
|
55622
|
+
/***/ }),
|
|
55623
|
+
|
|
55624
|
+
/***/ "1c20":
|
|
55625
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
55626
|
+
|
|
55627
|
+
"use strict";
|
|
55628
|
+
/* 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_ef702352_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d91b");
|
|
55629
|
+
/* 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_ef702352_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_ef702352_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
55630
|
+
/* unused harmony reexport * */
|
|
55631
|
+
|
|
55632
|
+
|
|
55639
55633
|
/***/ }),
|
|
55640
55634
|
|
|
55641
55635
|
/***/ "1c22":
|
|
@@ -56870,6 +56864,142 @@ function fromByteArray (uint8) {
|
|
|
56870
56864
|
};
|
|
56871
56865
|
});
|
|
56872
56866
|
|
|
56867
|
+
/***/ }),
|
|
56868
|
+
|
|
56869
|
+
/***/ "20a6":
|
|
56870
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56871
|
+
|
|
56872
|
+
"use strict";
|
|
56873
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DICT_COLORS; });
|
|
56874
|
+
/* unused harmony export CONTRACT_ICONS */
|
|
56875
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ROOM_TYPE_ICONS; });
|
|
56876
|
+
// 表格字典样式
|
|
56877
|
+
var DICT_COLORS = [{
|
|
56878
|
+
label: '默认',
|
|
56879
|
+
value: 'default',
|
|
56880
|
+
color: ''
|
|
56881
|
+
}, {
|
|
56882
|
+
label: '主要',
|
|
56883
|
+
value: 'primary',
|
|
56884
|
+
color: '#409EFF'
|
|
56885
|
+
}, {
|
|
56886
|
+
label: '成功',
|
|
56887
|
+
value: 'success',
|
|
56888
|
+
color: '#67C23A'
|
|
56889
|
+
}, {
|
|
56890
|
+
label: '信息',
|
|
56891
|
+
value: 'info',
|
|
56892
|
+
color: '#5bc0de'
|
|
56893
|
+
}, {
|
|
56894
|
+
label: '警告',
|
|
56895
|
+
value: 'warning',
|
|
56896
|
+
color: '#E6A23C'
|
|
56897
|
+
}, {
|
|
56898
|
+
label: '错误',
|
|
56899
|
+
value: 'danger',
|
|
56900
|
+
color: '#F56c6c'
|
|
56901
|
+
}];
|
|
56902
|
+
var CONTRACT_ICONS = {
|
|
56903
|
+
0: {
|
|
56904
|
+
name: '租赁合同',
|
|
56905
|
+
buildIcon: 'tree-louyu',
|
|
56906
|
+
layerIcon: 'tree-louceng',
|
|
56907
|
+
roomIcon: 'tree-fangjian'
|
|
56908
|
+
},
|
|
56909
|
+
1: {
|
|
56910
|
+
name: '车位合同',
|
|
56911
|
+
buildIcon: 'tingchechang1',
|
|
56912
|
+
layerIcon: 'tree-louceng',
|
|
56913
|
+
roomIcon: 'chewei'
|
|
56914
|
+
},
|
|
56915
|
+
2: {
|
|
56916
|
+
name: '场地合同',
|
|
56917
|
+
buildIcon: 'area',
|
|
56918
|
+
layerIcon: 'tree-louceng',
|
|
56919
|
+
roomIcon: 'changdi'
|
|
56920
|
+
},
|
|
56921
|
+
3: {
|
|
56922
|
+
name: '广告位合同',
|
|
56923
|
+
buildIcon: 'area',
|
|
56924
|
+
layerIcon: 'tree-louceng',
|
|
56925
|
+
roomIcon: 'changdi'
|
|
56926
|
+
},
|
|
56927
|
+
4: {
|
|
56928
|
+
name: '公寓合同',
|
|
56929
|
+
buildIcon: 'tree-louyu',
|
|
56930
|
+
layerIcon: 'tree-louceng',
|
|
56931
|
+
roomIcon: 'tree-fangjian'
|
|
56932
|
+
},
|
|
56933
|
+
5: {
|
|
56934
|
+
name: '摊位合同',
|
|
56935
|
+
buildIcon: 'a-16jz_tanwei_booth',
|
|
56936
|
+
layerIcon: 'tree-louceng',
|
|
56937
|
+
roomIcon: 'tanweiguanli'
|
|
56938
|
+
},
|
|
56939
|
+
6: {
|
|
56940
|
+
name: '工位合同',
|
|
56941
|
+
buildIcon: 'tree-louyu',
|
|
56942
|
+
layerIcon: 'tree-louceng',
|
|
56943
|
+
roomIcon: 'gongwei'
|
|
56944
|
+
},
|
|
56945
|
+
7: {
|
|
56946
|
+
name: '冷库合同',
|
|
56947
|
+
buildIcon: 'tree-louyu',
|
|
56948
|
+
layerIcon: 'tree-louceng',
|
|
56949
|
+
roomIcon: 'cangwei'
|
|
56950
|
+
},
|
|
56951
|
+
8: {
|
|
56952
|
+
name: '床位合同',
|
|
56953
|
+
buildIcon: 'tree-louyu',
|
|
56954
|
+
layerIcon: 'tree-louceng',
|
|
56955
|
+
roomIcon: 'z_bed_normal'
|
|
56956
|
+
},
|
|
56957
|
+
default: {
|
|
56958
|
+
name: '租赁合同',
|
|
56959
|
+
buildIcon: 'tree-louyu',
|
|
56960
|
+
layerIcon: 'tree-louceng',
|
|
56961
|
+
roomIcon: 'tree-fangjian'
|
|
56962
|
+
}
|
|
56963
|
+
};
|
|
56964
|
+
var ROOM_TYPE_ICONS = {
|
|
56965
|
+
bunk: {
|
|
56966
|
+
buildIcon: 'tree-louyu',
|
|
56967
|
+
layerIcon: 'tree-louceng',
|
|
56968
|
+
roomIcon: 'z_bed_normal'
|
|
56969
|
+
},
|
|
56970
|
+
coldStorage: {
|
|
56971
|
+
buildIcon: 'tree-louyu',
|
|
56972
|
+
layerIcon: 'tree-louceng',
|
|
56973
|
+
roomIcon: 'cangwei'
|
|
56974
|
+
},
|
|
56975
|
+
station: {
|
|
56976
|
+
buildIcon: 'tree-louyu',
|
|
56977
|
+
layerIcon: 'tree-louceng',
|
|
56978
|
+
roomIcon: 'gongwei'
|
|
56979
|
+
},
|
|
56980
|
+
booth: {
|
|
56981
|
+
buildIcon: 'a-16jz_tanwei_booth',
|
|
56982
|
+
layerIcon: 'tree-louceng',
|
|
56983
|
+
roomIcon: 'tanweiguanli'
|
|
56984
|
+
},
|
|
56985
|
+
area: {
|
|
56986
|
+
buildIcon: 'area',
|
|
56987
|
+
layerIcon: 'tree-louceng',
|
|
56988
|
+
roomIcon: 'changdi'
|
|
56989
|
+
},
|
|
56990
|
+
car: {
|
|
56991
|
+
buildIcon: 'tingchechang1',
|
|
56992
|
+
layerIcon: 'tree-louceng',
|
|
56993
|
+
roomIcon: 'chewei'
|
|
56994
|
+
},
|
|
56995
|
+
default: {
|
|
56996
|
+
buildIcon: 'tree-louyu',
|
|
56997
|
+
layerIcon: 'tree-louceng',
|
|
56998
|
+
roomIcon: 'tree-fangjian'
|
|
56999
|
+
}
|
|
57000
|
+
};
|
|
57001
|
+
|
|
57002
|
+
|
|
56873
57003
|
/***/ }),
|
|
56874
57004
|
|
|
56875
57005
|
/***/ "20d4":
|
|
@@ -60276,6 +60406,20 @@ var root = _freeGlobal_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"] || fre
|
|
|
60276
60406
|
/* harmony default export */ __webpack_exports__["a"] = (root);
|
|
60277
60407
|
|
|
60278
60408
|
|
|
60409
|
+
/***/ }),
|
|
60410
|
+
|
|
60411
|
+
/***/ "278d":
|
|
60412
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
60413
|
+
|
|
60414
|
+
// Imports
|
|
60415
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
60416
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
60417
|
+
// Module
|
|
60418
|
+
exports.push([module.i, ".primary-color-text[data-v-e7a504be]{color:#2681f3}.choose-housing[data-v-e7a504be]{width:100%;height:100%;display:flex;flex-direction:column}.choose-housing .tree-view[data-v-e7a504be]{position:relative;flex:1;overflow:hidden}.choose-housing .tree-view .spin-box[data-v-e7a504be]{position:absolute;right:4px;top:4px;z-index:2}.choose-housing .tree-view[data-v-e7a504be] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-e7a504be] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-e7a504be] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-e7a504be] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-e7a504be] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-e7a504be] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-e7a504be]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-e7a504be]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-e7a504be]{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-e7a504be]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-e7a504be]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-e7a504be]{color:#2681f3}.choose-housing .text-gray[data-v-e7a504be]{color:rgba(0,0,0,.25)}", ""]);
|
|
60419
|
+
// Exports
|
|
60420
|
+
module.exports = exports;
|
|
60421
|
+
|
|
60422
|
+
|
|
60279
60423
|
/***/ }),
|
|
60280
60424
|
|
|
60281
60425
|
/***/ "27e3":
|
|
@@ -81832,20 +81976,6 @@ var useInjectSize = function useInjectSize(props) {
|
|
|
81832
81976
|
|
|
81833
81977
|
/* harmony default export */ __webpack_exports__["a"] = (useProvideSize);
|
|
81834
81978
|
|
|
81835
|
-
/***/ }),
|
|
81836
|
-
|
|
81837
|
-
/***/ "375e":
|
|
81838
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
81839
|
-
|
|
81840
|
-
// Imports
|
|
81841
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
81842
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
81843
|
-
// Module
|
|
81844
|
-
exports.push([module.i, ".primary-color-text[data-v-492889fa]{color:#2681f3}[data-v-492889fa] .ant-table-title{padding:8px}.left-title[data-v-492889fa]{font-size:16px;font-weight:700}[data-v-492889fa] .more-btn>span+.anticon{margin-left:2px}.filter-warp[data-v-492889fa]{margin-bottom:10px;background:#fff;padding:10px}", ""]);
|
|
81845
|
-
// Exports
|
|
81846
|
-
module.exports = exports;
|
|
81847
|
-
|
|
81848
|
-
|
|
81849
81979
|
/***/ }),
|
|
81850
81980
|
|
|
81851
81981
|
/***/ "377e":
|
|
@@ -88613,17 +88743,6 @@ module.exports = function (it) {
|
|
|
88613
88743
|
};
|
|
88614
88744
|
|
|
88615
88745
|
|
|
88616
|
-
/***/ }),
|
|
88617
|
-
|
|
88618
|
-
/***/ "44ee":
|
|
88619
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
88620
|
-
|
|
88621
|
-
"use strict";
|
|
88622
|
-
/* 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_cb16e7b0_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("922a");
|
|
88623
|
-
/* 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_cb16e7b0_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_cb16e7b0_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
88624
|
-
/* unused harmony reexport * */
|
|
88625
|
-
|
|
88626
|
-
|
|
88627
88746
|
/***/ }),
|
|
88628
88747
|
|
|
88629
88748
|
/***/ "452c":
|
|
@@ -95473,22 +95592,6 @@ module.exports = !$assign || fails(function () {
|
|
|
95473
95592
|
/* unused harmony reexport * */
|
|
95474
95593
|
|
|
95475
95594
|
|
|
95476
|
-
/***/ }),
|
|
95477
|
-
|
|
95478
|
-
/***/ "61f4":
|
|
95479
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
95480
|
-
|
|
95481
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
95482
|
-
|
|
95483
|
-
// load the styles
|
|
95484
|
-
var content = __webpack_require__("894d");
|
|
95485
|
-
if(content.__esModule) content = content.default;
|
|
95486
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
95487
|
-
if(content.locals) module.exports = content.locals;
|
|
95488
|
-
// add the styles to the DOM
|
|
95489
|
-
var add = __webpack_require__("499e").default
|
|
95490
|
-
var update = add("29facb8b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
95491
|
-
|
|
95492
95595
|
/***/ }),
|
|
95493
95596
|
|
|
95494
95597
|
/***/ "621a":
|
|
@@ -98425,6 +98528,17 @@ module.exports = function ($this, dummy, Wrapper) {
|
|
|
98425
98528
|
};
|
|
98426
98529
|
|
|
98427
98530
|
|
|
98531
|
+
/***/ }),
|
|
98532
|
+
|
|
98533
|
+
/***/ "71cd":
|
|
98534
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
98535
|
+
|
|
98536
|
+
"use strict";
|
|
98537
|
+
/* 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_c8e93cbc_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ec55");
|
|
98538
|
+
/* 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_c8e93cbc_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_c8e93cbc_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
98539
|
+
/* unused harmony reexport * */
|
|
98540
|
+
|
|
98541
|
+
|
|
98428
98542
|
/***/ }),
|
|
98429
98543
|
|
|
98430
98544
|
/***/ "72f7":
|
|
@@ -105559,6 +105673,20 @@ var ALL_HANDLERS = ['onClick', 'onMousedown', 'onTouchstart', 'onMouseenter', 'o
|
|
|
105559
105673
|
|
|
105560
105674
|
/* harmony default export */ var vc_trigger = __webpack_exports__["a"] = (Trigger);
|
|
105561
105675
|
|
|
105676
|
+
/***/ }),
|
|
105677
|
+
|
|
105678
|
+
/***/ "84b7":
|
|
105679
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
105680
|
+
|
|
105681
|
+
// Imports
|
|
105682
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
105683
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
105684
|
+
// Module
|
|
105685
|
+
exports.push([module.i, ".primary-color-text[data-v-4997a4d4]{color:#2681f3}.village-tree-warp[data-v-4997a4d4]{width:100%;height:100%;overflow:hidden;min-height:40px;display:flex;flex-direction:column}.tree-box[data-v-4997a4d4]{width:100%;flex:1;overflow:auto}[data-v-4997a4d4] .ant-tree .ant-tree-treenode{padding:4px 0}[data-v-4997a4d4] .ant-tree-node-content-wrapper{white-space:nowrap}", ""]);
|
|
105686
|
+
// Exports
|
|
105687
|
+
module.exports = exports;
|
|
105688
|
+
|
|
105689
|
+
|
|
105562
105690
|
/***/ }),
|
|
105563
105691
|
|
|
105564
105692
|
/***/ "857a":
|
|
@@ -106098,6 +106226,22 @@ function shallowEqual(objA, objB, compare, compareContext) {
|
|
|
106098
106226
|
|
|
106099
106227
|
/***/ }),
|
|
106100
106228
|
|
|
106229
|
+
/***/ "882c":
|
|
106230
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
106231
|
+
|
|
106232
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
106233
|
+
|
|
106234
|
+
// load the styles
|
|
106235
|
+
var content = __webpack_require__("278d");
|
|
106236
|
+
if(content.__esModule) content = content.default;
|
|
106237
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
106238
|
+
if(content.locals) module.exports = content.locals;
|
|
106239
|
+
// add the styles to the DOM
|
|
106240
|
+
var add = __webpack_require__("499e").default
|
|
106241
|
+
var update = add("0fcbc159", content, true, {"sourceMap":false,"shadowMode":false});
|
|
106242
|
+
|
|
106243
|
+
/***/ }),
|
|
106244
|
+
|
|
106101
106245
|
/***/ "8875":
|
|
106102
106246
|
/***/ (function(module, exports, __webpack_require__) {
|
|
106103
106247
|
|
|
@@ -106365,20 +106509,6 @@ if (!isCallable(store.inspectSource)) {
|
|
|
106365
106509
|
module.exports = store.inspectSource;
|
|
106366
106510
|
|
|
106367
106511
|
|
|
106368
|
-
/***/ }),
|
|
106369
|
-
|
|
106370
|
-
/***/ "894d":
|
|
106371
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
106372
|
-
|
|
106373
|
-
// Imports
|
|
106374
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
106375
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
106376
|
-
// Module
|
|
106377
|
-
exports.push([module.i, ".primary-color-text[data-v-785176f2]{color:#2681f3}.village-tree-warp[data-v-785176f2]{width:100%;height:100%;overflow:hidden;min-height:40px;display:flex;flex-direction:column}.tree-box[data-v-785176f2]{width:100%;flex:1;overflow:auto}[data-v-785176f2] .ant-tree .ant-tree-treenode{padding:4px 0}[data-v-785176f2] .ant-tree-node-content-wrapper{white-space:nowrap}", ""]);
|
|
106378
|
-
// Exports
|
|
106379
|
-
module.exports = exports;
|
|
106380
|
-
|
|
106381
|
-
|
|
106382
106512
|
/***/ }),
|
|
106383
106513
|
|
|
106384
106514
|
/***/ "89ee":
|
|
@@ -107055,33 +107185,6 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
107055
107185
|
}
|
|
107056
107186
|
|
|
107057
107187
|
|
|
107058
|
-
/***/ }),
|
|
107059
|
-
|
|
107060
|
-
/***/ "91aa":
|
|
107061
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
107062
|
-
|
|
107063
|
-
"use strict";
|
|
107064
|
-
/* 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_492889fa_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b478");
|
|
107065
|
-
/* 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_492889fa_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_492889fa_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
107066
|
-
/* unused harmony reexport * */
|
|
107067
|
-
|
|
107068
|
-
|
|
107069
|
-
/***/ }),
|
|
107070
|
-
|
|
107071
|
-
/***/ "922a":
|
|
107072
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
107073
|
-
|
|
107074
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
107075
|
-
|
|
107076
|
-
// load the styles
|
|
107077
|
-
var content = __webpack_require__("b5e0");
|
|
107078
|
-
if(content.__esModule) content = content.default;
|
|
107079
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
107080
|
-
if(content.locals) module.exports = content.locals;
|
|
107081
|
-
// add the styles to the DOM
|
|
107082
|
-
var add = __webpack_require__("499e").default
|
|
107083
|
-
var update = add("d179ecd8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
107084
|
-
|
|
107085
107188
|
/***/ }),
|
|
107086
107189
|
|
|
107087
107190
|
/***/ "9263":
|
|
@@ -120211,22 +120314,6 @@ var update = add("5b8c4944", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
120211
120314
|
|
|
120212
120315
|
/***/ }),
|
|
120213
120316
|
|
|
120214
|
-
/***/ "b478":
|
|
120215
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
120216
|
-
|
|
120217
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
120218
|
-
|
|
120219
|
-
// load the styles
|
|
120220
|
-
var content = __webpack_require__("375e");
|
|
120221
|
-
if(content.__esModule) content = content.default;
|
|
120222
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
120223
|
-
if(content.locals) module.exports = content.locals;
|
|
120224
|
-
// add the styles to the DOM
|
|
120225
|
-
var add = __webpack_require__("499e").default
|
|
120226
|
-
var update = add("9ac7e602", content, true, {"sourceMap":false,"shadowMode":false});
|
|
120227
|
-
|
|
120228
|
-
/***/ }),
|
|
120229
|
-
|
|
120230
120317
|
/***/ "b488":
|
|
120231
120318
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120232
120319
|
|
|
@@ -120667,16 +120754,13 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
120667
120754
|
|
|
120668
120755
|
/***/ }),
|
|
120669
120756
|
|
|
120670
|
-
/***/ "
|
|
120671
|
-
/***/ (function(module,
|
|
120757
|
+
/***/ "b581":
|
|
120758
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120672
120759
|
|
|
120673
|
-
|
|
120674
|
-
var
|
|
120675
|
-
|
|
120676
|
-
|
|
120677
|
-
exports.push([module.i, ".primary-color-text[data-v-cb16e7b0]{color:#2681f3}.checked-house[data-v-cb16e7b0]{width:100%;height:100%;overflow:hidden auto}.checked-house .room-name[data-v-cb16e7b0]{font-size:15px;color:#000;font-weight:500}.checked-house .building-name[data-v-cb16e7b0]{color:rgba(0,0,0,.65);font-size:12px}.checked-house .room-area[data-v-cb16e7b0]{font-size:15px;color:#000}", ""]);
|
|
120678
|
-
// Exports
|
|
120679
|
-
module.exports = exports;
|
|
120760
|
+
"use strict";
|
|
120761
|
+
/* 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_4997a4d4_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("181d");
|
|
120762
|
+
/* 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_4997a4d4_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_4997a4d4_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
120763
|
+
/* unused harmony reexport * */
|
|
120680
120764
|
|
|
120681
120765
|
|
|
120682
120766
|
/***/ }),
|
|
@@ -130072,6 +130156,17 @@ module.exports = function (input, pref) {
|
|
|
130072
130156
|
};
|
|
130073
130157
|
|
|
130074
130158
|
|
|
130159
|
+
/***/ }),
|
|
130160
|
+
|
|
130161
|
+
/***/ "c0bd":
|
|
130162
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
130163
|
+
|
|
130164
|
+
"use strict";
|
|
130165
|
+
/* 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_e7a504be_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("882c");
|
|
130166
|
+
/* 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_e7a504be_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_e7a504be_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
130167
|
+
/* unused harmony reexport * */
|
|
130168
|
+
|
|
130169
|
+
|
|
130075
130170
|
/***/ }),
|
|
130076
130171
|
|
|
130077
130172
|
/***/ "c0e4":
|
|
@@ -130541,6 +130636,20 @@ function _extends() {
|
|
|
130541
130636
|
/* unused harmony reexport * */
|
|
130542
130637
|
|
|
130543
130638
|
|
|
130639
|
+
/***/ }),
|
|
130640
|
+
|
|
130641
|
+
/***/ "c41e":
|
|
130642
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
130643
|
+
|
|
130644
|
+
// Imports
|
|
130645
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
130646
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
130647
|
+
// Module
|
|
130648
|
+
exports.push([module.i, ".primary-color-text[data-v-ef702352]{color:#2681f3}[data-v-ef702352] .ant-table-title{padding:8px}.left-title[data-v-ef702352]{font-size:16px;font-weight:700}[data-v-ef702352] .more-btn>span+.anticon{margin-left:2px}.filter-warp[data-v-ef702352]{margin-bottom:10px;background:#fff;padding:10px}", ""]);
|
|
130649
|
+
// Exports
|
|
130650
|
+
module.exports = exports;
|
|
130651
|
+
|
|
130652
|
+
|
|
130544
130653
|
/***/ }),
|
|
130545
130654
|
|
|
130546
130655
|
/***/ "c430":
|
|
@@ -130871,22 +130980,6 @@ $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
130871
130980
|
addToUnscopables(FIND_INDEX);
|
|
130872
130981
|
|
|
130873
130982
|
|
|
130874
|
-
/***/ }),
|
|
130875
|
-
|
|
130876
|
-
/***/ "c76a":
|
|
130877
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
130878
|
-
|
|
130879
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
130880
|
-
|
|
130881
|
-
// load the styles
|
|
130882
|
-
var content = __webpack_require__("ebf2");
|
|
130883
|
-
if(content.__esModule) content = content.default;
|
|
130884
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
130885
|
-
if(content.locals) module.exports = content.locals;
|
|
130886
|
-
// add the styles to the DOM
|
|
130887
|
-
var add = __webpack_require__("499e").default
|
|
130888
|
-
var update = add("0b823880", content, true, {"sourceMap":false,"shadowMode":false});
|
|
130889
|
-
|
|
130890
130983
|
/***/ }),
|
|
130891
130984
|
|
|
130892
130985
|
/***/ "c770":
|
|
@@ -131664,17 +131757,6 @@ var menuItemProps = function menuItemProps() {
|
|
|
131664
131757
|
}
|
|
131665
131758
|
}));
|
|
131666
131759
|
|
|
131667
|
-
/***/ }),
|
|
131668
|
-
|
|
131669
|
-
/***/ "d00c":
|
|
131670
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
131671
|
-
|
|
131672
|
-
"use strict";
|
|
131673
|
-
/* 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_1f42e0b8_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c76a");
|
|
131674
|
-
/* 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_1f42e0b8_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_1f42e0b8_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
131675
|
-
/* unused harmony reexport * */
|
|
131676
|
-
|
|
131677
|
-
|
|
131678
131760
|
/***/ }),
|
|
131679
131761
|
|
|
131680
131762
|
/***/ "d012":
|
|
@@ -135145,6 +135227,22 @@ module.exports = fails(function () {
|
|
|
135145
135227
|
});
|
|
135146
135228
|
|
|
135147
135229
|
|
|
135230
|
+
/***/ }),
|
|
135231
|
+
|
|
135232
|
+
/***/ "d91b":
|
|
135233
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
135234
|
+
|
|
135235
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
135236
|
+
|
|
135237
|
+
// load the styles
|
|
135238
|
+
var content = __webpack_require__("c41e");
|
|
135239
|
+
if(content.__esModule) content = content.default;
|
|
135240
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
135241
|
+
if(content.locals) module.exports = content.locals;
|
|
135242
|
+
// add the styles to the DOM
|
|
135243
|
+
var add = __webpack_require__("499e").default
|
|
135244
|
+
var update = add("7a9c95ce", content, true, {"sourceMap":false,"shadowMode":false});
|
|
135245
|
+
|
|
135148
135246
|
/***/ }),
|
|
135149
135247
|
|
|
135150
135248
|
/***/ "d942":
|
|
@@ -138226,6 +138324,20 @@ icons_CloseCircleFilled_CloseCircleFilled.displayName = 'CloseCircleFilled';
|
|
|
138226
138324
|
icons_CloseCircleFilled_CloseCircleFilled.inheritAttrs = false;
|
|
138227
138325
|
/* harmony default export */ var icons_CloseCircleFilled = __webpack_exports__["a"] = (icons_CloseCircleFilled_CloseCircleFilled);
|
|
138228
138326
|
|
|
138327
|
+
/***/ }),
|
|
138328
|
+
|
|
138329
|
+
/***/ "e254":
|
|
138330
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
138331
|
+
|
|
138332
|
+
// Imports
|
|
138333
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
138334
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
138335
|
+
// Module
|
|
138336
|
+
exports.push([module.i, ".primary-color-text[data-v-c8e93cbc]{color:#2681f3}.checked-house[data-v-c8e93cbc]{width:100%;height:100%;overflow:hidden auto}.checked-house .room-name[data-v-c8e93cbc]{font-size:15px;color:#000;font-weight:500}.checked-house .building-name[data-v-c8e93cbc]{color:rgba(0,0,0,.65);font-size:12px}.checked-house .room-area[data-v-c8e93cbc]{font-size:15px;color:#000}", ""]);
|
|
138337
|
+
// Exports
|
|
138338
|
+
module.exports = exports;
|
|
138339
|
+
|
|
138340
|
+
|
|
138229
138341
|
/***/ }),
|
|
138230
138342
|
|
|
138231
138343
|
/***/ "e260":
|
|
@@ -139609,17 +139721,19 @@ module.exports = {
|
|
|
139609
139721
|
|
|
139610
139722
|
/***/ }),
|
|
139611
139723
|
|
|
139612
|
-
/***/ "
|
|
139724
|
+
/***/ "ec55":
|
|
139613
139725
|
/***/ (function(module, exports, __webpack_require__) {
|
|
139614
139726
|
|
|
139615
|
-
//
|
|
139616
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
139617
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
139618
|
-
// Module
|
|
139619
|
-
exports.push([module.i, ".primary-color-text[data-v-1f42e0b8]{color:#2681f3}.choose-housing[data-v-1f42e0b8]{width:100%;height:100%;display:flex;flex-direction:column}.choose-housing .tree-view[data-v-1f42e0b8]{position:relative;flex:1;overflow:hidden}.choose-housing .tree-view .spin-box[data-v-1f42e0b8]{position:absolute;right:4px;top:4px;z-index:2}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree-node-content-wrapper{cursor:pointer;display:flex}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree-node-content-wrapper .ant-tree-title{flex:1}.choose-housing .tree-view[data-v-1f42e0b8] .ant-tree .ant-tree-treenode{padding:4px 0}.choose-housing .tree-view .tree-icon[data-v-1f42e0b8]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-1f42e0b8]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-1f42e0b8]{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-1f42e0b8]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-1f42e0b8]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-1f42e0b8]{color:#2681f3}.choose-housing .text-gray[data-v-1f42e0b8]{color:rgba(0,0,0,.25)}", ""]);
|
|
139620
|
-
// Exports
|
|
139621
|
-
module.exports = exports;
|
|
139727
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139622
139728
|
|
|
139729
|
+
// load the styles
|
|
139730
|
+
var content = __webpack_require__("e254");
|
|
139731
|
+
if(content.__esModule) content = content.default;
|
|
139732
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
139733
|
+
if(content.locals) module.exports = content.locals;
|
|
139734
|
+
// add the styles to the DOM
|
|
139735
|
+
var add = __webpack_require__("499e").default
|
|
139736
|
+
var update = add("bbffff44", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139623
139737
|
|
|
139624
139738
|
/***/ }),
|
|
139625
139739
|
|
|
@@ -157265,34 +157379,34 @@ var SelectPropertyvue_type_style_index_0_id_4497bb2f_lang_less_scoped_true = __w
|
|
|
157265
157379
|
const SelectProperty_exports_ = /*#__PURE__*/exportHelper_default()(SelectPropertyvue_type_script_lang_js, [['render',SelectPropertyvue_type_template_id_4497bb2f_scoped_true_render],['__scopeId',"data-v-4497bb2f"]])
|
|
157266
157380
|
|
|
157267
157381
|
/* harmony default export */ var SelectProperty = (SelectProperty_exports_);
|
|
157268
|
-
// 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=
|
|
157382
|
+
// 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=e7a504be&scoped=true
|
|
157269
157383
|
|
|
157270
157384
|
|
|
157271
|
-
var
|
|
157272
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
157385
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_withScopeId = function _withScopeId(n) {
|
|
157386
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-e7a504be"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
157273
157387
|
};
|
|
157274
157388
|
|
|
157275
|
-
var
|
|
157389
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_1 = {
|
|
157276
157390
|
class: "choose-housing"
|
|
157277
157391
|
};
|
|
157278
|
-
var
|
|
157392
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_2 = {
|
|
157279
157393
|
class: "tree-view",
|
|
157280
157394
|
ref: "treeRef"
|
|
157281
157395
|
};
|
|
157282
|
-
var
|
|
157396
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_3 = {
|
|
157283
157397
|
class: "room-title"
|
|
157284
157398
|
};
|
|
157285
|
-
var
|
|
157399
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_4 = {
|
|
157286
157400
|
class: "title-show",
|
|
157287
157401
|
key: "title-disabled-tip"
|
|
157288
157402
|
};
|
|
157289
|
-
var
|
|
157403
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_5 = {
|
|
157290
157404
|
class: "title"
|
|
157291
157405
|
};
|
|
157292
|
-
var
|
|
157406
|
+
var ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_6 = {
|
|
157293
157407
|
key: 1
|
|
157294
157408
|
};
|
|
157295
|
-
function
|
|
157409
|
+
function ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
157296
157410
|
var _component_a_alert = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-alert");
|
|
157297
157411
|
|
|
157298
157412
|
var _component_a_spin = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-spin");
|
|
@@ -157307,14 +157421,14 @@ function ChooseHousingResourcesvue_type_template_id_1f42e0b8_scoped_true_render(
|
|
|
157307
157421
|
|
|
157308
157422
|
var _component_a_tree = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tree");
|
|
157309
157423
|
|
|
157310
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
157424
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_e7a504be_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, {
|
|
157311
157425
|
key: 0,
|
|
157312
157426
|
"show-icon": "",
|
|
157313
157427
|
message: _ctx.alertTip,
|
|
157314
157428
|
style: {
|
|
157315
157429
|
"margin-bottom": "10px"
|
|
157316
157430
|
}
|
|
157317
|
-
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
157431
|
+
}, 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_e7a504be_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"], {
|
|
157318
157432
|
key: 0
|
|
157319
157433
|
}, [_ctx.spinning ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_spin, {
|
|
157320
157434
|
key: 0,
|
|
@@ -157353,17 +157467,17 @@ function ChooseHousingResourcesvue_type_template_id_1f42e0b8_scoped_true_render(
|
|
|
157353
157467
|
class: "tree-icon"
|
|
157354
157468
|
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'buildIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
157355
157469
|
key: 3,
|
|
157356
|
-
type:
|
|
157470
|
+
type: _ctx.getIcon('buildIcon'),
|
|
157357
157471
|
class: "tree-icon"
|
|
157358
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'layerIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
157472
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'layerIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
157359
157473
|
key: 4,
|
|
157360
|
-
type:
|
|
157474
|
+
type: _ctx.getIcon('layerIcon'),
|
|
157361
157475
|
class: "tree-icon"
|
|
157362
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'roomIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
157476
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'roomIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
157363
157477
|
key: 5,
|
|
157364
|
-
type:
|
|
157478
|
+
type: _ctx.getIcon('roomIcon'),
|
|
157365
157479
|
class: "tree-icon"
|
|
157366
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
157480
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
157367
157481
|
}),
|
|
157368
157482
|
title: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function (_ref2) {
|
|
157369
157483
|
var dataRef = _ref2.dataRef;
|
|
@@ -157372,7 +157486,7 @@ function ChooseHousingResourcesvue_type_template_id_1f42e0b8_scoped_true_render(
|
|
|
157372
157486
|
placement: "topLeft"
|
|
157373
157487
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
157374
157488
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
157375
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
157489
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_e7a504be_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, {
|
|
157376
157490
|
key: 0,
|
|
157377
157491
|
class: "locked"
|
|
157378
157492
|
})) : 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", {
|
|
@@ -157387,12 +157501,12 @@ function ChooseHousingResourcesvue_type_template_id_1f42e0b8_scoped_true_render(
|
|
|
157387
157501
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.disabledTip), 1)];
|
|
157388
157502
|
}),
|
|
157389
157503
|
key: "0"
|
|
157390
|
-
} : undefined]), 1024)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
157504
|
+
} : 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_e7a504be_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1))];
|
|
157391
157505
|
}),
|
|
157392
157506
|
_: 1
|
|
157393
157507
|
}, 8, ["height", "checkable", "expandedKeys", "loadedKeys", "checkedKeys", "tree-data", "loadData", "disabled", "onCheck"])], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512)]);
|
|
157394
157508
|
}
|
|
157395
|
-
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=
|
|
157509
|
+
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=e7a504be&scoped=true
|
|
157396
157510
|
|
|
157397
157511
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
157398
157512
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
@@ -157403,17 +157517,17 @@ var runtime = __webpack_require__("96cf");
|
|
|
157403
157517
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
157404
157518
|
var es_promise = __webpack_require__("e6cf");
|
|
157405
157519
|
|
|
157406
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
157407
|
-
var es_array_filter = __webpack_require__("4de4");
|
|
157408
|
-
|
|
157409
157520
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
157410
157521
|
var es_array_iterator = __webpack_require__("e260");
|
|
157411
157522
|
|
|
157523
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
157524
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
157525
|
+
|
|
157412
157526
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
157413
157527
|
var es_string_iterator = __webpack_require__("3ca3");
|
|
157414
157528
|
|
|
157415
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/
|
|
157416
|
-
var
|
|
157529
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
157530
|
+
var es_array_filter = __webpack_require__("4de4");
|
|
157417
157531
|
|
|
157418
157532
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
157419
157533
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -157709,6 +157823,9 @@ var lodash_default = /*#__PURE__*/__webpack_require__.n(lodash);
|
|
|
157709
157823
|
// EXTERNAL MODULE: ./src/common/utils/util.js
|
|
157710
157824
|
var utils_util = __webpack_require__("f348");
|
|
157711
157825
|
|
|
157826
|
+
// EXTERNAL MODULE: ./src/common/utils/constant.js
|
|
157827
|
+
var constant = __webpack_require__("20a6");
|
|
157828
|
+
|
|
157712
157829
|
// 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/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/ChooseHousingResources/index.vue?vue&type=script&lang=js
|
|
157713
157830
|
|
|
157714
157831
|
|
|
@@ -157746,6 +157863,8 @@ var utils_util = __webpack_require__("f348");
|
|
|
157746
157863
|
|
|
157747
157864
|
|
|
157748
157865
|
|
|
157866
|
+
|
|
157867
|
+
|
|
157749
157868
|
|
|
157750
157869
|
|
|
157751
157870
|
|
|
@@ -157885,6 +158004,17 @@ var utils_util = __webpack_require__("f348");
|
|
|
157885
158004
|
default: function _default() {
|
|
157886
158005
|
return [];
|
|
157887
158006
|
}
|
|
158007
|
+
},
|
|
158008
|
+
// 房间类型 用来判断发送后端请求
|
|
158009
|
+
roomType: {
|
|
158010
|
+
type: Array,
|
|
158011
|
+
default: function _default() {
|
|
158012
|
+
return [];
|
|
158013
|
+
}
|
|
158014
|
+
},
|
|
158015
|
+
iconType: {
|
|
158016
|
+
type: String,
|
|
158017
|
+
default: "default"
|
|
157888
158018
|
}
|
|
157889
158019
|
},
|
|
157890
158020
|
setup: function setup(props, _ref) {
|
|
@@ -157893,6 +158023,24 @@ var utils_util = __webpack_require__("f348");
|
|
|
157893
158023
|
// 打印方法
|
|
157894
158024
|
var CL = function CL(key, value) {
|
|
157895
158025
|
console.info("$$$$$$$$$$$$----".concat(key), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRaw"])(value));
|
|
158026
|
+
};
|
|
158027
|
+
|
|
158028
|
+
var noLayer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
158029
|
+
var _props$roomType;
|
|
158030
|
+
|
|
158031
|
+
return ((_props$roomType = props.roomType) === null || _props$roomType === void 0 ? void 0 : _props$roomType.length) && props.roomType.every(function (v) {
|
|
158032
|
+
return [4, 5, 8].includes(Number(v));
|
|
158033
|
+
});
|
|
158034
|
+
});
|
|
158035
|
+
|
|
158036
|
+
var getIcon = function getIcon(type) {
|
|
158037
|
+
var icon = constant["b" /* ROOM_TYPE_ICONS */].default[type];
|
|
158038
|
+
|
|
158039
|
+
if (props.iconType) {
|
|
158040
|
+
icon = constant["b" /* ROOM_TYPE_ICONS */][props.iconType] ? constant["b" /* ROOM_TYPE_ICONS */][props.iconType][type] : constant["b" /* ROOM_TYPE_ICONS */].default[type];
|
|
158041
|
+
}
|
|
158042
|
+
|
|
158043
|
+
return icon;
|
|
157896
158044
|
}; // 是否展示组织架构层级
|
|
157897
158045
|
|
|
157898
158046
|
|
|
@@ -157974,156 +158122,488 @@ var utils_util = __webpack_require__("f348");
|
|
|
157974
158122
|
});
|
|
157975
158123
|
};
|
|
157976
158124
|
|
|
157977
|
-
var getShowListArr = [];
|
|
157978
158125
|
var showExpandedKeys = [];
|
|
157979
158126
|
|
|
157980
|
-
var getShowListAfter = function getShowListAfter(
|
|
157981
|
-
|
|
157982
|
-
|
|
157983
|
-
|
|
157984
|
-
setDeptVillageMap();
|
|
157985
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
157986
|
-
state.expandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(state.expandedKeys), Object(toConsumableArray["a" /* default */])(showExpandedKeys));
|
|
157987
|
-
|
|
157988
|
-
if (state.tempCheckedKeys.length) {
|
|
157989
|
-
state.checkedKeys = Object(toConsumableArray["a" /* default */])(state.tempCheckedKeys);
|
|
157990
|
-
} // 重置
|
|
158127
|
+
var getShowListAfter = function getShowListAfter() {
|
|
158128
|
+
setDeptVillageMap();
|
|
158129
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
158130
|
+
state.expandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(state.expandedKeys), Object(toConsumableArray["a" /* default */])(showExpandedKeys));
|
|
157991
158131
|
|
|
158132
|
+
if (state.tempCheckedKeys.length) {
|
|
158133
|
+
state.checkedKeys = Object(toConsumableArray["a" /* default */])(state.tempCheckedKeys);
|
|
158134
|
+
}
|
|
157992
158135
|
|
|
157993
|
-
|
|
157994
|
-
|
|
157995
|
-
});
|
|
157996
|
-
}
|
|
158136
|
+
showExpandedKeys = [];
|
|
158137
|
+
});
|
|
157997
158138
|
};
|
|
157998
158139
|
|
|
157999
158140
|
var getShowList = function getShowList(list) {
|
|
158000
158141
|
// eslint-disable-next-line no-async-promise-executor
|
|
158001
158142
|
return new Promise( /*#__PURE__*/function () {
|
|
158002
|
-
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
158003
|
-
var result, childType,
|
|
158143
|
+
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(resolve) {
|
|
158144
|
+
var result, childType, getAllRequestLayer, getAllRequestRoom, getAllRequestSubRoom, getLayerAsync, getRoomAsync, getSubRoomAsync, buildId, projectBuild, vId, vItem, layerIds, subRoomIds, subRoomParentIds, noSubRoomIds, roomIds, haveSubResult, villageId, _iterator4, _step4, _loop4;
|
|
158004
158145
|
|
|
158005
|
-
return regeneratorRuntime.wrap(function
|
|
158146
|
+
return regeneratorRuntime.wrap(function _callee10$(_context14) {
|
|
158006
158147
|
while (1) {
|
|
158007
|
-
switch (
|
|
158148
|
+
switch (_context14.prev = _context14.next) {
|
|
158008
158149
|
case 0:
|
|
158009
158150
|
result = [];
|
|
158010
158151
|
|
|
158011
158152
|
if (list.length) {
|
|
158012
|
-
|
|
158153
|
+
_context14.next = 3;
|
|
158013
158154
|
break;
|
|
158014
158155
|
}
|
|
158015
158156
|
|
|
158016
|
-
return
|
|
158157
|
+
return _context14.abrupt("return", result);
|
|
158017
158158
|
|
|
158018
158159
|
case 3:
|
|
158019
|
-
childType = list[0].childType;
|
|
158160
|
+
childType = list[0].childType;
|
|
158020
158161
|
|
|
158021
|
-
|
|
158022
|
-
|
|
158023
|
-
|
|
158024
|
-
}
|
|
158162
|
+
getAllRequestLayer = /*#__PURE__*/function () {
|
|
158163
|
+
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(buildArr) {
|
|
158164
|
+
var _iterator, _step, _loop;
|
|
158025
158165
|
|
|
158026
|
-
|
|
158027
|
-
|
|
158028
|
-
|
|
158029
|
-
|
|
158166
|
+
return regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
158167
|
+
while (1) {
|
|
158168
|
+
switch (_context3.prev = _context3.next) {
|
|
158169
|
+
case 0:
|
|
158170
|
+
_iterator = Object(createForOfIteratorHelper["a" /* default */])(buildArr.entries());
|
|
158171
|
+
_context3.prev = 1;
|
|
158172
|
+
_loop = /*#__PURE__*/regeneratorRuntime.mark(function _loop() {
|
|
158173
|
+
var _step$value, index, value;
|
|
158174
|
+
|
|
158175
|
+
return regeneratorRuntime.wrap(function _loop$(_context2) {
|
|
158176
|
+
while (1) {
|
|
158177
|
+
switch (_context2.prev = _context2.next) {
|
|
158178
|
+
case 0:
|
|
158179
|
+
_step$value = Object(slicedToArray["a" /* default */])(_step.value, 2), index = _step$value[0], value = _step$value[1];
|
|
158180
|
+
_context2.next = 3;
|
|
158181
|
+
return getLayerList(value).then( /*#__PURE__*/function () {
|
|
158182
|
+
var _ref4 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(layerList) {
|
|
158183
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
158184
|
+
while (1) {
|
|
158185
|
+
switch (_context.prev = _context.next) {
|
|
158186
|
+
case 0:
|
|
158187
|
+
_context.next = 2;
|
|
158188
|
+
return getShowList(layerList);
|
|
158189
|
+
|
|
158190
|
+
case 2:
|
|
158191
|
+
value.children = _context.sent;
|
|
158192
|
+
showExpandedKeys.push(value.key);
|
|
158193
|
+
|
|
158194
|
+
if (index == buildArr.length - 1) {
|
|
158195
|
+
getShowListAfter("layer");
|
|
158196
|
+
}
|
|
158197
|
+
|
|
158198
|
+
case 5:
|
|
158199
|
+
case "end":
|
|
158200
|
+
return _context.stop();
|
|
158201
|
+
}
|
|
158202
|
+
}
|
|
158203
|
+
}, _callee);
|
|
158204
|
+
}));
|
|
158205
|
+
|
|
158206
|
+
return function (_x3) {
|
|
158207
|
+
return _ref4.apply(this, arguments);
|
|
158208
|
+
};
|
|
158209
|
+
}());
|
|
158210
|
+
|
|
158211
|
+
case 3:
|
|
158212
|
+
case "end":
|
|
158213
|
+
return _context2.stop();
|
|
158214
|
+
}
|
|
158215
|
+
}
|
|
158216
|
+
}, _loop);
|
|
158217
|
+
});
|
|
158218
|
+
|
|
158219
|
+
_iterator.s();
|
|
158220
|
+
|
|
158221
|
+
case 4:
|
|
158222
|
+
if ((_step = _iterator.n()).done) {
|
|
158223
|
+
_context3.next = 8;
|
|
158224
|
+
break;
|
|
158225
|
+
}
|
|
158226
|
+
|
|
158227
|
+
return _context3.delegateYield(_loop(), "t0", 6);
|
|
158228
|
+
|
|
158229
|
+
case 6:
|
|
158230
|
+
_context3.next = 4;
|
|
158231
|
+
break;
|
|
158232
|
+
|
|
158233
|
+
case 8:
|
|
158234
|
+
_context3.next = 13;
|
|
158235
|
+
break;
|
|
158236
|
+
|
|
158237
|
+
case 10:
|
|
158238
|
+
_context3.prev = 10;
|
|
158239
|
+
_context3.t1 = _context3["catch"](1);
|
|
158240
|
+
|
|
158241
|
+
_iterator.e(_context3.t1);
|
|
158242
|
+
|
|
158243
|
+
case 13:
|
|
158244
|
+
_context3.prev = 13;
|
|
158245
|
+
|
|
158246
|
+
_iterator.f();
|
|
158247
|
+
|
|
158248
|
+
return _context3.finish(13);
|
|
158249
|
+
|
|
158250
|
+
case 16:
|
|
158251
|
+
case "end":
|
|
158252
|
+
return _context3.stop();
|
|
158253
|
+
}
|
|
158254
|
+
}
|
|
158255
|
+
}, _callee2, null, [[1, 10, 13, 16]]);
|
|
158256
|
+
}));
|
|
158257
|
+
|
|
158258
|
+
return function getAllRequestLayer(_x2) {
|
|
158259
|
+
return _ref3.apply(this, arguments);
|
|
158260
|
+
};
|
|
158261
|
+
}();
|
|
158262
|
+
|
|
158263
|
+
getAllRequestRoom = /*#__PURE__*/function () {
|
|
158264
|
+
var _ref5 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(arr) {
|
|
158265
|
+
var _iterator2, _step2, _loop2;
|
|
158266
|
+
|
|
158267
|
+
return regeneratorRuntime.wrap(function _callee4$(_context6) {
|
|
158268
|
+
while (1) {
|
|
158269
|
+
switch (_context6.prev = _context6.next) {
|
|
158270
|
+
case 0:
|
|
158271
|
+
_iterator2 = Object(createForOfIteratorHelper["a" /* default */])(arr.entries());
|
|
158272
|
+
_context6.prev = 1;
|
|
158273
|
+
_loop2 = /*#__PURE__*/regeneratorRuntime.mark(function _loop2() {
|
|
158274
|
+
var _step2$value, index, value;
|
|
158275
|
+
|
|
158276
|
+
return regeneratorRuntime.wrap(function _loop2$(_context5) {
|
|
158277
|
+
while (1) {
|
|
158278
|
+
switch (_context5.prev = _context5.next) {
|
|
158279
|
+
case 0:
|
|
158280
|
+
_step2$value = Object(slicedToArray["a" /* default */])(_step2.value, 2), index = _step2$value[0], value = _step2$value[1];
|
|
158281
|
+
_context5.next = 3;
|
|
158282
|
+
return getRoomList(value).then( /*#__PURE__*/function () {
|
|
158283
|
+
var _ref6 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(roomList) {
|
|
158284
|
+
return regeneratorRuntime.wrap(function _callee3$(_context4) {
|
|
158285
|
+
while (1) {
|
|
158286
|
+
switch (_context4.prev = _context4.next) {
|
|
158287
|
+
case 0:
|
|
158288
|
+
_context4.next = 2;
|
|
158289
|
+
return getShowList(roomList);
|
|
158290
|
+
|
|
158291
|
+
case 2:
|
|
158292
|
+
value.children = _context4.sent;
|
|
158293
|
+
showExpandedKeys.push(value.key);
|
|
158294
|
+
|
|
158295
|
+
if (index == arr.length - 1) {
|
|
158296
|
+
getShowListAfter("room");
|
|
158297
|
+
}
|
|
158298
|
+
|
|
158299
|
+
case 5:
|
|
158300
|
+
case "end":
|
|
158301
|
+
return _context4.stop();
|
|
158302
|
+
}
|
|
158303
|
+
}
|
|
158304
|
+
}, _callee3);
|
|
158305
|
+
}));
|
|
158306
|
+
|
|
158307
|
+
return function (_x5) {
|
|
158308
|
+
return _ref6.apply(this, arguments);
|
|
158309
|
+
};
|
|
158310
|
+
}());
|
|
158311
|
+
|
|
158312
|
+
case 3:
|
|
158313
|
+
case "end":
|
|
158314
|
+
return _context5.stop();
|
|
158315
|
+
}
|
|
158316
|
+
}
|
|
158317
|
+
}, _loop2);
|
|
158318
|
+
});
|
|
158319
|
+
|
|
158320
|
+
_iterator2.s();
|
|
158321
|
+
|
|
158322
|
+
case 4:
|
|
158323
|
+
if ((_step2 = _iterator2.n()).done) {
|
|
158324
|
+
_context6.next = 8;
|
|
158325
|
+
break;
|
|
158326
|
+
}
|
|
158327
|
+
|
|
158328
|
+
return _context6.delegateYield(_loop2(), "t0", 6);
|
|
158329
|
+
|
|
158330
|
+
case 6:
|
|
158331
|
+
_context6.next = 4;
|
|
158332
|
+
break;
|
|
158333
|
+
|
|
158334
|
+
case 8:
|
|
158335
|
+
_context6.next = 13;
|
|
158336
|
+
break;
|
|
158337
|
+
|
|
158338
|
+
case 10:
|
|
158339
|
+
_context6.prev = 10;
|
|
158340
|
+
_context6.t1 = _context6["catch"](1);
|
|
158341
|
+
|
|
158342
|
+
_iterator2.e(_context6.t1);
|
|
158343
|
+
|
|
158344
|
+
case 13:
|
|
158345
|
+
_context6.prev = 13;
|
|
158346
|
+
|
|
158347
|
+
_iterator2.f();
|
|
158348
|
+
|
|
158349
|
+
return _context6.finish(13);
|
|
158350
|
+
|
|
158351
|
+
case 16:
|
|
158352
|
+
case "end":
|
|
158353
|
+
return _context6.stop();
|
|
158354
|
+
}
|
|
158355
|
+
}
|
|
158356
|
+
}, _callee4, null, [[1, 10, 13, 16]]);
|
|
158357
|
+
}));
|
|
158358
|
+
|
|
158359
|
+
return function getAllRequestRoom(_x4) {
|
|
158360
|
+
return _ref5.apply(this, arguments);
|
|
158361
|
+
};
|
|
158362
|
+
}();
|
|
158363
|
+
|
|
158364
|
+
getAllRequestSubRoom = /*#__PURE__*/function () {
|
|
158365
|
+
var _ref7 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6(arr) {
|
|
158366
|
+
var _iterator3, _step3, _loop3;
|
|
158367
|
+
|
|
158368
|
+
return regeneratorRuntime.wrap(function _callee6$(_context9) {
|
|
158369
|
+
while (1) {
|
|
158370
|
+
switch (_context9.prev = _context9.next) {
|
|
158371
|
+
case 0:
|
|
158372
|
+
_iterator3 = Object(createForOfIteratorHelper["a" /* default */])(arr.entries());
|
|
158373
|
+
_context9.prev = 1;
|
|
158374
|
+
_loop3 = /*#__PURE__*/regeneratorRuntime.mark(function _loop3() {
|
|
158375
|
+
var _step3$value, index, value;
|
|
158376
|
+
|
|
158377
|
+
return regeneratorRuntime.wrap(function _loop3$(_context8) {
|
|
158378
|
+
while (1) {
|
|
158379
|
+
switch (_context8.prev = _context8.next) {
|
|
158380
|
+
case 0:
|
|
158381
|
+
_step3$value = Object(slicedToArray["a" /* default */])(_step3.value, 2), index = _step3$value[0], value = _step3$value[1];
|
|
158382
|
+
_context8.next = 3;
|
|
158383
|
+
return getSubRooms(value).then( /*#__PURE__*/function () {
|
|
158384
|
+
var _ref8 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(subRooms) {
|
|
158385
|
+
return regeneratorRuntime.wrap(function _callee5$(_context7) {
|
|
158386
|
+
while (1) {
|
|
158387
|
+
switch (_context7.prev = _context7.next) {
|
|
158388
|
+
case 0:
|
|
158389
|
+
_context7.next = 2;
|
|
158390
|
+
return getShowList(subRooms);
|
|
158391
|
+
|
|
158392
|
+
case 2:
|
|
158393
|
+
value.children = _context7.sent;
|
|
158394
|
+
showExpandedKeys.push(value.key);
|
|
158395
|
+
|
|
158396
|
+
if (index == arr.length - 1) {
|
|
158397
|
+
getShowListAfter("subRoom");
|
|
158398
|
+
}
|
|
158399
|
+
|
|
158400
|
+
case 5:
|
|
158401
|
+
case "end":
|
|
158402
|
+
return _context7.stop();
|
|
158403
|
+
}
|
|
158404
|
+
}
|
|
158405
|
+
}, _callee5);
|
|
158406
|
+
}));
|
|
158407
|
+
|
|
158408
|
+
return function (_x7) {
|
|
158409
|
+
return _ref8.apply(this, arguments);
|
|
158410
|
+
};
|
|
158411
|
+
}());
|
|
158412
|
+
|
|
158413
|
+
case 3:
|
|
158414
|
+
case "end":
|
|
158415
|
+
return _context8.stop();
|
|
158416
|
+
}
|
|
158417
|
+
}
|
|
158418
|
+
}, _loop3);
|
|
158419
|
+
});
|
|
158420
|
+
|
|
158421
|
+
_iterator3.s();
|
|
158422
|
+
|
|
158423
|
+
case 4:
|
|
158424
|
+
if ((_step3 = _iterator3.n()).done) {
|
|
158425
|
+
_context9.next = 8;
|
|
158426
|
+
break;
|
|
158427
|
+
}
|
|
158428
|
+
|
|
158429
|
+
return _context9.delegateYield(_loop3(), "t0", 6);
|
|
158430
|
+
|
|
158431
|
+
case 6:
|
|
158432
|
+
_context9.next = 4;
|
|
158433
|
+
break;
|
|
158434
|
+
|
|
158435
|
+
case 8:
|
|
158436
|
+
_context9.next = 13;
|
|
158437
|
+
break;
|
|
158438
|
+
|
|
158439
|
+
case 10:
|
|
158440
|
+
_context9.prev = 10;
|
|
158441
|
+
_context9.t1 = _context9["catch"](1);
|
|
158442
|
+
|
|
158443
|
+
_iterator3.e(_context9.t1);
|
|
158444
|
+
|
|
158445
|
+
case 13:
|
|
158446
|
+
_context9.prev = 13;
|
|
158447
|
+
|
|
158448
|
+
_iterator3.f();
|
|
158449
|
+
|
|
158450
|
+
return _context9.finish(13);
|
|
158451
|
+
|
|
158452
|
+
case 16:
|
|
158453
|
+
case "end":
|
|
158454
|
+
return _context9.stop();
|
|
158455
|
+
}
|
|
158456
|
+
}
|
|
158457
|
+
}, _callee6, null, [[1, 10, 13, 16]]);
|
|
158458
|
+
}));
|
|
158459
|
+
|
|
158460
|
+
return function getAllRequestSubRoom(_x6) {
|
|
158461
|
+
return _ref7.apply(this, arguments);
|
|
158462
|
+
};
|
|
158463
|
+
}();
|
|
158464
|
+
/* 根据楼宇拿房间信息 */
|
|
158030
158465
|
|
|
158031
|
-
buildId = props.showList.buildId;
|
|
158032
|
-
list.forEach(function (item) {
|
|
158033
|
-
if (item.childType === "buildLevel") {
|
|
158034
|
-
item.children = item.children.filter(function (v) {
|
|
158035
|
-
return buildId.includes(v.id);
|
|
158036
|
-
});
|
|
158037
|
-
}
|
|
158038
|
-
});
|
|
158039
|
-
result = list.filter(function (item) {
|
|
158040
|
-
return buildId.includes(item.id) || item.childType === "buildLevel" && item.children.length;
|
|
158041
|
-
});
|
|
158042
158466
|
|
|
158043
158467
|
getLayerAsync = /*#__PURE__*/function () {
|
|
158044
|
-
var
|
|
158045
|
-
var requestArr
|
|
158046
|
-
return regeneratorRuntime.wrap(function
|
|
158468
|
+
var _ref9 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7(result) {
|
|
158469
|
+
var requestArr;
|
|
158470
|
+
return regeneratorRuntime.wrap(function _callee7$(_context10) {
|
|
158047
158471
|
while (1) {
|
|
158048
|
-
switch (
|
|
158472
|
+
switch (_context10.prev = _context10.next) {
|
|
158049
158473
|
case 0:
|
|
158050
158474
|
requestArr = [];
|
|
158051
|
-
expandedKeys = [];
|
|
158052
158475
|
result.forEach(function (item) {
|
|
158053
158476
|
if (item.childType === "buildLevel") {
|
|
158054
158477
|
item.children.forEach(function (child) {
|
|
158055
|
-
|
|
158056
|
-
requestArr.push(getLayerList(child));
|
|
158478
|
+
requestArr.push(child);
|
|
158057
158479
|
});
|
|
158058
158480
|
} else {
|
|
158059
|
-
|
|
158060
|
-
requestArr.push(getLayerList(item));
|
|
158481
|
+
requestArr.push(item);
|
|
158061
158482
|
}
|
|
158062
158483
|
});
|
|
158063
|
-
|
|
158064
|
-
return
|
|
158065
|
-
var _ref4 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(data) {
|
|
158066
|
-
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
158067
|
-
while (1) {
|
|
158068
|
-
switch (_context.prev = _context.next) {
|
|
158069
|
-
case 0:
|
|
158070
|
-
showExpandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(showExpandedKeys), expandedKeys);
|
|
158071
|
-
_context.next = 3;
|
|
158072
|
-
return getShowListAfter("layer");
|
|
158073
|
-
|
|
158074
|
-
case 3:
|
|
158075
|
-
_context.next = 5;
|
|
158076
|
-
return Promise.all(data.map(function (item) {
|
|
158077
|
-
return getShowList(item);
|
|
158078
|
-
}));
|
|
158484
|
+
_context10.next = 4;
|
|
158485
|
+
return getAllRequestLayer(requestArr);
|
|
158079
158486
|
|
|
158080
|
-
|
|
158081
|
-
|
|
158082
|
-
|
|
158083
|
-
|
|
158084
|
-
|
|
158085
|
-
|
|
158086
|
-
|
|
158487
|
+
case 4:
|
|
158488
|
+
case "end":
|
|
158489
|
+
return _context10.stop();
|
|
158490
|
+
}
|
|
158491
|
+
}
|
|
158492
|
+
}, _callee7);
|
|
158493
|
+
}));
|
|
158494
|
+
|
|
158495
|
+
return function getLayerAsync(_x8) {
|
|
158496
|
+
return _ref9.apply(this, arguments);
|
|
158497
|
+
};
|
|
158498
|
+
}();
|
|
158499
|
+
/* 拿房间信息 */
|
|
158087
158500
|
|
|
158088
|
-
return function (_x2) {
|
|
158089
|
-
return _ref4.apply(this, arguments);
|
|
158090
|
-
};
|
|
158091
|
-
}());
|
|
158092
158501
|
|
|
158093
|
-
|
|
158502
|
+
getRoomAsync = /*#__PURE__*/function () {
|
|
158503
|
+
var _ref10 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8(result, isFormBuild) {
|
|
158504
|
+
var requestArr;
|
|
158505
|
+
return regeneratorRuntime.wrap(function _callee8$(_context11) {
|
|
158506
|
+
while (1) {
|
|
158507
|
+
switch (_context11.prev = _context11.next) {
|
|
158508
|
+
case 0:
|
|
158509
|
+
requestArr = [];
|
|
158510
|
+
|
|
158511
|
+
if (isFormBuild) {
|
|
158512
|
+
result.forEach(function (item) {
|
|
158513
|
+
if (item.childType === "buildLevel") {
|
|
158514
|
+
item.children.forEach(function (child) {
|
|
158515
|
+
requestArr.push(child);
|
|
158516
|
+
});
|
|
158517
|
+
} else {
|
|
158518
|
+
requestArr.push(item);
|
|
158519
|
+
}
|
|
158520
|
+
});
|
|
158521
|
+
} else {
|
|
158522
|
+
requestArr = result;
|
|
158523
|
+
}
|
|
158524
|
+
|
|
158525
|
+
_context11.next = 4;
|
|
158526
|
+
return getAllRequestRoom(requestArr);
|
|
158527
|
+
|
|
158528
|
+
case 4:
|
|
158094
158529
|
case "end":
|
|
158095
|
-
return
|
|
158530
|
+
return _context11.stop();
|
|
158096
158531
|
}
|
|
158097
158532
|
}
|
|
158098
|
-
},
|
|
158533
|
+
}, _callee8);
|
|
158099
158534
|
}));
|
|
158100
158535
|
|
|
158101
|
-
return function
|
|
158102
|
-
return
|
|
158536
|
+
return function getRoomAsync(_x9, _x10) {
|
|
158537
|
+
return _ref10.apply(this, arguments);
|
|
158103
158538
|
};
|
|
158104
158539
|
}();
|
|
158105
158540
|
|
|
158106
|
-
|
|
158107
|
-
|
|
158541
|
+
getSubRoomAsync = /*#__PURE__*/function () {
|
|
158542
|
+
var _ref11 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(result) {
|
|
158543
|
+
return regeneratorRuntime.wrap(function _callee9$(_context12) {
|
|
158544
|
+
while (1) {
|
|
158545
|
+
switch (_context12.prev = _context12.next) {
|
|
158546
|
+
case 0:
|
|
158547
|
+
_context12.next = 2;
|
|
158548
|
+
return getAllRequestSubRoom(result);
|
|
158549
|
+
|
|
158550
|
+
case 2:
|
|
158551
|
+
case "end":
|
|
158552
|
+
return _context12.stop();
|
|
158553
|
+
}
|
|
158554
|
+
}
|
|
158555
|
+
}, _callee9);
|
|
158556
|
+
}));
|
|
158557
|
+
|
|
158558
|
+
return function getSubRoomAsync(_x11) {
|
|
158559
|
+
return _ref11.apply(this, arguments);
|
|
158560
|
+
};
|
|
158561
|
+
}(); // childType 取的第一个 所以把 buildLevel 放在这里面判断
|
|
158562
|
+
|
|
158563
|
+
|
|
158564
|
+
if (!["build", "layer", "room", "buildLevel", "subRoom"].includes(childType)) {
|
|
158565
|
+
_context14.next = 50;
|
|
158566
|
+
break;
|
|
158567
|
+
}
|
|
158568
|
+
|
|
158569
|
+
if (!(childType == "build" || childType == "buildLevel")) {
|
|
158570
|
+
_context14.next = 24;
|
|
158571
|
+
break;
|
|
158572
|
+
}
|
|
158573
|
+
|
|
158574
|
+
buildId = props.showList.buildId;
|
|
158575
|
+
list.forEach(function (item) {
|
|
158576
|
+
if (item.childType === "buildLevel") {
|
|
158577
|
+
item.children = item.children.filter(function (v) {
|
|
158578
|
+
return buildId.includes(v.id);
|
|
158579
|
+
});
|
|
158580
|
+
}
|
|
158581
|
+
});
|
|
158582
|
+
result = list.filter(function (item) {
|
|
158583
|
+
return buildId.includes(item.id) || item.childType === "buildLevel" && item.children.length;
|
|
158584
|
+
});
|
|
158585
|
+
|
|
158586
|
+
if (!noLayer.value) {
|
|
158587
|
+
_context14.next = 20;
|
|
158108
158588
|
break;
|
|
158109
158589
|
}
|
|
158110
158590
|
|
|
158111
|
-
|
|
158112
|
-
return
|
|
158591
|
+
_context14.next = 18;
|
|
158592
|
+
return getRoomAsync(result, true);
|
|
158113
158593
|
|
|
158114
|
-
case
|
|
158115
|
-
|
|
158594
|
+
case 18:
|
|
158595
|
+
_context14.next = 22;
|
|
158116
158596
|
break;
|
|
158117
158597
|
|
|
158118
|
-
case
|
|
158119
|
-
|
|
158120
|
-
return getLayerAsync();
|
|
158598
|
+
case 20:
|
|
158599
|
+
_context14.next = 22;
|
|
158600
|
+
return getLayerAsync(result);
|
|
158121
158601
|
|
|
158122
|
-
case
|
|
158123
|
-
|
|
158602
|
+
case 22:
|
|
158603
|
+
_context14.next = 48;
|
|
158124
158604
|
break;
|
|
158125
158605
|
|
|
158126
|
-
case
|
|
158606
|
+
case 24:
|
|
158127
158607
|
projectBuild = props.showList.projectBuild;
|
|
158128
158608
|
vId = list[0].extra.village_id;
|
|
158129
158609
|
vItem = projectBuild.find(function (item) {
|
|
@@ -158131,7 +158611,7 @@ var utils_util = __webpack_require__("f348");
|
|
|
158131
158611
|
});
|
|
158132
158612
|
|
|
158133
158613
|
if (!(childType == "layer")) {
|
|
158134
|
-
|
|
158614
|
+
_context14.next = 34;
|
|
158135
158615
|
break;
|
|
158136
158616
|
}
|
|
158137
158617
|
|
|
@@ -158142,107 +158622,79 @@ var utils_util = __webpack_require__("f348");
|
|
|
158142
158622
|
result = list.filter(function (item) {
|
|
158143
158623
|
return layerIds.includes(item.id);
|
|
158144
158624
|
});
|
|
158625
|
+
_context14.next = 32;
|
|
158626
|
+
return getRoomAsync(result);
|
|
158145
158627
|
|
|
158146
|
-
|
|
158147
|
-
|
|
158148
|
-
|
|
158149
|
-
}
|
|
158150
|
-
|
|
158151
|
-
getRoomAsync = /*#__PURE__*/function () {
|
|
158152
|
-
var _ref5 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
158153
|
-
var requestArr, expandedKeys;
|
|
158154
|
-
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
158155
|
-
while (1) {
|
|
158156
|
-
switch (_context4.prev = _context4.next) {
|
|
158157
|
-
case 0:
|
|
158158
|
-
requestArr = [];
|
|
158159
|
-
expandedKeys = [];
|
|
158160
|
-
result.forEach(function (item) {
|
|
158161
|
-
requestArr.push(getRoomList(item));
|
|
158162
|
-
expandedKeys.push(item.key);
|
|
158163
|
-
});
|
|
158164
|
-
_context4.next = 5;
|
|
158165
|
-
return Promise.all(requestArr).then( /*#__PURE__*/function () {
|
|
158166
|
-
var _ref6 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(data) {
|
|
158167
|
-
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
158168
|
-
while (1) {
|
|
158169
|
-
switch (_context3.prev = _context3.next) {
|
|
158170
|
-
case 0:
|
|
158171
|
-
showExpandedKeys = [].concat(Object(toConsumableArray["a" /* default */])(showExpandedKeys), expandedKeys);
|
|
158172
|
-
_context3.next = 3;
|
|
158173
|
-
return getShowListAfter("room");
|
|
158174
|
-
|
|
158175
|
-
case 3:
|
|
158176
|
-
_context3.next = 5;
|
|
158177
|
-
return Promise.all(data.map(function (item) {
|
|
158178
|
-
return getShowList(item);
|
|
158179
|
-
}));
|
|
158180
|
-
|
|
158181
|
-
case 5:
|
|
158182
|
-
case "end":
|
|
158183
|
-
return _context3.stop();
|
|
158184
|
-
}
|
|
158185
|
-
}
|
|
158186
|
-
}, _callee3);
|
|
158187
|
-
}));
|
|
158188
|
-
|
|
158189
|
-
return function (_x3) {
|
|
158190
|
-
return _ref6.apply(this, arguments);
|
|
158191
|
-
};
|
|
158192
|
-
}());
|
|
158193
|
-
|
|
158194
|
-
case 5:
|
|
158195
|
-
case "end":
|
|
158196
|
-
return _context4.stop();
|
|
158197
|
-
}
|
|
158198
|
-
}
|
|
158199
|
-
}, _callee4);
|
|
158200
|
-
}));
|
|
158201
|
-
|
|
158202
|
-
return function getRoomAsync() {
|
|
158203
|
-
return _ref5.apply(this, arguments);
|
|
158204
|
-
};
|
|
158205
|
-
}();
|
|
158628
|
+
case 32:
|
|
158629
|
+
_context14.next = 48;
|
|
158630
|
+
break;
|
|
158206
158631
|
|
|
158207
|
-
|
|
158208
|
-
|
|
158632
|
+
case 34:
|
|
158633
|
+
subRoomIds = [];
|
|
158634
|
+
subRoomParentIds = [];
|
|
158635
|
+
noSubRoomIds = [];
|
|
158636
|
+
vItem.room.forEach(function (v) {
|
|
158637
|
+
if (v.parent_room_id) {
|
|
158638
|
+
// 子房间
|
|
158639
|
+
subRoomParentIds.push(v.parent_room_id);
|
|
158640
|
+
subRoomIds.push(v.id);
|
|
158641
|
+
} else {
|
|
158642
|
+
noSubRoomIds.push(v.id);
|
|
158643
|
+
}
|
|
158644
|
+
});
|
|
158209
158645
|
|
|
158210
|
-
|
|
158211
|
-
|
|
158212
|
-
|
|
158646
|
+
if (!(childType == "room")) {
|
|
158647
|
+
_context14.next = 47;
|
|
158648
|
+
break;
|
|
158649
|
+
}
|
|
158213
158650
|
|
|
158214
|
-
case 31:
|
|
158215
158651
|
// 房间
|
|
158216
|
-
roomIds =
|
|
158217
|
-
return item.id;
|
|
158218
|
-
});
|
|
158652
|
+
roomIds = [].concat(subRoomParentIds, noSubRoomIds);
|
|
158219
158653
|
result = list.filter(function (item) {
|
|
158220
158654
|
return roomIds.includes(item.id);
|
|
158221
158655
|
});
|
|
158656
|
+
haveSubResult = list.filter(function (item) {
|
|
158657
|
+
return subRoomParentIds.includes(item.id);
|
|
158658
|
+
});
|
|
158659
|
+
console.log(roomIds, result, haveSubResult, '0000000000000000000000000');
|
|
158660
|
+
_context14.next = 45;
|
|
158661
|
+
return getSubRoomAsync(haveSubResult);
|
|
158662
|
+
|
|
158663
|
+
case 45:
|
|
158664
|
+
_context14.next = 48;
|
|
158665
|
+
break;
|
|
158666
|
+
|
|
158667
|
+
case 47:
|
|
158668
|
+
if (childType == "subRoom") {
|
|
158669
|
+
// 子房间
|
|
158670
|
+
result = list.filter(function (item) {
|
|
158671
|
+
return subRoomIds.includes(item.id);
|
|
158672
|
+
});
|
|
158673
|
+
}
|
|
158222
158674
|
|
|
158223
|
-
case
|
|
158224
|
-
|
|
158675
|
+
case 48:
|
|
158676
|
+
_context14.next = 67;
|
|
158225
158677
|
break;
|
|
158226
158678
|
|
|
158227
|
-
case
|
|
158679
|
+
case 50:
|
|
158228
158680
|
// 部门 或者 项目
|
|
158229
158681
|
villageId = props.showList.villageId;
|
|
158230
|
-
|
|
158231
|
-
|
|
158232
|
-
|
|
158682
|
+
_iterator4 = Object(createForOfIteratorHelper["a" /* default */])(list);
|
|
158683
|
+
_context14.prev = 52;
|
|
158684
|
+
_loop4 = /*#__PURE__*/regeneratorRuntime.mark(function _loop4() {
|
|
158233
158685
|
var item;
|
|
158234
|
-
return regeneratorRuntime.wrap(function
|
|
158686
|
+
return regeneratorRuntime.wrap(function _loop4$(_context13) {
|
|
158235
158687
|
while (1) {
|
|
158236
|
-
switch (
|
|
158688
|
+
switch (_context13.prev = _context13.next) {
|
|
158237
158689
|
case 0:
|
|
158238
|
-
item =
|
|
158690
|
+
item = _step4.value;
|
|
158239
158691
|
|
|
158240
158692
|
if (!(item.childType == "department")) {
|
|
158241
|
-
|
|
158693
|
+
_context13.next = 7;
|
|
158242
158694
|
break;
|
|
158243
158695
|
}
|
|
158244
158696
|
|
|
158245
|
-
|
|
158697
|
+
_context13.next = 4;
|
|
158246
158698
|
return getShowList(item.children).then(function (res) {
|
|
158247
158699
|
item.children = res;
|
|
158248
158700
|
});
|
|
@@ -158252,21 +158704,21 @@ var utils_util = __webpack_require__("f348");
|
|
|
158252
158704
|
result.push(item);
|
|
158253
158705
|
}
|
|
158254
158706
|
|
|
158255
|
-
|
|
158707
|
+
_context13.next = 12;
|
|
158256
158708
|
break;
|
|
158257
158709
|
|
|
158258
158710
|
case 7:
|
|
158259
158711
|
if (!(item.childType == "village")) {
|
|
158260
|
-
|
|
158712
|
+
_context13.next = 12;
|
|
158261
158713
|
break;
|
|
158262
158714
|
}
|
|
158263
158715
|
|
|
158264
158716
|
if (!villageId.includes(item.id)) {
|
|
158265
|
-
|
|
158717
|
+
_context13.next = 12;
|
|
158266
158718
|
break;
|
|
158267
158719
|
}
|
|
158268
158720
|
|
|
158269
|
-
|
|
158721
|
+
_context13.next = 11;
|
|
158270
158722
|
return getShowList(item.children).then(function (res) {
|
|
158271
158723
|
item.children = res;
|
|
158272
158724
|
});
|
|
@@ -158276,52 +158728,52 @@ var utils_util = __webpack_require__("f348");
|
|
|
158276
158728
|
|
|
158277
158729
|
case 12:
|
|
158278
158730
|
case "end":
|
|
158279
|
-
return
|
|
158731
|
+
return _context13.stop();
|
|
158280
158732
|
}
|
|
158281
158733
|
}
|
|
158282
|
-
},
|
|
158734
|
+
}, _loop4);
|
|
158283
158735
|
});
|
|
158284
158736
|
|
|
158285
|
-
|
|
158737
|
+
_iterator4.s();
|
|
158286
158738
|
|
|
158287
|
-
case
|
|
158288
|
-
if ((
|
|
158289
|
-
|
|
158739
|
+
case 55:
|
|
158740
|
+
if ((_step4 = _iterator4.n()).done) {
|
|
158741
|
+
_context14.next = 59;
|
|
158290
158742
|
break;
|
|
158291
158743
|
}
|
|
158292
158744
|
|
|
158293
|
-
return
|
|
158745
|
+
return _context14.delegateYield(_loop4(), "t0", 57);
|
|
158294
158746
|
|
|
158295
|
-
case
|
|
158296
|
-
|
|
158747
|
+
case 57:
|
|
158748
|
+
_context14.next = 55;
|
|
158297
158749
|
break;
|
|
158298
158750
|
|
|
158299
|
-
case
|
|
158300
|
-
|
|
158751
|
+
case 59:
|
|
158752
|
+
_context14.next = 64;
|
|
158301
158753
|
break;
|
|
158302
158754
|
|
|
158303
|
-
case
|
|
158304
|
-
|
|
158305
|
-
|
|
158755
|
+
case 61:
|
|
158756
|
+
_context14.prev = 61;
|
|
158757
|
+
_context14.t1 = _context14["catch"](52);
|
|
158306
158758
|
|
|
158307
|
-
|
|
158759
|
+
_iterator4.e(_context14.t1);
|
|
158308
158760
|
|
|
158309
|
-
case
|
|
158310
|
-
|
|
158761
|
+
case 64:
|
|
158762
|
+
_context14.prev = 64;
|
|
158311
158763
|
|
|
158312
|
-
|
|
158764
|
+
_iterator4.f();
|
|
158313
158765
|
|
|
158314
|
-
return
|
|
158766
|
+
return _context14.finish(64);
|
|
158315
158767
|
|
|
158316
|
-
case
|
|
158768
|
+
case 67:
|
|
158317
158769
|
resolve(result);
|
|
158318
158770
|
|
|
158319
|
-
case
|
|
158771
|
+
case 68:
|
|
158320
158772
|
case "end":
|
|
158321
|
-
return
|
|
158773
|
+
return _context14.stop();
|
|
158322
158774
|
}
|
|
158323
158775
|
}
|
|
158324
|
-
},
|
|
158776
|
+
}, _callee10, null, [[52, 61, 64, 67]]);
|
|
158325
158777
|
}));
|
|
158326
158778
|
|
|
158327
158779
|
return function (_x) {
|
|
@@ -158375,12 +158827,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
158375
158827
|
room: new Set()
|
|
158376
158828
|
};
|
|
158377
158829
|
|
|
158378
|
-
var
|
|
158379
|
-
|
|
158830
|
+
var _iterator5 = Object(createForOfIteratorHelper["a" /* default */])(checkedKeys),
|
|
158831
|
+
_step5;
|
|
158380
158832
|
|
|
158381
158833
|
try {
|
|
158382
|
-
for (
|
|
158383
|
-
var key =
|
|
158834
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
158835
|
+
var key = _step5.value;
|
|
158384
158836
|
var keyArr = key.split("_");
|
|
158385
158837
|
result.village.add(Number(keyArr[1]));
|
|
158386
158838
|
|
|
@@ -158388,18 +158840,24 @@ var utils_util = __webpack_require__("f348");
|
|
|
158388
158840
|
result.build.add(Number(keyArr[3]));
|
|
158389
158841
|
}
|
|
158390
158842
|
|
|
158391
|
-
if (
|
|
158392
|
-
|
|
158393
|
-
|
|
158843
|
+
if (noLayer.value) {
|
|
158844
|
+
if (keyArr[5]) {
|
|
158845
|
+
result.room.add(Number(keyArr[5]));
|
|
158846
|
+
}
|
|
158847
|
+
} else {
|
|
158848
|
+
if (keyArr[5]) {
|
|
158849
|
+
result.layer.add(Number(keyArr[5]));
|
|
158850
|
+
}
|
|
158394
158851
|
|
|
158395
|
-
|
|
158396
|
-
|
|
158852
|
+
if (keyArr[7]) {
|
|
158853
|
+
result.room.add(Number(keyArr[7]));
|
|
158854
|
+
}
|
|
158397
158855
|
}
|
|
158398
158856
|
}
|
|
158399
158857
|
} catch (err) {
|
|
158400
|
-
|
|
158858
|
+
_iterator5.e(err);
|
|
158401
158859
|
} finally {
|
|
158402
|
-
|
|
158860
|
+
_iterator5.f();
|
|
158403
158861
|
}
|
|
158404
158862
|
|
|
158405
158863
|
CL("getIdsByCheckedKeys result", result);
|
|
@@ -158479,79 +158937,79 @@ var utils_util = __webpack_require__("f348");
|
|
|
158479
158937
|
};
|
|
158480
158938
|
|
|
158481
158939
|
var getVillageFromTree = /*#__PURE__*/function () {
|
|
158482
|
-
var
|
|
158940
|
+
var _ref12 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(data, id) {
|
|
158483
158941
|
var index, item, _item;
|
|
158484
158942
|
|
|
158485
|
-
return regeneratorRuntime.wrap(function
|
|
158943
|
+
return regeneratorRuntime.wrap(function _callee11$(_context15) {
|
|
158486
158944
|
while (1) {
|
|
158487
|
-
switch (
|
|
158945
|
+
switch (_context15.prev = _context15.next) {
|
|
158488
158946
|
case 0:
|
|
158489
|
-
|
|
158947
|
+
_context15.t0 = regeneratorRuntime.keys(data);
|
|
158490
158948
|
|
|
158491
158949
|
case 1:
|
|
158492
|
-
if ((
|
|
158493
|
-
|
|
158950
|
+
if ((_context15.t1 = _context15.t0()).done) {
|
|
158951
|
+
_context15.next = 17;
|
|
158494
158952
|
break;
|
|
158495
158953
|
}
|
|
158496
158954
|
|
|
158497
|
-
index =
|
|
158955
|
+
index = _context15.t1.value;
|
|
158498
158956
|
item = data[index];
|
|
158499
158957
|
|
|
158500
158958
|
if (["build", "buildLevel", "room", "layer", "subRoom"].includes(item.childType)) {
|
|
158501
|
-
|
|
158959
|
+
_context15.next = 15;
|
|
158502
158960
|
break;
|
|
158503
158961
|
}
|
|
158504
158962
|
|
|
158505
158963
|
if (!(item.childType === "village" && item.id == id)) {
|
|
158506
|
-
|
|
158964
|
+
_context15.next = 9;
|
|
158507
158965
|
break;
|
|
158508
158966
|
}
|
|
158509
158967
|
|
|
158510
|
-
return
|
|
158968
|
+
return _context15.abrupt("return", item);
|
|
158511
158969
|
|
|
158512
158970
|
case 9:
|
|
158513
158971
|
if (!(item.children && item.children.length)) {
|
|
158514
|
-
|
|
158972
|
+
_context15.next = 15;
|
|
158515
158973
|
break;
|
|
158516
158974
|
}
|
|
158517
158975
|
|
|
158518
|
-
|
|
158976
|
+
_context15.next = 12;
|
|
158519
158977
|
return getVillageFromTree(item.children, id);
|
|
158520
158978
|
|
|
158521
158979
|
case 12:
|
|
158522
|
-
_item =
|
|
158980
|
+
_item = _context15.sent;
|
|
158523
158981
|
|
|
158524
158982
|
if (!_item) {
|
|
158525
|
-
|
|
158983
|
+
_context15.next = 15;
|
|
158526
158984
|
break;
|
|
158527
158985
|
}
|
|
158528
158986
|
|
|
158529
|
-
return
|
|
158987
|
+
return _context15.abrupt("return", _item);
|
|
158530
158988
|
|
|
158531
158989
|
case 15:
|
|
158532
|
-
|
|
158990
|
+
_context15.next = 1;
|
|
158533
158991
|
break;
|
|
158534
158992
|
|
|
158535
158993
|
case 17:
|
|
158536
158994
|
case "end":
|
|
158537
|
-
return
|
|
158995
|
+
return _context15.stop();
|
|
158538
158996
|
}
|
|
158539
158997
|
}
|
|
158540
|
-
},
|
|
158998
|
+
}, _callee11);
|
|
158541
158999
|
}));
|
|
158542
159000
|
|
|
158543
|
-
return function getVillageFromTree(
|
|
158544
|
-
return
|
|
159001
|
+
return function getVillageFromTree(_x12, _x13) {
|
|
159002
|
+
return _ref12.apply(this, arguments);
|
|
158545
159003
|
};
|
|
158546
159004
|
}();
|
|
158547
159005
|
|
|
158548
159006
|
var getCheckedInfoByKeys = /*#__PURE__*/function () {
|
|
158549
|
-
var
|
|
158550
|
-
var result, initKeys, checkedKeys, setResult, villageMap,
|
|
159007
|
+
var _ref13 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee17() {
|
|
159008
|
+
var result, initKeys, checkedKeys, setResult, villageMap, _iterator6, _step6, _loop5, _ret;
|
|
158551
159009
|
|
|
158552
|
-
return regeneratorRuntime.wrap(function
|
|
159010
|
+
return regeneratorRuntime.wrap(function _callee17$(_context22) {
|
|
158553
159011
|
while (1) {
|
|
158554
|
-
switch (
|
|
159012
|
+
switch (_context22.prev = _context22.next) {
|
|
158555
159013
|
case 0:
|
|
158556
159014
|
result = {
|
|
158557
159015
|
villageList: [],
|
|
@@ -158564,12 +159022,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
158564
159022
|
};
|
|
158565
159023
|
|
|
158566
159024
|
if (state.checkedKeys.length) {
|
|
158567
|
-
|
|
159025
|
+
_context22.next = 4;
|
|
158568
159026
|
break;
|
|
158569
159027
|
}
|
|
158570
159028
|
|
|
158571
159029
|
emitResult(result);
|
|
158572
|
-
return
|
|
159030
|
+
return _context22.abrupt("return");
|
|
158573
159031
|
|
|
158574
159032
|
case 4:
|
|
158575
159033
|
emit("handleResult", true);
|
|
@@ -158600,15 +159058,15 @@ var utils_util = __webpack_require__("f348");
|
|
|
158600
159058
|
};
|
|
158601
159059
|
|
|
158602
159060
|
villageMap = {};
|
|
158603
|
-
|
|
158604
|
-
|
|
158605
|
-
|
|
158606
|
-
var key, arrKey, villageId, village, buildId, build, layerId;
|
|
158607
|
-
return regeneratorRuntime.wrap(function
|
|
159061
|
+
_iterator6 = Object(createForOfIteratorHelper["a" /* default */])(checkedKeys);
|
|
159062
|
+
_context22.prev = 10;
|
|
159063
|
+
_loop5 = /*#__PURE__*/regeneratorRuntime.mark(function _loop5() {
|
|
159064
|
+
var key, arrKey, villageId, village, buildId, build, roomId, layerId;
|
|
159065
|
+
return regeneratorRuntime.wrap(function _loop5$(_context21) {
|
|
158608
159066
|
while (1) {
|
|
158609
|
-
switch (
|
|
159067
|
+
switch (_context21.prev = _context21.next) {
|
|
158610
159068
|
case 0:
|
|
158611
|
-
key =
|
|
159069
|
+
key = _step6.value;
|
|
158612
159070
|
arrKey = [];
|
|
158613
159071
|
|
|
158614
159072
|
if (showDpt.value) {
|
|
@@ -158621,26 +159079,26 @@ var utils_util = __webpack_require__("f348");
|
|
|
158621
159079
|
village = villageMap[villageId];
|
|
158622
159080
|
|
|
158623
159081
|
if (village) {
|
|
158624
|
-
|
|
159082
|
+
_context21.next = 10;
|
|
158625
159083
|
break;
|
|
158626
159084
|
}
|
|
158627
159085
|
|
|
158628
|
-
|
|
159086
|
+
_context21.next = 9;
|
|
158629
159087
|
return getVillageFromTree(state.treeList, villageId);
|
|
158630
159088
|
|
|
158631
159089
|
case 9:
|
|
158632
|
-
village = villageMap[villageId] =
|
|
159090
|
+
village = villageMap[villageId] = _context21.sent;
|
|
158633
159091
|
|
|
158634
159092
|
case 10:
|
|
158635
159093
|
if (!(arrKey.length == 2)) {
|
|
158636
|
-
|
|
159094
|
+
_context21.next = 15;
|
|
158637
159095
|
break;
|
|
158638
159096
|
}
|
|
158639
159097
|
|
|
158640
159098
|
emit("changeTreeLoading", true); // 选中项目
|
|
158641
159099
|
|
|
158642
159100
|
setResult("villageList", village);
|
|
158643
|
-
|
|
159101
|
+
_context21.next = 40;
|
|
158644
159102
|
break;
|
|
158645
159103
|
|
|
158646
159104
|
case 15:
|
|
@@ -158662,117 +159120,181 @@ var utils_util = __webpack_require__("f348");
|
|
|
158662
159120
|
});
|
|
158663
159121
|
|
|
158664
159122
|
if (!(arrKey.length == 4)) {
|
|
158665
|
-
|
|
159123
|
+
_context21.next = 22;
|
|
158666
159124
|
break;
|
|
158667
159125
|
}
|
|
158668
159126
|
|
|
158669
159127
|
emit("changeTreeLoading", true); // 选中楼宇
|
|
158670
159128
|
|
|
158671
159129
|
setResult("buildList", build);
|
|
158672
|
-
|
|
159130
|
+
_context21.next = 40;
|
|
158673
159131
|
break;
|
|
158674
159132
|
|
|
158675
159133
|
case 22:
|
|
158676
159134
|
if (build) {
|
|
158677
|
-
|
|
159135
|
+
_context21.next = 24;
|
|
158678
159136
|
break;
|
|
158679
159137
|
}
|
|
158680
159138
|
|
|
158681
|
-
return
|
|
159139
|
+
return _context21.abrupt("return", {
|
|
158682
159140
|
v: void 0
|
|
158683
159141
|
});
|
|
158684
159142
|
|
|
158685
159143
|
case 24:
|
|
158686
159144
|
spinning.value = true;
|
|
158687
159145
|
emit("changeTreeLoading", true);
|
|
158688
|
-
|
|
158689
|
-
|
|
158690
|
-
|
|
158691
|
-
|
|
158692
|
-
|
|
158693
|
-
|
|
159146
|
+
|
|
159147
|
+
if (!(props.checkType == "layer")) {
|
|
159148
|
+
_context21.next = 31;
|
|
159149
|
+
break;
|
|
159150
|
+
}
|
|
159151
|
+
|
|
159152
|
+
emit("changeTreeLoading", false);
|
|
159153
|
+
spinning.value = false;
|
|
159154
|
+
_context21.next = 40;
|
|
159155
|
+
break;
|
|
159156
|
+
|
|
159157
|
+
case 31:
|
|
159158
|
+
if (!noLayer.value) {
|
|
159159
|
+
_context21.next = 37;
|
|
159160
|
+
break;
|
|
159161
|
+
}
|
|
159162
|
+
|
|
159163
|
+
roomId = Number(arrKey[5]);
|
|
159164
|
+
_context21.next = 35;
|
|
159165
|
+
return getRoomList(build).then( /*#__PURE__*/function () {
|
|
159166
|
+
var _ref14 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13(roomList) {
|
|
159167
|
+
var room, subRoomId;
|
|
159168
|
+
return regeneratorRuntime.wrap(function _callee13$(_context17) {
|
|
158694
159169
|
while (1) {
|
|
158695
|
-
switch (
|
|
159170
|
+
switch (_context17.prev = _context17.next) {
|
|
158696
159171
|
case 0:
|
|
158697
|
-
|
|
158698
|
-
return item.id ==
|
|
159172
|
+
room = (roomList || []).find(function (item) {
|
|
159173
|
+
return item.id == roomId;
|
|
158699
159174
|
});
|
|
158700
159175
|
|
|
158701
159176
|
if (!(arrKey.length == 6)) {
|
|
158702
|
-
|
|
159177
|
+
_context17.next = 5;
|
|
158703
159178
|
break;
|
|
158704
159179
|
}
|
|
158705
159180
|
|
|
158706
|
-
setResult("
|
|
158707
|
-
|
|
159181
|
+
setResult("roomList", room);
|
|
159182
|
+
_context17.next = 13;
|
|
158708
159183
|
break;
|
|
158709
159184
|
|
|
158710
159185
|
case 5:
|
|
158711
|
-
roomId = Number(arrKey[7]);
|
|
158712
|
-
|
|
158713
159186
|
if (!(arrKey.length == 8)) {
|
|
158714
|
-
|
|
158715
|
-
break;
|
|
158716
|
-
}
|
|
158717
|
-
|
|
158718
|
-
if (!(props.checkType != "layer")) {
|
|
158719
|
-
_context11.next = 10;
|
|
159187
|
+
_context17.next = 11;
|
|
158720
159188
|
break;
|
|
158721
159189
|
}
|
|
158722
159190
|
|
|
158723
|
-
|
|
158724
|
-
|
|
158725
|
-
|
|
158726
|
-
|
|
159191
|
+
// 子房间
|
|
159192
|
+
subRoomId = Number(arrKey[7]);
|
|
159193
|
+
_context17.next = 9;
|
|
159194
|
+
return getSubRooms(room).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
|
159195
|
+
var subRoom;
|
|
159196
|
+
return regeneratorRuntime.wrap(function _callee12$(_context16) {
|
|
158727
159197
|
while (1) {
|
|
158728
|
-
switch (
|
|
159198
|
+
switch (_context16.prev = _context16.next) {
|
|
158729
159199
|
case 0:
|
|
158730
|
-
|
|
158731
|
-
return item.id ==
|
|
159200
|
+
subRoom = ((room === null || room === void 0 ? void 0 : room.children) || []).find(function (item) {
|
|
159201
|
+
return item.id == subRoomId;
|
|
158732
159202
|
});
|
|
158733
|
-
setResult("roomList",
|
|
159203
|
+
setResult("roomList", subRoom);
|
|
158734
159204
|
|
|
158735
159205
|
case 2:
|
|
158736
159206
|
case "end":
|
|
158737
|
-
return
|
|
159207
|
+
return _context16.stop();
|
|
158738
159208
|
}
|
|
158739
159209
|
}
|
|
158740
|
-
},
|
|
159210
|
+
}, _callee12);
|
|
158741
159211
|
})));
|
|
158742
159212
|
|
|
158743
|
-
case
|
|
158744
|
-
|
|
159213
|
+
case 9:
|
|
159214
|
+
_context17.next = 13;
|
|
158745
159215
|
break;
|
|
158746
159216
|
|
|
158747
|
-
case
|
|
158748
|
-
|
|
158749
|
-
|
|
158750
|
-
|
|
158751
|
-
|
|
159217
|
+
case 11:
|
|
159218
|
+
emit("changeTreeLoading", false);
|
|
159219
|
+
spinning.value = false;
|
|
159220
|
+
|
|
159221
|
+
case 13:
|
|
159222
|
+
case "end":
|
|
159223
|
+
return _context17.stop();
|
|
159224
|
+
}
|
|
159225
|
+
}
|
|
159226
|
+
}, _callee13);
|
|
159227
|
+
}));
|
|
158752
159228
|
|
|
158753
|
-
|
|
158754
|
-
|
|
159229
|
+
return function (_x14) {
|
|
159230
|
+
return _ref14.apply(this, arguments);
|
|
159231
|
+
};
|
|
159232
|
+
}());
|
|
159233
|
+
|
|
159234
|
+
case 35:
|
|
159235
|
+
_context21.next = 40;
|
|
159236
|
+
break;
|
|
159237
|
+
|
|
159238
|
+
case 37:
|
|
159239
|
+
layerId = Number(arrKey[5]);
|
|
159240
|
+
_context21.next = 40;
|
|
159241
|
+
return getLayerList(build).then( /*#__PURE__*/function () {
|
|
159242
|
+
var _ref16 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(layerList) {
|
|
159243
|
+
var layer, _roomId;
|
|
159244
|
+
|
|
159245
|
+
return regeneratorRuntime.wrap(function _callee16$(_context20) {
|
|
159246
|
+
while (1) {
|
|
159247
|
+
switch (_context20.prev = _context20.next) {
|
|
159248
|
+
case 0:
|
|
159249
|
+
layer = (layerList || []).find(function (item) {
|
|
159250
|
+
return item.id == layerId;
|
|
159251
|
+
});
|
|
159252
|
+
|
|
159253
|
+
if (!(arrKey.length == 6)) {
|
|
159254
|
+
_context20.next = 5;
|
|
158755
159255
|
break;
|
|
158756
159256
|
}
|
|
158757
159257
|
|
|
158758
|
-
|
|
158759
|
-
|
|
158760
|
-
|
|
158761
|
-
|
|
158762
|
-
|
|
158763
|
-
|
|
159258
|
+
setResult("layerList", layer);
|
|
159259
|
+
_context20.next = 8;
|
|
159260
|
+
break;
|
|
159261
|
+
|
|
159262
|
+
case 5:
|
|
159263
|
+
_roomId = Number(arrKey[7]);
|
|
159264
|
+
_context20.next = 8;
|
|
159265
|
+
return getRoomList(layer).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee15() {
|
|
159266
|
+
var room, subRoomId;
|
|
159267
|
+
return regeneratorRuntime.wrap(function _callee15$(_context19) {
|
|
158764
159268
|
while (1) {
|
|
158765
|
-
switch (
|
|
159269
|
+
switch (_context19.prev = _context19.next) {
|
|
158766
159270
|
case 0:
|
|
158767
159271
|
room = ((layer === null || layer === void 0 ? void 0 : layer.children) || []).find(function (item) {
|
|
158768
|
-
return item.id ==
|
|
159272
|
+
return item.id == _roomId;
|
|
158769
159273
|
});
|
|
158770
|
-
|
|
158771
|
-
|
|
159274
|
+
|
|
159275
|
+
if (!(arrKey.length == 8)) {
|
|
159276
|
+
_context19.next = 5;
|
|
159277
|
+
break;
|
|
159278
|
+
}
|
|
159279
|
+
|
|
159280
|
+
setResult("roomList", room);
|
|
159281
|
+
_context19.next = 13;
|
|
159282
|
+
break;
|
|
159283
|
+
|
|
159284
|
+
case 5:
|
|
159285
|
+
if (!(arrKey.length == 10)) {
|
|
159286
|
+
_context19.next = 11;
|
|
159287
|
+
break;
|
|
159288
|
+
}
|
|
159289
|
+
|
|
159290
|
+
// 子房间
|
|
159291
|
+
subRoomId = Number(arrKey[9]);
|
|
159292
|
+
_context19.next = 9;
|
|
159293
|
+
return getSubRooms(room).then( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee14() {
|
|
158772
159294
|
var subRoom;
|
|
158773
|
-
return regeneratorRuntime.wrap(function
|
|
159295
|
+
return regeneratorRuntime.wrap(function _callee14$(_context18) {
|
|
158774
159296
|
while (1) {
|
|
158775
|
-
switch (
|
|
159297
|
+
switch (_context18.prev = _context18.next) {
|
|
158776
159298
|
case 0:
|
|
158777
159299
|
subRoom = ((room === null || room === void 0 ? void 0 : room.children) || []).find(function (item) {
|
|
158778
159300
|
return item.id == subRoomId;
|
|
@@ -158781,108 +159303,113 @@ var utils_util = __webpack_require__("f348");
|
|
|
158781
159303
|
|
|
158782
159304
|
case 2:
|
|
158783
159305
|
case "end":
|
|
158784
|
-
return
|
|
159306
|
+
return _context18.stop();
|
|
158785
159307
|
}
|
|
158786
159308
|
}
|
|
158787
|
-
},
|
|
159309
|
+
}, _callee14);
|
|
158788
159310
|
})));
|
|
158789
159311
|
|
|
158790
|
-
case
|
|
159312
|
+
case 9:
|
|
159313
|
+
_context19.next = 13;
|
|
159314
|
+
break;
|
|
159315
|
+
|
|
159316
|
+
case 11:
|
|
159317
|
+
emit("changeTreeLoading", false);
|
|
159318
|
+
spinning.value = false;
|
|
159319
|
+
|
|
159320
|
+
case 13:
|
|
158791
159321
|
case "end":
|
|
158792
|
-
return
|
|
159322
|
+
return _context19.stop();
|
|
158793
159323
|
}
|
|
158794
159324
|
}
|
|
158795
|
-
},
|
|
159325
|
+
}, _callee15);
|
|
158796
159326
|
})));
|
|
158797
159327
|
|
|
158798
|
-
case
|
|
158799
|
-
_context11.next = 21;
|
|
158800
|
-
break;
|
|
158801
|
-
|
|
158802
|
-
case 19:
|
|
158803
|
-
emit("changeTreeLoading", false);
|
|
158804
|
-
spinning.value = false;
|
|
158805
|
-
|
|
158806
|
-
case 21:
|
|
159328
|
+
case 8:
|
|
158807
159329
|
case "end":
|
|
158808
|
-
return
|
|
159330
|
+
return _context20.stop();
|
|
158809
159331
|
}
|
|
158810
159332
|
}
|
|
158811
|
-
},
|
|
159333
|
+
}, _callee16);
|
|
158812
159334
|
}));
|
|
158813
159335
|
|
|
158814
|
-
return function (
|
|
158815
|
-
return
|
|
159336
|
+
return function (_x15) {
|
|
159337
|
+
return _ref16.apply(this, arguments);
|
|
158816
159338
|
};
|
|
158817
159339
|
}());
|
|
158818
159340
|
|
|
158819
|
-
case
|
|
159341
|
+
case 40:
|
|
158820
159342
|
case "end":
|
|
158821
|
-
return
|
|
159343
|
+
return _context21.stop();
|
|
158822
159344
|
}
|
|
158823
159345
|
}
|
|
158824
|
-
},
|
|
159346
|
+
}, _loop5);
|
|
158825
159347
|
});
|
|
158826
159348
|
|
|
158827
|
-
|
|
159349
|
+
_iterator6.s();
|
|
158828
159350
|
|
|
158829
159351
|
case 13:
|
|
158830
|
-
if ((
|
|
158831
|
-
|
|
159352
|
+
if ((_step6 = _iterator6.n()).done) {
|
|
159353
|
+
_context22.next = 20;
|
|
158832
159354
|
break;
|
|
158833
159355
|
}
|
|
158834
159356
|
|
|
158835
|
-
return
|
|
159357
|
+
return _context22.delegateYield(_loop5(), "t0", 15);
|
|
158836
159358
|
|
|
158837
159359
|
case 15:
|
|
158838
|
-
_ret =
|
|
159360
|
+
_ret = _context22.t0;
|
|
158839
159361
|
|
|
158840
159362
|
if (!(Object(esm_typeof["a" /* default */])(_ret) === "object")) {
|
|
158841
|
-
|
|
159363
|
+
_context22.next = 18;
|
|
158842
159364
|
break;
|
|
158843
159365
|
}
|
|
158844
159366
|
|
|
158845
|
-
return
|
|
159367
|
+
return _context22.abrupt("return", _ret.v);
|
|
158846
159368
|
|
|
158847
159369
|
case 18:
|
|
158848
|
-
|
|
159370
|
+
_context22.next = 13;
|
|
158849
159371
|
break;
|
|
158850
159372
|
|
|
158851
159373
|
case 20:
|
|
158852
|
-
|
|
159374
|
+
_context22.next = 25;
|
|
158853
159375
|
break;
|
|
158854
159376
|
|
|
158855
159377
|
case 22:
|
|
158856
|
-
|
|
158857
|
-
|
|
159378
|
+
_context22.prev = 22;
|
|
159379
|
+
_context22.t1 = _context22["catch"](10);
|
|
158858
159380
|
|
|
158859
|
-
|
|
159381
|
+
_iterator6.e(_context22.t1);
|
|
158860
159382
|
|
|
158861
159383
|
case 25:
|
|
158862
|
-
|
|
159384
|
+
_context22.prev = 25;
|
|
158863
159385
|
|
|
158864
|
-
|
|
159386
|
+
_iterator6.f();
|
|
158865
159387
|
|
|
158866
|
-
return
|
|
159388
|
+
return _context22.finish(25);
|
|
158867
159389
|
|
|
158868
159390
|
case 28:
|
|
158869
159391
|
case "end":
|
|
158870
|
-
return
|
|
159392
|
+
return _context22.stop();
|
|
158871
159393
|
}
|
|
158872
159394
|
}
|
|
158873
|
-
},
|
|
159395
|
+
}, _callee17, null, [[10, 22, 25, 28]]);
|
|
158874
159396
|
}));
|
|
158875
159397
|
|
|
158876
159398
|
return function getCheckedInfoByKeys() {
|
|
158877
|
-
return
|
|
159399
|
+
return _ref13.apply(this, arguments);
|
|
158878
159400
|
};
|
|
158879
159401
|
}();
|
|
158880
159402
|
|
|
158881
|
-
var fKeyMap = {
|
|
158882
|
-
|
|
158883
|
-
|
|
158884
|
-
|
|
158885
|
-
|
|
159403
|
+
var fKeyMap = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
159404
|
+
return noLayer.value ? {
|
|
159405
|
+
village: "build",
|
|
159406
|
+
build: "room"
|
|
159407
|
+
} : {
|
|
159408
|
+
village: "build",
|
|
159409
|
+
build: "layer",
|
|
159410
|
+
layer: "room"
|
|
159411
|
+
};
|
|
159412
|
+
});
|
|
158886
159413
|
|
|
158887
159414
|
var getInitKeys = function getInitKeys(initKeys) {
|
|
158888
159415
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "village";
|
|
@@ -158936,38 +159463,38 @@ var utils_util = __webpack_require__("f348");
|
|
|
158936
159463
|
});
|
|
158937
159464
|
}
|
|
158938
159465
|
|
|
158939
|
-
var
|
|
158940
|
-
var
|
|
159466
|
+
var getRoomAsyncFormLayer = /*#__PURE__*/function () {
|
|
159467
|
+
var _ref19 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee18() {
|
|
158941
159468
|
var index;
|
|
158942
|
-
return regeneratorRuntime.wrap(function
|
|
159469
|
+
return regeneratorRuntime.wrap(function _callee18$(_context23) {
|
|
158943
159470
|
while (1) {
|
|
158944
|
-
switch (
|
|
159471
|
+
switch (_context23.prev = _context23.next) {
|
|
158945
159472
|
case 0:
|
|
158946
159473
|
if (!(props.checkType == "layer")) {
|
|
158947
|
-
|
|
159474
|
+
_context23.next = 3;
|
|
158948
159475
|
break;
|
|
158949
159476
|
}
|
|
158950
159477
|
|
|
158951
159478
|
resolve(result);
|
|
158952
|
-
return
|
|
159479
|
+
return _context23.abrupt("return");
|
|
158953
159480
|
|
|
158954
159481
|
case 3:
|
|
158955
159482
|
if (!result.layerList.length) {
|
|
158956
|
-
|
|
159483
|
+
_context23.next = 15;
|
|
158957
159484
|
break;
|
|
158958
159485
|
}
|
|
158959
159486
|
|
|
158960
159487
|
emit("getloading", 1);
|
|
158961
|
-
|
|
159488
|
+
_context23.t0 = regeneratorRuntime.keys(result.layerList);
|
|
158962
159489
|
|
|
158963
159490
|
case 6:
|
|
158964
|
-
if ((
|
|
158965
|
-
|
|
159491
|
+
if ((_context23.t1 = _context23.t0()).done) {
|
|
159492
|
+
_context23.next = 12;
|
|
158966
159493
|
break;
|
|
158967
159494
|
}
|
|
158968
159495
|
|
|
158969
|
-
index =
|
|
158970
|
-
|
|
159496
|
+
index = _context23.t1.value;
|
|
159497
|
+
_context23.next = 10;
|
|
158971
159498
|
return getRoomList(result.layerList[index]).then(function (roomList) {
|
|
158972
159499
|
if (roomList && roomList.length) {
|
|
158973
159500
|
var list = roomList.filter(function (item) {
|
|
@@ -158980,12 +159507,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
158980
159507
|
});
|
|
158981
159508
|
|
|
158982
159509
|
case 10:
|
|
158983
|
-
|
|
159510
|
+
_context23.next = 6;
|
|
158984
159511
|
break;
|
|
158985
159512
|
|
|
158986
159513
|
case 12:
|
|
158987
159514
|
resolve(result);
|
|
158988
|
-
|
|
159515
|
+
_context23.next = 16;
|
|
158989
159516
|
break;
|
|
158990
159517
|
|
|
158991
159518
|
case 15:
|
|
@@ -158993,70 +159520,127 @@ var utils_util = __webpack_require__("f348");
|
|
|
158993
159520
|
|
|
158994
159521
|
case 16:
|
|
158995
159522
|
case "end":
|
|
158996
|
-
return
|
|
159523
|
+
return _context23.stop();
|
|
158997
159524
|
}
|
|
158998
159525
|
}
|
|
158999
|
-
},
|
|
159526
|
+
}, _callee18);
|
|
159000
159527
|
}));
|
|
159001
159528
|
|
|
159002
|
-
return function
|
|
159003
|
-
return
|
|
159529
|
+
return function getRoomAsyncFormLayer() {
|
|
159530
|
+
return _ref19.apply(this, arguments);
|
|
159004
159531
|
};
|
|
159005
159532
|
}();
|
|
159006
159533
|
|
|
159007
|
-
|
|
159008
|
-
var
|
|
159009
|
-
var
|
|
159010
|
-
|
|
159011
|
-
|
|
159012
|
-
|
|
159013
|
-
|
|
159014
|
-
|
|
159015
|
-
|
|
159016
|
-
|
|
159017
|
-
|
|
159018
|
-
|
|
159019
|
-
|
|
159020
|
-
|
|
159534
|
+
var getRoomAsyncFormBuild = /*#__PURE__*/function () {
|
|
159535
|
+
var _ref20 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee19() {
|
|
159536
|
+
var index;
|
|
159537
|
+
return regeneratorRuntime.wrap(function _callee19$(_context24) {
|
|
159538
|
+
while (1) {
|
|
159539
|
+
switch (_context24.prev = _context24.next) {
|
|
159540
|
+
case 0:
|
|
159541
|
+
emit("getloading", 1);
|
|
159542
|
+
_context24.t0 = regeneratorRuntime.keys(result.buildList);
|
|
159543
|
+
|
|
159544
|
+
case 2:
|
|
159545
|
+
if ((_context24.t1 = _context24.t0()).done) {
|
|
159546
|
+
_context24.next = 8;
|
|
159547
|
+
break;
|
|
159548
|
+
}
|
|
159549
|
+
|
|
159550
|
+
index = _context24.t1.value;
|
|
159551
|
+
_context24.next = 6;
|
|
159552
|
+
return getRoomList(result.buildList[index]).then(function (roomList) {
|
|
159553
|
+
if (roomList && roomList.length) {
|
|
159554
|
+
var list = roomList.filter(function (item) {
|
|
159555
|
+
return !item.disabled;
|
|
159556
|
+
});
|
|
159557
|
+
result.roomList = [].concat(Object(toConsumableArray["a" /* default */])(result.roomList), Object(toConsumableArray["a" /* default */])(list));
|
|
159021
159558
|
}
|
|
159022
159559
|
|
|
159023
|
-
|
|
159024
|
-
|
|
159025
|
-
return getLayerList(result.buildList[index]).then(function (layerList) {
|
|
159026
|
-
if (layerList && layerList.length) {
|
|
159027
|
-
var list = layerList.filter(function (item) {
|
|
159028
|
-
return !item.disabled;
|
|
159029
|
-
});
|
|
159030
|
-
result.layerList = [].concat(Object(toConsumableArray["a" /* default */])(result.layerList), Object(toConsumableArray["a" /* default */])(list));
|
|
159031
|
-
}
|
|
159032
|
-
});
|
|
159560
|
+
state.countnumber++;
|
|
159561
|
+
});
|
|
159033
159562
|
|
|
159034
|
-
|
|
159035
|
-
|
|
159036
|
-
|
|
159563
|
+
case 6:
|
|
159564
|
+
_context24.next = 2;
|
|
159565
|
+
break;
|
|
159037
159566
|
|
|
159038
|
-
|
|
159039
|
-
|
|
159040
|
-
|
|
159041
|
-
|
|
159567
|
+
case 8:
|
|
159568
|
+
resolve(result);
|
|
159569
|
+
|
|
159570
|
+
case 9:
|
|
159571
|
+
case "end":
|
|
159572
|
+
return _context24.stop();
|
|
159042
159573
|
}
|
|
159043
|
-
}
|
|
159044
|
-
})
|
|
159574
|
+
}
|
|
159575
|
+
}, _callee19);
|
|
159576
|
+
}));
|
|
159045
159577
|
|
|
159046
|
-
|
|
159047
|
-
|
|
159048
|
-
|
|
159049
|
-
|
|
159578
|
+
return function getRoomAsyncFormBuild() {
|
|
159579
|
+
return _ref20.apply(this, arguments);
|
|
159580
|
+
};
|
|
159581
|
+
}();
|
|
159050
159582
|
|
|
159051
|
-
|
|
159583
|
+
if (result.buildList.length) {
|
|
159584
|
+
if (noLayer.value) {
|
|
159052
159585
|
if (props.checkType == "room") {
|
|
159053
|
-
|
|
159586
|
+
getRoomAsyncFormBuild();
|
|
159054
159587
|
} else {
|
|
159055
159588
|
resolve(result);
|
|
159056
159589
|
}
|
|
159057
|
-
}
|
|
159590
|
+
} else {
|
|
159591
|
+
var getLayerAsync = /*#__PURE__*/function () {
|
|
159592
|
+
var _ref21 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
|
159593
|
+
var index;
|
|
159594
|
+
return regeneratorRuntime.wrap(function _callee20$(_context25) {
|
|
159595
|
+
while (1) {
|
|
159596
|
+
switch (_context25.prev = _context25.next) {
|
|
159597
|
+
case 0:
|
|
159598
|
+
_context25.t0 = regeneratorRuntime.keys(result.buildList);
|
|
159599
|
+
|
|
159600
|
+
case 1:
|
|
159601
|
+
if ((_context25.t1 = _context25.t0()).done) {
|
|
159602
|
+
_context25.next = 7;
|
|
159603
|
+
break;
|
|
159604
|
+
}
|
|
159605
|
+
|
|
159606
|
+
index = _context25.t1.value;
|
|
159607
|
+
_context25.next = 5;
|
|
159608
|
+
return getLayerList(result.buildList[index]).then(function (layerList) {
|
|
159609
|
+
if (layerList && layerList.length) {
|
|
159610
|
+
var list = layerList.filter(function (item) {
|
|
159611
|
+
return !item.disabled;
|
|
159612
|
+
});
|
|
159613
|
+
result.layerList = [].concat(Object(toConsumableArray["a" /* default */])(result.layerList), Object(toConsumableArray["a" /* default */])(list));
|
|
159614
|
+
}
|
|
159615
|
+
});
|
|
159616
|
+
|
|
159617
|
+
case 5:
|
|
159618
|
+
_context25.next = 1;
|
|
159619
|
+
break;
|
|
159620
|
+
|
|
159621
|
+
case 7:
|
|
159622
|
+
case "end":
|
|
159623
|
+
return _context25.stop();
|
|
159624
|
+
}
|
|
159625
|
+
}
|
|
159626
|
+
}, _callee20);
|
|
159627
|
+
}));
|
|
159628
|
+
|
|
159629
|
+
return function getLayerAsync() {
|
|
159630
|
+
return _ref21.apply(this, arguments);
|
|
159631
|
+
};
|
|
159632
|
+
}();
|
|
159633
|
+
|
|
159634
|
+
getLayerAsync().then(function () {
|
|
159635
|
+
if (props.checkType == "room") {
|
|
159636
|
+
getRoomAsyncFormLayer();
|
|
159637
|
+
} else {
|
|
159638
|
+
resolve(result);
|
|
159639
|
+
}
|
|
159640
|
+
});
|
|
159641
|
+
}
|
|
159058
159642
|
} else {
|
|
159059
|
-
|
|
159643
|
+
getRoomAsyncFormLayer();
|
|
159060
159644
|
}
|
|
159061
159645
|
});
|
|
159062
159646
|
};
|
|
@@ -159096,10 +159680,17 @@ var utils_util = __webpack_require__("f348");
|
|
|
159096
159680
|
|
|
159097
159681
|
|
|
159098
159682
|
if (dataRef.childType === "build") {
|
|
159099
|
-
|
|
159100
|
-
|
|
159101
|
-
|
|
159102
|
-
|
|
159683
|
+
if (noLayer.value) {
|
|
159684
|
+
getRoomList(dataRef).then(function () {
|
|
159685
|
+
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
159686
|
+
resolve();
|
|
159687
|
+
});
|
|
159688
|
+
} else {
|
|
159689
|
+
getLayerList(dataRef).then(function () {
|
|
159690
|
+
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
159691
|
+
resolve();
|
|
159692
|
+
});
|
|
159693
|
+
}
|
|
159103
159694
|
} else if (dataRef.childType === "layer") {
|
|
159104
159695
|
getRoomList(dataRef).then(function () {
|
|
159105
159696
|
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
@@ -159117,19 +159708,28 @@ var utils_util = __webpack_require__("f348");
|
|
|
159117
159708
|
|
|
159118
159709
|
var getLayerList = function getLayerList(build) {
|
|
159119
159710
|
return new Promise(function (resolve) {
|
|
159711
|
+
var _props$roomType2;
|
|
159712
|
+
|
|
159120
159713
|
if (build.isLeaf || build.children && build.children.length) {
|
|
159121
159714
|
resolve(build.children || []);
|
|
159122
159715
|
return;
|
|
159123
159716
|
}
|
|
159124
159717
|
|
|
159718
|
+
var params = {
|
|
159719
|
+
build_id: build.id,
|
|
159720
|
+
village_id: build.extra.village_id
|
|
159721
|
+
};
|
|
159722
|
+
|
|
159723
|
+
if ((_props$roomType2 = props.roomType) !== null && _props$roomType2 !== void 0 && _props$roomType2.length) {
|
|
159724
|
+
params.room_type = props.roomType.join(',');
|
|
159725
|
+
}
|
|
159726
|
+
|
|
159125
159727
|
emit("request", {
|
|
159126
159728
|
params: {
|
|
159127
159729
|
method: "get",
|
|
159128
159730
|
server: "/village",
|
|
159129
159731
|
url: "/project/layer/all",
|
|
159130
|
-
extra: {
|
|
159131
|
-
build_id: build.id
|
|
159132
|
-
}
|
|
159732
|
+
extra: Object(objectSpread2["a" /* default */])({}, params)
|
|
159133
159733
|
},
|
|
159134
159734
|
success: function success(res) {
|
|
159135
159735
|
if (res.list.length) {
|
|
@@ -159160,22 +159760,39 @@ var utils_util = __webpack_require__("f348");
|
|
|
159160
159760
|
}; // 获取房间列表
|
|
159161
159761
|
|
|
159162
159762
|
|
|
159163
|
-
var getRoomList = function getRoomList(
|
|
159164
|
-
if (!
|
|
159763
|
+
var getRoomList = function getRoomList(layOrBuild) {
|
|
159764
|
+
if (!layOrBuild) {
|
|
159165
159765
|
return;
|
|
159166
159766
|
}
|
|
159167
159767
|
|
|
159168
159768
|
return new Promise(function (resolve) {
|
|
159169
|
-
|
|
159170
|
-
|
|
159769
|
+
var _props$roomType3;
|
|
159770
|
+
|
|
159771
|
+
if (layOrBuild.isLeaf || layOrBuild.children && layOrBuild.children.length) {
|
|
159772
|
+
resolve(layOrBuild.children || []);
|
|
159171
159773
|
return;
|
|
159172
159774
|
}
|
|
159775
|
+
/* 没有楼层 传 build_id 和 room_type */
|
|
159776
|
+
|
|
159173
159777
|
|
|
159174
159778
|
var paramsObj = {
|
|
159175
|
-
village_id:
|
|
159176
|
-
layer_id:
|
|
159779
|
+
village_id: layOrBuild.extra.village_id,
|
|
159780
|
+
layer_id: layOrBuild.id
|
|
159177
159781
|
};
|
|
159178
159782
|
|
|
159783
|
+
if (noLayer.value) {
|
|
159784
|
+
delete paramsObj.layer_id;
|
|
159785
|
+
paramsObj.build_id = layOrBuild.id;
|
|
159786
|
+
} else {
|
|
159787
|
+
var _layOrBuild$extra;
|
|
159788
|
+
|
|
159789
|
+
paramsObj.build_id = layOrBuild === null || layOrBuild === void 0 ? void 0 : (_layOrBuild$extra = layOrBuild.extra) === null || _layOrBuild$extra === void 0 ? void 0 : _layOrBuild$extra.build_id;
|
|
159790
|
+
}
|
|
159791
|
+
|
|
159792
|
+
if ((_props$roomType3 = props.roomType) !== null && _props$roomType3 !== void 0 && _props$roomType3.length) {
|
|
159793
|
+
paramsObj.room_type = props.roomType.join(',');
|
|
159794
|
+
}
|
|
159795
|
+
|
|
159179
159796
|
if (!props.showRoomArea) {
|
|
159180
159797
|
paramsObj.exclude_area = 1;
|
|
159181
159798
|
}
|
|
@@ -159189,29 +159806,53 @@ var utils_util = __webpack_require__("f348");
|
|
|
159189
159806
|
},
|
|
159190
159807
|
success: function success(res) {
|
|
159191
159808
|
if (res.list.length) {
|
|
159192
|
-
|
|
159193
|
-
var newItem =
|
|
159194
|
-
|
|
159195
|
-
|
|
159196
|
-
|
|
159197
|
-
|
|
159198
|
-
|
|
159199
|
-
|
|
159200
|
-
|
|
159201
|
-
|
|
159202
|
-
|
|
159203
|
-
|
|
159204
|
-
|
|
159205
|
-
|
|
159206
|
-
|
|
159207
|
-
|
|
159208
|
-
|
|
159209
|
-
|
|
159210
|
-
|
|
159211
|
-
|
|
159212
|
-
|
|
159213
|
-
|
|
159214
|
-
|
|
159809
|
+
layOrBuild.children = res.list.map(function (item) {
|
|
159810
|
+
var newItem = {};
|
|
159811
|
+
|
|
159812
|
+
if (noLayer.value) {
|
|
159813
|
+
newItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
|
|
159814
|
+
childType: "room",
|
|
159815
|
+
key: "".concat(layOrBuild.key, "_room_").concat(item.id),
|
|
159816
|
+
title: item.room_name,
|
|
159817
|
+
level: layOrBuild.level + 1,
|
|
159818
|
+
property_area: item.charging_area,
|
|
159819
|
+
lease_square: item.rental_area,
|
|
159820
|
+
extra: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, layOrBuild.extra), {}, {
|
|
159821
|
+
build_id: layOrBuild.id,
|
|
159822
|
+
build_number: layOrBuild.build_number,
|
|
159823
|
+
build_name: layOrBuild.build_name
|
|
159824
|
+
}),
|
|
159825
|
+
isLeaf: item.sub_room_count > 0 ? false : true,
|
|
159826
|
+
//如果有子房间,可以继续展开
|
|
159827
|
+
disabled: item.sub_room_count > 0 || props.allDisabled ? true : false,
|
|
159828
|
+
//如果有子房间,禁止选中父房间
|
|
159829
|
+
slotIcon: "roomIcon",
|
|
159830
|
+
slotTitle: "roomTitle"
|
|
159831
|
+
});
|
|
159832
|
+
} else {
|
|
159833
|
+
newItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
|
|
159834
|
+
childType: "room",
|
|
159835
|
+
key: "".concat(layOrBuild.key, "_room_").concat(item.id),
|
|
159836
|
+
title: item.room_name,
|
|
159837
|
+
level: layOrBuild.level + 1,
|
|
159838
|
+
layer_id: layOrBuild.id,
|
|
159839
|
+
layer_number: layOrBuild.layer_number,
|
|
159840
|
+
layer_name: layOrBuild.layer_name,
|
|
159841
|
+
property_area: item.charging_area,
|
|
159842
|
+
lease_square: item.rental_area,
|
|
159843
|
+
extra: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, layOrBuild.extra), {}, {
|
|
159844
|
+
layer_id: layOrBuild.id,
|
|
159845
|
+
layer_number: layOrBuild.layer_number,
|
|
159846
|
+
layer_name: layOrBuild.layer_name
|
|
159847
|
+
}),
|
|
159848
|
+
isLeaf: item.sub_room_count > 0 ? false : true,
|
|
159849
|
+
//如果有子房间,可以继续展开
|
|
159850
|
+
disabled: item.sub_room_count > 0 || props.allDisabled ? true : false,
|
|
159851
|
+
//如果有子房间,禁止选中父房间
|
|
159852
|
+
slotIcon: "roomIcon",
|
|
159853
|
+
slotTitle: "roomTitle"
|
|
159854
|
+
});
|
|
159855
|
+
} // 展示的可租赁面积
|
|
159215
159856
|
// 物业条款
|
|
159216
159857
|
|
|
159217
159858
|
|
|
@@ -159254,10 +159895,10 @@ var utils_util = __webpack_require__("f348");
|
|
|
159254
159895
|
return newItem;
|
|
159255
159896
|
});
|
|
159256
159897
|
} else {
|
|
159257
|
-
|
|
159898
|
+
layOrBuild.isLeaf = true;
|
|
159258
159899
|
}
|
|
159259
159900
|
|
|
159260
|
-
resolve(
|
|
159901
|
+
resolve(layOrBuild.children);
|
|
159261
159902
|
}
|
|
159262
159903
|
});
|
|
159263
159904
|
});
|
|
@@ -159266,6 +159907,8 @@ var utils_util = __webpack_require__("f348");
|
|
|
159266
159907
|
|
|
159267
159908
|
var getSubRooms = function getSubRooms(room) {
|
|
159268
159909
|
return new Promise(function (resolve) {
|
|
159910
|
+
var _room$extra, _room$extra2, _props$roomType4;
|
|
159911
|
+
|
|
159269
159912
|
if (room.isLeaf || room.children && room.children.length) {
|
|
159270
159913
|
resolve(room.children || []);
|
|
159271
159914
|
return;
|
|
@@ -159273,10 +159916,15 @@ var utils_util = __webpack_require__("f348");
|
|
|
159273
159916
|
|
|
159274
159917
|
var paramsObj = {
|
|
159275
159918
|
village_id: room.extra.village_id,
|
|
159276
|
-
layer_id: room.extra.layer_id,
|
|
159277
|
-
parent_room_id: room.id
|
|
159919
|
+
layer_id: room === null || room === void 0 ? void 0 : (_room$extra = room.extra) === null || _room$extra === void 0 ? void 0 : _room$extra.layer_id,
|
|
159920
|
+
parent_room_id: room.id,
|
|
159921
|
+
build_id: room === null || room === void 0 ? void 0 : (_room$extra2 = room.extra) === null || _room$extra2 === void 0 ? void 0 : _room$extra2.build_id
|
|
159278
159922
|
};
|
|
159279
159923
|
|
|
159924
|
+
if ((_props$roomType4 = props.roomType) !== null && _props$roomType4 !== void 0 && _props$roomType4.length) {
|
|
159925
|
+
paramsObj.room_type = props.roomType.join(',');
|
|
159926
|
+
}
|
|
159927
|
+
|
|
159280
159928
|
if (!props.showRoomArea) {
|
|
159281
159929
|
paramsObj.exclude_area = 1;
|
|
159282
159930
|
}
|
|
@@ -159392,12 +160040,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
159392
160040
|
var filterDeptVillageByType = function filterDeptVillageByType(list) {
|
|
159393
160041
|
var result = [];
|
|
159394
160042
|
|
|
159395
|
-
var
|
|
159396
|
-
|
|
160043
|
+
var _iterator7 = Object(createForOfIteratorHelper["a" /* default */])(list),
|
|
160044
|
+
_step7;
|
|
159397
160045
|
|
|
159398
160046
|
try {
|
|
159399
|
-
for (
|
|
159400
|
-
var item =
|
|
160047
|
+
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
160048
|
+
var item = _step7.value;
|
|
159401
160049
|
|
|
159402
160050
|
if (item.childType != "village" || item.type == props.villageType) {
|
|
159403
160051
|
result.push(item);
|
|
@@ -159408,9 +160056,9 @@ var utils_util = __webpack_require__("f348");
|
|
|
159408
160056
|
}
|
|
159409
160057
|
}
|
|
159410
160058
|
} catch (err) {
|
|
159411
|
-
|
|
160059
|
+
_iterator7.e(err);
|
|
159412
160060
|
} finally {
|
|
159413
|
-
|
|
160061
|
+
_iterator7.f();
|
|
159414
160062
|
}
|
|
159415
160063
|
|
|
159416
160064
|
return result;
|
|
@@ -159486,7 +160134,7 @@ var utils_util = __webpack_require__("f348");
|
|
|
159486
160134
|
var expandedKeys = [];
|
|
159487
160135
|
var loadedVillage = {};
|
|
159488
160136
|
|
|
159489
|
-
var
|
|
160137
|
+
var _loop6 = function _loop6(key) {
|
|
159490
160138
|
if (defaultChecked[key].length) {
|
|
159491
160139
|
defaultChecked[key].forEach(function (dcItem) {
|
|
159492
160140
|
if (dcItem.extra) {
|
|
@@ -159530,16 +160178,17 @@ var utils_util = __webpack_require__("f348");
|
|
|
159530
160178
|
expandedKeys.push(itemKey);
|
|
159531
160179
|
}
|
|
159532
160180
|
|
|
159533
|
-
var layerId = key == "layerList" ? dcItem.id : dcItem.layer_id;
|
|
159534
|
-
|
|
159535
160181
|
if (props.checkType == "layer") {
|
|
159536
160182
|
dcItem.key = dcItem.key.split("_")[dcItem.key.split("_").length - 1];
|
|
159537
160183
|
itemKey = "".concat(itemKey, "_layer_").concat(Number(dcItem.key));
|
|
159538
160184
|
} else {
|
|
159539
|
-
itemKey = "".concat(itemKey, "_layer_").concat(layerId);
|
|
159540
|
-
|
|
159541
160185
|
if (key != "layerList") {
|
|
159542
160186
|
// 选中房间
|
|
160187
|
+
if (!noLayer.value) {
|
|
160188
|
+
var layerId = key == "layerList" ? dcItem.id : dcItem.layer_id;
|
|
160189
|
+
itemKey = "".concat(itemKey, "_layer_").concat(layerId);
|
|
160190
|
+
}
|
|
160191
|
+
|
|
159543
160192
|
if (dcItem.parent_room_key) {
|
|
159544
160193
|
// 子房间(有parent_room_key)特殊处理
|
|
159545
160194
|
if (!expandedKeys.includes(itemKey)) {
|
|
@@ -159560,9 +160209,13 @@ var utils_util = __webpack_require__("f348");
|
|
|
159560
160209
|
expandedKeys.push(itemKey);
|
|
159561
160210
|
}
|
|
159562
160211
|
|
|
159563
|
-
var
|
|
159564
|
-
itemKey = "".concat(itemKey, "_room_").concat(
|
|
160212
|
+
var _roomId2 = dcItem.id;
|
|
160213
|
+
itemKey = "".concat(itemKey, "_room_").concat(_roomId2);
|
|
159565
160214
|
}
|
|
160215
|
+
} else {
|
|
160216
|
+
var _layerId = key == "layerList" ? dcItem.id : dcItem.layer_id;
|
|
160217
|
+
|
|
160218
|
+
itemKey = "".concat(itemKey, "_layer_").concat(_layerId);
|
|
159566
160219
|
}
|
|
159567
160220
|
}
|
|
159568
160221
|
}
|
|
@@ -159574,7 +160227,7 @@ var utils_util = __webpack_require__("f348");
|
|
|
159574
160227
|
};
|
|
159575
160228
|
|
|
159576
160229
|
for (var key in defaultChecked) {
|
|
159577
|
-
|
|
160230
|
+
_loop6(key);
|
|
159578
160231
|
}
|
|
159579
160232
|
|
|
159580
160233
|
if (checkedKeys.length) {
|
|
@@ -159628,18 +160281,18 @@ var utils_util = __webpack_require__("f348");
|
|
|
159628
160281
|
if (defaultCheckedIds.layerId) {
|
|
159629
160282
|
expandedKeys.push(itemKey);
|
|
159630
160283
|
itemKey = "".concat(itemKey, "_layer_").concat(defaultCheckedIds.layerId);
|
|
160284
|
+
}
|
|
159631
160285
|
|
|
159632
|
-
|
|
160286
|
+
if (defaultCheckedIds.roomId) {
|
|
160287
|
+
expandedKeys.push(itemKey);
|
|
160288
|
+
itemKey = "".concat(itemKey, "_room_").concat(defaultCheckedIds.roomId);
|
|
160289
|
+
|
|
160290
|
+
if (defaultCheckedIds.subRoomId) {
|
|
160291
|
+
expandedKeys.push(itemKey);
|
|
160292
|
+
itemKey = "".concat(itemKey, "_subRoom_").concat(defaultCheckedIds.subRoomId);
|
|
160293
|
+
} else if (defaultCheckedIds.sub_room_count) {
|
|
160294
|
+
// 如果有子房间,展开该父房间
|
|
159633
160295
|
expandedKeys.push(itemKey);
|
|
159634
|
-
itemKey = "".concat(itemKey, "_room_").concat(defaultCheckedIds.roomId);
|
|
159635
|
-
|
|
159636
|
-
if (defaultCheckedIds.subRoomId) {
|
|
159637
|
-
expandedKeys.push(itemKey);
|
|
159638
|
-
itemKey = "".concat(itemKey, "_subRoom_").concat(defaultCheckedIds.subRoomId);
|
|
159639
|
-
} else if (defaultCheckedIds.sub_room_count) {
|
|
159640
|
-
// 如果有子房间,展开该父房间
|
|
159641
|
-
expandedKeys.push(itemKey);
|
|
159642
|
-
}
|
|
159643
160296
|
}
|
|
159644
160297
|
}
|
|
159645
160298
|
}
|
|
@@ -159700,12 +160353,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
159700
160353
|
var villageList = state.deptVillageMap[depId];
|
|
159701
160354
|
|
|
159702
160355
|
if (villageList && villageList.length) {
|
|
159703
|
-
var
|
|
159704
|
-
|
|
160356
|
+
var _iterator8 = Object(createForOfIteratorHelper["a" /* default */])(villageList),
|
|
160357
|
+
_step8;
|
|
159705
160358
|
|
|
159706
160359
|
try {
|
|
159707
|
-
for (
|
|
159708
|
-
var village =
|
|
160360
|
+
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
160361
|
+
var village = _step8.value;
|
|
159709
160362
|
|
|
159710
160363
|
if (village.children && village.children.length) {
|
|
159711
160364
|
var build = void 0;
|
|
@@ -159731,19 +160384,19 @@ var utils_util = __webpack_require__("f348");
|
|
|
159731
160384
|
}
|
|
159732
160385
|
}
|
|
159733
160386
|
} catch (err) {
|
|
159734
|
-
|
|
160387
|
+
_iterator8.e(err);
|
|
159735
160388
|
} finally {
|
|
159736
|
-
|
|
160389
|
+
_iterator8.f();
|
|
159737
160390
|
}
|
|
159738
160391
|
}
|
|
159739
160392
|
}
|
|
159740
160393
|
} else {
|
|
159741
|
-
var
|
|
159742
|
-
|
|
160394
|
+
var _iterator9 = Object(createForOfIteratorHelper["a" /* default */])(state.treeList),
|
|
160395
|
+
_step9;
|
|
159743
160396
|
|
|
159744
160397
|
try {
|
|
159745
|
-
for (
|
|
159746
|
-
var _village2 =
|
|
160398
|
+
for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
|
|
160399
|
+
var _village2 = _step9.value;
|
|
159747
160400
|
|
|
159748
160401
|
if (_village2.children && _village2.children.length) {
|
|
159749
160402
|
var _build2 = void 0;
|
|
@@ -159771,9 +160424,9 @@ var utils_util = __webpack_require__("f348");
|
|
|
159771
160424
|
}
|
|
159772
160425
|
}
|
|
159773
160426
|
} catch (err) {
|
|
159774
|
-
|
|
160427
|
+
_iterator9.e(err);
|
|
159775
160428
|
} finally {
|
|
159776
|
-
|
|
160429
|
+
_iterator9.f();
|
|
159777
160430
|
}
|
|
159778
160431
|
}
|
|
159779
160432
|
|
|
@@ -159849,12 +160502,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
159849
160502
|
};
|
|
159850
160503
|
|
|
159851
160504
|
var getDeptMap = function getDeptMap(list) {
|
|
159852
|
-
var
|
|
159853
|
-
|
|
160505
|
+
var _iterator10 = Object(createForOfIteratorHelper["a" /* default */])(list),
|
|
160506
|
+
_step10;
|
|
159854
160507
|
|
|
159855
160508
|
try {
|
|
159856
|
-
for (
|
|
159857
|
-
var item =
|
|
160509
|
+
for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
|
|
160510
|
+
var item = _step10.value;
|
|
159858
160511
|
|
|
159859
160512
|
if (item.childType == "department" && item.children && item.children.length) {
|
|
159860
160513
|
var villageList = item.children.filter(function (it) {
|
|
@@ -159869,9 +160522,9 @@ var utils_util = __webpack_require__("f348");
|
|
|
159869
160522
|
}
|
|
159870
160523
|
}
|
|
159871
160524
|
} catch (err) {
|
|
159872
|
-
|
|
160525
|
+
_iterator10.e(err);
|
|
159873
160526
|
} finally {
|
|
159874
|
-
|
|
160527
|
+
_iterator10.f();
|
|
159875
160528
|
}
|
|
159876
160529
|
}; // ------case 1
|
|
159877
160530
|
|
|
@@ -159886,12 +160539,12 @@ var utils_util = __webpack_require__("f348");
|
|
|
159886
160539
|
var getDeptTreeList = function getDeptTreeList(list, level) {
|
|
159887
160540
|
var result = [];
|
|
159888
160541
|
|
|
159889
|
-
var
|
|
159890
|
-
|
|
160542
|
+
var _iterator11 = Object(createForOfIteratorHelper["a" /* default */])(list),
|
|
160543
|
+
_step11;
|
|
159891
160544
|
|
|
159892
160545
|
try {
|
|
159893
|
-
for (
|
|
159894
|
-
var listItem =
|
|
160546
|
+
for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
|
|
160547
|
+
var listItem = _step11.value;
|
|
159895
160548
|
|
|
159896
160549
|
// 非项目管理部门
|
|
159897
160550
|
if (listItem.type !== 3) {
|
|
@@ -159922,9 +160575,9 @@ var utils_util = __webpack_require__("f348");
|
|
|
159922
160575
|
}
|
|
159923
160576
|
}
|
|
159924
160577
|
} catch (err) {
|
|
159925
|
-
|
|
160578
|
+
_iterator11.e(err);
|
|
159926
160579
|
} finally {
|
|
159927
|
-
|
|
160580
|
+
_iterator11.f();
|
|
159928
160581
|
}
|
|
159929
160582
|
|
|
159930
160583
|
return result;
|
|
@@ -160075,15 +160728,23 @@ var utils_util = __webpack_require__("f348");
|
|
|
160075
160728
|
|
|
160076
160729
|
|
|
160077
160730
|
var getVillageInfo = function getVillageInfo() {
|
|
160731
|
+
var _props$roomType5;
|
|
160732
|
+
|
|
160733
|
+
var params = {
|
|
160734
|
+
checked: props.attachDpt ? 1 : props.userChecked,
|
|
160735
|
+
attach_department: props.attachDpt
|
|
160736
|
+
};
|
|
160737
|
+
|
|
160738
|
+
if ((_props$roomType5 = props.roomType) !== null && _props$roomType5 !== void 0 && _props$roomType5.length) {
|
|
160739
|
+
params.room_type = props.roomType.join(',');
|
|
160740
|
+
}
|
|
160741
|
+
|
|
160078
160742
|
emit("request", {
|
|
160079
160743
|
params: {
|
|
160080
160744
|
method: "get",
|
|
160081
160745
|
server: "/org",
|
|
160082
160746
|
url: "/build/villageAndBuildList/v2",
|
|
160083
|
-
extra: {
|
|
160084
|
-
checked: props.attachDpt ? 1 : props.userChecked,
|
|
160085
|
-
attach_department: props.attachDpt
|
|
160086
|
-
}
|
|
160747
|
+
extra: Object(objectSpread2["a" /* default */])({}, params)
|
|
160087
160748
|
},
|
|
160088
160749
|
success: function success(res) {
|
|
160089
160750
|
if (showDpt.value) {
|
|
@@ -160118,14 +160779,15 @@ var utils_util = __webpack_require__("f348");
|
|
|
160118
160779
|
spinning: spinning
|
|
160119
160780
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRefs"])(state)), {}, {
|
|
160120
160781
|
onLoadTreeData: onLoadTreeData,
|
|
160121
|
-
handleTreeCheck: handleTreeCheck
|
|
160782
|
+
handleTreeCheck: handleTreeCheck,
|
|
160783
|
+
getIcon: getIcon
|
|
160122
160784
|
});
|
|
160123
160785
|
}
|
|
160124
160786
|
}));
|
|
160125
160787
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=script&lang=js
|
|
160126
160788
|
|
|
160127
|
-
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=
|
|
160128
|
-
var
|
|
160789
|
+
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=e7a504be&lang=less&scoped=true
|
|
160790
|
+
var ChooseHousingResourcesvue_type_style_index_0_id_e7a504be_lang_less_scoped_true = __webpack_require__("c0bd");
|
|
160129
160791
|
|
|
160130
160792
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue
|
|
160131
160793
|
|
|
@@ -160135,62 +160797,62 @@ var ChooseHousingResourcesvue_type_style_index_0_id_1f42e0b8_lang_less_scoped_tr
|
|
|
160135
160797
|
|
|
160136
160798
|
|
|
160137
160799
|
|
|
160138
|
-
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',
|
|
160800
|
+
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',ChooseHousingResourcesvue_type_template_id_e7a504be_scoped_true_render],['__scopeId',"data-v-e7a504be"]])
|
|
160139
160801
|
|
|
160140
160802
|
/* harmony default export */ var ChooseHousingResources = (ChooseHousingResources_exports_);
|
|
160141
|
-
// 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=
|
|
160803
|
+
// 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=c8e93cbc&scoped=true
|
|
160142
160804
|
|
|
160143
160805
|
|
|
160144
160806
|
|
|
160145
|
-
var
|
|
160146
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
160807
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_withScopeId = function _withScopeId(n) {
|
|
160808
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-c8e93cbc"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
160147
160809
|
};
|
|
160148
160810
|
|
|
160149
|
-
var
|
|
160811
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_1 = {
|
|
160150
160812
|
class: "checked-house"
|
|
160151
160813
|
};
|
|
160152
|
-
var
|
|
160814
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_2 = {
|
|
160153
160815
|
class: "room-name"
|
|
160154
160816
|
};
|
|
160155
|
-
var
|
|
160817
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_3 = {
|
|
160156
160818
|
key: 0
|
|
160157
160819
|
};
|
|
160158
|
-
var
|
|
160820
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_4 = {
|
|
160159
160821
|
key: 1
|
|
160160
160822
|
};
|
|
160161
|
-
var
|
|
160823
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_5 = {
|
|
160162
160824
|
key: 0,
|
|
160163
160825
|
class: "building-name",
|
|
160164
160826
|
style: {
|
|
160165
160827
|
"padding-left": "26px"
|
|
160166
160828
|
}
|
|
160167
160829
|
};
|
|
160168
|
-
var
|
|
160830
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_6 = {
|
|
160169
160831
|
key: 0
|
|
160170
160832
|
};
|
|
160171
|
-
var
|
|
160833
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_7 = {
|
|
160172
160834
|
key: 1
|
|
160173
160835
|
};
|
|
160174
|
-
var
|
|
160836
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_8 = {
|
|
160175
160837
|
class: "room-name"
|
|
160176
160838
|
};
|
|
160177
|
-
var
|
|
160839
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_9 = {
|
|
160178
160840
|
key: 0
|
|
160179
160841
|
};
|
|
160180
|
-
var
|
|
160842
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_10 = {
|
|
160181
160843
|
key: 0
|
|
160182
160844
|
};
|
|
160183
|
-
var
|
|
160845
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_11 = {
|
|
160184
160846
|
key: 1
|
|
160185
160847
|
};
|
|
160186
|
-
var
|
|
160848
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_12 = {
|
|
160187
160849
|
key: 0,
|
|
160188
160850
|
class: "building-name"
|
|
160189
160851
|
};
|
|
160190
|
-
var
|
|
160852
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_13 = {
|
|
160191
160853
|
key: 0
|
|
160192
160854
|
};
|
|
160193
|
-
var
|
|
160855
|
+
var CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_14 = {
|
|
160194
160856
|
key: 1,
|
|
160195
160857
|
style: {
|
|
160196
160858
|
"text-align": "center",
|
|
@@ -160198,7 +160860,7 @@ var CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_hoisted_14
|
|
|
160198
160860
|
"width": "100%"
|
|
160199
160861
|
}
|
|
160200
160862
|
};
|
|
160201
|
-
function
|
|
160863
|
+
function CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
160202
160864
|
var _component_a_col = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-col");
|
|
160203
160865
|
|
|
160204
160866
|
var _component_a_row = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-row");
|
|
@@ -160217,7 +160879,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160217
160879
|
|
|
160218
160880
|
var _component_ViewPropertyList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ViewPropertyList");
|
|
160219
160881
|
|
|
160220
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
160882
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_row, {
|
|
160221
160883
|
gutter: 12
|
|
160222
160884
|
}, {
|
|
160223
160885
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
@@ -160225,7 +160887,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160225
160887
|
span: _ctx.inputShow ? _ctx.isViewBindAndNotCheck ? 6 : 8 : _ctx.isViewBindAndNotCheck ? 12 : 16
|
|
160226
160888
|
}, {
|
|
160227
160889
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
160228
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("
|
|
160890
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.roomTitle) + "名称", 1)];
|
|
160229
160891
|
}),
|
|
160230
160892
|
_: 1
|
|
160231
160893
|
}, 8, ["span"]), _ctx.inputShow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
@@ -160283,13 +160945,13 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160283
160945
|
}
|
|
160284
160946
|
}, {
|
|
160285
160947
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
160286
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
160948
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_checkbox, {
|
|
160287
160949
|
checked: item.checked,
|
|
160288
160950
|
style: {
|
|
160289
160951
|
"margin-right": "10px"
|
|
160290
160952
|
},
|
|
160291
160953
|
size: "large"
|
|
160292
|
-
}, null, 8, ["checked"]), item.layer_name || item.extra.layer_name ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
160954
|
+
}, null, 8, ["checked"]), item.layer_name || item.extra.layer_name ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.layer_name || item.extra.layer_name), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), item.room_name ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_4, "/" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.room_name), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), item.build_name || (item.extra ? item.extra.build_name : false) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.build_name || item.extra.build_name), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
160293
160955
|
}),
|
|
160294
160956
|
_: 2
|
|
160295
160957
|
}, 1032, ["onClick"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
@@ -160299,7 +160961,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160299
160961
|
}
|
|
160300
160962
|
}, {
|
|
160301
160963
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
160302
|
-
return [_ctx.maxTotal ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
160964
|
+
return [_ctx.maxTotal ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.getTotalArea(item)), 1)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_7, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.getMaxArea(item)) + " / " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.getTotalArea(item)), 1))];
|
|
160303
160965
|
}),
|
|
160304
160966
|
_: 2
|
|
160305
160967
|
}, 1024)], 64);
|
|
@@ -160321,9 +160983,9 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160321
160983
|
span: _ctx.inputShow ? _ctx.isViewBindAndNotCheck ? 6 : 8 : _ctx.isViewBindAndNotCheck ? 12 : 16
|
|
160322
160984
|
}, {
|
|
160323
160985
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
160324
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
160986
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_8, [item.layer_name || item.extra.layer_name ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_9, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.layer_name || item.extra.layer_name), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), item.room_name ? (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"], {
|
|
160325
160987
|
key: 1
|
|
160326
|
-
}, [item.parent_room_id ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
160988
|
+
}, [item.parent_room_id ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_10, "/" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.room_name_txt), 1)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_11, "/" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.room_name), 1))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), item.build_name || (item.extra ? item.extra.build_name : false) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_12, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.build_name || item.extra.build_name), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
160327
160989
|
}),
|
|
160328
160990
|
_: 2
|
|
160329
160991
|
}, 1032, ["span"]), _ctx.inputShow ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
@@ -160350,7 +161012,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160350
161012
|
span: _ctx.isViewBindAndNotCheck ? 6 : 8
|
|
160351
161013
|
}, {
|
|
160352
161014
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
160353
|
-
return [!_ctx.maxTotal ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
161015
|
+
return [!_ctx.maxTotal ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.maxArea[_ctx.clauseType]) + " / ", 1)) : 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"])(item.totalArea[_ctx.clauseType]), 1)];
|
|
160354
161016
|
}),
|
|
160355
161017
|
_: 2
|
|
160356
161018
|
}, 1032, ["span"]), _ctx.isViewBindAndNotCheck ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
@@ -160390,7 +161052,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160390
161052
|
}),
|
|
160391
161053
|
_: 2
|
|
160392
161054
|
}, 1024)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64);
|
|
160393
|
-
}), 128)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
161055
|
+
}), 128)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_hoisted_14, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_empty, {
|
|
160394
161056
|
description: _ctx.emptyDesc
|
|
160395
161057
|
}, null, 8, ["description"])]))];
|
|
160396
161058
|
}),
|
|
@@ -160426,7 +161088,7 @@ function CheckedHousingResourcesvue_type_template_id_cb16e7b0_scoped_true_render
|
|
|
160426
161088
|
onSaveProperty: _ctx.saveProperty
|
|
160427
161089
|
}, null, 8, ["visible", "title", "checkedList", "roomInfo", "onRequest", "onSaveProperty"])]);
|
|
160428
161090
|
}
|
|
160429
|
-
// CONCATENATED MODULE: ./src/components/CheckedHousingResources/index.vue?vue&type=template&id=
|
|
161091
|
+
// CONCATENATED MODULE: ./src/components/CheckedHousingResources/index.vue?vue&type=template&id=c8e93cbc&scoped=true
|
|
160430
161092
|
|
|
160431
161093
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/empty/index.js + 2 modules
|
|
160432
161094
|
var empty = __webpack_require__("fc25");
|
|
@@ -161329,6 +161991,10 @@ const ViewPropertyList_exports_ = /*#__PURE__*/exportHelper_default()(ViewProper
|
|
|
161329
161991
|
viewBind: {
|
|
161330
161992
|
type: Boolean,
|
|
161331
161993
|
default: false
|
|
161994
|
+
},
|
|
161995
|
+
roomTitle: {
|
|
161996
|
+
type: String,
|
|
161997
|
+
default: "房源"
|
|
161332
161998
|
}
|
|
161333
161999
|
},
|
|
161334
162000
|
setup: function setup(props, _ref) {
|
|
@@ -161548,8 +162214,8 @@ const ViewPropertyList_exports_ = /*#__PURE__*/exportHelper_default()(ViewProper
|
|
|
161548
162214
|
}));
|
|
161549
162215
|
// CONCATENATED MODULE: ./src/components/CheckedHousingResources/index.vue?vue&type=script&lang=js
|
|
161550
162216
|
|
|
161551
|
-
// EXTERNAL MODULE: ./src/components/CheckedHousingResources/index.vue?vue&type=style&index=0&id=
|
|
161552
|
-
var
|
|
162217
|
+
// EXTERNAL MODULE: ./src/components/CheckedHousingResources/index.vue?vue&type=style&index=0&id=c8e93cbc&lang=less&scoped=true
|
|
162218
|
+
var CheckedHousingResourcesvue_type_style_index_0_id_c8e93cbc_lang_less_scoped_true = __webpack_require__("71cd");
|
|
161553
162219
|
|
|
161554
162220
|
// CONCATENATED MODULE: ./src/components/CheckedHousingResources/index.vue
|
|
161555
162221
|
|
|
@@ -161559,42 +162225,42 @@ var CheckedHousingResourcesvue_type_style_index_0_id_cb16e7b0_lang_less_scoped_t
|
|
|
161559
162225
|
|
|
161560
162226
|
|
|
161561
162227
|
|
|
161562
|
-
const CheckedHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(CheckedHousingResourcesvue_type_script_lang_js, [['render',
|
|
162228
|
+
const CheckedHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(CheckedHousingResourcesvue_type_script_lang_js, [['render',CheckedHousingResourcesvue_type_template_id_c8e93cbc_scoped_true_render],['__scopeId',"data-v-c8e93cbc"]])
|
|
161563
162229
|
|
|
161564
162230
|
/* harmony default export */ var CheckedHousingResources = (CheckedHousingResources_exports_);
|
|
161565
|
-
// 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/VillageTree/index.vue?vue&type=template&id=
|
|
162231
|
+
// 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/VillageTree/index.vue?vue&type=template&id=4997a4d4&scoped=true
|
|
161566
162232
|
|
|
161567
162233
|
|
|
161568
|
-
var
|
|
161569
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
162234
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_withScopeId = function _withScopeId(n) {
|
|
162235
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-4997a4d4"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
161570
162236
|
};
|
|
161571
162237
|
|
|
161572
|
-
var
|
|
162238
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_1 = {
|
|
161573
162239
|
class: "village-tree-warp"
|
|
161574
162240
|
};
|
|
161575
|
-
var
|
|
162241
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_2 = {
|
|
161576
162242
|
key: 0
|
|
161577
162243
|
};
|
|
161578
|
-
var
|
|
162244
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_3 = {
|
|
161579
162245
|
class: "tree-box"
|
|
161580
162246
|
};
|
|
161581
|
-
var
|
|
162247
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_4 = {
|
|
161582
162248
|
key: 0,
|
|
161583
162249
|
style: {
|
|
161584
162250
|
"text-align": "center",
|
|
161585
162251
|
"padding-top": "100px"
|
|
161586
162252
|
}
|
|
161587
162253
|
};
|
|
161588
|
-
var
|
|
162254
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_5 = {
|
|
161589
162255
|
key: 0,
|
|
161590
162256
|
style: {
|
|
161591
162257
|
"display": "inline-block"
|
|
161592
162258
|
}
|
|
161593
162259
|
};
|
|
161594
|
-
var
|
|
162260
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_6 = {
|
|
161595
162261
|
key: 1
|
|
161596
162262
|
};
|
|
161597
|
-
var
|
|
162263
|
+
var VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_7 = {
|
|
161598
162264
|
key: 1,
|
|
161599
162265
|
style: {
|
|
161600
162266
|
"text-align": "center",
|
|
@@ -161602,7 +162268,7 @@ var VillageTreevue_type_template_id_785176f2_scoped_true_hoisted_7 = {
|
|
|
161602
162268
|
"color": "rgba(0, 0, 0, 0.35)"
|
|
161603
162269
|
}
|
|
161604
162270
|
};
|
|
161605
|
-
function
|
|
162271
|
+
function VillageTreevue_type_template_id_4997a4d4_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161606
162272
|
var _component_a_select = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-select");
|
|
161607
162273
|
|
|
161608
162274
|
var _component_a_spin = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-spin");
|
|
@@ -161613,7 +162279,7 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161613
162279
|
|
|
161614
162280
|
var _component_a_tree = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tree");
|
|
161615
162281
|
|
|
161616
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
162282
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_1, [_ctx.showCompany ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_select, {
|
|
161617
162283
|
value: _ctx.branchId,
|
|
161618
162284
|
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
161619
162285
|
return _ctx.branchId = $event;
|
|
@@ -161623,7 +162289,7 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161623
162289
|
},
|
|
161624
162290
|
options: _ctx.authBranchList,
|
|
161625
162291
|
onChange: _ctx.handleBranchIdChange
|
|
161626
|
-
}, null, 8, ["value", "options", "onChange"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
162292
|
+
}, null, 8, ["value", "options", "onChange"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_3, [_ctx.loadingTree ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_spin)])) : (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"], {
|
|
161627
162293
|
key: 1
|
|
161628
162294
|
}, [_ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_tree, {
|
|
161629
162295
|
key: 0,
|
|
@@ -161654,21 +162320,21 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161654
162320
|
class: "tree-icon"
|
|
161655
162321
|
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'buildIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
161656
162322
|
key: 3,
|
|
161657
|
-
type:
|
|
162323
|
+
type: _ctx.getIcon('buildIcon'),
|
|
161658
162324
|
class: "tree-icon"
|
|
161659
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'layerIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
162325
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'layerIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
161660
162326
|
key: 4,
|
|
161661
|
-
type:
|
|
162327
|
+
type: _ctx.getIcon('layerIcon'),
|
|
161662
162328
|
class: "tree-icon"
|
|
161663
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'roomIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
162329
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), dataRef.slotIcon === 'roomIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
161664
162330
|
key: 5,
|
|
161665
|
-
type:
|
|
162331
|
+
type: _ctx.getIcon('roomIcon'),
|
|
161666
162332
|
class: "tree-icon"
|
|
161667
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
162333
|
+
}, null, 8, ["type"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)];
|
|
161668
162334
|
}),
|
|
161669
162335
|
title: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function (_ref2) {
|
|
161670
162336
|
var dataRef = _ref2.dataRef;
|
|
161671
|
-
return [dataRef.slotTitle === 'roomTitle' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
162337
|
+
return [dataRef.slotTitle === 'roomTitle' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1), _ctx.showRentIcon && dataRef.contract_info && dataRef.contract_info.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_bl_icon, {
|
|
161672
162338
|
key: 0,
|
|
161673
162339
|
type: "zukehuaxiang",
|
|
161674
162340
|
style: {
|
|
@@ -161679,12 +162345,12 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161679
162345
|
onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(function ($event) {
|
|
161680
162346
|
return _ctx.onRentIconClick(dataRef);
|
|
161681
162347
|
}, ["stop"])
|
|
161682
|
-
}, null, 8, ["onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
162348
|
+
}, null, 8, ["onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.title), 1))];
|
|
161683
162349
|
}),
|
|
161684
162350
|
_: 1
|
|
161685
|
-
}, 8, ["expandedKeys", "selectedKeys", "tree-data", "loadData", "onSelect"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
162351
|
+
}, 8, ["expandedKeys", "selectedKeys", "tree-data", "loadData", "onSelect"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", VillageTreevue_type_template_id_4997a4d4_scoped_true_hoisted_7, " 无项目 "))], 64))])]);
|
|
161686
162352
|
}
|
|
161687
|
-
// CONCATENATED MODULE: ./src/components/VillageTree/index.vue?vue&type=template&id=
|
|
162353
|
+
// CONCATENATED MODULE: ./src/components/VillageTree/index.vue?vue&type=template&id=4997a4d4&scoped=true
|
|
161688
162354
|
|
|
161689
162355
|
// 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/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/VillageTree/index.vue?vue&type=script&lang=js
|
|
161690
162356
|
|
|
@@ -161714,6 +162380,7 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161714
162380
|
|
|
161715
162381
|
|
|
161716
162382
|
|
|
162383
|
+
|
|
161717
162384
|
/* harmony default export */ var VillageTreevue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
161718
162385
|
name: "VillageTree",
|
|
161719
162386
|
props: {
|
|
@@ -161735,7 +162402,7 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161735
162402
|
type: Number,
|
|
161736
162403
|
default: 0
|
|
161737
162404
|
},
|
|
161738
|
-
//展示调整 1项目 2楼宇 3楼层
|
|
162405
|
+
//展示调整 1项目 2楼宇 3楼层 4房间
|
|
161739
162406
|
display: {
|
|
161740
162407
|
type: Number,
|
|
161741
162408
|
default: 0
|
|
@@ -161755,6 +162422,17 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161755
162422
|
companyId: {
|
|
161756
162423
|
type: Number,
|
|
161757
162424
|
default: 0
|
|
162425
|
+
},
|
|
162426
|
+
// 房间类型 用来判断发送后端请求
|
|
162427
|
+
roomType: {
|
|
162428
|
+
type: Array,
|
|
162429
|
+
default: function _default() {
|
|
162430
|
+
return [];
|
|
162431
|
+
}
|
|
162432
|
+
},
|
|
162433
|
+
iconType: {
|
|
162434
|
+
type: String,
|
|
162435
|
+
default: "default"
|
|
161758
162436
|
}
|
|
161759
162437
|
},
|
|
161760
162438
|
components: {
|
|
@@ -161774,8 +162452,26 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161774
162452
|
branchId: undefined,
|
|
161775
162453
|
authBranchList: []
|
|
161776
162454
|
});
|
|
162455
|
+
var noLayer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
162456
|
+
var _props$roomType;
|
|
162457
|
+
|
|
162458
|
+
return ((_props$roomType = props.roomType) === null || _props$roomType === void 0 ? void 0 : _props$roomType.length) && props.roomType.every(function (v) {
|
|
162459
|
+
return [4, 5, 8].includes(Number(v));
|
|
162460
|
+
});
|
|
162461
|
+
});
|
|
162462
|
+
|
|
162463
|
+
var getIcon = function getIcon(type) {
|
|
162464
|
+
var icon = constant["b" /* ROOM_TYPE_ICONS */].default[type];
|
|
162465
|
+
|
|
162466
|
+
if (props.iconType) {
|
|
162467
|
+
icon = constant["b" /* ROOM_TYPE_ICONS */][props.iconType] ? constant["b" /* ROOM_TYPE_ICONS */][props.iconType][type] : constant["b" /* ROOM_TYPE_ICONS */].default[type];
|
|
162468
|
+
}
|
|
162469
|
+
|
|
162470
|
+
return icon;
|
|
162471
|
+
};
|
|
161777
162472
|
/** 点击选中当前项 */
|
|
161778
162473
|
|
|
162474
|
+
|
|
161779
162475
|
var onTreeSelect = function onTreeSelect(value, e) {
|
|
161780
162476
|
var current = e.node.dataRef;
|
|
161781
162477
|
var levelList = ['department', 'buildLevel'];
|
|
@@ -161833,10 +162529,17 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161833
162529
|
}
|
|
161834
162530
|
|
|
161835
162531
|
if (dataRef.childType === "build") {
|
|
161836
|
-
|
|
161837
|
-
|
|
161838
|
-
|
|
161839
|
-
|
|
162532
|
+
if (noLayer.value) {
|
|
162533
|
+
getRoomList(dataRef).then(function () {
|
|
162534
|
+
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
162535
|
+
resolve();
|
|
162536
|
+
});
|
|
162537
|
+
} else {
|
|
162538
|
+
getLayerList(dataRef).then(function () {
|
|
162539
|
+
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
162540
|
+
resolve();
|
|
162541
|
+
});
|
|
162542
|
+
}
|
|
161840
162543
|
} else if (dataRef.childType === "layer") {
|
|
161841
162544
|
getRoomList(dataRef).then(function () {
|
|
161842
162545
|
state.treeList = Object(toConsumableArray["a" /* default */])(state.treeList);
|
|
@@ -161855,19 +162558,28 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161855
162558
|
var getLayerList = function getLayerList(build) {
|
|
161856
162559
|
var refresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
161857
162560
|
return new Promise(function (resolve) {
|
|
162561
|
+
var _props$roomType2;
|
|
162562
|
+
|
|
161858
162563
|
if (!refresh && (build.isLeaf || build.children && build.children.length)) {
|
|
161859
162564
|
resolve(build.children || []);
|
|
161860
162565
|
return;
|
|
161861
162566
|
}
|
|
161862
162567
|
|
|
162568
|
+
var params = {
|
|
162569
|
+
build_id: build.id,
|
|
162570
|
+
village_id: build.extra.village_id
|
|
162571
|
+
};
|
|
162572
|
+
|
|
162573
|
+
if ((_props$roomType2 = props.roomType) !== null && _props$roomType2 !== void 0 && _props$roomType2.length) {
|
|
162574
|
+
params.room_type = props.roomType.join(',');
|
|
162575
|
+
}
|
|
162576
|
+
|
|
161863
162577
|
emit("request", {
|
|
161864
162578
|
params: {
|
|
161865
162579
|
method: "get",
|
|
161866
162580
|
server: "/village",
|
|
161867
162581
|
url: "/project/layer/all",
|
|
161868
|
-
extra: {
|
|
161869
|
-
build_id: build.id
|
|
161870
|
-
}
|
|
162582
|
+
extra: Object(objectSpread2["a" /* default */])({}, params)
|
|
161871
162583
|
},
|
|
161872
162584
|
success: function success(res) {
|
|
161873
162585
|
if (res.list.length) {
|
|
@@ -161895,53 +162607,94 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161895
162607
|
}; // 获取房间列表 type = layer || id
|
|
161896
162608
|
|
|
161897
162609
|
|
|
161898
|
-
var getRoomList = function getRoomList(
|
|
162610
|
+
var getRoomList = function getRoomList(layOrBuild) {
|
|
161899
162611
|
var refresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
161900
162612
|
return new Promise(function (resolve) {
|
|
161901
|
-
|
|
161902
|
-
|
|
162613
|
+
var _props$roomType3;
|
|
162614
|
+
|
|
162615
|
+
if (!refresh && (layOrBuild.isLeaf || layOrBuild.children && layOrBuild.children.length)) {
|
|
162616
|
+
resolve(layOrBuild.children || []);
|
|
161903
162617
|
return;
|
|
161904
162618
|
}
|
|
162619
|
+
/* 没有楼层 传 build_id 和 room_type */
|
|
162620
|
+
|
|
162621
|
+
|
|
162622
|
+
var paramsObj = {
|
|
162623
|
+
village_id: layOrBuild.extra.village_id,
|
|
162624
|
+
layer_id: layOrBuild.id
|
|
162625
|
+
};
|
|
162626
|
+
|
|
162627
|
+
if (noLayer.value) {
|
|
162628
|
+
delete paramsObj.layer_id;
|
|
162629
|
+
paramsObj.build_id = layOrBuild.id;
|
|
162630
|
+
} else {
|
|
162631
|
+
var _layOrBuild$extra;
|
|
162632
|
+
|
|
162633
|
+
paramsObj.build_id = layOrBuild === null || layOrBuild === void 0 ? void 0 : (_layOrBuild$extra = layOrBuild.extra) === null || _layOrBuild$extra === void 0 ? void 0 : _layOrBuild$extra.build_id;
|
|
162634
|
+
}
|
|
162635
|
+
|
|
162636
|
+
if ((_props$roomType3 = props.roomType) !== null && _props$roomType3 !== void 0 && _props$roomType3.length) {
|
|
162637
|
+
paramsObj.room_type = props.roomType.join(',');
|
|
162638
|
+
}
|
|
161905
162639
|
|
|
161906
162640
|
emit("request", {
|
|
161907
162641
|
params: {
|
|
161908
162642
|
method: "get",
|
|
161909
162643
|
server: "/village",
|
|
161910
162644
|
url: "/project/room/all",
|
|
161911
|
-
extra: {
|
|
161912
|
-
village_id: layer.extra.village_id,
|
|
161913
|
-
layer_id: layer.id
|
|
161914
|
-
}
|
|
162645
|
+
extra: Object(objectSpread2["a" /* default */])({}, paramsObj)
|
|
161915
162646
|
},
|
|
161916
162647
|
success: function success(res) {
|
|
161917
162648
|
if (res.list.length) {
|
|
161918
|
-
|
|
161919
|
-
var newItem =
|
|
161920
|
-
|
|
161921
|
-
|
|
161922
|
-
|
|
161923
|
-
|
|
161924
|
-
|
|
161925
|
-
|
|
161926
|
-
|
|
161927
|
-
|
|
161928
|
-
|
|
161929
|
-
|
|
161930
|
-
|
|
161931
|
-
|
|
161932
|
-
|
|
161933
|
-
|
|
161934
|
-
|
|
161935
|
-
|
|
161936
|
-
|
|
161937
|
-
|
|
161938
|
-
|
|
162649
|
+
layOrBuild.children = res.list.map(function (item) {
|
|
162650
|
+
var newItem = {};
|
|
162651
|
+
|
|
162652
|
+
if (noLayer.value) {
|
|
162653
|
+
newItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
|
|
162654
|
+
childType: "room",
|
|
162655
|
+
key: "".concat(layOrBuild.key, "_room_").concat(item.id),
|
|
162656
|
+
title: item.room_name,
|
|
162657
|
+
level: layOrBuild.level + 1,
|
|
162658
|
+
property_area: item.charging_area,
|
|
162659
|
+
lease_square: item.rental_area,
|
|
162660
|
+
extra: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, layOrBuild.extra), {}, {
|
|
162661
|
+
build_id: layOrBuild.id,
|
|
162662
|
+
build_number: layOrBuild.build_number,
|
|
162663
|
+
build_name: layOrBuild.build_name
|
|
162664
|
+
}),
|
|
162665
|
+
isLeaf: item.sub_room_count > 0 ? props.display == 4 ? true : false : true,
|
|
162666
|
+
//如果有子房间,可以继续展开
|
|
162667
|
+
slotIcon: "roomIcon",
|
|
162668
|
+
slotTitle: "roomTitle"
|
|
162669
|
+
});
|
|
162670
|
+
} else {
|
|
162671
|
+
newItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
|
|
162672
|
+
childType: "room",
|
|
162673
|
+
key: "".concat(layOrBuild.key, "_room_").concat(item.id),
|
|
162674
|
+
title: item.room_name,
|
|
162675
|
+
level: layOrBuild.level + 1,
|
|
162676
|
+
layer_id: layOrBuild.id,
|
|
162677
|
+
layer_number: layOrBuild.layer_number,
|
|
162678
|
+
layer_name: layOrBuild.layer_name,
|
|
162679
|
+
property_area: item.charging_area,
|
|
162680
|
+
lease_square: item.rental_area,
|
|
162681
|
+
extra: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, layOrBuild.extra), {}, {
|
|
162682
|
+
layer_id: layOrBuild.id,
|
|
162683
|
+
layer_number: layOrBuild.layer_number,
|
|
162684
|
+
layer_name: layOrBuild.layer_name
|
|
162685
|
+
}),
|
|
162686
|
+
isLeaf: item.sub_room_count > 0 ? false : true,
|
|
162687
|
+
//如果有子房间,可以继续展开
|
|
162688
|
+
slotIcon: "roomIcon",
|
|
162689
|
+
slotTitle: "roomTitle"
|
|
162690
|
+
});
|
|
162691
|
+
}
|
|
161939
162692
|
|
|
161940
162693
|
return newItem;
|
|
161941
162694
|
});
|
|
161942
162695
|
}
|
|
161943
162696
|
|
|
161944
|
-
resolve(
|
|
162697
|
+
resolve(layOrBuild.children);
|
|
161945
162698
|
}
|
|
161946
162699
|
});
|
|
161947
162700
|
});
|
|
@@ -161951,21 +162704,30 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
161951
162704
|
var getSubRooms = function getSubRooms(room) {
|
|
161952
162705
|
var refresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
161953
162706
|
return new Promise(function (resolve) {
|
|
162707
|
+
var _room$extra, _room$extra2, _props$roomType4;
|
|
162708
|
+
|
|
161954
162709
|
if (!refresh && (room.isLeaf || room.children && room.children.length)) {
|
|
161955
162710
|
resolve(room.children || []);
|
|
161956
162711
|
return;
|
|
161957
162712
|
}
|
|
161958
162713
|
|
|
162714
|
+
var paramsObj = {
|
|
162715
|
+
village_id: room.extra.village_id,
|
|
162716
|
+
layer_id: room === null || room === void 0 ? void 0 : (_room$extra = room.extra) === null || _room$extra === void 0 ? void 0 : _room$extra.layer_id,
|
|
162717
|
+
parent_room_id: room.id,
|
|
162718
|
+
build_id: room === null || room === void 0 ? void 0 : (_room$extra2 = room.extra) === null || _room$extra2 === void 0 ? void 0 : _room$extra2.build_id
|
|
162719
|
+
};
|
|
162720
|
+
|
|
162721
|
+
if ((_props$roomType4 = props.roomType) !== null && _props$roomType4 !== void 0 && _props$roomType4.length) {
|
|
162722
|
+
paramsObj.room_type = props.roomType.join(',');
|
|
162723
|
+
}
|
|
162724
|
+
|
|
161959
162725
|
emit("request", {
|
|
161960
162726
|
params: {
|
|
161961
162727
|
method: "get",
|
|
161962
162728
|
server: "/village",
|
|
161963
162729
|
url: "/project/room/all",
|
|
161964
|
-
extra: {
|
|
161965
|
-
village_id: room.extra.village_id,
|
|
161966
|
-
layer_id: room.extra.layer_id,
|
|
161967
|
-
parent_room_id: room.id
|
|
161968
|
-
}
|
|
162730
|
+
extra: Object(objectSpread2["a" /* default */])({}, paramsObj)
|
|
161969
162731
|
},
|
|
161970
162732
|
success: function success(res) {
|
|
161971
162733
|
if (res.list.length) {
|
|
@@ -162188,18 +162950,26 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162188
162950
|
};
|
|
162189
162951
|
|
|
162190
162952
|
var getVillageInfo = function getVillageInfo() {
|
|
162953
|
+
var _props$roomType5;
|
|
162954
|
+
|
|
162191
162955
|
state.expandedKeys = [];
|
|
162192
162956
|
state.loadingTree = true;
|
|
162957
|
+
var params = {
|
|
162958
|
+
checked: props.attachDpt ? 1 : props.userChecked,
|
|
162959
|
+
attach_department: props.attachDpt,
|
|
162960
|
+
org_branch_id: state.branchId
|
|
162961
|
+
};
|
|
162962
|
+
|
|
162963
|
+
if ((_props$roomType5 = props.roomType) !== null && _props$roomType5 !== void 0 && _props$roomType5.length) {
|
|
162964
|
+
params.room_type = props.roomType.join(',');
|
|
162965
|
+
}
|
|
162966
|
+
|
|
162193
162967
|
emit("request", {
|
|
162194
162968
|
params: {
|
|
162195
162969
|
method: "get",
|
|
162196
162970
|
server: "/org",
|
|
162197
162971
|
url: "/build/villageAndBuildList/v2",
|
|
162198
|
-
extra: {
|
|
162199
|
-
checked: props.attachDpt ? 1 : props.userChecked,
|
|
162200
|
-
attach_department: props.attachDpt,
|
|
162201
|
-
org_branch_id: state.branchId
|
|
162202
|
-
}
|
|
162972
|
+
extra: Object(objectSpread2["a" /* default */])({}, params)
|
|
162203
162973
|
},
|
|
162204
162974
|
success: function success(res) {
|
|
162205
162975
|
state.treeList = res.list ? getDeptTreeList(res.list, 1) : getVillageTreeList(res.villageList);
|
|
@@ -162447,11 +163217,8 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162447
163217
|
});
|
|
162448
163218
|
|
|
162449
163219
|
if (build) {
|
|
162450
|
-
|
|
162451
|
-
|
|
162452
|
-
});
|
|
162453
|
-
|
|
162454
|
-
if (layer) {
|
|
163220
|
+
/* 处理没有楼层的情况 */
|
|
163221
|
+
if (noLayer.value) {
|
|
162455
163222
|
var room = build.children.find(function (item) {
|
|
162456
163223
|
return item.id == refreshParams.roomId;
|
|
162457
163224
|
});
|
|
@@ -162465,10 +163232,30 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162465
163232
|
state.loadingTree = false;
|
|
162466
163233
|
});
|
|
162467
163234
|
}
|
|
163235
|
+
} else {
|
|
163236
|
+
var layer = build.children.find(function (item) {
|
|
163237
|
+
return item.id == refreshParams.layerId;
|
|
163238
|
+
});
|
|
163239
|
+
|
|
163240
|
+
if (layer) {
|
|
163241
|
+
var _room = build.children.find(function (item) {
|
|
163242
|
+
return item.id == refreshParams.roomId;
|
|
163243
|
+
});
|
|
163244
|
+
|
|
163245
|
+
if (_room) {
|
|
163246
|
+
getSubRooms(_room, true).then(function () {
|
|
163247
|
+
if (refreshParams.selected && refreshParams.selected.roomId) {
|
|
163248
|
+
setSelected(_room);
|
|
163249
|
+
}
|
|
163250
|
+
|
|
163251
|
+
state.loadingTree = false;
|
|
163252
|
+
});
|
|
163253
|
+
}
|
|
163254
|
+
}
|
|
162468
163255
|
}
|
|
162469
163256
|
}
|
|
162470
163257
|
}
|
|
162471
|
-
} else if (refreshParams.layerId) {
|
|
163258
|
+
} else if (refreshParams.layerId || refreshParams.layerId == 0) {
|
|
162472
163259
|
// 刷新房间
|
|
162473
163260
|
var _village = getVillageById(state.treeList, refreshParams.villageId);
|
|
162474
163261
|
|
|
@@ -162531,13 +163318,24 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162531
163318
|
});
|
|
162532
163319
|
|
|
162533
163320
|
if (_build3) {
|
|
162534
|
-
|
|
162535
|
-
|
|
162536
|
-
|
|
162537
|
-
|
|
163321
|
+
// 可能也是刷新房间
|
|
163322
|
+
if (noLayer.value) {
|
|
163323
|
+
getRoomList(_build3, true).then(function () {
|
|
163324
|
+
if (refreshParams.selected && refreshParams.selected.buildId) {
|
|
163325
|
+
setSelected(_build3);
|
|
163326
|
+
}
|
|
162538
163327
|
|
|
162539
|
-
|
|
162540
|
-
|
|
163328
|
+
state.loadingTree = false;
|
|
163329
|
+
});
|
|
163330
|
+
} else {
|
|
163331
|
+
getLayerList(_build3, true).then(function () {
|
|
163332
|
+
if (refreshParams.selected && refreshParams.selected.buildId) {
|
|
163333
|
+
setSelected(_build3);
|
|
163334
|
+
}
|
|
163335
|
+
|
|
163336
|
+
state.loadingTree = false;
|
|
163337
|
+
});
|
|
163338
|
+
}
|
|
162541
163339
|
}
|
|
162542
163340
|
}
|
|
162543
163341
|
} else {
|
|
@@ -162562,6 +163360,7 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162562
163360
|
|
|
162563
163361
|
init();
|
|
162564
163362
|
return Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRefs"])(state)), {}, {
|
|
163363
|
+
getIcon: getIcon,
|
|
162565
163364
|
onRentIconClick: onRentIconClick,
|
|
162566
163365
|
onLoadTreeData: onLoadTreeData,
|
|
162567
163366
|
onTreeSelect: onTreeSelect,
|
|
@@ -162571,8 +163370,8 @@ function VillageTreevue_type_template_id_785176f2_scoped_true_render(_ctx, _cach
|
|
|
162571
163370
|
}));
|
|
162572
163371
|
// CONCATENATED MODULE: ./src/components/VillageTree/index.vue?vue&type=script&lang=js
|
|
162573
163372
|
|
|
162574
|
-
// EXTERNAL MODULE: ./src/components/VillageTree/index.vue?vue&type=style&index=0&id=
|
|
162575
|
-
var
|
|
163373
|
+
// EXTERNAL MODULE: ./src/components/VillageTree/index.vue?vue&type=style&index=0&id=4997a4d4&lang=less&scoped=true
|
|
163374
|
+
var VillageTreevue_type_style_index_0_id_4997a4d4_lang_less_scoped_true = __webpack_require__("b581");
|
|
162576
163375
|
|
|
162577
163376
|
// CONCATENATED MODULE: ./src/components/VillageTree/index.vue
|
|
162578
163377
|
|
|
@@ -162582,7 +163381,7 @@ var VillageTreevue_type_style_index_0_id_785176f2_lang_less_scoped_true = __webp
|
|
|
162582
163381
|
|
|
162583
163382
|
|
|
162584
163383
|
|
|
162585
|
-
const VillageTree_exports_ = /*#__PURE__*/exportHelper_default()(VillageTreevue_type_script_lang_js, [['render',
|
|
163384
|
+
const VillageTree_exports_ = /*#__PURE__*/exportHelper_default()(VillageTreevue_type_script_lang_js, [['render',VillageTreevue_type_template_id_4997a4d4_scoped_true_render],['__scopeId',"data-v-4997a4d4"]])
|
|
162586
163385
|
|
|
162587
163386
|
/* harmony default export */ var VillageTree = (VillageTree_exports_);
|
|
162588
163387
|
// 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/UserDetail/index.vue?vue&type=template&id=6e61f97a&scoped=true
|
|
@@ -169282,7 +170081,7 @@ var ExportComponents = __webpack_require__("a2da");
|
|
|
169282
170081
|
// EXTERNAL MODULE: ./src/components/TenantComponent/index.vue + 6 modules
|
|
169283
170082
|
var TenantComponent = __webpack_require__("0f69");
|
|
169284
170083
|
|
|
169285
|
-
// EXTERNAL MODULE: ./src/components/CustomTable/index.vue +
|
|
170084
|
+
// EXTERNAL MODULE: ./src/components/CustomTable/index.vue + 115 modules
|
|
169286
170085
|
var CustomTable = __webpack_require__("1a0a");
|
|
169287
170086
|
|
|
169288
170087
|
// 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/AttachmentInfo/index.vue?vue&type=template&id=5a79acb5&scoped=true
|