bl-common-vue3 0.2.3 → 0.2.5
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 +476 -379
- package/lib/vue3common.umd.js +476 -379
- package/lib/vue3common.umd.min.js +7 -7
- package/package.json +1 -1
package/lib/vue3common.common.js
CHANGED
|
@@ -5892,17 +5892,6 @@ module.exports = function (it, Prototype) {
|
|
|
5892
5892
|
};
|
|
5893
5893
|
|
|
5894
5894
|
|
|
5895
|
-
/***/ }),
|
|
5896
|
-
|
|
5897
|
-
/***/ "1a24":
|
|
5898
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5899
|
-
|
|
5900
|
-
"use strict";
|
|
5901
|
-
/* 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_2abb7d1e_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5375");
|
|
5902
|
-
/* 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_2abb7d1e_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_2abb7d1e_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
5903
|
-
/* unused harmony reexport * */
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
5895
|
/***/ }),
|
|
5907
5896
|
|
|
5908
5897
|
/***/ "1a2d":
|
|
@@ -7199,6 +7188,20 @@ module.exports = function (METHOD_NAME) {
|
|
|
7199
7188
|
})));
|
|
7200
7189
|
|
|
7201
7190
|
|
|
7191
|
+
/***/ }),
|
|
7192
|
+
|
|
7193
|
+
/***/ "1ff3":
|
|
7194
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7195
|
+
|
|
7196
|
+
// Imports
|
|
7197
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
7198
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
7199
|
+
// Module
|
|
7200
|
+
exports.push([module.i, ".primary-color-text[data-v-04172452]{color:#2681f3}.choose-housing[data-v-04172452]{width:100%;height:100%;overflow:hidden auto}.choose-housing .tree-view[data-v-04172452] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-04172452] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view .tree-icon[data-v-04172452]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-04172452]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-04172452]{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-04172452]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-04172452]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-04172452]{color:#2681f3}.choose-housing .text-gray[data-v-04172452]{color:rgba(0,0,0,.25)}", ""]);
|
|
7201
|
+
// Exports
|
|
7202
|
+
module.exports = exports;
|
|
7203
|
+
|
|
7204
|
+
|
|
7202
7205
|
/***/ }),
|
|
7203
7206
|
|
|
7204
7207
|
/***/ "201b":
|
|
@@ -12678,6 +12681,22 @@ var uncurryThis = __webpack_require__("e330");
|
|
|
12678
12681
|
module.exports = uncurryThis({}.isPrototypeOf);
|
|
12679
12682
|
|
|
12680
12683
|
|
|
12684
|
+
/***/ }),
|
|
12685
|
+
|
|
12686
|
+
/***/ "3aa8":
|
|
12687
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
12688
|
+
|
|
12689
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
12690
|
+
|
|
12691
|
+
// load the styles
|
|
12692
|
+
var content = __webpack_require__("1ff3");
|
|
12693
|
+
if(content.__esModule) content = content.default;
|
|
12694
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
12695
|
+
if(content.locals) module.exports = content.locals;
|
|
12696
|
+
// add the styles to the DOM
|
|
12697
|
+
var add = __webpack_require__("499e").default
|
|
12698
|
+
var update = add("5eb0afb5", content, true, {"sourceMap":false,"shadowMode":false});
|
|
12699
|
+
|
|
12681
12700
|
/***/ }),
|
|
12682
12701
|
|
|
12683
12702
|
/***/ "3b1b":
|
|
@@ -16219,22 +16238,6 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
16219
16238
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
16220
16239
|
|
|
16221
16240
|
|
|
16222
|
-
/***/ }),
|
|
16223
|
-
|
|
16224
|
-
/***/ "5375":
|
|
16225
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
16226
|
-
|
|
16227
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
16228
|
-
|
|
16229
|
-
// load the styles
|
|
16230
|
-
var content = __webpack_require__("b5eb");
|
|
16231
|
-
if(content.__esModule) content = content.default;
|
|
16232
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
16233
|
-
if(content.locals) module.exports = content.locals;
|
|
16234
|
-
// add the styles to the DOM
|
|
16235
|
-
var add = __webpack_require__("499e").default
|
|
16236
|
-
var update = add("7654cc3c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
16237
|
-
|
|
16238
16241
|
/***/ }),
|
|
16239
16242
|
|
|
16240
16243
|
/***/ "53a2":
|
|
@@ -29380,6 +29383,17 @@ try {
|
|
|
29380
29383
|
}
|
|
29381
29384
|
|
|
29382
29385
|
|
|
29386
|
+
/***/ }),
|
|
29387
|
+
|
|
29388
|
+
/***/ "970c":
|
|
29389
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29390
|
+
|
|
29391
|
+
"use strict";
|
|
29392
|
+
/* 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_04172452_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3aa8");
|
|
29393
|
+
/* 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_04172452_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_04172452_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
29394
|
+
/* unused harmony reexport * */
|
|
29395
|
+
|
|
29396
|
+
|
|
29383
29397
|
/***/ }),
|
|
29384
29398
|
|
|
29385
29399
|
/***/ "972c":
|
|
@@ -34326,20 +34340,6 @@ module.exports = queueMicrotask || function (fn) {
|
|
|
34326
34340
|
})));
|
|
34327
34341
|
|
|
34328
34342
|
|
|
34329
|
-
/***/ }),
|
|
34330
|
-
|
|
34331
|
-
/***/ "b5eb":
|
|
34332
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
34333
|
-
|
|
34334
|
-
// Imports
|
|
34335
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
34336
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
34337
|
-
// Module
|
|
34338
|
-
exports.push([module.i, ".primary-color-text[data-v-2abb7d1e]{color:#2681f3}.choose-housing[data-v-2abb7d1e]{width:100%;height:100%;overflow:hidden auto}.choose-housing .tree-view[data-v-2abb7d1e] .ant-tree-checkbox-disabled{display:none}.choose-housing .tree-view[data-v-2abb7d1e] .ant-tree-treenode-disabled .ant-tree-checkbox-disabled{display:inline-block}.choose-housing .tree-view .tree-icon[data-v-2abb7d1e]{font-size:16px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:middle}.choose-housing .tree-view .room-title[data-v-2abb7d1e]{display:inline-block;width:100%}.choose-housing .tree-view .room-title .title-show[data-v-2abb7d1e]{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-2abb7d1e]{flex:1;margin-right:6px;overflow:hidden}.choose-housing .tree-view .room-title .title-show .title .locked[data-v-2abb7d1e]{margin-right:6px;color:#faad14}.choose-housing .text-primary[data-v-2abb7d1e]{color:#2681f3}.choose-housing .text-gray[data-v-2abb7d1e]{color:rgba(0,0,0,.25)}", ""]);
|
|
34339
|
-
// Exports
|
|
34340
|
-
module.exports = exports;
|
|
34341
|
-
|
|
34342
|
-
|
|
34343
34343
|
/***/ }),
|
|
34344
34344
|
|
|
34345
34345
|
/***/ "b622":
|
|
@@ -50252,6 +50252,7 @@ __webpack_require__.d(__webpack_exports__, "ChooseBuildings", function() { retur
|
|
|
50252
50252
|
__webpack_require__.d(__webpack_exports__, "SelectProperty", function() { return /* reexport */ SelectProperty; });
|
|
50253
50253
|
__webpack_require__.d(__webpack_exports__, "ChooseHousingResources", function() { return /* reexport */ ChooseHousingResources; });
|
|
50254
50254
|
__webpack_require__.d(__webpack_exports__, "CheckedHousingResources", function() { return /* reexport */ CheckedHousingResources; });
|
|
50255
|
+
__webpack_require__.d(__webpack_exports__, "BLIcon", function() { return /* reexport */ components_BLIcon; });
|
|
50255
50256
|
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ index_install; });
|
|
50256
50257
|
|
|
50257
50258
|
// NAMESPACE OBJECT: ./src/components/components.js
|
|
@@ -50273,6 +50274,7 @@ __webpack_require__.d(components_namespaceObject, "ChooseBuildings", function()
|
|
|
50273
50274
|
__webpack_require__.d(components_namespaceObject, "SelectProperty", function() { return SelectProperty; });
|
|
50274
50275
|
__webpack_require__.d(components_namespaceObject, "ChooseHousingResources", function() { return ChooseHousingResources; });
|
|
50275
50276
|
__webpack_require__.d(components_namespaceObject, "CheckedHousingResources", function() { return CheckedHousingResources; });
|
|
50277
|
+
__webpack_require__.d(components_namespaceObject, "BLIcon", function() { return components_BLIcon; });
|
|
50276
50278
|
|
|
50277
50279
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
50278
50280
|
// This file is imported into lib/wc client bundles.
|
|
@@ -108793,34 +108795,34 @@ var SelectPropertyvue_type_style_index_0_id_022a960e_lang_less_scoped_true = __w
|
|
|
108793
108795
|
const SelectProperty_exports_ = /*#__PURE__*/exportHelper_default()(SelectPropertyvue_type_script_lang_js, [['render',SelectPropertyvue_type_template_id_022a960e_scoped_true_render],['__scopeId',"data-v-022a960e"]])
|
|
108794
108796
|
|
|
108795
108797
|
/* harmony default export */ var SelectProperty = (SelectProperty_exports_);
|
|
108796
|
-
// 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=
|
|
108798
|
+
// 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=04172452&scoped=true
|
|
108797
108799
|
|
|
108798
108800
|
|
|
108799
|
-
var
|
|
108800
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
108801
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_withScopeId = function _withScopeId(n) {
|
|
108802
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-04172452"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n;
|
|
108801
108803
|
};
|
|
108802
108804
|
|
|
108803
|
-
var
|
|
108805
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_1 = {
|
|
108804
108806
|
class: "choose-housing beauty-scroller-bar"
|
|
108805
108807
|
};
|
|
108806
|
-
var
|
|
108808
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_2 = {
|
|
108807
108809
|
key: 1,
|
|
108808
108810
|
class: "tree-view"
|
|
108809
108811
|
};
|
|
108810
|
-
var
|
|
108812
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_3 = {
|
|
108811
108813
|
class: "room-title"
|
|
108812
108814
|
};
|
|
108813
|
-
var
|
|
108815
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_4 = {
|
|
108814
108816
|
class: "title-show",
|
|
108815
108817
|
key: "title-disabled-tip"
|
|
108816
108818
|
};
|
|
108817
|
-
var
|
|
108819
|
+
var ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_5 = {
|
|
108818
108820
|
class: "title"
|
|
108819
108821
|
};
|
|
108820
|
-
function
|
|
108822
|
+
function ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108821
108823
|
var _component_a_alert = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-alert");
|
|
108822
108824
|
|
|
108823
|
-
var
|
|
108825
|
+
var _component_bl_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("bl-icon");
|
|
108824
108826
|
|
|
108825
108827
|
var _component_GoldenFilled = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("GoldenFilled");
|
|
108826
108828
|
|
|
@@ -108830,14 +108832,14 @@ function ChooseHousingResourcesvue_type_template_id_2abb7d1e_scoped_true_render(
|
|
|
108830
108832
|
|
|
108831
108833
|
var _component_a_tree = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tree");
|
|
108832
108834
|
|
|
108833
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
108835
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_04172452_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, {
|
|
108834
108836
|
key: 0,
|
|
108835
108837
|
"show-icon": "",
|
|
108836
108838
|
message: _ctx.alertTip,
|
|
108837
108839
|
style: {
|
|
108838
108840
|
"margin-bottom": "10px"
|
|
108839
108841
|
}
|
|
108840
|
-
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
108842
|
+
}, null, 8, ["message"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.treeList.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_tree, {
|
|
108841
108843
|
checkable: "",
|
|
108842
108844
|
"show-icon": "",
|
|
108843
108845
|
expandedKeys: _ctx.expandedKeys,
|
|
@@ -108852,8 +108854,8 @@ function ChooseHousingResourcesvue_type_template_id_2abb7d1e_scoped_true_render(
|
|
|
108852
108854
|
onCheck: _ctx.handleTreeCheck
|
|
108853
108855
|
}, {
|
|
108854
108856
|
topCompanyIcon: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108855
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(
|
|
108856
|
-
type: "
|
|
108857
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
108858
|
+
type: "tree-jigou",
|
|
108857
108859
|
class: "tree-icon"
|
|
108858
108860
|
})];
|
|
108859
108861
|
}),
|
|
@@ -108863,26 +108865,26 @@ function ChooseHousingResourcesvue_type_template_id_2abb7d1e_scoped_true_render(
|
|
|
108863
108865
|
})];
|
|
108864
108866
|
}),
|
|
108865
108867
|
villageIcon: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108866
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(
|
|
108867
|
-
type: "
|
|
108868
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
108869
|
+
type: "tree-xiangmu",
|
|
108868
108870
|
class: "tree-icon"
|
|
108869
108871
|
})];
|
|
108870
108872
|
}),
|
|
108871
108873
|
buildIcon: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108872
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(
|
|
108873
|
-
type: "
|
|
108874
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
108875
|
+
type: "tree-louyu",
|
|
108874
108876
|
class: "tree-icon"
|
|
108875
108877
|
})];
|
|
108876
108878
|
}),
|
|
108877
108879
|
layerIcon: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108878
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(
|
|
108879
|
-
type: "
|
|
108880
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
108881
|
+
type: "tree-louceng",
|
|
108880
108882
|
class: "tree-icon"
|
|
108881
108883
|
})];
|
|
108882
108884
|
}),
|
|
108883
108885
|
roomIcon: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108884
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(
|
|
108885
|
-
type: "
|
|
108886
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
108887
|
+
type: "tree-fangjian",
|
|
108886
108888
|
class: "tree-icon"
|
|
108887
108889
|
})];
|
|
108888
108890
|
}),
|
|
@@ -108895,7 +108897,7 @@ function ChooseHousingResourcesvue_type_template_id_2abb7d1e_scoped_true_render(
|
|
|
108895
108897
|
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(dataRef.disabledTip), 1)];
|
|
108896
108898
|
}),
|
|
108897
108899
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(function () {
|
|
108898
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
108900
|
+
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ChooseHousingResourcesvue_type_template_id_04172452_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, {
|
|
108899
108901
|
key: 0,
|
|
108900
108902
|
class: "locked"
|
|
108901
108903
|
})) : 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)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
@@ -108908,7 +108910,7 @@ function ChooseHousingResourcesvue_type_template_id_2abb7d1e_scoped_true_render(
|
|
|
108908
108910
|
_: 1
|
|
108909
108911
|
}, 8, ["expandedKeys", "checkedKeys", "tree-data", "load-data", "onCheck"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]);
|
|
108910
108912
|
}
|
|
108911
|
-
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=
|
|
108913
|
+
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=template&id=04172452&scoped=true
|
|
108912
108914
|
|
|
108913
108915
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
108914
108916
|
var es_array_iterator = __webpack_require__("e260");
|
|
@@ -108928,216 +108930,6 @@ var es_array_find = __webpack_require__("7db0");
|
|
|
108928
108930
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
108929
108931
|
var es_array_filter = __webpack_require__("4de4");
|
|
108930
108932
|
|
|
108931
|
-
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/utils.js + 6 modules
|
|
108932
|
-
var es_utils = __webpack_require__("2adb");
|
|
108933
|
-
|
|
108934
|
-
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/components/Icon.js
|
|
108935
|
-
var _excluded = ["class", "component", "viewBox", "spin", "rotate", "tabindex", "onClick"];
|
|
108936
|
-
|
|
108937
|
-
|
|
108938
|
-
function Icon_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { Icon_defineProperty(target, key, source[key]); }); } return target; }
|
|
108939
|
-
|
|
108940
|
-
function Icon_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
108941
|
-
|
|
108942
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
108943
|
-
|
|
108944
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
108945
|
-
|
|
108946
|
-
|
|
108947
|
-
|
|
108948
|
-
var Icon_Icon = function Icon(props, context) {
|
|
108949
|
-
var attrs = context.attrs,
|
|
108950
|
-
slots = context.slots;
|
|
108951
|
-
|
|
108952
|
-
var _props$attrs = Icon_objectSpread({}, props, attrs),
|
|
108953
|
-
cls = _props$attrs["class"],
|
|
108954
|
-
Component = _props$attrs.component,
|
|
108955
|
-
viewBox = _props$attrs.viewBox,
|
|
108956
|
-
spin = _props$attrs.spin,
|
|
108957
|
-
rotate = _props$attrs.rotate,
|
|
108958
|
-
tabindex = _props$attrs.tabindex,
|
|
108959
|
-
onClick = _props$attrs.onClick,
|
|
108960
|
-
restProps = _objectWithoutProperties(_props$attrs, _excluded);
|
|
108961
|
-
|
|
108962
|
-
var children = slots["default"] && slots["default"]();
|
|
108963
|
-
var hasChildren = children && children.length;
|
|
108964
|
-
var slotsComponent = slots.component;
|
|
108965
|
-
Object(es_utils["g" /* warning */])(Boolean(Component || hasChildren || slotsComponent), 'Should have `component` prop/slot or `children`.');
|
|
108966
|
-
Object(es_utils["f" /* useInsertStyles */])();
|
|
108967
|
-
|
|
108968
|
-
var classString = Icon_defineProperty({
|
|
108969
|
-
anticon: true
|
|
108970
|
-
}, cls, cls);
|
|
108971
|
-
|
|
108972
|
-
var svgClassString = {
|
|
108973
|
-
'anticon-spin': spin === '' || !!spin
|
|
108974
|
-
};
|
|
108975
|
-
var svgStyle = rotate ? {
|
|
108976
|
-
msTransform: "rotate(".concat(rotate, "deg)"),
|
|
108977
|
-
transform: "rotate(".concat(rotate, "deg)")
|
|
108978
|
-
} : undefined;
|
|
108979
|
-
|
|
108980
|
-
var innerSvgProps = Icon_objectSpread({}, es_utils["e" /* svgBaseProps */], {
|
|
108981
|
-
viewBox: viewBox,
|
|
108982
|
-
"class": svgClassString,
|
|
108983
|
-
style: svgStyle
|
|
108984
|
-
});
|
|
108985
|
-
|
|
108986
|
-
if (!viewBox) {
|
|
108987
|
-
delete innerSvgProps.viewBox;
|
|
108988
|
-
}
|
|
108989
|
-
|
|
108990
|
-
var renderInnerNode = function renderInnerNode() {
|
|
108991
|
-
if (Component) {
|
|
108992
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Component, innerSvgProps, {
|
|
108993
|
-
"default": function _default() {
|
|
108994
|
-
return [children];
|
|
108995
|
-
}
|
|
108996
|
-
});
|
|
108997
|
-
}
|
|
108998
|
-
|
|
108999
|
-
if (slotsComponent) {
|
|
109000
|
-
return slotsComponent(innerSvgProps);
|
|
109001
|
-
}
|
|
109002
|
-
|
|
109003
|
-
if (hasChildren) {
|
|
109004
|
-
Object(es_utils["g" /* warning */])(Boolean(viewBox) || children.length === 1 && children[0] && children[0].type === 'use', 'Make sure that you provide correct `viewBox`' + ' prop (default `0 0 1024 1024`) to the icon.');
|
|
109005
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("svg", Icon_objectSpread({}, innerSvgProps, {
|
|
109006
|
-
"viewBox": viewBox
|
|
109007
|
-
}), [children]);
|
|
109008
|
-
}
|
|
109009
|
-
|
|
109010
|
-
return null;
|
|
109011
|
-
};
|
|
109012
|
-
|
|
109013
|
-
var iconTabIndex = tabindex;
|
|
109014
|
-
|
|
109015
|
-
if (iconTabIndex === undefined && onClick) {
|
|
109016
|
-
iconTabIndex = -1;
|
|
109017
|
-
restProps.tabindex = iconTabIndex;
|
|
109018
|
-
}
|
|
109019
|
-
|
|
109020
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", Icon_objectSpread({
|
|
109021
|
-
"role": "img"
|
|
109022
|
-
}, restProps, {
|
|
109023
|
-
"onClick": onClick,
|
|
109024
|
-
"class": classString
|
|
109025
|
-
}), [renderInnerNode()]);
|
|
109026
|
-
};
|
|
109027
|
-
|
|
109028
|
-
Icon_Icon.props = {
|
|
109029
|
-
spin: Boolean,
|
|
109030
|
-
rotate: Number,
|
|
109031
|
-
viewBox: String,
|
|
109032
|
-
ariaLabel: String
|
|
109033
|
-
};
|
|
109034
|
-
Icon_Icon.inheritAttrs = false;
|
|
109035
|
-
Icon_Icon.displayName = 'Icon';
|
|
109036
|
-
/* harmony default export */ var components_Icon = (Icon_Icon);
|
|
109037
|
-
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/components/IconFont.js
|
|
109038
|
-
var IconFont_excluded = ["type"];
|
|
109039
|
-
|
|
109040
|
-
|
|
109041
|
-
function IconFont_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { IconFont_defineProperty(target, key, source[key]); }); } return target; }
|
|
109042
|
-
|
|
109043
|
-
function IconFont_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
109044
|
-
|
|
109045
|
-
function IconFont_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = IconFont_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
109046
|
-
|
|
109047
|
-
function IconFont_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
109048
|
-
|
|
109049
|
-
|
|
109050
|
-
var customCache = new Set();
|
|
109051
|
-
|
|
109052
|
-
function isValidCustomScriptUrl(scriptUrl) {
|
|
109053
|
-
return typeof scriptUrl === 'string' && scriptUrl.length && !customCache.has(scriptUrl);
|
|
109054
|
-
}
|
|
109055
|
-
|
|
109056
|
-
function createScriptUrlElements(scriptUrls) {
|
|
109057
|
-
var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
109058
|
-
var currentScriptUrl = scriptUrls[index];
|
|
109059
|
-
|
|
109060
|
-
if (isValidCustomScriptUrl(currentScriptUrl)) {
|
|
109061
|
-
var script = document.createElement('script');
|
|
109062
|
-
script.setAttribute('src', currentScriptUrl);
|
|
109063
|
-
script.setAttribute('data-namespace', currentScriptUrl);
|
|
109064
|
-
|
|
109065
|
-
if (scriptUrls.length > index + 1) {
|
|
109066
|
-
script.onload = function () {
|
|
109067
|
-
createScriptUrlElements(scriptUrls, index + 1);
|
|
109068
|
-
};
|
|
109069
|
-
|
|
109070
|
-
script.onerror = function () {
|
|
109071
|
-
createScriptUrlElements(scriptUrls, index + 1);
|
|
109072
|
-
};
|
|
109073
|
-
}
|
|
109074
|
-
|
|
109075
|
-
customCache.add(currentScriptUrl);
|
|
109076
|
-
document.body.appendChild(script);
|
|
109077
|
-
}
|
|
109078
|
-
}
|
|
109079
|
-
|
|
109080
|
-
function create() {
|
|
109081
|
-
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
109082
|
-
var scriptUrl = options.scriptUrl,
|
|
109083
|
-
_options$extraCommonP = options.extraCommonProps,
|
|
109084
|
-
extraCommonProps = _options$extraCommonP === void 0 ? {} : _options$extraCommonP;
|
|
109085
|
-
/**
|
|
109086
|
-
* DOM API required.
|
|
109087
|
-
* Make sure in browser environment.
|
|
109088
|
-
* The Custom Icon will create a <script/>
|
|
109089
|
-
* that loads SVG symbols and insert the SVG Element into the document body.
|
|
109090
|
-
*/
|
|
109091
|
-
|
|
109092
|
-
if (typeof document !== 'undefined' && typeof window !== 'undefined' && typeof document.createElement === 'function') {
|
|
109093
|
-
if (Array.isArray(scriptUrl)) {
|
|
109094
|
-
// 因为iconfont资源会把svg插入before,所以前加载相同type会覆盖后加载,为了数组覆盖顺序,倒叙插入
|
|
109095
|
-
createScriptUrlElements(scriptUrl.reverse());
|
|
109096
|
-
} else {
|
|
109097
|
-
createScriptUrlElements([scriptUrl]);
|
|
109098
|
-
}
|
|
109099
|
-
}
|
|
109100
|
-
|
|
109101
|
-
var Iconfont = function Iconfont(props, context) {
|
|
109102
|
-
var attrs = context.attrs,
|
|
109103
|
-
slots = context.slots;
|
|
109104
|
-
|
|
109105
|
-
var _props$attrs = IconFont_objectSpread({}, props, attrs),
|
|
109106
|
-
type = _props$attrs.type,
|
|
109107
|
-
restProps = IconFont_objectWithoutProperties(_props$attrs, IconFont_excluded);
|
|
109108
|
-
|
|
109109
|
-
var children = slots["default"] && slots["default"](); // children > type
|
|
109110
|
-
|
|
109111
|
-
var content = null;
|
|
109112
|
-
|
|
109113
|
-
if (type) {
|
|
109114
|
-
content = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("use", {
|
|
109115
|
-
"xlink:href": "#".concat(type)
|
|
109116
|
-
}, null);
|
|
109117
|
-
}
|
|
109118
|
-
|
|
109119
|
-
if (children && children.length) {
|
|
109120
|
-
content = children;
|
|
109121
|
-
}
|
|
109122
|
-
|
|
109123
|
-
var iconProps = IconFont_objectSpread({}, extraCommonProps, restProps);
|
|
109124
|
-
|
|
109125
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(components_Icon, iconProps, {
|
|
109126
|
-
"default": function _default() {
|
|
109127
|
-
return [content];
|
|
109128
|
-
}
|
|
109129
|
-
});
|
|
109130
|
-
};
|
|
109131
|
-
|
|
109132
|
-
Iconfont.props = {
|
|
109133
|
-
spin: Boolean,
|
|
109134
|
-
rotate: Number,
|
|
109135
|
-
type: String
|
|
109136
|
-
};
|
|
109137
|
-
Iconfont.inheritAttrs = false;
|
|
109138
|
-
Iconfont.displayName = 'Iconfont';
|
|
109139
|
-
return Iconfont;
|
|
109140
|
-
}
|
|
109141
108933
|
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/GoldenFilled.js
|
|
109142
108934
|
// This icon file is generated automatically.
|
|
109143
108935
|
var GoldenFilled_GoldenFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z" } }] }, "name": "golden", "theme": "filled" };
|
|
@@ -110172,38 +109964,270 @@ var Alert = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponen
|
|
|
110172
109964
|
}
|
|
110173
109965
|
});
|
|
110174
109966
|
/* harmony default export */ var es_alert = (Object(_util_type["b" /* withInstall */])(Alert));
|
|
110175
|
-
//
|
|
109967
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/utils.js + 6 modules
|
|
109968
|
+
var es_utils = __webpack_require__("2adb");
|
|
110176
109969
|
|
|
109970
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/components/Icon.js
|
|
109971
|
+
var _excluded = ["class", "component", "viewBox", "spin", "rotate", "tabindex", "onClick"];
|
|
110177
109972
|
|
|
110178
109973
|
|
|
109974
|
+
function Icon_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { Icon_defineProperty(target, key, source[key]); }); } return target; }
|
|
110179
109975
|
|
|
109976
|
+
function Icon_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
110180
109977
|
|
|
109978
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
110181
109979
|
|
|
109980
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
110182
109981
|
|
|
110183
109982
|
|
|
110184
109983
|
|
|
109984
|
+
var Icon_Icon = function Icon(props, context) {
|
|
109985
|
+
var attrs = context.attrs,
|
|
109986
|
+
slots = context.slots;
|
|
110185
109987
|
|
|
109988
|
+
var _props$attrs = Icon_objectSpread({}, props, attrs),
|
|
109989
|
+
cls = _props$attrs["class"],
|
|
109990
|
+
Component = _props$attrs.component,
|
|
109991
|
+
viewBox = _props$attrs.viewBox,
|
|
109992
|
+
spin = _props$attrs.spin,
|
|
109993
|
+
rotate = _props$attrs.rotate,
|
|
109994
|
+
tabindex = _props$attrs.tabindex,
|
|
109995
|
+
onClick = _props$attrs.onClick,
|
|
109996
|
+
restProps = _objectWithoutProperties(_props$attrs, _excluded);
|
|
110186
109997
|
|
|
109998
|
+
var children = slots["default"] && slots["default"]();
|
|
109999
|
+
var hasChildren = children && children.length;
|
|
110000
|
+
var slotsComponent = slots.component;
|
|
110001
|
+
Object(es_utils["g" /* warning */])(Boolean(Component || hasChildren || slotsComponent), 'Should have `component` prop/slot or `children`.');
|
|
110002
|
+
Object(es_utils["f" /* useInsertStyles */])();
|
|
110187
110003
|
|
|
110004
|
+
var classString = Icon_defineProperty({
|
|
110005
|
+
anticon: true
|
|
110006
|
+
}, cls, cls);
|
|
110188
110007
|
|
|
110008
|
+
var svgClassString = {
|
|
110009
|
+
'anticon-spin': spin === '' || !!spin
|
|
110010
|
+
};
|
|
110011
|
+
var svgStyle = rotate ? {
|
|
110012
|
+
msTransform: "rotate(".concat(rotate, "deg)"),
|
|
110013
|
+
transform: "rotate(".concat(rotate, "deg)")
|
|
110014
|
+
} : undefined;
|
|
110189
110015
|
|
|
110016
|
+
var innerSvgProps = Icon_objectSpread({}, es_utils["e" /* svgBaseProps */], {
|
|
110017
|
+
viewBox: viewBox,
|
|
110018
|
+
"class": svgClassString,
|
|
110019
|
+
style: svgStyle
|
|
110020
|
+
});
|
|
110190
110021
|
|
|
110022
|
+
if (!viewBox) {
|
|
110023
|
+
delete innerSvgProps.viewBox;
|
|
110024
|
+
}
|
|
110191
110025
|
|
|
110026
|
+
var renderInnerNode = function renderInnerNode() {
|
|
110027
|
+
if (Component) {
|
|
110028
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(Component, innerSvgProps, {
|
|
110029
|
+
"default": function _default() {
|
|
110030
|
+
return [children];
|
|
110031
|
+
}
|
|
110032
|
+
});
|
|
110033
|
+
}
|
|
110192
110034
|
|
|
110035
|
+
if (slotsComponent) {
|
|
110036
|
+
return slotsComponent(innerSvgProps);
|
|
110037
|
+
}
|
|
110193
110038
|
|
|
110039
|
+
if (hasChildren) {
|
|
110040
|
+
Object(es_utils["g" /* warning */])(Boolean(viewBox) || children.length === 1 && children[0] && children[0].type === 'use', 'Make sure that you provide correct `viewBox`' + ' prop (default `0 0 1024 1024`) to the icon.');
|
|
110041
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("svg", Icon_objectSpread({}, innerSvgProps, {
|
|
110042
|
+
"viewBox": viewBox
|
|
110043
|
+
}), [children]);
|
|
110044
|
+
}
|
|
110194
110045
|
|
|
110046
|
+
return null;
|
|
110047
|
+
};
|
|
110195
110048
|
|
|
110049
|
+
var iconTabIndex = tabindex;
|
|
110196
110050
|
|
|
110051
|
+
if (iconTabIndex === undefined && onClick) {
|
|
110052
|
+
iconTabIndex = -1;
|
|
110053
|
+
restProps.tabindex = iconTabIndex;
|
|
110054
|
+
}
|
|
110055
|
+
|
|
110056
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", Icon_objectSpread({
|
|
110057
|
+
"role": "img"
|
|
110058
|
+
}, restProps, {
|
|
110059
|
+
"onClick": onClick,
|
|
110060
|
+
"class": classString
|
|
110061
|
+
}), [renderInnerNode()]);
|
|
110062
|
+
};
|
|
110063
|
+
|
|
110064
|
+
Icon_Icon.props = {
|
|
110065
|
+
spin: Boolean,
|
|
110066
|
+
rotate: Number,
|
|
110067
|
+
viewBox: String,
|
|
110068
|
+
ariaLabel: String
|
|
110069
|
+
};
|
|
110070
|
+
Icon_Icon.inheritAttrs = false;
|
|
110071
|
+
Icon_Icon.displayName = 'Icon';
|
|
110072
|
+
/* harmony default export */ var components_Icon = (Icon_Icon);
|
|
110073
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/components/IconFont.js
|
|
110074
|
+
var IconFont_excluded = ["type"];
|
|
110075
|
+
|
|
110076
|
+
|
|
110077
|
+
function IconFont_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { IconFont_defineProperty(target, key, source[key]); }); } return target; }
|
|
110078
|
+
|
|
110079
|
+
function IconFont_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
110080
|
+
|
|
110081
|
+
function IconFont_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = IconFont_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
110082
|
+
|
|
110083
|
+
function IconFont_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
110084
|
+
|
|
110085
|
+
|
|
110086
|
+
var customCache = new Set();
|
|
110087
|
+
|
|
110088
|
+
function isValidCustomScriptUrl(scriptUrl) {
|
|
110089
|
+
return typeof scriptUrl === 'string' && scriptUrl.length && !customCache.has(scriptUrl);
|
|
110090
|
+
}
|
|
110091
|
+
|
|
110092
|
+
function createScriptUrlElements(scriptUrls) {
|
|
110093
|
+
var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
110094
|
+
var currentScriptUrl = scriptUrls[index];
|
|
110095
|
+
|
|
110096
|
+
if (isValidCustomScriptUrl(currentScriptUrl)) {
|
|
110097
|
+
var script = document.createElement('script');
|
|
110098
|
+
script.setAttribute('src', currentScriptUrl);
|
|
110099
|
+
script.setAttribute('data-namespace', currentScriptUrl);
|
|
110100
|
+
|
|
110101
|
+
if (scriptUrls.length > index + 1) {
|
|
110102
|
+
script.onload = function () {
|
|
110103
|
+
createScriptUrlElements(scriptUrls, index + 1);
|
|
110104
|
+
};
|
|
110105
|
+
|
|
110106
|
+
script.onerror = function () {
|
|
110107
|
+
createScriptUrlElements(scriptUrls, index + 1);
|
|
110108
|
+
};
|
|
110109
|
+
}
|
|
110110
|
+
|
|
110111
|
+
customCache.add(currentScriptUrl);
|
|
110112
|
+
document.body.appendChild(script);
|
|
110113
|
+
}
|
|
110114
|
+
}
|
|
110115
|
+
|
|
110116
|
+
function create() {
|
|
110117
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
110118
|
+
var scriptUrl = options.scriptUrl,
|
|
110119
|
+
_options$extraCommonP = options.extraCommonProps,
|
|
110120
|
+
extraCommonProps = _options$extraCommonP === void 0 ? {} : _options$extraCommonP;
|
|
110121
|
+
/**
|
|
110122
|
+
* DOM API required.
|
|
110123
|
+
* Make sure in browser environment.
|
|
110124
|
+
* The Custom Icon will create a <script/>
|
|
110125
|
+
* that loads SVG symbols and insert the SVG Element into the document body.
|
|
110126
|
+
*/
|
|
110127
|
+
|
|
110128
|
+
if (typeof document !== 'undefined' && typeof window !== 'undefined' && typeof document.createElement === 'function') {
|
|
110129
|
+
if (Array.isArray(scriptUrl)) {
|
|
110130
|
+
// 因为iconfont资源会把svg插入before,所以前加载相同type会覆盖后加载,为了数组覆盖顺序,倒叙插入
|
|
110131
|
+
createScriptUrlElements(scriptUrl.reverse());
|
|
110132
|
+
} else {
|
|
110133
|
+
createScriptUrlElements([scriptUrl]);
|
|
110134
|
+
}
|
|
110135
|
+
}
|
|
110136
|
+
|
|
110137
|
+
var Iconfont = function Iconfont(props, context) {
|
|
110138
|
+
var attrs = context.attrs,
|
|
110139
|
+
slots = context.slots;
|
|
110140
|
+
|
|
110141
|
+
var _props$attrs = IconFont_objectSpread({}, props, attrs),
|
|
110142
|
+
type = _props$attrs.type,
|
|
110143
|
+
restProps = IconFont_objectWithoutProperties(_props$attrs, IconFont_excluded);
|
|
110144
|
+
|
|
110145
|
+
var children = slots["default"] && slots["default"](); // children > type
|
|
110146
|
+
|
|
110147
|
+
var content = null;
|
|
110148
|
+
|
|
110149
|
+
if (type) {
|
|
110150
|
+
content = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("use", {
|
|
110151
|
+
"xlink:href": "#".concat(type)
|
|
110152
|
+
}, null);
|
|
110153
|
+
}
|
|
110154
|
+
|
|
110155
|
+
if (children && children.length) {
|
|
110156
|
+
content = children;
|
|
110157
|
+
}
|
|
110158
|
+
|
|
110159
|
+
var iconProps = IconFont_objectSpread({}, extraCommonProps, restProps);
|
|
110160
|
+
|
|
110161
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(components_Icon, iconProps, {
|
|
110162
|
+
"default": function _default() {
|
|
110163
|
+
return [content];
|
|
110164
|
+
}
|
|
110165
|
+
});
|
|
110166
|
+
};
|
|
110167
|
+
|
|
110168
|
+
Iconfont.props = {
|
|
110169
|
+
spin: Boolean,
|
|
110170
|
+
rotate: Number,
|
|
110171
|
+
type: String
|
|
110172
|
+
};
|
|
110173
|
+
Iconfont.inheritAttrs = false;
|
|
110174
|
+
Iconfont.displayName = 'Iconfont';
|
|
110175
|
+
return Iconfont;
|
|
110176
|
+
}
|
|
110177
|
+
// CONCATENATED MODULE: ./src/components/BLIcon/index.js
|
|
110178
|
+
|
|
110179
|
+
|
|
110180
|
+
|
|
110181
|
+
var BLIcon = create({
|
|
110182
|
+
scriptUrl: "//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js" // 在 iconfont.cn 上生成
|
|
110197
110183
|
|
|
110198
|
-
var CuIcon = create({
|
|
110199
|
-
scriptUrl: "//at.alicdn.com/t/c/font_2875682_504psvt0m8s.js"
|
|
110200
110184
|
});
|
|
110185
|
+
/* harmony default export */ var components_BLIcon = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
110186
|
+
props: {
|
|
110187
|
+
type: {
|
|
110188
|
+
type: String,
|
|
110189
|
+
default: ""
|
|
110190
|
+
}
|
|
110191
|
+
},
|
|
110192
|
+
setup: function setup() {
|
|
110193
|
+
return function () {
|
|
110194
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(BLIcon, {
|
|
110195
|
+
"type": "bl-".concat(props.type)
|
|
110196
|
+
}, null);
|
|
110197
|
+
};
|
|
110198
|
+
}
|
|
110199
|
+
}));
|
|
110200
|
+
// 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
|
|
110201
|
+
|
|
110202
|
+
|
|
110203
|
+
|
|
110204
|
+
|
|
110205
|
+
|
|
110206
|
+
|
|
110207
|
+
|
|
110208
|
+
|
|
110209
|
+
|
|
110210
|
+
|
|
110211
|
+
|
|
110212
|
+
|
|
110213
|
+
|
|
110214
|
+
|
|
110215
|
+
|
|
110216
|
+
|
|
110217
|
+
|
|
110218
|
+
|
|
110219
|
+
|
|
110220
|
+
|
|
110221
|
+
|
|
110222
|
+
|
|
110223
|
+
|
|
110224
|
+
|
|
110201
110225
|
/* harmony default export */ var ChooseHousingResourcesvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
110202
110226
|
name: "ChooseHousingResources",
|
|
110203
110227
|
components: {
|
|
110204
110228
|
GoldenFilled: icons_GoldenFilled,
|
|
110205
110229
|
LockOutlined: icons_LockOutlined,
|
|
110206
|
-
|
|
110230
|
+
"bl-icon": components_BLIcon,
|
|
110207
110231
|
"a-tree": es_tree,
|
|
110208
110232
|
"a-alert": es_alert,
|
|
110209
110233
|
"a-tooltip": tooltip["a" /* default */]
|
|
@@ -110260,6 +110284,11 @@ var CuIcon = create({
|
|
|
110260
110284
|
// roomId: 0,
|
|
110261
110285
|
};
|
|
110262
110286
|
}
|
|
110287
|
+
},
|
|
110288
|
+
// 只展示某个类型的项目,不传为展示所有类型的项目
|
|
110289
|
+
villageType: {
|
|
110290
|
+
type: String,
|
|
110291
|
+
default: ""
|
|
110263
110292
|
}
|
|
110264
110293
|
},
|
|
110265
110294
|
setup: function setup(props, _ref) {
|
|
@@ -110277,6 +110306,7 @@ var CuIcon = create({
|
|
|
110277
110306
|
var initState = {
|
|
110278
110307
|
// 展示的树数据
|
|
110279
110308
|
treeList: [],
|
|
110309
|
+
originData: undefined,
|
|
110280
110310
|
// 树展开节点key值集合
|
|
110281
110311
|
expandedKeys: [],
|
|
110282
110312
|
// 选中节点的key值集合
|
|
@@ -110759,19 +110789,34 @@ var CuIcon = create({
|
|
|
110759
110789
|
};
|
|
110760
110790
|
/************* 动态获取楼层、房间 --end **************/
|
|
110761
110791
|
|
|
110762
|
-
/*************
|
|
110763
|
-
// ------case 1
|
|
110792
|
+
/************* 根据项目类型筛选项目 --start **************/
|
|
110764
110793
|
|
|
110765
110794
|
|
|
110766
|
-
|
|
110767
|
-
|
|
110768
|
-
|
|
110769
|
-
|
|
110770
|
-
|
|
110771
|
-
|
|
110795
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
110796
|
+
return props.villageType;
|
|
110797
|
+
}, function (val) {
|
|
110798
|
+
if (val) {
|
|
110799
|
+
filterVillageByType();
|
|
110800
|
+
} else {
|
|
110801
|
+
state.treeList = JSON.parse(state.originData);
|
|
110802
|
+
}
|
|
110803
|
+
});
|
|
110772
110804
|
|
|
110805
|
+
var filterVillageByType = function filterVillageByType() {
|
|
110806
|
+
if (!props.villageType) {
|
|
110807
|
+
return;
|
|
110808
|
+
}
|
|
110773
110809
|
|
|
110774
|
-
|
|
110810
|
+
if (showDpt.value) {
|
|
110811
|
+
state.treeList = filterDeptVillageByType(state.treeList);
|
|
110812
|
+
} else {
|
|
110813
|
+
state.treeList = state.treeList.filter(function (item) {
|
|
110814
|
+
return item.type == props.villageType;
|
|
110815
|
+
});
|
|
110816
|
+
}
|
|
110817
|
+
};
|
|
110818
|
+
|
|
110819
|
+
var filterDeptVillageByType = function filterDeptVillageByType(list) {
|
|
110775
110820
|
var result = [];
|
|
110776
110821
|
|
|
110777
110822
|
var _iterator3 = Object(createForOfIteratorHelper["a" /* default */])(list),
|
|
@@ -110779,35 +110824,14 @@ var CuIcon = create({
|
|
|
110779
110824
|
|
|
110780
110825
|
try {
|
|
110781
110826
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
110782
|
-
var
|
|
110827
|
+
var item = _step3.value;
|
|
110783
110828
|
|
|
110784
|
-
|
|
110785
|
-
|
|
110786
|
-
listItem.childType = "department"; //listItem.type == 0 ? "topCompany" : "department";
|
|
110787
|
-
|
|
110788
|
-
listItem.key = "".concat(listItem.childType, "-").concat(listItem.id); // 部门用中划线,房源用下划线,方便整理选中房源key
|
|
110789
|
-
|
|
110790
|
-
listItem.title = listItem.name;
|
|
110791
|
-
listItem.level = level;
|
|
110792
|
-
listItem.disableCheckbox = true;
|
|
110793
|
-
listItem.slots = {
|
|
110794
|
-
icon: "".concat(listItem.childType, "Icon")
|
|
110795
|
-
};
|
|
110796
|
-
listItem.children = [];
|
|
110797
|
-
|
|
110798
|
-
if (listItem.subcat && listItem.subcat.length) {
|
|
110799
|
-
listItem.children = getDeptTreeList(listItem.subcat, level + 1);
|
|
110800
|
-
}
|
|
110829
|
+
if (item.childType != "village" || item.type == props.villageType) {
|
|
110830
|
+
result.push(item);
|
|
110801
110831
|
|
|
110802
|
-
if (
|
|
110803
|
-
|
|
110804
|
-
state.deptVillageMap[listItem.id] = villageList;
|
|
110805
|
-
listItem.children = [].concat(Object(toConsumableArray["a" /* default */])(listItem.children), Object(toConsumableArray["a" /* default */])(villageList));
|
|
110832
|
+
if (item.children && item.children.length) {
|
|
110833
|
+
item.children = filterDeptVillageByType(item.children);
|
|
110806
110834
|
}
|
|
110807
|
-
|
|
110808
|
-
listItem.isLeaf = listItem.children.length === 0;
|
|
110809
|
-
result.push(listItem);
|
|
110810
|
-
state.expandedKeys.push(listItem.key);
|
|
110811
110835
|
}
|
|
110812
110836
|
}
|
|
110813
110837
|
} catch (err) {
|
|
@@ -110817,63 +110841,10 @@ var CuIcon = create({
|
|
|
110817
110841
|
}
|
|
110818
110842
|
|
|
110819
110843
|
return result;
|
|
110820
|
-
};
|
|
110821
|
-
|
|
110822
|
-
|
|
110823
|
-
var getVillageTreeList = function getVillageTreeList(villageList) {
|
|
110824
|
-
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
110825
|
-
var parentKey = arguments.length > 2 ? arguments[2] : undefined;
|
|
110826
|
-
return villageList.map(function (village) {
|
|
110827
|
-
village.childType = "village";
|
|
110828
|
-
village.key = "".concat(parentKey ? parentKey + "-" : "").concat(village.childType, "_").concat(village.id);
|
|
110829
|
-
village.title = village.name;
|
|
110830
|
-
village.level = level;
|
|
110831
|
-
village.disableCheckbox = !!props.limitType;
|
|
110832
|
-
village.slots = {
|
|
110833
|
-
icon: "".concat(village.childType, "Icon")
|
|
110834
|
-
};
|
|
110835
|
-
|
|
110836
|
-
if (props.checkType == village.childType) {
|
|
110837
|
-
village.isLeaf = true;
|
|
110838
|
-
} else {
|
|
110839
|
-
if (village.buildList && village.buildList.length) {
|
|
110840
|
-
village.isLeaf = false;
|
|
110841
|
-
village.children = village.buildList.map(function (build) {
|
|
110842
|
-
return Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, build), {}, {
|
|
110843
|
-
level: level,
|
|
110844
|
-
childType: "build",
|
|
110845
|
-
key: "".concat(village.key, "_build_").concat(build.id),
|
|
110846
|
-
title: build.build_name,
|
|
110847
|
-
disableCheckbox: props.limitType && props.limitType != "village",
|
|
110848
|
-
extra: {
|
|
110849
|
-
village_id: village.id,
|
|
110850
|
-
village_name: village.name,
|
|
110851
|
-
village_short_name: village.short_name
|
|
110852
|
-
},
|
|
110853
|
-
slots: {
|
|
110854
|
-
icon: "buildIcon"
|
|
110855
|
-
},
|
|
110856
|
-
isLeaf: props.checkType == "build"
|
|
110857
|
-
});
|
|
110858
|
-
});
|
|
110859
|
-
} else {
|
|
110860
|
-
village.isLeaf = true;
|
|
110861
|
-
}
|
|
110862
|
-
|
|
110863
|
-
state.expandedKeys.push(village.key);
|
|
110864
|
-
}
|
|
110865
|
-
|
|
110866
|
-
return village;
|
|
110867
|
-
});
|
|
110868
|
-
}; // -------case 2
|
|
110869
|
-
|
|
110844
|
+
};
|
|
110845
|
+
/************* 根据项目类型筛选项目 --end **************/
|
|
110870
110846
|
|
|
110871
|
-
|
|
110872
|
-
state.treeList = getVillageTreeList(villageList);
|
|
110873
|
-
setDefaultChecked(1);
|
|
110874
|
-
setDefaultChecked(2);
|
|
110875
|
-
CL("treeList", state.treeList);
|
|
110876
|
-
}; // 默认选中房源
|
|
110847
|
+
/************* 设置默认选中房源 --start **************/
|
|
110877
110848
|
|
|
110878
110849
|
|
|
110879
110850
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
@@ -110889,7 +110860,7 @@ var CuIcon = create({
|
|
|
110889
110860
|
if (defaultCheckedNotEmpty(2) && !state.checkedKeys.length) {
|
|
110890
110861
|
setDefaultChecked(2);
|
|
110891
110862
|
}
|
|
110892
|
-
});
|
|
110863
|
+
}); // 默认选中参数是否为空
|
|
110893
110864
|
|
|
110894
110865
|
var defaultCheckedNotEmpty = function defaultCheckedNotEmpty() {
|
|
110895
110866
|
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
@@ -110902,7 +110873,8 @@ var CuIcon = create({
|
|
|
110902
110873
|
}
|
|
110903
110874
|
|
|
110904
110875
|
return false;
|
|
110905
|
-
};
|
|
110876
|
+
}; // 设置默认选中
|
|
110877
|
+
|
|
110906
110878
|
|
|
110907
110879
|
var setDefaultChecked = function setDefaultChecked() {
|
|
110908
110880
|
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
@@ -110918,7 +110890,8 @@ var CuIcon = create({
|
|
|
110918
110890
|
if (type == 2) {
|
|
110919
110891
|
setDefaultIdsChecked();
|
|
110920
110892
|
}
|
|
110921
|
-
};
|
|
110893
|
+
}; // 根据房源列表选中房源
|
|
110894
|
+
|
|
110922
110895
|
|
|
110923
110896
|
var setDefaultListChecked = function setDefaultListChecked() {
|
|
110924
110897
|
if (!defaultCheckedNotEmpty(1)) {
|
|
@@ -110987,7 +110960,8 @@ var CuIcon = create({
|
|
|
110987
110960
|
CL("setDefaultChecked checkedKeys", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRaw"])(state.checkedKeys));
|
|
110988
110961
|
});
|
|
110989
110962
|
}
|
|
110990
|
-
};
|
|
110963
|
+
}; // 根据id选中房源
|
|
110964
|
+
|
|
110991
110965
|
|
|
110992
110966
|
var setDefaultIdsChecked = function setDefaultIdsChecked() {
|
|
110993
110967
|
if (!defaultCheckedNotEmpty(2)) {
|
|
@@ -111027,7 +111001,8 @@ var CuIcon = create({
|
|
|
111027
111001
|
CL("setDefaultChecked checkedKeys", Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRaw"])(state.checkedKeys));
|
|
111028
111002
|
});
|
|
111029
111003
|
}
|
|
111030
|
-
};
|
|
111004
|
+
}; // 根据id获取项目信息
|
|
111005
|
+
|
|
111031
111006
|
|
|
111032
111007
|
var getVillageById = function getVillageById(villageId) {
|
|
111033
111008
|
if (showDpt.value) {
|
|
@@ -111054,6 +111029,127 @@ var CuIcon = create({
|
|
|
111054
111029
|
};
|
|
111055
111030
|
}
|
|
111056
111031
|
};
|
|
111032
|
+
/************* 设置默认选中房源 --end **************/
|
|
111033
|
+
|
|
111034
|
+
/************* 获取树数据 --start **************/
|
|
111035
|
+
// ------case 1
|
|
111036
|
+
|
|
111037
|
+
|
|
111038
|
+
var getDeptAndVillageTree = function getDeptAndVillageTree(list) {
|
|
111039
|
+
state.treeList = getDeptTreeList(list, 1);
|
|
111040
|
+
state.originData = JSON.stringify(state.treeList);
|
|
111041
|
+
filterVillageByType();
|
|
111042
|
+
CL("treeList", state.treeList);
|
|
111043
|
+
setDefaultChecked(1);
|
|
111044
|
+
setDefaultChecked(2);
|
|
111045
|
+
}; // 获取部门树列表
|
|
111046
|
+
|
|
111047
|
+
|
|
111048
|
+
var getDeptTreeList = function getDeptTreeList(list, level) {
|
|
111049
|
+
var result = [];
|
|
111050
|
+
|
|
111051
|
+
var _iterator4 = Object(createForOfIteratorHelper["a" /* default */])(list),
|
|
111052
|
+
_step4;
|
|
111053
|
+
|
|
111054
|
+
try {
|
|
111055
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
111056
|
+
var listItem = _step4.value;
|
|
111057
|
+
|
|
111058
|
+
// 非项目管理部门
|
|
111059
|
+
if (listItem.type !== 3) {
|
|
111060
|
+
listItem.childType = "department"; //listItem.type == 0 ? "topCompany" : "department";
|
|
111061
|
+
|
|
111062
|
+
listItem.key = "".concat(listItem.childType, "-").concat(listItem.id); // 部门用中划线,房源用下划线,方便整理选中房源key
|
|
111063
|
+
|
|
111064
|
+
listItem.title = listItem.name;
|
|
111065
|
+
listItem.level = level;
|
|
111066
|
+
listItem.disableCheckbox = true;
|
|
111067
|
+
listItem.slots = {
|
|
111068
|
+
icon: "".concat(listItem.childType, "Icon")
|
|
111069
|
+
};
|
|
111070
|
+
listItem.children = [];
|
|
111071
|
+
|
|
111072
|
+
if (listItem.subcat && listItem.subcat.length) {
|
|
111073
|
+
listItem.children = getDeptTreeList(listItem.subcat, level + 1);
|
|
111074
|
+
}
|
|
111075
|
+
|
|
111076
|
+
if (listItem.villageList && listItem.villageList.length) {
|
|
111077
|
+
var villageList = getVillageTreeList(listItem.villageList, level, listItem.key);
|
|
111078
|
+
state.deptVillageMap[listItem.id] = villageList;
|
|
111079
|
+
listItem.children = [].concat(Object(toConsumableArray["a" /* default */])(listItem.children), Object(toConsumableArray["a" /* default */])(villageList));
|
|
111080
|
+
}
|
|
111081
|
+
|
|
111082
|
+
listItem.isLeaf = listItem.children.length === 0;
|
|
111083
|
+
result.push(listItem);
|
|
111084
|
+
state.expandedKeys.push(listItem.key);
|
|
111085
|
+
}
|
|
111086
|
+
}
|
|
111087
|
+
} catch (err) {
|
|
111088
|
+
_iterator4.e(err);
|
|
111089
|
+
} finally {
|
|
111090
|
+
_iterator4.f();
|
|
111091
|
+
}
|
|
111092
|
+
|
|
111093
|
+
return result;
|
|
111094
|
+
}; // 获取项目树列表
|
|
111095
|
+
|
|
111096
|
+
|
|
111097
|
+
var getVillageTreeList = function getVillageTreeList(villageList) {
|
|
111098
|
+
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
111099
|
+
var parentKey = arguments.length > 2 ? arguments[2] : undefined;
|
|
111100
|
+
return villageList.map(function (village) {
|
|
111101
|
+
village.childType = "village";
|
|
111102
|
+
village.key = "".concat(parentKey ? parentKey + "-" : "").concat(village.childType, "_").concat(village.id);
|
|
111103
|
+
village.title = village.name;
|
|
111104
|
+
village.level = level;
|
|
111105
|
+
village.disableCheckbox = !!props.limitType;
|
|
111106
|
+
village.slots = {
|
|
111107
|
+
icon: "".concat(village.childType, "Icon")
|
|
111108
|
+
};
|
|
111109
|
+
|
|
111110
|
+
if (props.checkType == village.childType) {
|
|
111111
|
+
village.isLeaf = true;
|
|
111112
|
+
} else {
|
|
111113
|
+
if (village.buildList && village.buildList.length) {
|
|
111114
|
+
village.isLeaf = false;
|
|
111115
|
+
village.children = village.buildList.map(function (build) {
|
|
111116
|
+
return Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, build), {}, {
|
|
111117
|
+
level: level,
|
|
111118
|
+
childType: "build",
|
|
111119
|
+
key: "".concat(village.key, "_build_").concat(build.id),
|
|
111120
|
+
title: build.build_name,
|
|
111121
|
+
disableCheckbox: props.limitType && props.limitType != "village",
|
|
111122
|
+
extra: {
|
|
111123
|
+
village_id: village.id,
|
|
111124
|
+
village_name: village.name,
|
|
111125
|
+
village_short_name: village.short_name
|
|
111126
|
+
},
|
|
111127
|
+
slots: {
|
|
111128
|
+
icon: "buildIcon"
|
|
111129
|
+
},
|
|
111130
|
+
isLeaf: props.checkType == "build"
|
|
111131
|
+
});
|
|
111132
|
+
});
|
|
111133
|
+
} else {
|
|
111134
|
+
village.isLeaf = true;
|
|
111135
|
+
}
|
|
111136
|
+
|
|
111137
|
+
state.expandedKeys.push(village.key);
|
|
111138
|
+
}
|
|
111139
|
+
|
|
111140
|
+
return village;
|
|
111141
|
+
});
|
|
111142
|
+
}; // -------case 2
|
|
111143
|
+
|
|
111144
|
+
|
|
111145
|
+
var getVillageTree = function getVillageTree(villageList) {
|
|
111146
|
+
state.treeList = getVillageTreeList(villageList);
|
|
111147
|
+
state.originData = JSON.stringify(state.treeList);
|
|
111148
|
+
filterVillageByType();
|
|
111149
|
+
setDefaultChecked(1);
|
|
111150
|
+
setDefaultChecked(2);
|
|
111151
|
+
CL("treeList", state.treeList);
|
|
111152
|
+
};
|
|
111057
111153
|
/************* 获取树数据 --end **************/
|
|
111058
111154
|
|
|
111059
111155
|
/** 获取接口数据 */
|
|
@@ -111064,7 +111160,7 @@ var CuIcon = create({
|
|
|
111064
111160
|
params: {
|
|
111065
111161
|
method: "get",
|
|
111066
111162
|
server: "/org",
|
|
111067
|
-
url: "/build/
|
|
111163
|
+
url: "/build/villageAndBuildList/v2",
|
|
111068
111164
|
extra: {
|
|
111069
111165
|
checked: props.attachDpt ? 1 : props.userChecked,
|
|
111070
111166
|
attach_department: props.attachDpt
|
|
@@ -111099,8 +111195,8 @@ var CuIcon = create({
|
|
|
111099
111195
|
}));
|
|
111100
111196
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=script&lang=js
|
|
111101
111197
|
|
|
111102
|
-
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=
|
|
111103
|
-
var
|
|
111198
|
+
// EXTERNAL MODULE: ./src/components/ChooseHousingResources/index.vue?vue&type=style&index=0&id=04172452&lang=less&scoped=true
|
|
111199
|
+
var ChooseHousingResourcesvue_type_style_index_0_id_04172452_lang_less_scoped_true = __webpack_require__("970c");
|
|
111104
111200
|
|
|
111105
111201
|
// CONCATENATED MODULE: ./src/components/ChooseHousingResources/index.vue
|
|
111106
111202
|
|
|
@@ -111110,7 +111206,7 @@ var ChooseHousingResourcesvue_type_style_index_0_id_2abb7d1e_lang_less_scoped_tr
|
|
|
111110
111206
|
|
|
111111
111207
|
|
|
111112
111208
|
|
|
111113
|
-
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',
|
|
111209
|
+
const ChooseHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(ChooseHousingResourcesvue_type_script_lang_js, [['render',ChooseHousingResourcesvue_type_template_id_04172452_scoped_true_render],['__scopeId',"data-v-04172452"]])
|
|
111114
111210
|
|
|
111115
111211
|
/* harmony default export */ var ChooseHousingResources = (ChooseHousingResources_exports_);
|
|
111116
111212
|
// 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=dc846f66&scoped=true
|
|
@@ -112605,6 +112701,7 @@ const CheckedHousingResources_exports_ = /*#__PURE__*/exportHelper_default()(Che
|
|
|
112605
112701
|
|
|
112606
112702
|
|
|
112607
112703
|
|
|
112704
|
+
|
|
112608
112705
|
// CONCATENATED MODULE: ./index.js
|
|
112609
112706
|
|
|
112610
112707
|
|