From 8adcaa26f8a0a397cde7e837cfa0bf273a0e0cd0 Mon Sep 17 00:00:00 2001 From: wuyibo <771227828@qq.com> Date: Sat, 8 Apr 2023 10:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=B9=E8=B1=A1=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/domain/WxBuildingInfo.java | 6 +++--- ruoyi-ui/src/views/system/WxBuilding/index.vue | 13 +++---------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/WxBuildingInfo.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/WxBuildingInfo.java index 98250391..ee814d5d 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/WxBuildingInfo.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/domain/WxBuildingInfo.java @@ -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; } diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index c7cfadea..92cc8c7b 100644 --- a/ruoyi-ui/src/views/system/WxBuilding/index.vue +++ b/ruoyi-ui/src/views/system/WxBuilding/index.vue @@ -39,7 +39,7 @@ @@ -145,7 +145,7 @@ @@ -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("修改成功");