Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e2987118
authored
2025-02-20 15:17:42 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
0cd47eb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/views/data_asset/importTableField.vue
src/views/data_asset/importTableField.vue
View file @
e298711
...
...
@@ -145,8 +145,12 @@ const changeStep = (val) => {
fileTableFields
.
value
.
forEach
(
field
=>
{
list
.
push
(
field
.
chName
)
})
chTransformEn
(
list
).
then
(
res
=>
{
tableCreateInfo
.
value
.
damCatalogTableField
=
res
.
data
.
map
(
field
=>
{
tableFieldsLoading
.
value
=
true
;
chTransformEn
(
list
).
then
((
res
:
any
)
=>
{
tableFieldsLoading
.
value
=
false
;
tableCreateInfo
.
value
.
damCatalogTableField
=
[];
if
(
res
.
code
==
proxy
.
$passCode
)
{
tableCreateInfo
.
value
.
damCatalogTableField
=
res
.
data
.
map
(
field
=>
{
return
{
chName
:
field
.
chName
,
enName
:
field
.
enName
,
...
...
@@ -157,6 +161,10 @@ const changeStep = (val) => {
fieldLength
:
field
.
fieldLength
,
}
})
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
})
// tableCreateInfo.value.damCatalogTableField = fileTableFields.value.map(field => {
// let enName = pinyin(field.chName, {
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment