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
0acd4578
authored
2025-08-14 17:25:04 +0800
by
lxs
Committed by
lihua
2025-10-13 11:29:08 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据定价更新
1 parent
5fa97178
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/data_pricing/calculateConfig.vue
src/views/data_pricing/calculateConfig.vue
View file @
0acd457
...
...
@@ -658,8 +658,7 @@ const matchTableFields = (rData, tData) => {
},
0
);
}
const
setRowData
=
(
rowData
,
dGuid
)
=>
{
const
detailDataTable
=
(
flowDetail
.
value
.
dataPricingDemandmatchingRQVOS
||
[]).
find
(
f
=>
f
.
dataTableGuid
==
dGuid
);
const
setRowData
=
(
rowData
,
dGuid
,
detailDataTable
)
=>
{
if
(
guid
&&
dGuid
==
rowData
.
dataTableGuid
)
{
const
pricingDemandField
=
detailDataTable
?.
pricingDemandFieldRQVOS
||
[];
rowData
.
dataFields
.
map
(
f
=>
{
...
...
@@ -675,12 +674,13 @@ const setRowData = (rowData, dGuid) => {
return
accumulator
+
Number
(
currentValue
.
dataFieldsNum
);
},
0
);
resourceTableAllNum
.
value
=
tableData
.
value
.
filter
(
item
=>
item
.
dataTableGuid
!=
''
&&
item
.
dataTableGuid
!=
null
).
length
;
return
detailDataTable
.
dataTableGuid
||
''
;
}
const
setTableRowData
=
(
dGuid
,
rIndex
,
setRow
=
true
)
=>
{
let
rowData
=
tableData
.
value
[
rIndex
],
currDataTableGuid
=
""
;
setRow
&&
(
currDataTableGuid
=
setRowData
(
rowData
,
dGuid
));
let
rowData
=
tableData
.
value
[
rIndex
];
const
detailDataTable
=
(
flowDetail
.
value
.
dataPricingDemandmatchingRQVOS
||
[]).
find
(
f
=>
f
.
dataTableGuid
==
dGuid
);
setRow
&&
setRowData
(
rowData
,
dGuid
,
detailDataTable
);
const
currDataTableGuid
=
detailDataTable
?.
dataTableGuid
||
''
;
if
(
dGuid
)
{
tableLoading
.
value
=
true
;
getRegisterCatalogTableDetail
(
dGuid
).
then
((
res
:
any
)
=>
{
...
...
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