mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
在线直播类型修改
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
<el-form-item label="支持在线" prop="isSupportlive">
|
<el-form-item label="支持在线" prop="isSupportlive">
|
||||||
<el-select v-model="queryParams.isSupportlive">
|
<el-select v-model="queryParams.isSupportlive">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in booleanOptions"
|
v-for="item in isLiveOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value">
|
:value="item.value">
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-switch
|
<el-switch
|
||||||
disabled
|
disabled
|
||||||
v-model="scope.row.isSupportlive"
|
v-model="scope.row.isSupportlive==1?true:false"
|
||||||
></el-switch>
|
></el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -527,6 +527,13 @@ export default {
|
|||||||
value: false,
|
value: false,
|
||||||
label: '否'
|
label: '否'
|
||||||
}],
|
}],
|
||||||
|
isLiveOptions:[{
|
||||||
|
value: "1",
|
||||||
|
label: '是'
|
||||||
|
},{
|
||||||
|
value: "0",
|
||||||
|
label: '否'
|
||||||
|
}],
|
||||||
options: [{
|
options: [{
|
||||||
value: 1,
|
value: 1,
|
||||||
label: '待审核'
|
label: '待审核'
|
||||||
@@ -783,6 +790,7 @@ export default {
|
|||||||
imgs.push(item.url);
|
imgs.push(item.url);
|
||||||
});
|
});
|
||||||
this.form.defaultPicture = imgs.join(',')
|
this.form.defaultPicture = imgs.join(',')
|
||||||
|
this.form.isSupportlive = this.form.isSupportlive?1:0;
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
updateWxBuilding(this.form).then(response => {
|
updateWxBuilding(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
|||||||
Reference in New Issue
Block a user