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

广场管理优化

上级 e2d2193e
...@@ -13,15 +13,16 @@ ...@@ -13,15 +13,16 @@
<el-row :gutter="30" type="flex" style="margin-top: 10px"> <el-row :gutter="30" type="flex" style="margin-top: 10px">
<el-col :span="9"> <el-col :span="9">
<el-form-item label="专区名称"> <el-form-item label="专区名称">
<el-input v-model="searchForm.squareName" size="small" placeholder="请输入专区名称"></el-input> <el-input v-model="searchForm.squareName" size="small" placeholder="请输入专区名称" style="margin-left:20px;height: 32px;line-height: 32px;"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9" style="padding-left: 0px;">
<el-form-item label="疾病标签"> <el-form-item label="疾病标签">
<el-select multiple :multiple-limit="5" <el-select multiple :multiple-limit="5"
v-model="searchForm.diseaseIdList" v-model="searchForm.diseaseIdList"
id="statusSelector" id="statusSelector"
placeholder="请选择疾病标签" placeholder="请选择疾病标签"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;"
> >
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
id="statusSelector" id="statusSelector"
placeholder="请选择科室标签" placeholder="请选择科室标签"
clearable clearable
filterable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;"
> >
<el-option <el-option
...@@ -60,6 +62,7 @@ ...@@ -60,6 +62,7 @@
v-model="searchForm.subjectIdList" v-model="searchForm.subjectIdList"
id="statusSelector" id="statusSelector"
placeholder="请选择学科标签" placeholder="请选择学科标签"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;"
> >
...@@ -139,17 +142,18 @@ ...@@ -139,17 +142,18 @@
center center
> >
<el-form ref="plazaForm" :model="plazaForm"> <el-form ref="plazaForm" :model="plazaForm" :rules="rules" label-suffix=":">
<el-form-item label="专区名称"> <el-form-item label="专区名称" class="required-label" prop="businessId">
<el-col :span="20"> <el-col :span="20">
<el-select <el-select
v-model="plazaForm.businessId" v-model="plazaForm.businessId"
id="statusSelector" id="statusSelector"
placeholder="请选择发布状态" placeholder="请选择专区名称"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;width: 450px;"
:disabled="editFlag" :disabled="editFlag"
> >
<el-option <el-option
...@@ -164,14 +168,15 @@ ...@@ -164,14 +168,15 @@
<el-form-item label="疾病标签"> <el-form-item label="疾病标签" class="required-label">
<el-col :span="20"> <el-col :span="20">
<el-select multiple :multiple-limit="5" <el-select multiple :multiple-limit="5"
v-model="plazaForm.diseaseIdList" v-model="plazaForm.diseaseIdList"
id="statusSelector" id="statusSelector"
placeholder="请选择发布状态" placeholder="请选择疾病标签"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;width: 450px;"
> >
<el-option <el-option
v-for="item in diseaseList" v-for="item in diseaseList"
...@@ -185,14 +190,15 @@ ...@@ -185,14 +190,15 @@
<el-form-item label="科室标签"> <el-form-item label="科室标签" class="required-label">
<el-col :span="20"> <el-col :span="20">
<el-select multiple :multiple-limit="5" <el-select multiple :multiple-limit="5"
v-model="plazaForm.deptIdList" v-model="plazaForm.deptIdList"
id="statusSelector" id="statusSelector"
placeholder="请选择发布状态" placeholder="请选择科室标签"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;width: 450px;"
> >
<el-option <el-option
v-for="item in deptList" v-for="item in deptList"
...@@ -205,14 +211,15 @@ ...@@ -205,14 +211,15 @@
</el-form-item> </el-form-item>
<el-form-item label="学科标签"> <el-form-item label="学科标签" class="required-label">
<el-col :span="25"> <el-col :span="25">
<el-select multiple :multiple-limit="5" <el-select multiple :multiple-limit="5"
v-model="plazaForm.subjectIdList" v-model="plazaForm.subjectIdList"
id="statusSelector" id="statusSelector"
placeholder="请选择发布状态" placeholder="请选择学科标签"
filterable
clearable clearable
style="margin-left:20px;height: 32px;line-height: 32px;" style="margin-left:20px;height: 32px;line-height: 32px;width: 450px;"
> >
<el-option <el-option
v-for="item in subjectList" v-for="item in subjectList"
...@@ -326,27 +333,17 @@ ...@@ -326,27 +333,17 @@
dialogVisible: false, dialogVisible: false,
isSign: 0, // 是否签到 isSign: 0, // 是否签到
statusList: [
{
value: "1",
label: "预告"
},
{
value: "2",
label: "直播中"
},
{
value: "4",
label: "已结束"
}
],
diseaseList: [], diseaseList: [],
deptList: [], deptList: [],
subjectList: [], subjectList: [],
selectPlazaList: [], selectPlazaList: [],
editFlag: false, editFlag: false,
title: "", title: "",
rules: {
businessId: [
{required: true, message: "请输入专区名称", trigger: "blur"}
],
}
}; };
}, },
props:{ props:{
...@@ -426,10 +423,15 @@ ...@@ -426,10 +423,15 @@
vm.dialogVisible = true; vm.dialogVisible = true;
vm.title = "添加专区"; vm.title = "添加专区";
vm.editFlag = false; vm.editFlag = false;
vm.plazaForm = {
id:'',
businessId: "",
diseaseTagIds: [],
deptTagIds: [],
subjectTagIds: []
},
vm.getSelectPlazaList(0); vm.getSelectPlazaList(0);
}, },
//弹出直播链接弹窗 //弹出直播链接弹窗
liveLink(row) { liveLink(row) {
this.dialogLivelinkVisible = true; this.dialogLivelinkVisible = true;
...@@ -1033,4 +1035,12 @@ ...@@ -1033,4 +1035,12 @@
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
} }
/*.el-select__tags {*/
/*margin-top: 15px;*/
/*}*/
.required-label .el-form-item__label::before {
content: '*';
color: #F56C6C;
margin-right: 4px;
}
</style> </style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册