提交 981db5ed authored 作者: 龙菲's avatar 龙菲

修改虚拟展选择组织时的树结构

上级 bca44bb2
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
:props="optionProps" :props="optionProps"
placeholder="请选择所属博物馆" placeholder="请选择所属博物馆"
:key="pidModalKey" :key="pidModalKey"
filterable
> >
</el-cascader> </el-cascader>
</el-form-item> </el-form-item>
...@@ -39,6 +40,7 @@ ...@@ -39,6 +40,7 @@
:props="regionOptionProps" :props="regionOptionProps"
placeholder="请选择所属地" placeholder="请选择所属地"
:key="regionCodeModalKey" :key="regionCodeModalKey"
filterable
> >
</el-cascader> </el-cascader>
</el-form-item> </el-form-item>
...@@ -129,7 +131,7 @@ export default { ...@@ -129,7 +131,7 @@ export default {
that.dialogForm = JSON.parse(JSON.stringify(value)); that.dialogForm = JSON.parse(JSON.stringify(value));
// 编辑状态 // 编辑状态
if (that.dialogForm.bvId) { if (that.dialogForm.bvId) {
console.log('that.dialogForm.',that.dialogForm); console.log("that.dialogForm.", that.dialogForm);
that.status = Boolean(Number(that.dialogForm.status)); that.status = Boolean(Number(that.dialogForm.status));
// 回填封面 // 回填封面
if (this.dialogForm.faceImage) { if (this.dialogForm.faceImage) {
......
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
}, },
loadOrgTree() { loadOrgTree() {
this.$store.dispatch("org/getMuseumTreeData", true).then((res) => { this.$store.dispatch("org/getMuseumTreeData", true).then((res) => {
this.orgTreeData = res; this.orgTreeData = res[0].children;//去掉文旅厅根节点
}); });
}, },
async handleOperation(value, row) { async handleOperation(value, row) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论