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
32c74f33
authored
2025-07-28 15:02:48 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据定价模型配置更新
1 parent
cb6cb6e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
src/views/data_pricing/calculateConfig.vue
src/views/data_pricing/calculateConfig.vue
View file @
32c74f3
...
...
@@ -599,7 +599,14 @@ const setTableRowData = (dGuid, rIndex) => {
})
rowData
.
dataFields
.
map
(
t
=>
{
t
.
damFieldTable
=
JSON
.
parse
(
JSON
.
stringify
(
damFieldOptions
));
const
match
=
damFieldOptions
.
find
(
d
=>
d
.
chName
==
t
.
fieldName
);
t
.
chName
=
match
?.
chName
||
''
;
t
.
enName
=
match
?.
enName
||
''
;
})
rowData
.
dataFieldsNum
=
rowData
.
dataFields
.
filter
(
item
=>
item
.
chName
!=
''
&&
item
.
chName
!=
null
).
length
;
resourceTableFieldAllNum
.
value
=
tableData
.
value
.
reduce
((
accumulator
,
currentValue
)
=>
{
return
accumulator
+
Number
(
currentValue
.
dataFieldsNum
);
},
0
);
// console.log('rowData', rowData)
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
...
...
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