提交修改

This commit is contained in:
RenCheng 2025-05-09 12:24:41 +08:00
parent 2bd4112f86
commit 6454e7d76f
5 changed files with 23 additions and 13 deletions

View File

@ -115,11 +115,11 @@
<span class="subTitle">总内存</span>
<span class="clore5">{{ memoryInfo.totalMemory }}</span>
<span class="subTitle">已用内存</span>
<span class="clore6">{{ memoryInfo.usedMemory }}% </span>
<span class="clore6">{{ memoryInfo.usedMemory }}GB </span>
<span class="subTitle">剩余内存</span>
<span class="clore7">{{ memoryInfo.freeMemory }}%</span>
<span class="clore7">{{ memoryInfo.freeMemory }}GB</span>
<span class="subTitle">使用率</span>
<span class="clore8">{{ memoryInfo.memoryUsage }}%</span>
<span class="clore8">{{ memoryInfo.memoryUsage }}GB</span>
</div>
</div>
<div id="catalogingStorage" class="catalogingStorage" ref="catalogingStorage"
@ -134,11 +134,11 @@
<span class="subTitle">总内存</span>
<span class="clore5">{{ jvmInfo.jvmTotalMemory }}</span>
<span class="subTitle">已用内存</span>
<span class="clore6">{{ jvmInfo.jvmUsedMemory }}% </span>
<span class="clore6">{{ jvmInfo.jvmUsedMemory }}GB </span>
<span class="subTitle">剩余内存</span>
<span class="clore7">{{ jvmInfo.jvmFreeMemory }}%</span>
<span class="clore7">{{ jvmInfo.jvmFreeMemory }}GB</span>
<span class="subTitle">使用率</span>
<span class="clore8">{{ jvmInfo.jvmMemoryUsage }}%</span>
<span class="clore8">{{ jvmInfo.jvmMemoryUsage }}GB</span>
</div>
</div>
<div id="typeStorage" class="typeStorage" ref="typeStorage"

View File

@ -108,6 +108,11 @@ import pick from 'lodash.pick'
this.schemaMass = schemaMass;
this.tableName = tableName;
this.visible =true;
this.form ={
indexName: '',
columnName: '',
indexTypeId: 0
},
this.getQuerytableColumns()
},
edit (schemaMass,tableName,record) {
@ -134,16 +139,17 @@ import pick from 'lodash.pick'
this.model.indexName = this.form.indexName;
this.model.columns = this.checkedList.join(',');
this.model.indexTypeCode = this.form.indexTypeId;
console.log(this.model);
postAction("/tableIndex/updateIndexSafe?schemaMass="+this.schemaMass+"&tableName="+this.tableName+"&indexName="+this.model.indexName+"&columns="+this.model.columns+"&indexTypeCode="+this.model.indexTypeCode,{}).then(res => {
if (res.success) {
console.log(res);
that.$message.success(res.result);
that.visible =false;
that.$emit('ok');
} else {
that.$message.warning(res.message);
that.confirmLoading = false;
that.$message.warning(res.result);
}
that.confirmLoading = false;
})
}
})

View File

@ -2,7 +2,7 @@
<a-row :gutter="30">
<a-col :md="24" :sm="1" >
<div class="table-page-search-wrapper"style="background: #e6e9f1;padding:10px;">
<a-select placeholder="选择数据类型" option-filter-prop="children" v-model="datatypequeryParam.schemaName" @change="getTables" style="width: 40%;">
<a-select placeholder="选择数据类型" option-filter-prop="children" v-model="datatypequeryParam.schemaMass" @change="getTables" style="width: 40%;">
<a-select-option v-for="d in dataTypedataSources" :key="d.cnName">
{{ d.cnName }}
</a-select-option>
@ -44,7 +44,7 @@
description: '专题库',
contentList:[],
datatypequeryParam: {
schemaName:"",
schemaMass:"",
sourceType:3
},
queryParam: {

View File

@ -432,7 +432,9 @@ export default {
width: 100%;
}
}
.fileName{
color: black;
}
.result-wrapper {
margin-top: 10px;
width: 100%;

View File

@ -450,7 +450,9 @@ export default {
position: absolute;
top: 2px
}
.fileName{
color: black;
}
.result-wrapper {
margin-top: 10px;
width: 100%;