Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 924d762f
authored
Mar 25, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forcesave: true
1 parent
7c693ec2
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
106 additions
and
72 deletions
src/views/reviewArchiFollowCheck/tab1.vue
src/views/reviewArchiPoliticeCheck/tab1.vue
src/views/reviewArchiPoliticeCheck/tab2.vue
src/views/reviewArchiPoliticeCheck/tab3.vue
src/views/reviewArchiPoliticeCheck/tab4.vue
src/views/reviewArchiPoliticeCheck/tab5.vue
src/views/reviewArchiPoliticeCheck/tab6.vue
src/views/reviewSituation/tab1.vue
src/views/reviewSituation/tab4.vue
src/views/reviewSituation/tab5.vue
src/views/reviewArchiFollowCheck/tab1.vue
View file @
924d762
...
...
@@ -16,29 +16,52 @@
</div>
<div
class=
"right_container"
>
<el-alert
title=
"评审内容"
type=
"success"
:closable=
"false"
></el-alert>
<el-select
v-model=
"select2"
class=
"rightSelect"
@
change=
"select2Change"
>
<el-select
v-model=
"select2"
class=
"rightSelect"
@
change=
"select2Change"
>
<!--
<el-option
v-for=
"item in rightSelect"
:key=
"item.viewDetailsId"
:label=
"item.viewDetailName"
:value=
"item.viewDetailsId"
></el-option>
-->
<el-option
label=
"系统架构-概设阶段架构设计-安全架构视图"
value=
"1"
></el-option>
<el-option
label=
"系统架构-概设阶段架构设计-安全架构视图"
value=
"1"
></el-option>
</el-select>
<div
style=
"height: calc(100% - 40px);overflow-y: auto;
"
>
<div
style=
"height: calc(100% - 40px); overflow-y: auto
"
>
<div
v-for=
"item in rightImageArray"
:key=
"item.viewDetailsId"
>
<img
:src=
"item.metaModelSvg"
alt=
""
>
<img
:src=
"item.metaModelSvg"
alt=
""
/
>
<el-divider></el-divider>
</div>
</div>
</div>
</div>
<div
class=
"bottom_container"
>
<div
style=
"padding-right: 20px;text-align: left;margin: 15px 0;display: flex;align-items: center;justify-content: space-between;"
>
<div
style=
"
padding-right: 20px;
text-align: left;
margin: 15px 0;
display: flex;
align-items: center;
justify-content: space-between;
"
>
<div>
<el-divider
direction=
"vertical"
></el-divider>
<span
style=
"margin-right: 50px;
"
>
备注
</span>
<span
style=
"margin-right: 50px
"
>
备注
</span>
<!--
<el-radio
v-model=
"radio"
label=
"1"
>
通过
</el-radio>
<el-radio
v-model=
"radio"
label=
"0"
>
不通过
</el-radio>
-->
</div>
<el-button
type=
"primary"
size=
"medium"
@
click=
"saveSuggestion"
>
保存备注
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"saveSuggestion"
>
保存备注
</el-button
>
</div>
<el-input
type=
"textarea"
:rows=
"4"
v-model=
"textarea"
style=
"width: 98%;"
></el-input>
<el-input
type=
"textarea"
:rows=
"4"
v-model=
"textarea"
style=
"width: 98%"
></el-input>
</div>
</div>
</
template
>
...
...
@@ -47,15 +70,14 @@
import
{
getReviewArchiFollowCheckRightGraph
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
}
from
'@/api/index.js'
;
import
{
MessageBox
,
Message
}
from
'element-ui'
;
import
vabOnlyOffice
from
"@/components/onlyOffice/index.vue"
;
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
import
{
MessageBox
,
Message
}
from
'element-ui'
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
export
default
{
name
:
'tab1'
,
components
:
{
vabOnlyOffice
vabOnlyOffice
,
},
data
()
{
return
{
...
...
@@ -96,6 +118,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
@@ -105,40 +128,42 @@ export default {
callbackUrl
:
'http://192.168.0.103:7005/callback?fileId=289'
,
},
},
};
}
},
mounted
()
{
this
.
prjId
=
this
.
$route
.
query
.
prjId
;
mounted
()
{
this
.
prjId
=
this
.
$route
.
query
.
prjId
this
.
getRightGraph
(
5
);
this
.
getDetails
();
this
.
getRightGraph
(
5
)
this
.
getDetails
()
},
methods
:
{
getDetails
()
{
//查看详情,从表格跳转过来的
getDetails
()
{
//查看详情,从表格跳转过来的
const
params
=
{
reviewEnum
:
'SECURITY_ARCHITECTURE_CONFORMANCE'
,
prjId
:
this
.
prjId
,
}
queryReviewArchiFollowCheckRightSuggestionDetails
(
params
).
then
(
res
=>
{
queryReviewArchiFollowCheckRightSuggestionDetails
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
textarea
=
res
.
data
.
reviewSuggestion
;
this
.
textarea
=
res
.
data
.
reviewSuggestion
}
})
},
getRightGraph
(
archiBelongId
)
{
//获取右侧图片
getRightGraph
(
archiBelongId
)
{
//获取右侧图片
const
params
=
{
archiBelongId
:
archiBelongId
,
prjId
:
this
.
prjId
,
archiStage
:
3
archiStage
:
3
,
}
getReviewArchiFollowCheckRightGraph
(
params
).
then
(
res
=>
{
getReviewArchiFollowCheckRightGraph
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
length
>
0
)
{
res
.
data
.
map
(
item
=>
{
item
.
metaModelSvg
=
'data:image/svg+xml;base64,'
+
item
.
metaModelSvg
;
if
(
res
.
data
.
length
>
0
)
{
res
.
data
.
map
((
item
)
=>
{
item
.
metaModelSvg
=
'data:image/svg+xml;base64,'
+
item
.
metaModelSvg
})
this
.
rightImageArray
=
res
.
data
;
this
.
rightImageArray
=
res
.
data
// this.rightSelect = res.data;
// this.select2 = res.data[0].viewDetailsId;
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.data[0].metaModelSvg;
...
...
@@ -146,86 +171,86 @@ export default {
}
})
},
select2Change
(
data
)
{
//右侧下拉框选择
const
res
=
this
.
rightSelect
.
find
(
item
=>
item
.
viewDetailsId
==
data
);
select2Change
(
data
)
{
//右侧下拉框选择
const
res
=
this
.
rightSelect
.
find
((
item
)
=>
item
.
viewDetailsId
==
data
)
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.metaModelSvg;
},
saveSuggestion
()
{
//保存
saveSuggestion
()
{
//保存
const
params
=
{
"reviewEnum"
:
"SECURITY_ARCHITECTURE_CONFORMANCE"
,
"prjId"
:
this
.
prjId
,
"reviewState"
:
this
.
radio
,
"reviewSuggestion"
:
this
.
textarea
reviewEnum
:
'SECURITY_ARCHITECTURE_CONFORMANCE'
,
prjId
:
this
.
prjId
,
reviewState
:
this
.
radio
,
reviewSuggestion
:
this
.
textarea
,
}
saveReviewArchiFollowCheckRightSuggestion
(
params
).
then
(
res
=>
{
saveReviewArchiFollowCheckRightSuggestion
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
Message
({
type
:
"success"
,
type
:
'success'
,
message
:
'保存成功'
,
});
}
else
{
})
}
else
{
Message
({
type
:
"error"
,
type
:
'error'
,
message
:
res
.
msg
,
});
}
})
}
}
})
},
},
}
</
script
>
<
style
scoped
>
.tab1
{
.tab1
{
height
:
100%
;
}
.content
{
}
.content
{
display
:
flex
;
height
:
77%
;
}
.leftSelect
{
}
.leftSelect
{
position
:
absolute
;
top
:
44px
;
left
:
22px
;
width
:
400px
;
}
.rightSelect
{
}
.rightSelect
{
position
:
absolute
;
top
:
44px
;
left
:
22px
;
width
:
400px
;
}
.el-button--primary
{
background
:
rgba
(
13
,
134
,
127
,
1
);
}
.el-button--primary
{
background
:
rgba
(
13
,
134
,
127
,
1
);
color
:
#fff
;
border
:
0
;
}
/
deep
/
.el-alert--success.is-light
{
background-color
:
#D5F5F
3
;
}
/
deep
/
.el-alert--success.is-light
{
background-color
:
#d5f5f
3
;
color
:
#000
;
}
/
deep
/
.el-divider--vertical
{
}
/
deep
/
.el-divider--vertical
{
width
:
4px
;
background-color
:
#0D867F
;
}
.left_container
{
background-color
:
#0d867f
;
}
.left_container
{
width
:
49%
;
border
:
1px
solid
#ccc
;
margin-right
:
1%
;
position
:
relative
;
}
.right_container
{
}
.right_container
{
width
:
49%
;
border
:
1px
solid
#ccc
;
position
:
relative
;
}
.rightImageContainer
{
}
.rightImageContainer
{
position
:
absolute
;
transform
:
translate
(
-50%
,
-50%
);
top
:
50%
;
left
:
50%
;
}
.bottom_container
{
}
}
.bottom_container
{
}
</
style
>
src/views/reviewArchiPoliticeCheck/tab1.vue
View file @
924d762
...
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab2.vue
View file @
924d762
...
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab3.vue
View file @
924d762
...
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab4.vue
View file @
924d762
...
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab5.vue
View file @
924d762
...
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab6.vue
View file @
924d762
...
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab1.vue
View file @
924d762
...
...
@@ -117,6 +117,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab4.vue
View file @
924d762
...
...
@@ -97,6 +97,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab5.vue
View file @
924d762
...
...
@@ -97,6 +97,7 @@ export default {
customization
:
{
//是否显示插件
plugins
:
false
,
forcesave
:
true
,
},
user
:
{
// 当前正在view/edit此文档的用户信息
...
...
Write
Preview
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