Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
22db19e3
提交
22db19e3
authored
2月 02, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改校验
上级
1e9a3c5d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
12 行增加
和
7 行删除
+12
-7
Tb1.vue
...isk-client-39/src/views/baosong/report/components/Tb1.vue
+0
-0
Tb10.vue
...sk-client-39/src/views/baosong/report/components/Tb10.vue
+0
-0
Tb2.vue
...isk-client-39/src/views/baosong/report/components/Tb2.vue
+0
-0
Tb4.vue
...isk-client-39/src/views/baosong/report/components/Tb4.vue
+0
-0
Tb5.vue
...isk-client-39/src/views/baosong/report/components/Tb5.vue
+0
-0
Tb6.vue
...isk-client-39/src/views/baosong/report/components/Tb6.vue
+0
-0
Tb7.vue
...isk-client-39/src/views/baosong/report/components/Tb7.vue
+0
-0
Tb8.vue
...isk-client-39/src/views/baosong/report/components/Tb8.vue
+0
-0
Tb9.vue
...isk-client-39/src/views/baosong/report/components/Tb9.vue
+0
-0
HistoryFillCheck.vue
...iews/baosong/report/components/check/HistoryFillCheck.vue
+12
-7
没有找到文件。
zrch-risk-client-39/src/views/baosong/report/components/Tb1.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb10.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb2.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb4.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb5.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb6.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb7.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb8.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/Tb9.vue
浏览文件 @
22db19e3
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/baosong/report/components/check/HistoryFillCheck.vue
浏览文件 @
22db19e3
...
...
@@ -51,11 +51,11 @@ const gridOptions = reactive<VxeGridProps<RowVO>>({
{
field
:
'itemName'
,
title
:
'字段名称'
,
width
:
"15%"
},
{
field
:
'values'
,
title
:
'最近5年填报数据'
,
width
:
"75%"
,
children
:
[
{
field
:
'value
1
'
,
title
:
'第一次'
,
width
:
"15%"
},
{
field
:
'value
2
'
,
title
:
'第二次'
,
width
:
"15%"
},
{
field
:
'value
3
'
,
title
:
'第三次'
,
width
:
"15%"
},
{
field
:
'value
4
'
,
title
:
'第四次'
,
width
:
"15%"
},
{
field
:
'value
5
'
,
title
:
'第五次'
,
width
:
"15%"
},
{
field
:
'value
0
'
,
title
:
'第一次'
,
width
:
"15%"
},
{
field
:
'value
1
'
,
title
:
'第二次'
,
width
:
"15%"
},
{
field
:
'value
2
'
,
title
:
'第三次'
,
width
:
"15%"
},
{
field
:
'value
3
'
,
title
:
'第四次'
,
width
:
"15%"
},
{
field
:
'value
4
'
,
title
:
'第五次'
,
width
:
"15%"
},
],
},
{
field
:
'opt'
,
title
:
'操作'
,
width
:
"10%"
},
...
...
@@ -67,19 +67,24 @@ async function onDrawerShow(tplid: number) {
const
retData
=
await
findFillHistoryForCheck
({
tplid
:
tplid
});
// 调试:查看数据结构
console
.
log
(
'原始数据:'
,
retData
);
// 处理 values 数据
const
processedData
=
retData
.
map
(
item
=>
{
const
processedData
=
retData
.
map
(
(
item
,
itemIndex
)
=>
{
const
processedItem
=
{...
item
};
// 将 values 数组中的 value 属性提取出来
if
(
Array
.
isArray
(
processedItem
.
values
))
{
processedItem
.
values
.
forEach
((
valueItem
,
index
)
=>
{
// 将每个 valueItem 的 value 属性设置到单独的字段中
processedItem
[
`value
${
index
}
`
]
=
valueItem
.
value
;
// 注意:index从0开始,但字段名应该从1开始
processedItem
[
`value
${
index
+
1
}
`
]
=
valueItem
.
value
;
});
}
return
processedItem
;
});
console
.
log
(
'处理后的数据:'
,
processedData
);
gridOptions
.
data
=
processedData
;
return
false
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论