Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
ac7d2227
提交
ac7d2227
authored
2月 27, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tb2.AttachTable.vue 组件 不能回显其他
上级
0693e358
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
51 行增加
和
25 行删除
+51
-25
.gitignore
.gitignore
+28
-2
.env
zrch-risk-client-39/.env
+5
-2
.env.production
zrch-risk-client-39/.env.production
+3
-1
tb2.data.ts
zrch-risk-client-39/src/views/baosong/data/tb2.data.ts
+3
-15
AttachTable.vue
.../src/views/baosong/report/tableComponents/AttachTable.vue
+0
-1
MultiColumnTable.vue
...views/baosong/report/tableComponents/MultiColumnTable.vue
+12
-4
没有找到文件。
.gitignore
浏览文件 @
ac7d2227
...
@@ -11,7 +11,34 @@ rebel.xml
...
@@ -11,7 +11,34 @@ rebel.xml
**/*.lock
**/*.lock
os_del.cmd
os_del.cmd
os_del_doc.cmd
os_del_doc.cmd
.svn
derby.log
**/target
**/logs
## front
**/*.lock
os_del.cmd
os_del_doc.cmd
.svn
.svn
derby.log
derby.log
.cursor
.cursor
.history
.history
\ No newline at end of file
node_modules/
dist/
build/
.env
.DS_Store
*.log
*.tmp
*.cache
.*
/logs/*
!/logs/.gitkeep
zrch-risk-client-39/.env
浏览文件 @
ac7d2227
...
@@ -10,15 +10,18 @@ VITE_GLOB_APP_SHORT_NAME = 科技风险管理平台
...
@@ -10,15 +10,18 @@ VITE_GLOB_APP_SHORT_NAME = 科技风险管理平台
# 单点登录服务端地址
# 单点登录服务端地址
VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas
VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas
# 是否开启单点登录
# 是否开启单点登录
VITE_GLOB_APP_OPEN_SSO = false
VITE_GLOB_APP_OPEN_SSO = false
# 开启微前端模式
# 开启微前端模式
VITE_GLOB_APP_OPEN_QIANKUN=true
VITE_GLOB_APP_OPEN_QIANKUN=true
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://47.98.203.68:8080/stm/
# 文件预览地址
# 文件预览地址
# VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview
# VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview
VITE_GLOB_ONLINE_VIEW_URL=http://47.98.203.68:8080/stm/sys/common/static/
VITE_GLOB_ONLINE_VIEW_URL=http://47.98.203.68:82/stm/sys/common/static/
zrch-risk-client-39/.env.production
浏览文件 @
ac7d2227
...
@@ -19,7 +19,9 @@ VITE_GLOB_API_URL=/stm
...
@@ -19,7 +19,9 @@ VITE_GLOB_API_URL=/stm
# VITE_GLOB_DOMAIN_URL=https://itrm.westmining.com:8080/stm
# VITE_GLOB_DOMAIN_URL=https://itrm.westmining.com:8080/stm
# VITE_GLOB_ONLINE_VIEW_URL=https://itrm.westmining.com:8080/stm/sys/common/static/
# VITE_GLOB_ONLINE_VIEW_URL=https://itrm.westmining.com:8080/stm/sys/common/static/
VITE_GLOB_DOMAIN_URL=http://47.98.203.68:8080/stm
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://47.98.203.68:8080/stm/
VITE_GLOB_ONLINE_VIEW_URL=http://47.98.203.68:8080/stm/sys/common/static/
VITE_GLOB_ONLINE_VIEW_URL=http://47.98.203.68:8080/stm/sys/common/static/
# 接口父路径前缀
# 接口父路径前缀
...
...
zrch-risk-client-39/src/views/baosong/data/tb2.data.ts
浏览文件 @
ac7d2227
...
@@ -565,21 +565,9 @@ export const tableFormData = [
...
@@ -565,21 +565,9 @@ export const tableFormData = [
field
:
'COL105'
,
field
:
'COL105'
,
formType
:
'checkbox-group'
,
formType
:
'checkbox-group'
,
options
:
[
options
:
[
'温度'
,
'温度'
,
'湿度'
,
'防水'
,
'防磁'
,
'防雷'
,
'湿度'
,
'防鼠'
,
'消防'
,
'安防'
,
'空调'
,
'UPS'
,
'防水'
,
'发电机'
,
'配电'
,
'机房门禁'
,
'逃生通道'
,
'其他'
,
'防磁'
,
'防雷'
,
'防鼠'
,
'消防'
,
'安防'
,
'空调'
,
'UPS'
,
'发电机'
,
'配电'
,
'机房门禁'
,
'逃生通道'
,
'其他'
,
],
],
otherOption
:
true
,
otherOption
:
true
,
otherField
:
'COL106'
,
otherField
:
'COL106'
,
...
...
zrch-risk-client-39/src/views/baosong/report/tableComponents/AttachTable.vue
浏览文件 @
ac7d2227
...
@@ -231,7 +231,6 @@ const getFormData = () => {
...
@@ -231,7 +231,6 @@ const getFormData = () => {
}
}
const
setFormData
=
(
dataVale
)
=>
{
const
setFormData
=
(
dataVale
)
=>
{
alert
(
JSON
.
stringify
(
dataVale
))
Object
.
assign
(
formData
,
dataVale
);
Object
.
assign
(
formData
,
dataVale
);
}
}
...
...
zrch-risk-client-39/src/views/baosong/report/tableComponents/MultiColumnTable.vue
浏览文件 @
ac7d2227
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
@
click=
"safeAddNewRecord"
@
click=
"safeAddNewRecord"
style=
"margin: 0 5px;"
style=
"margin: 0 5px;"
>
新增记录
</vxe-button>
>
新增记录
</vxe-button>
<!--
<vxe-button
<!--
<vxe-button
type=
"text"
type=
"text"
icon=
"vxe-icon-fullscreen"
icon=
"vxe-icon-fullscreen"
...
@@ -528,7 +529,7 @@ const getFormData = () => {
...
@@ -528,7 +529,7 @@ const getFormData = () => {
}
}
const
setFormData
=
(
dataVale
)
=>
{
const
setFormData
=
(
dataVale
)
=>
{
console
.
log
(
'MultiColumnTable setFormData called, dataVale:'
,
dataVale
);
tableData
.
value
=
dataVale
.
map
((
row
,
rowIndex
)
=>
{
tableData
.
value
=
dataVale
.
map
((
row
,
rowIndex
)
=>
{
const
newRow
=
{
...
row
}
const
newRow
=
{
...
row
}
return
newRow
return
newRow
...
@@ -546,12 +547,19 @@ const setFormData = (dataVale) => {
...
@@ -546,12 +547,19 @@ const setFormData = (dataVale) => {
if
(
child
&&
child
.
setFormData
)
{
if
(
child
&&
child
.
setFormData
)
{
const
tableData
:
Record
<
string
,
any
>
=
{};
const
tableData
:
Record
<
string
,
any
>
=
{};
const
fieldWithGrid
=
field
as
any
;
const
fieldWithGrid
=
field
as
any
;
console
.
log
(
'MultiColumnTable AttachTable - fieldWithGrid:'
,
fieldWithGrid
);
if
(
fieldWithGrid
.
gridOptions
&&
fieldWithGrid
.
gridOptions
.
datas
)
{
if
(
fieldWithGrid
.
gridOptions
&&
fieldWithGrid
.
gridOptions
.
datas
)
{
fieldWithGrid
.
gridOptions
.
datas
.
forEach
((
dataRow
:
any
,
dataRowIndex
:
number
)
=>
{
fieldWithGrid
.
gridOptions
.
datas
.
forEach
((
dataRow
:
any
,
dataRowIndex
:
number
)
=>
{
Object
.
values
(
dataRow
).
forEach
((
cellValue
:
any
,
cellIndex
:
number
)
=>
{
Object
.
values
(
dataRow
).
forEach
((
cellValue
:
any
,
cellIndex
:
number
)
=>
{
if
(
cellValue
&&
typeof
cellValue
===
'object'
&&
cellValue
.
field
)
{
if
(
cellValue
&&
typeof
cellValue
===
'object'
)
{
tableData
[
cellValue
.
field
]
=
row
[
cellValue
.
field
];
if
(
cellValue
.
field
)
{
tableData
[
cellValue
.
field
]
=
row
[
cellValue
.
field
];
}
if
(
cellValue
.
extraField
)
{
tableData
[
cellValue
.
extraField
]
=
row
[
cellValue
.
extraField
];
}
if
(
cellValue
.
otherField
)
{
tableData
[
cellValue
.
otherField
]
=
row
[
cellValue
.
otherField
];
}
}
}
});
});
});
});
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论