Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
328e28d7ee
|
|
@ -30,7 +30,7 @@ export function getSysLogs(data) {
|
|||
//备份系统日志列表
|
||||
export function downloadSysLogs(data) {
|
||||
return request({
|
||||
url: '/sys/sysLog/downloadSysLogs',
|
||||
url: '/system/sys/sysLog/downloadSysLogs',
|
||||
method: 'get',
|
||||
params: data,
|
||||
responseType: 'blob'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// SM 配置
|
||||
const SM_CONFIG = {
|
||||
export const SM_CONFIG = {
|
||||
SALT: '2cc0c5f9f1749f1632efa9f63e902323', // SM3 盐值(16 字节)
|
||||
SM4_KEY:"78d1295afa99449b99d6f83820e6965c", // SM4 对称加密密钥
|
||||
SM4_SALT:generateUUID(),
|
||||
|
|
@ -7,7 +7,7 @@ const SM_CONFIG = {
|
|||
SM2_PRIVATE_KEY: 'your-private-key' // SM2 私钥
|
||||
}
|
||||
// AES 配置
|
||||
const AES_CONFIG = {
|
||||
export const AES_CONFIG = {
|
||||
AES_KEY: 'zhgd@bonus@zhgd@bonus@1234567890', // AES key值
|
||||
AES_IV: '1234567812345678' // AES 偏移量
|
||||
}
|
||||
|
|
@ -21,10 +21,10 @@ export function generateUUID() {
|
|||
});
|
||||
}
|
||||
|
||||
// 使用示例
|
||||
const uuid = generateUUID();
|
||||
console.log(uuid);
|
||||
module.exports = {
|
||||
SM_CONFIG,
|
||||
AES_CONFIG,
|
||||
}
|
||||
// // 使用示例
|
||||
// const uuid = generateUUID();
|
||||
// console.log(uuid);
|
||||
// module.exports = {
|
||||
// SM_CONFIG,
|
||||
// AES_CONFIG,
|
||||
// }
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@
|
|||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||
重置
|
||||
</el-button>
|
||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
备份
|
||||
</el-button> -->
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<el-table
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@
|
|||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||
重置
|
||||
</el-button>
|
||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
备份
|
||||
</el-button> -->
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<el-table
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
<el-radio-group v-model="listQuery.type" class="toptype">
|
||||
<el-radio label="1">日志类型</el-radio>
|
||||
<el-radio label="2">操作类型</el-radio>
|
||||
<el-radio label="3">操作人</el-radio>
|
||||
</el-radio-group>
|
||||
<el-button style="margin-left: 20px" class="filter-item" type="primary" @click="handleFilter">
|
||||
查询
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@
|
|||
<el-button style="margin-left: 20px" class="filter-item" @click="resetFilter">
|
||||
重置
|
||||
</el-button>
|
||||
<!-- <el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
<el-button @click="handleBackups" class="filter-item" style="margin-left: 20px" type="warning">
|
||||
备份
|
||||
</el-button> -->
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<el-table
|
||||
|
|
@ -125,7 +125,7 @@ export default {
|
|||
listLoading: false,
|
||||
tableHeight: 650,
|
||||
operateList: operateList,
|
||||
timeList:[{id:1,name:'时间'},{id:2,name:'操作人'},{id:3,name:'操作模块'},{id:4,name:'ip'},],
|
||||
timeList:[{id:1,name:'时间'},{id:2,name:'操作人'},{id:3,name:'操作模块'},{id:4,name:'ip'},{id:5,name:'操作类型'},],
|
||||
sortList:[{id:1,name:'倒序'},{id:2,name:'升序'}],
|
||||
listQuery: {
|
||||
pageNum: 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue