提交 8b1fd400 编写于 作者: vino's avatar vino

广场管理

上级 3bf37802
......@@ -567,7 +567,13 @@ const vueFilter = {
let text = "";
if(value != null && value.length > 0){
for (let i = 0; i < value.length; i++) {
text = text + value[i].name;
if(i == 0){
text = text + value[i].name;
}
else {
text = text + "、" + value[i].name;
}
}
}
return text;
......
......@@ -150,6 +150,7 @@
placeholder="请选择发布状态"
clearable
style="margin-left:20px;height: 32px;line-height: 32px;"
:disabled="editFlag"
>
<el-option
v-for="item in selectPlazaList"
......@@ -343,7 +344,8 @@
diseaseList: [],
deptList: [],
subjectList: [],
selectPlazaList: []
selectPlazaList: [],
editFlag: false
};
},
props:{
......@@ -418,10 +420,10 @@
},
//添加专区
createPlaza() {
this.dialogVisible = true;
this.getSelectPlazaList();
vm.plazaForm.businessId = "";
vm.dialogVisible = true;
vm.editFlag = false;
vm.getSelectPlazaList();
},
......@@ -597,8 +599,9 @@
//编辑专区
editPlaza(row) {
vm.editFlag = true;
vm.plazaForm.id = row.id;
vm.plazaForm.businessId = row.businessId;
// vm.plazaForm.businessId = row.businessId;
if(vm.selectPlazaList.length == 0){
vm.getSelectPlazaList();
}
......@@ -611,6 +614,7 @@
if(res.code == "000000") {
vm.dialogVisible = true;
vm.plazaForm = res.data;
vm.plazaForm.diseaseIdList = [780,781];
} else {
this.$message.error("添加失败,请重试");
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册