meixioacomponent 0.2.74 → 0.2.77
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/meixioacomponent.common.js +165 -154
- package/lib/meixioacomponent.umd.js +165 -154
- package/lib/meixioacomponent.umd.min.js +10 -10
- package/package.json +1 -1
- package/packages/components/base/baseArea/baseArea.vue +16 -3
- package/packages/components/base/baseDrawer/index.vue +0 -1
- package/packages/components/proForm/proForm/pro_form_item.vue +1 -1
package/package.json
CHANGED
|
@@ -273,7 +273,11 @@ export default {
|
|
|
273
273
|
checkProvince(province) {
|
|
274
274
|
this.activeIndex = 0;
|
|
275
275
|
this.areaValue = [];
|
|
276
|
-
this.$set(this.areaValue, 0, {
|
|
276
|
+
this.$set(this.areaValue, 0, {
|
|
277
|
+
label: province.label,
|
|
278
|
+
pre: null,
|
|
279
|
+
value: province.value,
|
|
280
|
+
});
|
|
277
281
|
|
|
278
282
|
if (province.children.length > 0) {
|
|
279
283
|
this.activeObj = province;
|
|
@@ -287,11 +291,13 @@ export default {
|
|
|
287
291
|
this.isReview = true;
|
|
288
292
|
return;
|
|
289
293
|
}
|
|
294
|
+
|
|
290
295
|
let pre = this.areaValue[this.activeIndex];
|
|
291
296
|
if (!pre) {
|
|
292
297
|
this.$set(this.areaValue, this.activeIndex, {
|
|
293
298
|
label: area.label,
|
|
294
299
|
pre: this.activeObj,
|
|
300
|
+
value: area.value,
|
|
295
301
|
});
|
|
296
302
|
} else {
|
|
297
303
|
pre.label = area.label;
|
|
@@ -337,10 +343,17 @@ export default {
|
|
|
337
343
|
|
|
338
344
|
confirmValue() {
|
|
339
345
|
let value = {};
|
|
346
|
+
let valueId = "";
|
|
347
|
+
let valueStr = "";
|
|
340
348
|
for (let i = 0; i < this.areaValue.length; i++) {
|
|
341
|
-
|
|
349
|
+
const item = this.areaValue[i];
|
|
350
|
+
const flag = i == this.areaValue.length - 1;
|
|
351
|
+
value[`${areaConfig[i].value}`] = item.label;
|
|
352
|
+
valueId += `${flag ? `${item.value}` : `${item.value}/`}`;
|
|
353
|
+
valueStr += `${flag ? `${item.label}` : `${item.label}/`}`;
|
|
342
354
|
}
|
|
343
|
-
|
|
355
|
+
value.idList = valueId;
|
|
356
|
+
value.valueStr = valueStr;
|
|
344
357
|
if (JSON.stringify(value) != "{}") {
|
|
345
358
|
this.module = value;
|
|
346
359
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
:disabled="config.disabled"
|
|
112
112
|
@visible-change="visibleChange"
|
|
113
113
|
style="width: 100%; height: 100%"
|
|
114
|
-
v-else-if="config.type == 'select'"
|
|
114
|
+
v-else-if="config.type == 'select' && selectStore"
|
|
115
115
|
:multipleLimit="config.multipleLimit"
|
|
116
116
|
>
|
|
117
117
|
<el-option
|