|
@@ -73,7 +73,11 @@
|
|
},
|
|
},
|
|
id: {
|
|
id: {
|
|
type: Number,
|
|
type: Number,
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ mode: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: 'duoxuan' // danxuan / duoxuan
|
|
|
|
+ }
|
|
});
|
|
});
|
|
|
|
|
|
const commonPopup = ref(null);
|
|
const commonPopup = ref(null);
|
|
@@ -158,7 +162,14 @@
|
|
if (ite.id === data.activeId) {
|
|
if (ite.id === data.activeId) {
|
|
ite.zyLevel = item.id;
|
|
ite.zyLevel = item.id;
|
|
ite.zyLevelName = item.name
|
|
ite.zyLevelName = item.name
|
|
- }
|
|
|
|
|
|
+ } else {
|
|
|
|
+ if (props.mode == 'danxuan') {
|
|
|
|
+ ite.zyLevel = null;
|
|
|
|
+ ite.zyLevelName = null;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
return ite;
|
|
return ite;
|
|
})
|
|
})
|
|
commonPopup2.value.handleClose()
|
|
commonPopup2.value.handleClose()
|