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
-
-
- {{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}
-
-
+
+
+ {{ parseTime(scope.row.endTime, '{y}-{m}-{d}') }}
+
+
@@ -122,7 +122,7 @@
size="mini"
type="text"
icon="el-icon-info"
- @click="handleRenewal(scope.row)"
+ @click="handleView(scope.row)"
v-hasPermi="['isc:appservice:query']"
>查看
-
+
@@ -203,7 +203,7 @@
-
+
@@ -215,6 +215,69 @@
取 消
+
+
+
+
+
+ 服务名称
+ {{this.form.serviceName}}
+
+
+ 虚拟地址
+ {{this.form.virtualAddr}}
+
+
+ 审核状态
+
+
+
+
+
+ 启用状态
+
+
+
+
+
+ 到期时间
+
+ {{ parseTime(this.form.endTime, '{y}-{m}-{d}') }}
+
+
+
+ 每日配额
+
+
+
+ 小时配额
+
+
+
+ 分钟配额
+
+
+
+ 每秒配额
+
+
+
+ 更新人
+ {{this.form.updateBy}}
+
+
+ 更新时间
+ {{parseTime(this.form.updateTime)}}
+
+
+ 备注
+ {{this.form.remark}}
+
+
+
+
@@ -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