From 20bf8e325691f148ce15155b9c6e44f04c48b4dd Mon Sep 17 00:00:00 2001
From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com>
Date: 星期四, 05 一月 2023 10:41:42 +0800
Subject: [PATCH] 修改时间戳格式,批量优化前端问题。
---
src/views/system/appfile.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/system/appfile.vue b/src/views/system/appfile.vue
index 14a6939..670563e 100644
--- a/src/views/system/appfile.vue
+++ b/src/views/system/appfile.vue
@@ -46,7 +46,7 @@
<template slot-scope="scope">
<span style="color:blue;cursor:pointer"
@click="downloadHandle(scope.row.fileurl)"
- >{{ scope.row.fileurl }}</span>
+ >{{ uploadUrl + scope.row.fileurl }}</span>
</template>
</el-table-column>
<el-table-column label="版本号" prop="version" align="center" sortable="custom">
@@ -176,6 +176,7 @@
data() {
return {
baseUrl: process.env.IMG_API + 'contract/',
+ uploadUrl: process.env.IMG_API,
pageSize: 10,
recordTotal: 0,
currentPage: 1,
@@ -437,27 +438,32 @@
this.currentPage = 1
this.getAppFileListList()
},
+
handleCurrentChange: function (val) {
this.currentPage = val
this.getAppFileListList()
},
+
getBtnPermission(btnType) {
return checkBtnPermission(this.userType, btnType)
},
+
sortChange(param){
this.sort = param.prop;
this.order = param.order;
this.getAppFileListList();
},
+
showProductHandle(){
this.productDialogFormVisible = true;
},
+
showEnterprise(){
this.enterpriseDialogFormVisible = true;
},
+
downloadHandle(fileurl){
- window.open(fileurl, '_blank')
- ;
+ window.open(this.uploadUrl + fileurl, '_blank');
},
}
--
Gitblit v1.9.2