Commit 99839868 authored by wei's avatar wei

字体

parent f35384ea
...@@ -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
......
...@@ -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="15"> <van-col span="17">
<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;
......
...@@ -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', // 显示代理调试信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment