提交修改
This commit is contained in:
parent
2bd4112f86
commit
6454e7d76f
|
@ -115,11 +115,11 @@
|
||||||
<span class="subTitle">总内存:</span>
|
<span class="subTitle">总内存:</span>
|
||||||
<span class="clore5">{{ memoryInfo.totalMemory }}</span>
|
<span class="clore5">{{ memoryInfo.totalMemory }}</span>
|
||||||
<span class="subTitle">已用内存:</span>
|
<span class="subTitle">已用内存:</span>
|
||||||
<span class="clore6">{{ memoryInfo.usedMemory }}% </span>
|
<span class="clore6">{{ memoryInfo.usedMemory }}GB </span>
|
||||||
<span class="subTitle">剩余内存:</span>
|
<span class="subTitle">剩余内存:</span>
|
||||||
<span class="clore7">{{ memoryInfo.freeMemory }}%</span>
|
<span class="clore7">{{ memoryInfo.freeMemory }}GB</span>
|
||||||
<span class="subTitle">使用率:</span>
|
<span class="subTitle">使用率:</span>
|
||||||
<span class="clore8">{{ memoryInfo.memoryUsage }}%</span>
|
<span class="clore8">{{ memoryInfo.memoryUsage }}GB</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="catalogingStorage" class="catalogingStorage" ref="catalogingStorage"
|
<div id="catalogingStorage" class="catalogingStorage" ref="catalogingStorage"
|
||||||
|
@ -134,11 +134,11 @@
|
||||||
<span class="subTitle">总内存:</span>
|
<span class="subTitle">总内存:</span>
|
||||||
<span class="clore5">{{ jvmInfo.jvmTotalMemory }}</span>
|
<span class="clore5">{{ jvmInfo.jvmTotalMemory }}</span>
|
||||||
<span class="subTitle">已用内存:</span>
|
<span class="subTitle">已用内存:</span>
|
||||||
<span class="clore6">{{ jvmInfo.jvmUsedMemory }}% </span>
|
<span class="clore6">{{ jvmInfo.jvmUsedMemory }}GB </span>
|
||||||
<span class="subTitle">剩余内存:</span>
|
<span class="subTitle">剩余内存:</span>
|
||||||
<span class="clore7">{{ jvmInfo.jvmFreeMemory }}%</span>
|
<span class="clore7">{{ jvmInfo.jvmFreeMemory }}GB</span>
|
||||||
<span class="subTitle">使用率:</span>
|
<span class="subTitle">使用率:</span>
|
||||||
<span class="clore8">{{ jvmInfo.jvmMemoryUsage }}%</span>
|
<span class="clore8">{{ jvmInfo.jvmMemoryUsage }}GB</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="typeStorage" class="typeStorage" ref="typeStorage"
|
<div id="typeStorage" class="typeStorage" ref="typeStorage"
|
||||||
|
|
|
@ -108,6 +108,11 @@ import pick from 'lodash.pick'
|
||||||
this.schemaMass = schemaMass;
|
this.schemaMass = schemaMass;
|
||||||
this.tableName = tableName;
|
this.tableName = tableName;
|
||||||
this.visible =true;
|
this.visible =true;
|
||||||
|
this.form ={
|
||||||
|
indexName: '',
|
||||||
|
columnName: '',
|
||||||
|
indexTypeId: 0
|
||||||
|
},
|
||||||
this.getQuerytableColumns()
|
this.getQuerytableColumns()
|
||||||
},
|
},
|
||||||
edit (schemaMass,tableName,record) {
|
edit (schemaMass,tableName,record) {
|
||||||
|
@ -134,16 +139,17 @@ import pick from 'lodash.pick'
|
||||||
this.model.indexName = this.form.indexName;
|
this.model.indexName = this.form.indexName;
|
||||||
this.model.columns = this.checkedList.join(',');
|
this.model.columns = this.checkedList.join(',');
|
||||||
this.model.indexTypeCode = this.form.indexTypeId;
|
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 => {
|
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) {
|
if (res.success) {
|
||||||
|
console.log(res);
|
||||||
that.$message.success(res.result);
|
that.$message.success(res.result);
|
||||||
that.visible =false;
|
that.visible =false;
|
||||||
that.$emit('ok');
|
that.$emit('ok');
|
||||||
} else {
|
} else {
|
||||||
that.$message.warning(res.message);
|
that.$message.warning(res.result);
|
||||||
that.confirmLoading = false;
|
|
||||||
}
|
}
|
||||||
|
that.confirmLoading = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<a-row :gutter="30">
|
<a-row :gutter="30">
|
||||||
<a-col :md="24" :sm="1" >
|
<a-col :md="24" :sm="1" >
|
||||||
<div class="table-page-search-wrapper"style="background: #e6e9f1;padding:10px;">
|
<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">
|
<a-select-option v-for="d in dataTypedataSources" :key="d.cnName">
|
||||||
{{ d.cnName }}
|
{{ d.cnName }}
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
description: '专题库',
|
description: '专题库',
|
||||||
contentList:[],
|
contentList:[],
|
||||||
datatypequeryParam: {
|
datatypequeryParam: {
|
||||||
schemaName:"",
|
schemaMass:"",
|
||||||
sourceType:3
|
sourceType:3
|
||||||
},
|
},
|
||||||
queryParam: {
|
queryParam: {
|
||||||
|
|
|
@ -432,7 +432,9 @@ export default {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.fileName{
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
.result-wrapper {
|
.result-wrapper {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -450,7 +450,9 @@ export default {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2px
|
top: 2px
|
||||||
}
|
}
|
||||||
|
.fileName{
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
.result-wrapper {
|
.result-wrapper {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user