Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
9dd9c254
提交
9dd9c254
authored
3月 06, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
指标名称
上级
dc235789
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
108 行增加
和
44 行删除
+108
-44
.env
zrch-risk-client-39/.env
+3
-3
.env.development
zrch-risk-client-39/.env.development
+2
-2
.env.production
zrch-risk-client-39/.env.production
+4
-5
index.html
zrch-risk-client-39/index.html
+1
-1
api.ts
zrch-risk-client-39/src/api/common/api.ts
+18
-0
componentMap.ts
zrch-risk-client-39/src/components/Form/src/componentMap.ts
+3
-1
JCascaderDomain.vue
.../components/Form/src/jeecg/components/JCascaderDomain.vue
+25
-24
JSelectMetric.vue
...rc/components/Form/src/jeecg/components/JSelectMetric.vue
+0
-1
index.ts
zrch-risk-client-39/src/components/Form/src/types/index.ts
+3
-2
Tb3.vue
...isk-client-39/src/views/baosong/report/components/Tb3.vue
+1
-1
MetricChartModal.vue
...src/views/metric/approval/components/MetricChartModal.vue
+0
-0
index.vue
zrch-risk-client-39/src/views/metric/approval/index.vue
+0
-0
left.vue
zrch-risk-client-39/src/views/metric/approval/left.vue
+0
-0
StDomain.data.ts
...isk-client-39/src/views/standardlib/base/StDomain.data.ts
+1
-0
StDomainList.vue
...isk-client-39/src/views/standardlib/base/StDomainList.vue
+47
-4
没有找到文件。
zrch-risk-client-39/.env
浏览文件 @
9dd9c254
...
...
@@ -8,7 +8,7 @@ VITE_GLOB_APP_TITLE = 科技风险管理平台
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
# 是否开启单点登录
...
...
@@ -18,10 +18,10 @@ VITE_GLOB_APP_OPEN_SSO = false
VITE_GLOB_APP_OPEN_QIANKUN=true
#后台接口全路径地址(必填)
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://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:8080/stm/sys/common/static/
zrch-risk-client-39/.env.development
浏览文件 @
9dd9c254
...
...
@@ -9,7 +9,7 @@ VITE_PUBLIC_PATH = /
VITE_PROXY = [["/stm","http://localhost:8080/stm"],["/upload","http://localhost:3300/upload"]]
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://localhost:8080/stm
/
VITE_GLOB_DOMAIN_URL=http://localhost:8080/stm
#后台接口父地址(必填)
VITE_GLOB_API_URL=/stm
...
...
@@ -33,5 +33,5 @@ VITE_APP_SUB_jeecg-app-1 = '//localhost:8092'
VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps
# 文件预览地址
VITE_GLOB_ONLINE_VIEW_URL=http://localhost:
808
0/stm/sys/common/static/
VITE_GLOB_ONLINE_VIEW_URL=http://localhost:
310
0/stm/sys/common/static/
zrch-risk-client-39/.env.production
浏览文件 @
9dd9c254
...
...
@@ -16,13 +16,12 @@ VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_GLOB_API_URL=/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_DOMAIN_URL=https://itrm.westmining.com
/stm
VITE_GLOB_ONLINE_VIEW_URL=https://itrm.westmining.com
/stm/sys/common/static/
#后台接口全路径地址(必填)
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_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_API_URL_PREFIX=
...
...
zrch-risk-client-39/index.html
浏览文件 @
9dd9c254
...
...
@@ -157,7 +157,7 @@
</style>
<div
class=
"app-loading"
>
<div
class=
"app-loading-wrap"
>
<img
src=
"<%= basePublicPath %>/resource/img/logo.png"
class=
"app-loading-logo"
alt=
"Logo"
style=
"width: 80px;height:32px;"
/>
<img
src=
"<%= basePublicPath %>/resource/img/logo.png"
class=
"app-loading-logo"
alt=
"Logo"
/>
<div
class=
"app-loading-dots"
>
<span
class=
"dot dot-spin"
><i></i><i></i><i></i><i></i></span>
</div>
...
...
zrch-risk-client-39/src/api/common/api.ts
浏览文件 @
9dd9c254
...
...
@@ -22,8 +22,13 @@ enum Api {
queryDepartPostUserPageList
=
'/sys/user/queryDepartPostUserPageList'
,
//查询所选部门的所有父节点ID
queryAllParentId
=
'/sys/sysDepart/queryAllParentId'
,
getMetricList
=
'/metric/metricMonitorSet/list'
,
queryAllMetric
=
'/metric/metricMonitorSet/queryAllMetric'
,
rateRuleList
=
'/rate/rateRule/list'
,
}
/**
* 上传父路径
*/
...
...
@@ -188,3 +193,16 @@ export const refreshDragCache = () => defHttp.get({ url: Api.refreshDragCache },
* @param params
*/
export
const
refreshHomeCache
=
()
=>
defHttp
.
get
({
url
:
Api
.
refreshDefaultIndexCache
},
{
isTransformResponse
:
false
});
export
const
getMetricList
=
(
params
)
=>
{
return
defHttp
.
get
({
url
:
Api
.
getMetricList
,
params
})
};
export
const
queryAllMetric
=
(
params
)
=>
{
return
defHttp
.
get
({
url
:
Api
.
queryAllMetric
,
params
})
}
export
const
getRateRuleList
=
(
params
)
=>
{
return
defHttp
.
get
({
url
:
Api
.
rateRuleList
,
params
});
};
zrch-risk-client-39/src/components/Form/src/componentMap.ts
浏览文件 @
9dd9c254
...
...
@@ -76,7 +76,7 @@ import JCaSelect from './jeecg/components/JCaSelect.vue';
import
StSelectLable
from
'./jeecg/components/StSelectLable.vue'
;
import
JSearchSelectDuty
from
'./jeecg/components/JSearchSelectDuty.vue'
;
import
JSelectMetric
from
'./jeecg/components/JSelectMetric.vue'
;
const
componentMap
=
new
Map
<
ComponentType
,
Component
>
();
...
...
@@ -182,6 +182,8 @@ componentMap.set('JCaSelect', JCaSelect);
componentMap
.
set
(
'StSelectLable'
,
StSelectLable
);
componentMap
.
set
(
'JSearchSelectDuty'
,
JSearchSelectDuty
);
componentMap
.
set
(
'JSelectMetric'
,
JSelectMetric
);
export
function
add
(
compName
:
ComponentType
,
component
:
Component
)
{
componentMap
.
set
(
compName
,
component
);
}
...
...
zrch-risk-client-39/src/components/Form/src/jeecg/components/JCascaderDomain.vue
浏览文件 @
9dd9c254
...
...
@@ -29,7 +29,7 @@
enum
Api
{
url
=
'/sys/dict/loadTreeData'
,
view
=
'/
sys/dict/loadDictItem/
'
,
view
=
'/
base.domain/stDomain/queryByCode
'
,
}
const
props
=
defineProps
({
...
...
@@ -110,29 +110,30 @@
treeValue
.
value
=
props
.
multiple
?
[]
:
null
;
return
;
}
const
params
=
{
key
:
props
.
value
};
const
result
=
await
defHttp
.
get
({
url
:
`
${
Api
.
view
}${
props
.
dict
}
`
,
params
},
{
isTransformResponse
:
false
});
if
(
result
.
success
&&
result
.
result
?.
length
>
0
)
{
console
.
log
(
result
,
'result'
);
console
.
log
(
result
.
result
,
'result.result'
);
console
.
log
(
props
,
'props'
);
const
values
=
props
.
value
;
console
.
log
(
values
,
'values'
);
const
length
=
values
.
length
;
console
.
log
(
length
,
'length'
);
if
(
length
===
2
)
{
treeValue
.
value
=
[
values
];
console
.
log
(
treeValue
.
value
,
'treeValue.value2'
);
}
else
if
(
length
===
4
)
{
treeValue
.
value
=
[
values
.
substring
(
0
,
2
),
values
];
console
.
log
(
treeValue
.
value
,
'treeValue.value4'
);
}
else
if
(
length
===
6
)
{
treeValue
.
value
=
[
values
.
substring
(
0
,
2
),
values
.
substring
(
0
,
4
),
values
];
console
.
log
(
treeValue
.
value
,
'treeValue.value6'
);
}
console
.
log
(
props
.
value
,
'props.value'
);
const
params
=
{
code
:
props
.
value
};
const
result
=
await
defHttp
.
get
({
url
:
`
${
Api
.
view
}
`
,
params
},
{
isTransformResponse
:
false
});
console
.
log
(
result
,
'result'
);
if
(
result
.
success
&&
result
.
result
)
{
// console.log(result.result, 'result.result');
// console.log(props, 'props');
// const values = props.value;
// console.log(values, 'values');
// const length = values.length;
// console.log(length, 'length');
// if (length === 2) {
// treeValue.value = [values];
// console.log(treeValue.value, 'treeValue.value2');
// } else if (length === 4) {
// treeValue.value = [values.substring(0, 2), values];
// console.log(treeValue.value, 'treeValue.value4');
// } else if (length === 6) {
// treeValue.value = [values.substring(0, 2), values.substring(0, 4), values];
// console.log(treeValue.value, 'treeValue.value6');
// }
treeValue
.
value
=
[
result
.
result
];
onLoadTriggleChange
(
result
.
result
[
0
]);
}
}
...
...
zrch-risk-client-39/src/components/Form/src/jeecg/components/JSelectMetric.vue
浏览文件 @
9dd9c254
<
template
>
<div>
<JMetricBiz
@
handleOpen=
"handleOpen"
:loading=
"loadingEcho"
v-bind=
"attrs"
></JMetricBiz>
...
...
zrch-risk-client-39/src/components/Form/src/types/index.ts
浏览文件 @
9dd9c254
...
...
@@ -168,4 +168,5 @@ export type ComponentType =
|
'StSelectLable'
|
'JTreeSelectDomain'
|
'JCaSelect'
|
'JInputSelect'
;
\ No newline at end of file
|
'JInputSelect'
|
'JSelectMetric'
;
\ No newline at end of file
zrch-risk-client-39/src/views/baosong/report/components/Tb3.vue
浏览文件 @
9dd9c254
...
...
@@ -275,7 +275,7 @@
</vxe-column>
<!-- 备注列 -->
<vxe-column
field=
"remarks"
title=
"备注"
width=
"
2
00"
>
<vxe-column
field=
"remarks"
title=
"备注"
width=
"
1
00"
>
<
template
#
default=
"{ row }"
>
<vxe-textarea
:rows=
"row.remarks.rows"
...
...
zrch-risk-client-39/src/views/metric/approval/components/MetricChartModal.vue
0 → 100644
浏览文件 @
9dd9c254
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/metric/approval/index.vue
浏览文件 @
9dd9c254
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/metric/approval/left.vue
浏览文件 @
9dd9c254
差异被折叠。
点击展开。
zrch-risk-client-39/src/views/standardlib/base/StDomain.data.ts
浏览文件 @
9dd9c254
...
...
@@ -23,6 +23,7 @@ export const columns: BasicColumn[] = [
ellipsis
:
true
,
dataIndex
:
'domainDesc'
,
width
:
300
,
ifShow
:
false
,
},
{
title
:
'更新时间'
,
...
...
zrch-risk-client-39/src/views/standardlib/base/StDomainList.vue
浏览文件 @
9dd9c254
...
...
@@ -7,6 +7,8 @@
<a-button
type=
"primary"
@
click=
"handleCreate"
preIcon=
"ant-design:plus-outlined"
>
新建
</a-button>
<a-button
v-show=
"showBtn"
type=
"primary"
preIcon=
"ant-design:export-outlined"
@
click=
"onExportXls"
>
导出
</a-button>
<j-upload-button
v-show=
"showBtn"
type=
"primary"
preIcon=
"ant-design:import-outlined"
@
click=
"onImportXls"
>
导入
</j-upload-button>
<a-button
type=
"primary"
@
click=
"handleExpandAll"
preIcon=
"ant-design:down-outlined"
>
展开所有
</a-button>
<a-button
type=
"primary"
@
click=
"handleCollapseAll"
preIcon=
"ant-design:up-outlined"
>
折叠所有
</a-button>
<a-dropdown
v-show=
"showBtn"
v-if=
"selectedRowKeys.length > 0"
>
<template
#
overlay
>
...
...
@@ -217,7 +219,6 @@ import { downloadFile } from '/@/utils/common/renderUtils';
getDataByResult
(
result
.
items
);
setTimeout
(()
=>
{
loadDataByExpandedRows
()
nextTick
(
expandAll
)
},
800
);
}
...
...
@@ -281,10 +282,7 @@ import { downloadFile } from '/@/utils/common/renderUtils';
//判断是否标记了带有子节点
if
(
item
[
"hasChild"
]
==
'1'
){
let
loadChild
=
{
id
:
item
.
id
+
'_loadChild'
,
name
:
'loading...'
,
isLoading
:
true
}
console
.
log
(
loadChild
)
item
.
children
=
[
loadChild
]
// // 设置展开的key
handleExpand
(
true
,
item
)
}
return
item
})
...
...
@@ -394,6 +392,51 @@ import { downloadFile } from '/@/utils/common/renderUtils';
]
}
/**
* 展开所有节点
*/
async
function
handleExpandAll
()
{
// 展开所有节点
expandAll
();
// 加载所有子节点数据
const
dataSource
=
getDataSource
();
await
loadAllChildren
(
dataSource
);
}
/**
* 折叠所有节点
*/
function
handleCollapseAll
()
{
// 清空展开的节点
expandedRowKeys
.
value
=
[];
// 重新加载表格数据,确保所有节点都折叠
reload
();
}
/**
* 递归加载所有子节点数据
*/
async
function
loadAllChildren
(
nodes
)
{
if
(
!
nodes
||
nodes
.
length
===
0
)
return
;
for
(
const
node
of
nodes
)
{
if
(
node
.
children
&&
node
.
children
.
length
>
0
&&
node
.
children
[
0
].
isLoading
)
{
let
data
=
getFormVlaue
();
if
(
data
.
level
!==
"1"
)
{
let
result
=
await
getChildList
({
upperDomainCode
:
node
.
domainCode
,
level
:
data
.
level
,
domainName
:
data
.
domainName
});
result
=
result
.
records
?
result
.
records
:
result
;
if
(
result
&&
result
.
length
>
0
)
{
node
.
children
=
getDataByResult
(
result
);
await
loadAllChildren
(
node
.
children
);
}
}
}
else
if
(
node
.
children
&&
node
.
children
.
length
>
0
)
{
await
loadAllChildren
(
node
.
children
);
}
}
}
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论