From 40d179fc9a6edfe88aeebe74f92c602c14262401 Mon Sep 17 00:00:00 2001 From: Wenchao Gong Date: Fri, 10 Sep 2021 21:11:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E6=9C=8D=E5=8A=A1=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/isc/domain/vo/IscAppServiceVo.java | 6 + .../impl/IscAppServiceServiceImpl.java | 4 +- ruoyi-ui/src/views/isc/appservice/index.vue | 109 ++++++++++++++++-- 3 files changed, 108 insertions(+), 11 deletions(-) diff --git a/ruoyi-isc/src/main/java/com/ruoyi/isc/domain/vo/IscAppServiceVo.java b/ruoyi-isc/src/main/java/com/ruoyi/isc/domain/vo/IscAppServiceVo.java index 782ad2cfe..8fd398cc8 100644 --- a/ruoyi-isc/src/main/java/com/ruoyi/isc/domain/vo/IscAppServiceVo.java +++ b/ruoyi-isc/src/main/java/com/ruoyi/isc/domain/vo/IscAppServiceVo.java @@ -120,6 +120,12 @@ public class IscAppServiceVo { @ApiModelProperty(value = "秒配额") private Long quotaSeconds; + /** + * 备注 + */ + @ApiModelProperty(value = "备注") + private String remark; + /** * 更新者 */ diff --git a/ruoyi-isc/src/main/java/com/ruoyi/isc/service/impl/IscAppServiceServiceImpl.java b/ruoyi-isc/src/main/java/com/ruoyi/isc/service/impl/IscAppServiceServiceImpl.java index a3c643b30..650e8bf68 100644 --- a/ruoyi-isc/src/main/java/com/ruoyi/isc/service/impl/IscAppServiceServiceImpl.java +++ b/ruoyi-isc/src/main/java/com/ruoyi/isc/service/impl/IscAppServiceServiceImpl.java @@ -48,7 +48,9 @@ public class IscAppServiceServiceImpl extends ServicePlusImpl - - - + + + @@ -250,6 +313,8 @@ export default { title: "", // 是否显示弹出层 open: false, + // 是否显示查看弹出层 + openView: false, // 启用状态字典 enabledOptions: [], // 审核状态字典 @@ -336,7 +401,7 @@ export default { }, // 取消按钮 cancel() { - this.open = false; + this.open = this.openView = false; this.reset(); }, // 表单重置 @@ -407,7 +472,19 @@ export default { this.title = "应用服务续期"; }); }, - // 复制地址 + /** 查看按钮操作 */ + handleView(row) { + this.loading = true; + this.reset(); + const appServiceId = row.appServiceId; + getAppservice(appServiceId).then(response => { + this.loading = false; + this.form = response.data; + this.form.status = this.form.status.split(","); + this.openView = true; + }); + }, + /** 复制地址 */ handleCopy(data) { let oInput = document.createElement('input') oInput.value = data @@ -475,3 +552,15 @@ export default { } }; + \ No newline at end of file