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
e2020741
Commit
e2020741
authored
Jul 19, 2023
by
p-wanping.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风险清单样式修改
parent
323b9202
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
28 deletions
+30
-28
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+21
-20
vue.config.js
vue.config.js
+9
-8
No files found.
src/views/riskProject/add/taskList.vue
View file @
e2020741
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
<van-dropdown-item
v-model=
"value3"
:options=
"option3"
/>
<van-dropdown-item
v-model=
"value3"
:options=
"option3"
/>
</van-dropdown-menu>
</van-dropdown-menu>
</van-sticky>
</van-sticky>
<div
style=
"overflow-y: auto;"
>
<div
style=
"overflow-y: auto;
padding: 10px;
"
>
<van-cell-group
<van-cell-group
inset
inset
v-for=
"(item, index) in riskList"
v-for=
"(item, index) in riskList"
...
@@ -172,13 +172,14 @@
...
@@ -172,13 +172,14 @@
<van-row
<van-row
class=
"list-row"
class=
"list-row"
type=
"flex"
type=
"flex"
justify=
"space-between
"
align=
"center
"
style=
"margin-top:10px;"
style=
"margin-top:10px;"
@
click=
"toRiskDetail(item)"
@
click=
"toRiskDetail(item)"
>
>
<
van-col
span=
"20"
>
<
!--
<van-col
span=
"20"
>
--
>
<van-col
span=
"5"
style=
"line-height: 9;"
>
<van-col>
<van-image
<van-image
style=
"vertical-align: middle;margin-right: 15px;margin-left: 10px;"
width=
"58"
width=
"58"
height=
"58"
height=
"58"
:src=
"(item.level == '重大风险' ?
:src=
"(item.level == '重大风险' ?
...
@@ -190,31 +191,26 @@
...
@@ -190,31 +191,26 @@
</van-col>
</van-col>
<van-col
span=
"17"
>
<van-col
span=
"17"
>
<van-row
gutter=
"0"
>
<van-row
gutter=
"0"
>
<van-col
s
pan=
"10"
s
tyle=
"font-weight: bold;color:#000;font-size: 16px;"
>
风险名称:
</van-col>
<van-col
style=
"font-weight: bold;color:#000;font-size: 16px;"
>
风险名称:
</van-col>
<van-col
span=
"14"
style=
"color: #000;font-size: 16px;"
>
{{
item
.
name
}}
</van-col>
<van-col
span=
"14"
style=
"color: #000;font-size: 16px;"
class=
"item-prop"
>
{{
item
.
name
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
"0"
>
<van-row
gutter=
"0"
>
<van-col
s
pan=
"9"
s
tyle=
"font-weight: bold;color:#666666;font-size: 12px;"
>
风险等级:
</van-col>
<van-col
style=
"font-weight: bold;color:#666666;font-size: 12px;"
>
风险等级:
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
>
{{
item
.
level
}}
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
class=
"item-prop"
>
{{
item
.
level
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
"0"
>
<van-row
gutter=
"0"
>
<van-col
s
pan=
"9"
s
tyle=
"font-weight: bold;color:#666666;font-size: 12px;"
>
上报时间:
</van-col>
<van-col
style=
"font-weight: bold;color:#666666;font-size: 12px;"
>
上报时间:
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
>
{{
timestampToTimes
(
item
.
createTime
,
"
DT2
"
)
}}
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
class=
"item-prop"
>
{{
timestampToTimes
(
item
.
createTime
,
"
DT2
"
)
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
"0"
>
<van-row
gutter=
"0"
>
<van-col
s
pan=
"9"
s
tyle=
"font-weight: bold;color:#666666;font-size: 12px;"
>
所属房间:
</van-col>
<van-col
style=
"font-weight: bold;color:#666666;font-size: 12px;"
>
所属房间:
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
>
{{
item
.
buildingName
+
item
.
floorName
+
item
.
roomName
}}
</van-col>
<van-col
span=
"15"
style=
"color: #9d9d9d;font-size: 12px;"
class=
"item-prop"
>
{{
item
.
buildingName
+
item
.
floorName
+
item
.
roomName
}}
</van-col>
</van-row>
</van-row>
</van-col>
</van-col>
<
/van-col
>
<
!--
</van-col>
--
>
<van-col
span=
"4"
class=
"list-right"
>
<
!--
<
van-col
span=
"4"
class=
"list-right"
>
<van-tag
plain
type=
"primary"
>
详情
<van-icon
name=
"arrow"
size=
"12px"
/></van-tag>
<van-tag
plain
type=
"primary"
>
详情
<van-icon
name=
"arrow"
size=
"12px"
/></van-tag>
</van-col>
-->
<!--
<van-row
type=
"flex"
>
详情
</van-row>
-->
</van-col>
</van-row>
</van-row>
</van-cell-group>
</van-cell-group>
</div>
</div>
...
@@ -857,4 +853,9 @@ p {
...
@@ -857,4 +853,9 @@ p {
font-weight: none;
font-weight: none;
z-index: 99;
z-index: 99;
}
}
.item-prop{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
</
style
>
</
style
>
vue.config.js
View file @
e2020741
...
@@ -2,24 +2,25 @@ module.exports = {
...
@@ -2,24 +2,25 @@ module.exports = {
productionSourceMap
:
false
,
productionSourceMap
:
false
,
devServer
:
{
devServer
:
{
open
:
true
,
open
:
true
,
host
:
'
localhost
'
,
host
:
"
localhost
"
,
port
:
8080
,
port
:
8080
,
https
:
false
,
https
:
false
,
//以上的ip和端口是我们本机的;下面为需要跨域的
//以上的ip和端口是我们本机的;下面为需要跨域的
proxy
:
{
//配置跨域
proxy
:
{
'
/app-api
'
:
{
//配置跨域
// target: 'http://192.168.4.232:8080/', //这里是后台的地址
"
/app-api
"
:
{
target
:
"
http://192.168.4.232:8080/
"
,
//这里是后台的地址
// target: 'http://192.168.15.124:8080/', //这里是杨帆的地址
// target: 'http://192.168.15.124:8080/', //这里是杨帆的地址
// target: 'http://192.168.10.137:8080/', //这里是昊哥的地址
// target: 'http://192.168.10.137:8080/', //这里是昊哥的地址
// target: 'http://192.168.10.36:8080/', //这里是昊哥的地址
// target: 'http://192.168.10.36:8080/', //这里是昊哥的地址
target
:
'
http://localhost:8081/
'
,
//这里是后台的地址
//
target: 'http://localhost:8081/', //这里是后台的地址
ws
:
true
,
ws
:
true
,
changOrigin
:
true
,
//允许跨域
changOrigin
:
true
//允许跨域
// logLevel: 'debug', // 显示代理调试信息
// logLevel: 'debug', // 显示代理调试信息
// pathRewrite: {
// pathRewrite: {
// '^/app-api': '' //请求的时候使用这个api就可以
// '^/app-api': '' //请求的时候使用这个api就可以
// }
// }
}
,
}
// '/ps_ceninss': {
// '/ps_ceninss': {
// target: 'http://192.168.3.80:8080', //这里是后台的地址
// target: 'http://192.168.3.80:8080', //这里是后台的地址
// ws: true,
// ws: true,
...
@@ -30,4 +31,4 @@ module.exports = {
...
@@ -30,4 +31,4 @@ module.exports = {
// }
// }
}
}
}
}
}
}
;
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