修改页面字段

This commit is contained in:
RenCheng 2025-03-08 18:49:35 +08:00
parent 2399548903
commit 19520694fa
5 changed files with 22 additions and 23 deletions

View File

@ -32,7 +32,7 @@
<div class="table-page-search-wrapper">
<a-form layout="inline">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button @click="dataAdd" type="primary" v-has="'cont:btn'" icon="plus">数据清洗整编</a-button>
<a-button @click="dataAdd" type="primary" icon="plus">数据清洗整编</a-button>
</span>
</a-form>
<a-progress :percent="percent" status="active" />
@ -96,22 +96,22 @@
{
title: '报文名',
align:"center",
dataIndex: 'data1'
dataIndex: 'tableMessName'
},
{
title: '开始时间',
align:"center",
dataIndex: 'data2'
dataIndex: 'startTime'
},
{
title: '最后更新时间',
align:"center",
dataIndex: 'data3'
dataIndex: 'endTime'
},
{
title: '标签类型',
align:"center",
dataIndex: 'data4'
dataIndex: 'tagNames'
},
],
}
@ -171,7 +171,7 @@
dataTypePageList(this.queryParam).then((res) => {
if (res.success) {
this.dataTypedataSources = res.result.rows||res.result;
this.queryParam.schemaName = res.result.rows[0].enName
this.datatypequeryParam.schemaName = res.result.rows[0].cnName
this.getTables();
} else {
this.$message.warning(res.message);
@ -179,7 +179,7 @@
});
},
getTables(){
getAction("/dataManager/getDataManagerInfo",datatypequeryParam).then((res) => {
getAction("/dataManager/getDataManagerInfo",this.datatypequeryParam).then((res) => {
if (res.result) {
this.dataSource = res.result;
} else {

View File

@ -102,22 +102,22 @@
{
title: '报文名',
align:"center",
dataIndex: 'data1'
dataIndex: 'tableMessName'
},
{
title: '开始时间',
align:"center",
dataIndex: 'data2'
dataIndex: 'startTime'
},
{
title: '最后更新时间',
align:"center",
dataIndex: 'data3'
dataIndex: 'endTime'
},
{
title: '标签类型',
align:"center",
dataIndex: 'data4'
dataIndex: 'tagNames'
},
],
}
@ -179,7 +179,7 @@
dataTypePageList(this.queryParam).then((res) => {
if (res.success) {
this.dataTypedataSources = res.result.rows||res.result;
this.queryParam.schemaName = res.result.rows[0].enName
this.datatypequeryParam.schemaName = res.result.rows[0].cnName
this.getTables();
} else {
this.$message.warning(res.message);
@ -187,7 +187,7 @@
});
},
getTables(){
getAction("/dataManager/getDataManagerInfo",datatypequeryParam).then((res) => {
getAction("/dataManager/getDataManagerInfo",this.datatypequeryParam).then((res) => {
if (res.result) {
this.dataSource = res.result;
} else {

View File

@ -69,22 +69,22 @@
{
title: '报文名',
align:"center",
dataIndex: 'data1'
dataIndex: 'tableMessName'
},
{
title: '开始时间',
align:"center",
dataIndex: 'data2'
dataIndex: 'startTime'
},
{
title: '最后更新时间',
align:"center",
dataIndex: 'data3'
dataIndex: 'endTime'
},
{
title: '数据量',
title: '标签类型',
align:"center",
dataIndex: 'data4'
dataIndex: 'tagNames'
},
],
}
@ -104,7 +104,7 @@
dataTypePageList(this.queryParam).then((res) => {
if (res.success) {
this.dataTypedataSources = res.result.rows||res.result;
this.queryParam.schemaName = res.result.rows[0].enName
this.datatypequeryParam.schemaName = res.result.rows[0].cnName
this.getTables();
} else {
this.$message.warning(res.message);
@ -112,7 +112,7 @@
});
},
getTables(){
getAction("/dataManager/getDataManagerInfo",datatypequeryParam).then((res) => {
getAction("/dataManager/getDataManagerInfo",this.datatypequeryParam).then((res) => {
if (res.result) {
this.dataSource = res.result;
} else {

View File

@ -179,6 +179,7 @@ import { datasyncqueryPage,
methods: {
add () {
this.visible =true;
this.recordId = '';
this.getselect();
},
edit (record) {

View File

@ -3,15 +3,13 @@
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline">
<a-row :gutter="30">
<a-col :md="6" :sm="10" >
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button @click="handleAdd" type="primary" v-has="'cont:btn'" icon="plus">新增</a-button>
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->