update 将所有 云存储字样 改为 对象存储 避免误解

This commit is contained in:
疯狂的狮子li
2021-09-10 10:51:40 +08:00
parent 5bb7b0dda5
commit c1c6c1cf30
21 changed files with 77 additions and 77 deletions

View File

@ -1,6 +1,6 @@
import request from '@/utils/request'
// 查询OSS存储列表
// 查询OSS对象存储列表
export function listOss(query) {
return request({
url: '/system/oss/list',
@ -9,7 +9,7 @@ export function listOss(query) {
})
}
// 删除OSS存储
// 删除OSS对象存储
export function delOss(ossId) {
return request({
url: '/system/oss/' + ossId,

View File

@ -1,6 +1,6 @@
import request from '@/utils/request'
// 查询存储配置列表
// 查询对象存储配置列表
export function listOssConfig(query) {
return request({
url: '/system/oss/config/list',
@ -9,7 +9,7 @@ export function listOssConfig(query) {
})
}
// 查询存储配置详细
// 查询对象存储配置详细
export function getOssConfig(ossConfigId) {
return request({
url: '/system/oss/config/' + ossConfigId,
@ -17,7 +17,7 @@ export function getOssConfig(ossConfigId) {
})
}
// 新增存储配置
// 新增对象存储配置
export function addOssConfig(data) {
return request({
url: '/system/oss/config',
@ -26,7 +26,7 @@ export function addOssConfig(data) {
})
}
// 修改存储配置
// 修改对象存储配置
export function updateOssConfig(data) {
return request({
url: '/system/oss/config',
@ -35,7 +35,7 @@ export function updateOssConfig(data) {
})
}
// 删除存储配置
// 删除对象存储配置
export function delOssConfig(ossConfigId) {
return request({
url: '/system/oss/config/' + ossConfigId,

View File

@ -118,7 +118,7 @@
@pagination="getList"
/>
<!-- 添加或修改存储配置对话框 -->
<!-- 添加或修改对象存储配置对话框 -->
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-form-item label="配置key" prop="configKey">
@ -201,7 +201,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
// 存储配置表格数据
// 对象存储配置表格数据
ossConfigList: [],
// configKeyOptions
configKeyOptions: [],
@ -284,7 +284,7 @@ export default {
this.configKeyOptions = this.configKeyDatas;
},
methods: {
/** 查询存储配置列表 */
/** 查询对象存储配置列表 */
getList() {
this.loading = true;
listOssConfig(this.queryParams).then((response) => {
@ -335,7 +335,7 @@ export default {
handleAdd() {
this.reset();
this.open = true;
this.title = "添加存储配置";
this.title = "添加对象存储配置";
},
/** 修改按钮操作 */
handleUpdate(row) {
@ -346,7 +346,7 @@ export default {
this.loading = false;
this.form = response.data;
this.open = true;
this.title = "修改存储配置";
this.title = "修改对象存储配置";
});
},
/** 提交按钮 */
@ -377,7 +377,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ossConfigIds = row.ossConfigId || this.ids;
this.$confirm('是否确认删除存储配置编号为"' + ossConfigIds + '"的数据项?', "警告", {
this.$confirm('是否确认删除对象存储配置编号为"' + ossConfigIds + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
@ -392,7 +392,7 @@ export default {
this.loading = false;
});
},
// 存储配置状态修改
// 对象存储配置状态修改
handleStatusChange(row) {
let text = row.status === "0" ? "启用" : "停用";
this.$confirm(

View File

@ -120,7 +120,7 @@
<el-table v-loading="loading" :data="ossList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="存储主键" align="center" prop="ossId" v-if="false"/>
<el-table-column label="对象存储主键" align="center" prop="ossId" v-if="false"/>
<el-table-column label="文件名" align="center" prop="fileName" />
<el-table-column label="原名" align="center" prop="originalName" />
<el-table-column label="文件后缀" align="center" prop="fileSuffix" />
@ -170,7 +170,7 @@
@pagination="getList"
/>
<!-- 添加或修改OSS存储对话框 -->
<!-- 添加或修改OSS对象存储对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="文件名">
@ -210,7 +210,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
// OSS存储表格数据
// OSS对象存储表格数据
ossList: [],
// 弹出层标题
title: "",
@ -248,7 +248,7 @@ export default {
this.getList();
},
methods: {
/** 查询OSS存储列表 */
/** 查询OSS对象存储列表 */
getList() {
this.loading = true;
this.queryParams.params = {};
@ -330,7 +330,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const ossIds = row.ossId || this.ids;
this.$confirm('是否确认删除OSS存储编号为"' + ossIds + '"的数据项?', "警告", {
this.$confirm('是否确认删除OSS对象存储编号为"' + ossIds + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"