Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
emport-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘泽志
emport-web
Commits
222ed32b
Commit
222ed32b
authored
Mar 01, 2023
by
刘泽志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相同字段查询
parent
276e7e88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletions
+20
-1
index.vue
src/views/emport/emport/index.vue
+20
-1
No files found.
src/views/emport/emport/index.vue
View file @
222ed32b
...
@@ -505,6 +505,20 @@
...
@@ -505,6 +505,20 @@
<el-table-column
align=
"center"
label=
"字段类型"
prop=
"fieldType"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"字段类型"
prop=
"fieldType"
show-overflow-tooltip
/>
</el-table>
</el-table>
</el-dialog>
</el-dialog>
<!-- 相同字段 -->
<el-dialog
:visible
.
sync=
"sameFieldDialog.show"
append-to-body
close-on-click-modal
title=
"相同字段整理"
width=
"80%"
>
<el-table
:data=
"sameFieldDialog.list"
border
height=
"500px"
max-height=
"500px"
stripe
>
<el-table-column
align=
"center"
label=
"代码"
prop=
"code"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"指标名称"
prop=
"title"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"字段名称"
prop=
"fieldName"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"字段类型"
prop=
"fieldType"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"字段备注"
prop=
"fieldComment"
show-overflow-tooltip
/>
</el-table>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -628,6 +642,10 @@ export default {
...
@@ -628,6 +642,10 @@ export default {
list
:
[],
list
:
[],
checked
:[]
checked
:[]
},
},
sameFieldDialog
:{
// 相同字段列表
show
:
false
,
list
:[],
},
importLoading
:
false
,
// 导入数据loading
importLoading
:
false
,
// 导入数据loading
queryTemplateLoading
:
false
,
// 模板查询loading
queryTemplateLoading
:
false
,
// 模板查询loading
queryTableLoading
:
false
,
// 查询数据表loading
queryTableLoading
:
false
,
// 查询数据表loading
...
@@ -1573,7 +1591,8 @@ export default {
...
@@ -1573,7 +1591,8 @@ export default {
if
(
!
res
.
data
||
res
.
data
.
length
===
0
){
if
(
!
res
.
data
||
res
.
data
.
length
===
0
){
this
.
$message
.
success
(
"无重复字段,可建表"
)
this
.
$message
.
success
(
"无重复字段,可建表"
)
}
else
{
}
else
{
this
.
sameFieldDialog
.
list
=
res
.
data
this
.
sameFieldDialog
.
show
=
true
}
}
})
})
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment