Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
acb1eccb
提交
acb1eccb
编写于
7月 23, 2020
作者:
bo.dang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
高级主管理员和设置背景图
上级
24a73710
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
21 行删除
+26
-21
organzation.vue
src/components/yqrange/organzation.vue
+3
-11
create-live.vue
src/views/yqrange/create-live.vue
+15
-7
create-range.vue
src/views/yqrange/create-range.vue
+6
-2
yq-range.vue
src/views/yqrange/yq-range.vue
+2
-1
未找到文件。
src/components/yqrange/organzation.vue
浏览文件 @
acb1eccb
...
@@ -113,11 +113,13 @@
...
@@ -113,11 +113,13 @@
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
},
},
roleType
:
null
}
}
},
},
mounted
()
{
mounted
()
{
// const { enterType, id } = this.$route.query;
// const { enterType, id } = this.$route.query;
this
.
circleId
=
vm
.
formData
.
id
;
this
.
circleId
=
vm
.
formData
.
id
;
this
.
roleType
=
vm
.
formData
.
roleType
;
this
.
initRange
();
this
.
initRange
();
//Idtype:1,内部 2.外部
//Idtype:1,内部 2.外部
vm
.
idType
=
localStorage
.
getItem
(
"storageIdType"
);
vm
.
idType
=
localStorage
.
getItem
(
"storageIdType"
);
...
@@ -271,11 +273,6 @@
...
@@ -271,11 +273,6 @@
}
}
let
idType
=
localStorage
.
getItem
(
"storageIdType"
);
let
idType
=
localStorage
.
getItem
(
"storageIdType"
);
console
.
log
(
'administrativeIdItem'
,
administrativeIdItem
);
console
.
log
(
'administrativeIdItem'
,
administrativeIdItem
);
const
highMainManager
=
localStorage
.
getItem
(
'highMainManager'
);
const
roleType
=
null
;
if
(
this
.
highMainManager
==
"1"
){
this
.
roleType
=
4
;
}
let
req
=
{
let
req
=
{
circleId
:
this
.
circleId
,
circleId
:
this
.
circleId
,
districtIds
:
administrativeIdItem
,
districtIds
:
administrativeIdItem
,
...
@@ -284,7 +281,7 @@
...
@@ -284,7 +281,7 @@
pageNo
:
this
.
formOrganization
.
pageNum
,
pageNo
:
this
.
formOrganization
.
pageNum
,
pageSize
:
this
.
formOrganization
.
pageSize
,
pageSize
:
this
.
formOrganization
.
pageSize
,
idType
:
idType
,
idType
:
idType
,
roleType
:
roleType
roleType
:
this
.
roleType
};
};
openLoading
(
vm
);
openLoading
(
vm
);
getMemberSelectOrgReq
(
req
).
then
(
res
=>
{
getMemberSelectOrgReq
(
req
).
then
(
res
=>
{
...
@@ -317,11 +314,6 @@
...
@@ -317,11 +314,6 @@
console
.
log
(
administrativeIdItem
);
console
.
log
(
administrativeIdItem
);
// let administrativeIdItem = "";
// let administrativeIdItem = "";
const
highMainManager
=
localStorage
.
getItem
(
'highMainManager'
);
const
roleType
=
null
;
if
(
this
.
highMainManager
==
"1"
){
this
.
roleType
=
4
;
}
let
req
=
{
let
req
=
{
circleId
:
this
.
circleId
,
circleId
:
this
.
circleId
,
districtIds
:
administrativeIdItem
,
districtIds
:
administrativeIdItem
,
...
...
src/views/yqrange/create-live.vue
浏览文件 @
acb1eccb
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</div>
</div>
<el-form-item
label=
"是否开启防录屏跑马灯"
>
<el-form-item
label=
"是否开启防录屏跑马灯"
>
<el-radio-group
v-model=
"formData.
can
ScreenCap"
size=
"small"
>
<el-radio-group
v-model=
"formData.
anti
ScreenCap"
size=
"small"
>
<el-radio
label=
"0"
:disabled=
"formData.liveStatus != 1 && formData.liveStatus != 2"
>
否
</el-radio>
<el-radio
label=
"0"
:disabled=
"formData.liveStatus != 1 && formData.liveStatus != 2"
>
否
</el-radio>
<el-radio
label=
"1"
:disabled=
"formData.liveStatus != 1 && formData.liveStatus != 2"
>
是
</el-radio>
<el-radio
label=
"1"
:disabled=
"formData.liveStatus != 1 && formData.liveStatus != 2"
>
是
</el-radio>
</el-radio-group>
</el-radio-group>
...
@@ -483,8 +483,8 @@
...
@@ -483,8 +483,8 @@
<el-form
ref=
"setForm"
:model=
"setForm"
>
<el-form
ref=
"setForm"
:model=
"setForm"
>
<!--<input type="text" id="copyInput" class="hidden-input" />-->
<!--<input type="text" id="copyInput" class="hidden-input" />-->
<el-radio-group
v-model=
"formData.backgroundImageId"
>
<el-radio-group
v-model=
"formData.backgroundImageId
Temp
"
>
<div
class=
"radio-background"
v-for=
"(item, index) in formData.backgroundImages"
:key=
"index"
>
<div
class=
"radio-background"
v-for=
"(item, index) in formData.backgroundImages"
:key=
"index"
v-if=
"index < 5"
>
<el-radio
:label=
"item.backgroundImageId"
></el-radio>
<el-radio
:label=
"item.backgroundImageId"
></el-radio>
<img
class=
"background-img"
:src=
"item.imageUrl"
/>
<img
class=
"background-img"
:src=
"item.imageUrl"
/>
</div>
</div>
...
@@ -505,6 +505,12 @@
...
@@ -505,6 +505,12 @@
<!--<img class="background-img" src="https://test1-file.yunqueyi.com/image/png/protal/project/20200720152355168.png" />-->
<!--<img class="background-img" src="https://test1-file.yunqueyi.com/image/png/protal/project/20200720152355168.png" />-->
<!--</div>-->
<!--</div>-->
</el-radio-group>
</el-radio-group>
<el-radio-group
v-model=
"formData.backgroundImageIdTemp"
v-if=
"formData.backgroundImages && formData.backgroundImages.length > 5"
>
<div
class=
"radio-background"
v-for=
"(item, index) in formData.backgroundImages"
:key=
"index"
v-if=
"index > 4"
>
<el-radio
:label=
"item.backgroundImageId"
></el-radio>
<img
class=
"background-img"
:src=
"item.imageUrl"
/>
</div>
</el-radio-group>
<!--<el-radio-group>-->
<!--<el-radio-group>-->
<!--<div class="radio-background">-->
<!--<div class="radio-background">-->
<!--<el-radio :label="3"></el-radio>-->
<!--<el-radio :label="3"></el-radio>-->
...
@@ -629,8 +635,9 @@
...
@@ -629,8 +635,9 @@
rtcId: "",
rtcId: "",
},
},
canScreenCap: "
0
",
antiScreenCap: "
0
",
backgroundImageId: null
backgroundImageId: null,
backgroundImageIdTemp: null
},
},
introTextNum: 0,
introTextNum: 0,
rtcIntroducesText:[],
rtcIntroducesText:[],
...
@@ -1458,7 +1465,8 @@
...
@@ -1458,7 +1465,8 @@
this.changeStreamType();
this.changeStreamType();
this.formData.scope = String(this.formData.scope);
this.formData.scope = String(this.formData.scope);
this.formData.canScreenCap = String(this.formData.canScreenCap);
this.formData.antiScreenCap = String(this.formData.antiScreenCap);
this.formData.backgroundImageIdTemp = String(this.formData.backgroundImageId);
if(this.formData.scope == "
2
"){
if(this.formData.scope == "
2
"){
this.isCollectShow = true;
this.isCollectShow = true;
}
}
...
@@ -1655,9 +1663,9 @@
...
@@ -1655,9 +1663,9 @@
// 提交设置背景图
// 提交设置背景图
submitBackground(){
submitBackground(){
this.dialogVisible = false;
this.dialogVisible = false;
this.formData.backgroundImageId = this.formData.backgroundImageIdTemp;
},
},
handleClose(){
handleClose(){
this.dialogVisible = false;
this.dialogVisible = false;
},
},
...
...
src/views/yqrange/create-range.vue
浏览文件 @
acb1eccb
...
@@ -58,7 +58,8 @@
...
@@ -58,7 +58,8 @@
imgUrl2More
:
{},
imgUrl2More
:
{},
introduce
:
''
,
introduce
:
''
,
dynamicFlag
:
''
,
dynamicFlag
:
''
,
idType
:
localStorage
.
getItem
(
"storageIdType"
)
idType
:
localStorage
.
getItem
(
"storageIdType"
),
roleType
:
null
}
}
}
}
},
},
...
@@ -66,9 +67,12 @@
...
@@ -66,9 +67,12 @@
vm
=
this
;
vm
=
this
;
// 根据ID是否有值判断编辑还是create
// 根据ID是否有值判断编辑还是create
// debugger
// debugger
const
{
enterType
,
id
}
=
this
.
$route
.
query
;
const
{
enterType
,
id
,
roleType
}
=
this
.
$route
.
query
;
this
.
id
=
id
;
this
.
id
=
id
;
this
.
enterType
=
enterType
;
this
.
enterType
=
enterType
;
this
.
roleType
=
roleType
;
this
.
formData
.
roleType
=
this
.
roleType
;
//edit
//edit
if
(
this
.
enterType
==
2
&&
this
.
id
!=
null
)
{
if
(
this
.
enterType
==
2
&&
this
.
id
!=
null
)
{
...
...
src/views/yqrange/yq-range.vue
浏览文件 @
acb1eccb
...
@@ -283,7 +283,8 @@ export default {
...
@@ -283,7 +283,8 @@ export default {
path
:
`/create-range?enterType`
,
path
:
`/create-range?enterType`
,
query
:{
query
:{
id
:
row
.
id
,
id
:
row
.
id
,
enterType
:
enterType
enterType
:
enterType
,
roleType
:
row
.
roleId
}
}
})
})
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录