Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
1633d4f1
提交
1633d4f1
编写于
6月 30, 2020
作者:
bo.dang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改管理员查询本省机构和新建直播嘉宾
上级
729f20ae
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
42 行增加
和
21 行删除
+42
-21
lianjie_icon.png
src/assets/image/lianjie_icon.png
+0
-0
baseinfo.vue
src/components/yqrange/baseinfo.vue
+3
-0
organzation.vue
src/components/yqrange/organzation.vue
+13
-8
operation.js
src/utils/operation.js
+3
-1
create-live.vue
src/views/yqrange/create-live.vue
+16
-5
role-manage.vue
src/views/yqrange/role-manage.vue
+7
-7
未找到文件。
src/assets/image/lianjie_icon.png
0 → 100644
浏览文件 @
1633d4f1
802 字节
src/components/yqrange/baseinfo.vue
浏览文件 @
1633d4f1
...
@@ -55,6 +55,9 @@
...
@@ -55,6 +55,9 @@
<el-form-item
label=
"圈子介绍"
prop=
"introduce"
>
<el-form-item
label=
"圈子介绍"
prop=
"introduce"
>
<el-col
:span=
"13"
>
<el-col
:span=
"13"
>
<el-input
<el-input
type=
"textarea"
rows=
"2"
maxlength=
"40"
size=
"small"
size=
"small"
v-model=
"formData.introduce"
v-model=
"formData.introduce"
placeholder=
"请输入圈子介绍"
placeholder=
"请输入圈子介绍"
...
...
src/components/yqrange/organzation.vue
浏览文件 @
1633d4f1
...
@@ -103,11 +103,11 @@
...
@@ -103,11 +103,11 @@
totalOrganization
:
10
,
totalOrganization
:
10
,
pageSizeOrganization
:
2
,
pageSizeOrganization
:
2
,
activeName
:
""
,
activeName
:
""
,
selectionList
:
""
,
selectionList
:
[]
,
formOrganization
:
{
formOrganization
:
{
name
:
""
,
name
:
""
,
administrativeId
:
"
0
"
,
administrativeId
:
""
,
administrativeIdList
:
[
"0"
],
administrativeIdList
:
[],
level
:
""
,
level
:
""
,
chechAll
:
true
,
chechAll
:
true
,
pageNum
:
1
,
pageNum
:
1
,
...
@@ -136,7 +136,8 @@
...
@@ -136,7 +136,8 @@
this
.
activeName
=
"second"
;
this
.
activeName
=
"second"
;
this
.
formOrganization
.
pageNum
=
1
;
this
.
formOrganization
.
pageNum
=
1
;
this
.
formOrganization
.
name
=
""
;
this
.
formOrganization
.
name
=
""
;
this
.
formOrganization
.
administrativeIdList
=
[
"0"
];
// this.formOrganization.administrativeIdList = ["0"];
// this.formOrganization.administrativeIdList = ["310"];
this
.
formOrganization
.
level
=
""
;
this
.
formOrganization
.
level
=
""
;
},
},
setMoreOption
(
data
,
type
)
{
setMoreOption
(
data
,
type
)
{
...
@@ -175,9 +176,9 @@
...
@@ -175,9 +176,9 @@
vm
.
optionsRegion
=
operationData
.
setRegionOption3
(
vm
.
optionsRegion
=
operationData
.
setRegionOption3
(
res
.
data
.
provinceList
res
.
data
.
provinceList
);
);
}
}
this
.
getOrganization
();
vm
.
formOrganization
.
administrativeIdList
.
push
(
vm
.
optionsRegion
[
0
].
value
);
vm
.
getOrganization
();
}
else
{
}
else
{
this
.
$message
(
res
.
message
);
this
.
$message
(
res
.
message
);
}
}
...
@@ -378,6 +379,7 @@
...
@@ -378,6 +379,7 @@
if
(
row
.
status
==
1
)
{
if
(
row
.
status
==
1
)
{
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
this
.
$refs
.
multipleOrganization
.
toggleRowSelection
(
row
);
this
.
$refs
.
multipleOrganization
.
toggleRowSelection
(
row
);
this
.
selectionList
.
push
(
row
);
});
});
}
}
});
});
...
@@ -385,8 +387,11 @@
...
@@ -385,8 +387,11 @@
//重置机构、人员查询
//重置机构、人员查询
resetOrgOrPerson
()
{
resetOrgOrPerson
()
{
vm
.
formOrganization
.
name
=
""
;
vm
.
formOrganization
.
name
=
""
;
vm
.
formOrganization
.
administrativeId
=
"0"
;
// vm.formOrganization.administrativeId = "0";
vm
.
formOrganization
.
administrativeIdList
=
[
"0"
];
// vm.formOrganization.administrativeIdList = ["0"];
vm
.
formOrganization
.
administrativeId
=
vm
.
optionsRegion
[
0
].
id
;
vm
.
formOrganization
.
administrativeIdList
=
[];
vm
.
formOrganization
.
administrativeIdList
.
push
(
vm
.
optionsRegion
[
0
].
value
);
vm
.
formOrganization
.
level
=
""
;
vm
.
formOrganization
.
level
=
""
;
vm
.
formOrganization
.
pageNum
=
1
;
vm
.
formOrganization
.
pageNum
=
1
;
vm
.
searchOrganization
();
vm
.
searchOrganization
();
...
...
src/utils/operation.js
浏览文件 @
1633d4f1
...
@@ -309,8 +309,10 @@ export function setRegionOption3(data) {
...
@@ -309,8 +309,10 @@ export function setRegionOption3(data) {
let
option
=
[];
let
option
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
let
obj
=
data
[
i
];
let
obj
=
data
[
i
];
obj
.
id
=
data
[
i
].
id
;
obj
.
label
=
data
[
i
].
provinceName
;
obj
.
label
=
data
[
i
].
provinceName
;
obj
.
value
=
data
[
i
].
provinceId
;
obj
.
value
=
data
[
i
].
provinceId
+
""
;
// obj.leaf = true;
option
.
push
(
obj
);
option
.
push
(
obj
);
}
}
return
option
;
return
option
;
...
...
src/views/yqrange/create-live.vue
浏览文件 @
1633d4f1
...
@@ -193,8 +193,12 @@
...
@@ -193,8 +193,12 @@
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"13"
>
<el-col
:span=
"1"
>
<el-form-item
label=
"手机"
prop=
"lecturesPhone"
>
<img
src=
"../../assets/image/lianjie_icon.png"
/>
</el-col>
<el-col
:span=
"12"
>
<!--
<img
src=
"../../assets/image/lianjie_icon.png"
/>
-->
<el-form-item
label=
"手机号"
prop=
"lecturesPhone"
>
<el-input
maxlength=
"11"
<el-input
maxlength=
"11"
size=
"small"
size=
"small"
v-model=
"formData.lecturesPhone"
v-model=
"formData.lecturesPhone"
...
@@ -208,7 +212,7 @@
...
@@ -208,7 +212,7 @@
</el-col>
</el-col>
<div
v-for=
"(item, index) in formData.guests"
:key=
"index"
>
<div
v-for=
"(item, index) in formData.guests"
:key=
"index"
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"
姓名"
label-width=
"60px;
"
>
<el-form-item
label=
"
姓名"
label-width=
"60px;"
class=
"guest-label
"
>
<el-input
<el-input
size=
"small"
size=
"small"
v-model=
"item.username"
v-model=
"item.username"
...
@@ -217,8 +221,12 @@
...
@@ -217,8 +221,12 @@
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"13"
>
<el-col
:span=
"1"
>
<el-form-item
label=
"手机"
>
<img
src=
"../../assets/image/lianjie_icon.png"
/>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"手机号"
>
<el-input
maxlength=
"11"
<el-input
maxlength=
"11"
size=
"small"
size=
"small"
v-model=
"item.phone"
v-model=
"item.phone"
...
@@ -925,4 +933,7 @@
...
@@ -925,4 +933,7 @@
width
:
20px
;
width
:
20px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.guest-label
.el-form-item__label
{
width
:
57px
;
}
</
style
>
</
style
>
src/views/yqrange/role-manage.vue
浏览文件 @
1633d4f1
...
@@ -422,15 +422,15 @@ export default {
...
@@ -422,15 +422,15 @@ export default {
});
});
// vm.search();
// vm.search();
this
.
searchList
();
this
.
searchList
();
if
(
res
.
message
!=
"success"
)
{
//
if (res.message != "success") {
vm
.
$message
({
//
vm.$message({
message
:
res
.
message
,
//
message: res.message,
type
:
"warning"
//
type: "warning"
});
//
});
}
//
}
}
else
{
}
else
{
// vm.$message.info(res.message);
// vm.$message.info(res.message);
vm
.
$message
.
info
(
"操作失败,请重试"
);
vm
.
$message
.
error
(
"操作失败,请重试"
);
}
}
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录