修改对象类型
parent
5ca4985cd7
commit
8adcaa26f8
|
|
@ -81,7 +81,7 @@ public class WxBuildingInfo extends BaseEntity
|
|||
|
||||
/** 是否支持在线 */
|
||||
@Excel(name = "支持在线")
|
||||
private String isSupportlive;
|
||||
private Boolean isSupportlive;
|
||||
|
||||
/** 球馆状态 */
|
||||
@Excel(name = "球馆状态")
|
||||
|
|
@ -246,12 +246,12 @@ public class WxBuildingInfo extends BaseEntity
|
|||
{
|
||||
return defaultPicture;
|
||||
}
|
||||
public void setIsSupportlive(String isSupportlive)
|
||||
public void setIsSupportlive(Boolean isSupportlive)
|
||||
{
|
||||
this.isSupportlive = isSupportlive;
|
||||
}
|
||||
|
||||
public String getIsSupportlive()
|
||||
public Boolean getIsSupportlive()
|
||||
{
|
||||
return isSupportlive;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<el-form-item label="支持在线" prop="isSupportlive">
|
||||
<el-select v-model="queryParams.isSupportlive">
|
||||
<el-option
|
||||
v-for="item in isLiveOptions"
|
||||
v-for="item in booleanOptions"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
disabled
|
||||
v-model="scope.row.isSupportlive==1?true:false"
|
||||
v-model="scope.row.isSupportlive"
|
||||
></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
@ -527,13 +527,6 @@ export default {
|
|||
value: false,
|
||||
label: '否'
|
||||
}],
|
||||
isLiveOptions:[{
|
||||
value: "1",
|
||||
label: '是'
|
||||
},{
|
||||
value: "0",
|
||||
label: '否'
|
||||
}],
|
||||
options: [{
|
||||
value: 1,
|
||||
label: '待审核'
|
||||
|
|
@ -602,6 +595,7 @@ export default {
|
|||
getList() {
|
||||
this.loading = true;
|
||||
listWxBuilding(this.queryParams).then(response => {
|
||||
this.WxBuildingList = [];
|
||||
response.rows.forEach((item) => {
|
||||
let obj = item;
|
||||
obj.codeImgUrl = item.defaultPicture;
|
||||
|
|
@ -790,7 +784,6 @@ export default {
|
|||
imgs.push(item.url);
|
||||
});
|
||||
this.form.defaultPicture = imgs.join(',')
|
||||
this.form.isSupportlive = this.form.isSupportlive?1:0;
|
||||
if (this.form.id != null) {
|
||||
updateWxBuilding(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
|
|
|
|||
Loading…
Reference in New Issue