Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
bad81fff
提交
bad81fff
authored
3月 27, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zy-dev' 到 'pre'
Zy dev 查看合并请求
!252
上级
cda69d34
dff685d2
流水线
#141
已通过 于阶段
in 5 分 11 秒
变更
4
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
40 行删除
+34
-40
index.vue
src/views/decree/allOrganization/index.vue
+1
-0
MindGraph.vue
src/views/decree/com/MindGraph.vue
+2
-1
index.vue
src/views/decree/decreeLayout/overview/measures/index.vue
+29
-15
index.vue
...views/marketAccessRestrictions/marketAccessHome/index.vue
+2
-24
没有找到文件。
src/views/decree/allOrganization/index.vue
浏览文件 @
bad81fff
...
...
@@ -315,6 +315,7 @@ onMounted(() => {
.pagination-box
{
display
:
flex
;
justify-content
:
center
;
position
:
relative
;
}
}
}
...
...
src/views/decree/com/MindGraph.vue
浏览文件 @
bad81fff
...
...
@@ -51,7 +51,8 @@ const onInitGraph = () => {
rankdir
:
'LR'
,
// 布局从左向右
controlPoints
:
true
,
// 节点间连线的控制点
nodesep
:
10
,
// 同一层节点之间的距离
ranksep
:
50
,
// 不同层节点之间的距离
ranksep
:
100
,
// 不同层节点之间的距离
// begin: [250, 100], // 左上角坐标
},
modes
:
{
default
:
[
...
...
src/views/decree/decreeLayout/overview/measures/index.vue
浏览文件 @
bad81fff
...
...
@@ -123,7 +123,7 @@
</div>
</div>
<el-dialog
v-model=
"isTreeDialog"
width=
"1
54
0px"
top=
"8vh"
class=
"viewpoint-dialog"
destroy-on-close
>
<el-dialog
v-model=
"isTreeDialog"
width=
"1
40
0px"
top=
"8vh"
class=
"viewpoint-dialog"
destroy-on-close
>
<
template
#
header
>
<div
class=
"viewpoint-header"
>
<div
class=
"viewpoint-title"
>
政令举措思维导图
</div>
...
...
@@ -318,20 +318,22 @@ const onDecreeMindMap = async () => {
if
(
res
.
code
===
200
)
{
let
nodes
=
[]
let
edges
=
[]
Object
.
keys
(
res
.
data
||
{}).
forEach
((
label
,
count
)
=>
{
nodes
.
push
({
id
:
`node-
${
count
}
`
,
label
})
})
Object
.
values
(
res
.
data
||
{}).
forEach
((
list
,
count
)
=>
{
list
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
execAgent
?.
length
)
{
nodes
.
push
({
id
:
`node-
${
count
}
-
${
index
}
`
,
label
:
item
.
textZh
,
maxWidth
:
600
,
labelCfg
})
item
.
execAgent
.
forEach
((
label
,
num
)
=>
{
nodes
.
push
({
id
:
`node-
${
count
}
-
${
index
}
-
${
num
}
`
,
label
})
edges
.
push
({
id
:
`edge1-
${
count
}
-
${
index
}
-
${
num
}
`
,
source
:
`node-
${
count
}
-
${
index
}
-
${
num
}
`
,
target
:
`node-
${
count
}
-
${
index
}
`
})
edges
.
push
({
id
:
`edge2-
${
count
}
-
${
index
}
-
${
num
}
`
,
source
:
`node-
${
count
}
`
,
target
:
`node-
${
count
}
-
${
index
}
-
${
num
}
`
})
})
}
})
let
obj
=
{}
let
list
=
onUniqueArray
(
Object
.
values
(
res
.
data
||
{}).
flat
(
1
),
'sectionId'
)
list
.
forEach
((
item
,
index
)
=>
{
nodes
.
push
({
id
:
`node-
${
item
.
orderNum
}
-
${
item
.
sectionId
}
`
,
label
:
item
.
textZh
,
maxWidth
:
600
,
labelCfg
,
layer
:
1
})
if
(
item
.
execAgent
?.
length
)
{
item
.
execAgent
.
forEach
((
label
,
num
)
=>
{
if
(
!
obj
[
label
])
{
obj
[
label
]
=
`
${
index
}
-
${
num
}
`
nodes
.
push
({
id
:
`node-
${
obj
[
label
]}
`
,
label
,
layer
:
0
})
}
edges
.
push
({
id
:
`edge-
${
index
}
-
${
num
}
`
,
source
:
`node-
${
obj
[
label
]}
`
,
target
:
`node-
${
item
.
orderNum
}
-
${
item
.
sectionId
}
`
})
})
}
else
{
edges
.
push
({
id
:
`edge-
${
index
}
`
,
source
:
`root-virtual`
,
target
:
`node-
${
item
.
orderNum
}
-
${
item
.
sectionId
}
`
})
}
})
setTimeout
(()
=>
{
refMindGraph
.
value
.
onMindGraphData
(
nodes
,
edges
)
},
100
)
...
...
@@ -341,6 +343,18 @@ const onDecreeMindMap = async () => {
}
}
// 对象数组去重
const
onUniqueArray
=
(
list
,
key
=
'id'
)
=>
{
const
obj
=
{};
return
list
.
reduce
((
total
,
item
)
=>
{
if
(
!
obj
[
String
(
item
[
key
])])
{
obj
[
String
(
item
[
key
])]
=
true
;
total
.
push
(
item
);
}
return
total
;
},
[]);
}
// 相关实体
const
entityList
=
ref
([]);
const
onRelatedEntityData
=
async
()
=>
{
...
...
src/views/marketAccessRestrictions/marketAccessHome/index.vue
浏览文件 @
bad81fff
...
...
@@ -330,7 +330,7 @@
<
div
class
=
"right-main"
>
<
el
-
empty
v
-
if
=
"surveyInfoList.length === 0"
description
=
"当前条件下暂无数据"
:
image
-
size
=
"200"
/>
<
div
v
-
else
class
=
"right-main-item"
v
-
for
=
"(item, index) in surveyInfoList"
:
key
=
"index"
@
click
=
"handleClick
ToSurveyDetail(item.sortcod
e)"
>
@
click
=
"handleClick
CardToDetail(item.sortcode, item.sortNam
e)"
>
<
div
class
=
"item-left"
>
<
div
class
=
"item-left-item"
>
{{
formatDate
(
item
.
searchdate
,
'year'
)
}}
<
/div
>
<
div
class
=
"item-left-item"
>
{{
formatDate
(
item
.
searchdate
,
'date'
)
}}
<
/div
>
...
...
@@ -495,23 +495,11 @@ const handleClickToDetail = () => {
activeIndex = carouselRef.value.activeIndex;
}
console.log("当前 Carousel 激活索引:", activeIndex);
const id = box1DataList.value[activeIndex].SEARCHSORT;
window.sessionStorage.setItem("curTabName", id + "调查概览");
const route = router.resolve({
path: "/marketAccessLayout",
query: {
id: id
}
}
);
window.open(route.href, "_blank");
handleClickCardToDetail(id, id + "调查概览")
}
;
const handleClickCardToDetail = (id, name) => {
// console.log('id',id);
window.sessionStorage.setItem("curTabName", name);
const route = router.resolve({
path: "/marketAccessLayout",
...
...
@@ -1319,16 +1307,6 @@ const handleGetSurveyList = async () => {
}
catch (error) {
}
}
;
const handleClickToSurveyDetail = id => {
const route = router.resolve({
path: "/marketAccessLayout",
query: {
id: id
}
}
);
window.open(route.href, "_blank");
}
;
// 查看更多风险信号
const handleToMoreRiskSignal = () => {
const route = router.resolve("/viewRiskSignal");
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论