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
99839868
Commit
99839868
authored
Jul 18, 2023
by
wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字体
parent
f35384ea
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
28 deletions
+30
-28
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+0
-11
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+28
-15
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/riskProject/add/addInherent.vue
View file @
99839868
...
@@ -73,16 +73,6 @@
...
@@ -73,16 +73,6 @@
/>
/>
</div>
</div>
<<<<<<<
HEAD
<van-field
required
clickable
name=
"name"
v-model=
"form.name"
label=
"危险源名称"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '危险源名称不能为空' }]" />
<van-field
required
clickable
name=
"name"
v-model=
"form.name"
label=
"风险点类型"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '风险点类型不能为空' }]" @click="clickRiskDot"/>
<van-field
required
clickable
name=
"name"
v-model=
"form.name"
label=
"安全警示标志"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '安全警示标志不能为空' }]" />
<van-field
v-model=
"form.factor"
readonly
required
name=
"factor"
label=
"风险因素"
placeholder=
"请选择"
@
click=
"seletFactor('factor')"
:rules=
"[
{ required: true, message: '风险因素不能为空' }]" />
=======
<van-field
<van-field
required
required
clickable
clickable
...
@@ -124,7 +114,6 @@
...
@@ -124,7 +114,6 @@
@
click=
"selectData('factor', false)"
@
click=
"selectData('factor', false)"
:rules=
"[
{ required: true, message: '风险因素不能为空' }]"
:rules=
"[
{ required: true, message: '风险因素不能为空' }]"
/>
/>
>>>>>>> develop
<van-field
<van-field
readonly
readonly
...
...
src/views/riskProject/add/taskList.vue
View file @
99839868
...
@@ -170,44 +170,50 @@
...
@@ -170,44 +170,50 @@
:key=
"index"
:key=
"index"
>
>
<van-row
<van-row
class=
"list-row"
type=
"flex"
type=
"flex"
justify=
"space-between"
justify=
"space-between"
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"
>
<van-col
span=
"5"
style=
"line-height: 9;"
>
<van-image
<van-image
width=
"58"
width=
"58"
height=
"58"
height=
"58"
:src=
"require('@/assets/imgs/inherentOrange.png')"
:src=
"(item.level == '较大风险' ?
require('@/assets/imgs/redInherent.png'):item.level == '较小风险'?
require('@/assets/imgs/blueInherent.png'):require('@/assets/imgs/inherentOrange.png')
)"
/>
/>
<!--
<van-image
width=
"46"
height=
"46"
:src=
"item.avatar"
/>
-->
<!--
<van-image
width=
"46"
height=
"46"
:src=
"item.avatar"
/>
-->
</van-col>
</van-col>
<van-col
span=
"1
5
"
>
<van-col
span=
"1
7
"
>
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
风险名称:
</van-col>
<van-col
span=
"9"
style=
"font-weight: bold;color:#000;"
>
风险名称:
</van-col>
<van-col
span=
"15"
>
{{
item
.
name
}}
</van-col>
<van-col
span=
"15"
style=
"color: #606266;"
>
{{
item
.
name
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
风险等级:
</van-col>
<van-col
span=
"9"
style=
"font-weight: bold;color:#000;"
>
风险等级:
</van-col>
<van-col
span=
"15"
>
{{
item
.
level
}}
</van-col>
<van-col
span=
"15"
style=
"color: #606266;"
>
{{
item
.
level
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
上报时间:
</van-col>
<van-col
span=
"9"
style=
"font-weight: bold;color:#000;"
>
上报时间:
</van-col>
<van-col
span=
"15"
>
{{
timestampToTimes
(
item
.
createTime
,
"
DT2
"
)
}}
</van-col>
<van-col
span=
"15"
style=
"color: #606266;"
>
{{
timestampToTimes
(
item
.
createTime
,
"
DT2
"
)
}}
</van-col>
</van-row>
</van-row>
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"9"
>
所属房间:
</van-col>
<van-col
span=
"9"
style=
"font-weight: bold;color:#000;"
>
所属房间:
</van-col>
<van-col
span=
"15"
>
{{
item
.
buildingName
+
item
.
floorName
+
item
.
roomName
}}
</van-col>
<van-col
span=
"15"
style=
"color: #606266;"
>
{{
item
.
buildingName
+
item
.
floorName
+
item
.
roomName
}}
</van-col>
</van-row>
</van-row>
</van-col>
</van-col>
</van-col>
</van-col>
<van-col
span=
"4"
>
<van-col
span=
"4"
class=
"list-right"
>
<van-row
type=
"flex"
>
<van-tag
plain
type=
"primary"
>
详情
<van-icon
name=
"arrow"
size=
"12px"
/></van-tag>
<!--
<van-row
type=
"flex"
>
详情
详情
<van-icon
name=
"arrow"
size=
"26px"
/>
</van-row>
</van-row>
-->
</van-col>
</van-col>
</van-row>
</van-row>
</van-cell-group>
</van-cell-group>
...
@@ -814,6 +820,13 @@ p {
...
@@ -814,6 +820,13 @@ p {
line-height: 0.64rem;
line-height: 0.64rem;
}
}
}
}
.list-row{
position: relative;
}
.list-right{
position: absolute;
right: 0;
}
.journal-wrap {
.journal-wrap {
position: relative;
position: relative;
...
...
vue.config.js
View file @
99839868
...
@@ -8,11 +8,11 @@ module.exports = {
...
@@ -8,11 +8,11 @@ module.exports = {
//以上的ip和端口是我们本机的;下面为需要跨域的
//以上的ip和端口是我们本机的;下面为需要跨域的
proxy
:
{
//配置跨域
proxy
:
{
//配置跨域
'
/app-api
'
:
{
'
/app-api
'
:
{
//
target: 'http://192.168.4.232:8080/', //这里是后台的地址
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', // 显示代理调试信息
...
...
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