Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
融通安全管理系统
rongtong-app
Commits
e5ee5271
Commit
e5ee5271
authored
Mar 20, 2024
by
kaitly205422@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加风险等级,修改字体反转问题
parent
c6548eac
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
4 deletions
+21
-4
src/views/drawCanvas/riskView.vue
src/views/drawCanvas/riskView.vue
+2
-2
src/views/riskProject/add/addCurrent.vue
src/views/riskProject/add/addCurrent.vue
+1
-0
src/views/riskProject/add/inherentRisks.vue
src/views/riskProject/add/inherentRisks.vue
+16
-0
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/drawCanvas/riskView.vue
View file @
e5ee5271
...
...
@@ -893,8 +893,8 @@ export default {
}
.rowText
{
writing-mode
:
vertical-
rl
;
-webkit-writing-mode
:
vertical-
rl
;
writing-mode
:
vertical-
lr
;
-webkit-writing-mode
:
vertical-
lr
;
font-size
:
18px
;
}
...
...
src/views/riskProject/add/addCurrent.vue
View file @
e5ee5271
...
...
@@ -371,6 +371,7 @@
<van-col
span=
"9"
>
房间:
</van-col>
<van-col
span=
"15"
>
{{ item.roomName }}
</van-col>
</van-row>
</van-col>
<!-- <van-col span="7" :style="{ color: item.state == 1 ? '#0069e5' : '#03b615' }">
{{ "●待审批" }}
...
...
src/views/riskProject/add/inherentRisks.vue
View file @
e5ee5271
...
...
@@ -33,6 +33,10 @@
<van-col
span=
"9"
>
房间:
</van-col>
<van-col
span=
"15"
>
{{
item
.
roomName
}}
</van-col>
</van-row>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
风险等级:
</van-col>
<van-col
span=
"15"
:style=
"
{ color: getColor(item.level) }">
{{
item
.
level
}}
</van-col>
</van-row>
</van-col>
<!--
<van-col
span=
"7"
:style=
"
{ color: item.state == 1 ? '#0069e5' : '#03b615' }">
{{
"
●待审批
"
}}
...
...
@@ -129,6 +133,18 @@ export default {
// this.postList();
},
methods
:
{
getColor
(
name
)
{
switch
(
name
)
{
case
"
低风险
"
:
return
"
#32b5ff
"
;
case
"
一般风险
"
:
return
"
#ffaa00
"
;
case
"
较大风险
"
:
return
"
#fec000
"
;
case
"
重大风险
"
:
return
"
#fe0000
"
;
}
},
delInherent
(
item
)
{
Dialog
.
confirm
({
title
:
"
删除固有风险
"
,
...
...
vue.config.js
View file @
e5ee5271
...
...
@@ -10,8 +10,8 @@ module.exports = {
proxy
:
{
//配置跨域
"
/app-api
"
:
{
target
:
"
http://192.168.4.232:8080/
"
,
//这里是后台的地址
//
target: "http://192.168.15.230:8080/", //这里是晓晋的地址
//
target: "http://192.168.4.232:8080/", //这里是后台的地址
target
:
"
http://192.168.15.230:8080/
"
,
//这里是晓晋的地址
ws
:
true
,
changOrigin
:
true
,
//允许跨域
// logLevel: 'debug', // 显示代理调试信息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment