进度条

This commit is contained in:
hekaiyu 2025-04-21 22:24:10 +08:00
parent e4858792e7
commit 19696cbd90
2 changed files with 8 additions and 8 deletions

View File

@ -4,8 +4,8 @@
<div class="linese"></div>
<!-- 查询区域 -->
<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-option v-for="d in dataTypedataSources" :key="d.enName">
<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>
</a-select>
@ -90,7 +90,7 @@ export default {
percent: 0,
websock: {},
datatypequeryParam: {
schemaName: "",
schemaMass: "",
sourceType: 1
},
queryParam: {
@ -203,7 +203,7 @@ export default {
dataTypePageList(this.queryParam).then((res) => {
if (res.success) {
this.dataTypedataSources = res.result.rows || res.result;
this.datatypequeryParam.schemaName = res.result.rows[0].cnName
this.datatypequeryParam.schemaMass = res.result.rows[0].cnName
this.getTables();
} else {
this.$message.warning(res.message);

View File

@ -4,8 +4,8 @@
<div class="linese"></div>
<!-- 查询区域 -->
<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-option v-for="d in dataTypedataSources" :key="d.enName">
<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>
</a-select>
@ -97,7 +97,7 @@
percent:0,
websock:{},
datatypequeryParam: {
schemaName:"",
schemaMass:"",
sourceType:2
},
queryParam: {
@ -211,7 +211,7 @@
dataTypePageList(this.queryParam).then((res) => {
if (res.success) {
this.dataTypedataSources = res.result.rows||res.result;
this.datatypequeryParam.schemaName = res.result.rows[0].cnName
this.datatypequeryParam.schemaMass = res.result.rows[0].cnName
this.getTables();
} else {
this.$message.warning(res.message);