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 @@
...
@@ -16,29 +16,52 @@
</div>
</div>
<div
class=
"right_container"
>
<div
class=
"right_container"
>
<el-alert
title=
"评审内容"
type=
"success"
:closable=
"false"
></el-alert>
<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
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>
</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"
>
<div
v-for=
"item in rightImageArray"
:key=
"item.viewDetailsId"
>
<img
:src=
"item.metaModelSvg"
alt=
""
>
<img
:src=
"item.metaModelSvg"
alt=
""
/
>
<el-divider></el-divider>
<el-divider></el-divider>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"bottom_container"
>
<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>
<div>
<el-divider
direction=
"vertical"
></el-divider>
<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=
"1"
>
通过
</el-radio>
<el-radio
v-model=
"radio"
label=
"0"
>
不通过
</el-radio>
-->
<el-radio
v-model=
"radio"
label=
"0"
>
不通过
</el-radio>
-->
</div>
</div>
<el-button
type=
"primary"
size=
"medium"
@
click=
"saveSuggestion"
>
保存备注
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"saveSuggestion"
>
保存备注
</el-button
>
</div>
</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>
</div>
</div>
</
template
>
</
template
>
...
@@ -47,15 +70,14 @@
...
@@ -47,15 +70,14 @@
import
{
import
{
getReviewArchiFollowCheckRightGraph
,
getReviewArchiFollowCheckRightGraph
,
saveReviewArchiFollowCheckRightSuggestion
,
saveReviewArchiFollowCheckRightSuggestion
,
queryReviewArchiFollowCheckRightSuggestionDetails
queryReviewArchiFollowCheckRightSuggestionDetails
,
}
from
'@/api/index.js'
;
}
from
'@/api/index.js'
import
{
MessageBox
,
Message
}
from
'element-ui'
;
import
{
MessageBox
,
Message
}
from
'element-ui'
import
vabOnlyOffice
from
"@/components/onlyOffice/index.vue"
;
import
vabOnlyOffice
from
'@/components/onlyOffice/index.vue'
export
default
{
export
default
{
name
:
'tab1'
,
name
:
'tab1'
,
components
:
{
components
:
{
vabOnlyOffice
vabOnlyOffice
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -96,6 +118,7 @@ export default {
...
@@ -96,6 +118,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
@@ -105,40 +128,42 @@ export default {
...
@@ -105,40 +128,42 @@ export default {
callbackUrl
:
'http://192.168.0.103:7005/callback?fileId=289'
,
callbackUrl
:
'http://192.168.0.103:7005/callback?fileId=289'
,
},
},
},
},
};
}
},
},
mounted
()
{
mounted
()
{
this
.
prjId
=
this
.
$route
.
query
.
prjId
;
this
.
prjId
=
this
.
$route
.
query
.
prjId
this
.
getRightGraph
(
5
);
this
.
getRightGraph
(
5
)
this
.
getDetails
();
this
.
getDetails
()
},
},
methods
:
{
methods
:
{
getDetails
()
{
//查看详情,从表格跳转过来的
getDetails
()
{
//查看详情,从表格跳转过来的
const
params
=
{
const
params
=
{
reviewEnum
:
'SECURITY_ARCHITECTURE_CONFORMANCE'
,
reviewEnum
:
'SECURITY_ARCHITECTURE_CONFORMANCE'
,
prjId
:
this
.
prjId
,
prjId
:
this
.
prjId
,
}
}
queryReviewArchiFollowCheckRightSuggestionDetails
(
params
).
then
(
res
=>
{
queryReviewArchiFollowCheckRightSuggestionDetails
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
textarea
=
res
.
data
.
reviewSuggestion
;
this
.
textarea
=
res
.
data
.
reviewSuggestion
}
}
})
})
},
},
getRightGraph
(
archiBelongId
)
{
//获取右侧图片
getRightGraph
(
archiBelongId
)
{
//获取右侧图片
const
params
=
{
const
params
=
{
archiBelongId
:
archiBelongId
,
archiBelongId
:
archiBelongId
,
prjId
:
this
.
prjId
,
prjId
:
this
.
prjId
,
archiStage
:
3
archiStage
:
3
,
}
}
getReviewArchiFollowCheckRightGraph
(
params
).
then
(
res
=>
{
getReviewArchiFollowCheckRightGraph
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
if
(
res
.
data
.
length
>
0
)
{
if
(
res
.
data
.
length
>
0
)
{
res
.
data
.
map
((
item
)
=>
{
res
.
data
.
map
(
item
=>
{
item
.
metaModelSvg
=
item
.
metaModelSvg
=
'data:image/svg+xml;base64,'
+
item
.
metaModelSvg
;
'data:image/svg+xml;base64,'
+
item
.
metaModelSvg
})
})
this
.
rightImageArray
=
res
.
data
;
this
.
rightImageArray
=
res
.
data
// this.rightSelect = res.data;
// this.rightSelect = res.data;
// this.select2 = res.data[0].viewDetailsId;
// this.select2 = res.data[0].viewDetailsId;
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.data[0].metaModelSvg;
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.data[0].metaModelSvg;
...
@@ -146,86 +171,86 @@ export default {
...
@@ -146,86 +171,86 @@ export default {
}
}
})
})
},
},
select2Change
(
data
)
{
//右侧下拉框选择
select2Change
(
data
)
{
const
res
=
this
.
rightSelect
.
find
(
item
=>
item
.
viewDetailsId
==
data
);
//右侧下拉框选择
const
res
=
this
.
rightSelect
.
find
((
item
)
=>
item
.
viewDetailsId
==
data
)
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.metaModelSvg;
// this.rightImageSrc = 'data:image/svg+xml;base64,'+ res.metaModelSvg;
},
},
saveSuggestion
()
{
//保存
saveSuggestion
()
{
//保存
const
params
=
{
const
params
=
{
"reviewEnum"
:
"SECURITY_ARCHITECTURE_CONFORMANCE"
,
reviewEnum
:
'SECURITY_ARCHITECTURE_CONFORMANCE'
,
"prjId"
:
this
.
prjId
,
prjId
:
this
.
prjId
,
"reviewState"
:
this
.
radio
,
reviewState
:
this
.
radio
,
"reviewSuggestion"
:
this
.
textarea
reviewSuggestion
:
this
.
textarea
,
}
}
saveReviewArchiFollowCheckRightSuggestion
(
params
).
then
(
res
=>
{
saveReviewArchiFollowCheckRightSuggestion
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
Message
({
Message
({
type
:
"success"
,
type
:
'success'
,
message
:
'保存成功'
,
message
:
'保存成功'
,
});
})
}
else
{
}
else
{
Message
({
Message
({
type
:
"error"
,
type
:
'error'
,
message
:
res
.
msg
,
message
:
res
.
msg
,
});
}
})
})
}
}
}
})
},
},
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.tab1
{
.tab1
{
height
:
100%
;
height
:
100%
;
}
}
.content
{
.content
{
display
:
flex
;
display
:
flex
;
height
:
77%
;
height
:
77%
;
}
}
.leftSelect
{
.leftSelect
{
position
:
absolute
;
position
:
absolute
;
top
:
44px
;
top
:
44px
;
left
:
22px
;
left
:
22px
;
width
:
400px
;
width
:
400px
;
}
}
.rightSelect
{
.rightSelect
{
position
:
absolute
;
position
:
absolute
;
top
:
44px
;
top
:
44px
;
left
:
22px
;
left
:
22px
;
width
:
400px
;
width
:
400px
;
}
}
.el-button--primary
{
.el-button--primary
{
background
:
rgba
(
13
,
134
,
127
,
1
);
background
:
rgba
(
13
,
134
,
127
,
1
);
color
:
#fff
;
color
:
#fff
;
border
:
0
;
border
:
0
;
}
}
/
deep
/
.el-alert--success.is-light
{
/
deep
/
.el-alert--success.is-light
{
background-color
:
#D5F5F
3
;
background-color
:
#d5f5f
3
;
color
:
#000
;
color
:
#000
;
}
}
/
deep
/
.el-divider--vertical
{
/
deep
/
.el-divider--vertical
{
width
:
4px
;
width
:
4px
;
background-color
:
#0D867F
;
background-color
:
#0d867f
;
}
}
.left_container
{
.left_container
{
width
:
49%
;
width
:
49%
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
margin-right
:
1%
;
margin-right
:
1%
;
position
:
relative
;
position
:
relative
;
}
}
.right_container
{
.right_container
{
width
:
49%
;
width
:
49%
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
position
:
relative
;
position
:
relative
;
}
}
.rightImageContainer
{
.rightImageContainer
{
position
:
absolute
;
position
:
absolute
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
top
:
50%
;
top
:
50%
;
left
:
50%
;
left
:
50%
;
}
}
.bottom_container
{
.bottom_container
{
}
}
</
style
>
</
style
>
src/views/reviewArchiPoliticeCheck/tab1.vue
View file @
924d762
...
@@ -120,6 +120,7 @@ export default {
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab2.vue
View file @
924d762
...
@@ -120,6 +120,7 @@ export default {
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab3.vue
View file @
924d762
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab4.vue
View file @
924d762
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab5.vue
View file @
924d762
...
@@ -111,6 +111,7 @@ export default {
...
@@ -111,6 +111,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewArchiPoliticeCheck/tab6.vue
View file @
924d762
...
@@ -120,6 +120,7 @@ export default {
...
@@ -120,6 +120,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab1.vue
View file @
924d762
...
@@ -117,6 +117,7 @@ export default {
...
@@ -117,6 +117,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab4.vue
View file @
924d762
...
@@ -97,6 +97,7 @@ export default {
...
@@ -97,6 +97,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在view/edit此文档的用户信息
...
...
src/views/reviewSituation/tab5.vue
View file @
924d762
...
@@ -97,6 +97,7 @@ export default {
...
@@ -97,6 +97,7 @@ export default {
customization
:
{
customization
:
{
//是否显示插件
//是否显示插件
plugins
:
false
,
plugins
:
false
,
forcesave
:
true
,
},
},
user
:
{
user
:
{
// 当前正在view/edit此文档的用户信息
// 当前正在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