Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
a874082a
提交
a874082a
编写于
12月 28, 2020
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
广场管理优化
上级
e2d2193e
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
42 行增加
和
32 行删除
+42
-32
plaza-list.vue
src/views/plaza/plaza-list.vue
+42
-32
未找到文件。
src/views/plaza/plaza-list.vue
浏览文件 @
a874082a
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录