Commit c2c3683f authored by 郭铭瑶's avatar 郭铭瑶 🤘

打包

parent 1f36f2d6
*.zip
# Logs
logs
*.log
......
......@@ -81,8 +81,9 @@ export default {
.content
flex 1
img
width 20%
width 19%
height .5rem
margin 0.05rem 0
margin-right .03rem
cursor pointer
</style>
......@@ -2,7 +2,7 @@ let BASE_URL = ''
let DATA_URL = ''
switch (process.env.NODE_ENV) {
case 'production':
BASE_URL = 'http://10.89.4.164/api'
BASE_URL = 'http://10.89.4.164:18080/api'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
DATA_URL = 'http://10.89.1.208:10005'
break
......
......@@ -4,8 +4,8 @@
<p class="title"><span class="dot"/>风险报警信息</p>
<m-form :label-width=".6" :model="data" :layout="layout" />
</div>
<div v-for="(item, i) in data.details" :key="item.id">
<p class="title"><span class="dot"/>{{i == 0 ? '物业' : '街道'}}处置</p>
<div v-for="item in data.details.slice(1)" :key="item.id">
<p class="title"><span class="dot"/>{{getName(item.backStatus)}}处置</p>
<m-form :label-width=".6" :model="item" :layout="detailLayout" />
</div>
</div>
......@@ -71,6 +71,22 @@ export default {
],
}
},
methods: {
getName(type) {
if (type == '0') {
return '转物业'
}
if (type == '1' || type == '2') {
return '物业'
}
if (type == '3') {
return '转街道'
}
if (type == '4') {
return '街道'
}
},
},
}
</script>
......
......@@ -5,7 +5,7 @@
<div v-for="(item, i) in data" :key="item.name">
<span class="dot" :style="`border-color:${config.colors[i]}`"/>
<p>{{item.name}}</p>
<m-count :value="item.value" :decimal="0" :style="`color:${config.colors[i]}`"/>
<m-count class="count" :value="item.value" :decimal="0" :style="`color:${config.colors[i]}`"/>
<span class="unit"></span>
</div>
</div>
......@@ -57,7 +57,7 @@ export default {
margin-bottom .1rem
.dot
display inline-block
width .1rem
width .08rem
height @width
border .02rem solid
border-radius 50%
......@@ -65,6 +65,8 @@ export default {
width 50%
margin 0 .05rem
display inline-block
.count
font-size .12rem
.unit
color #aaa
font-size .08rem
......
......@@ -54,7 +54,7 @@ export default {
}
},
mounted() {
setTimeout(() => this.showChart = true, 100)
setTimeout(() => this.showChart = true, 1000)
},
computed: {
discoverTrend() {
......
......@@ -216,7 +216,6 @@ export default {
this.detailData = data
this.detailModal = true
} else {
console.log(this.doneData)
this.doneData = data
this.doneModal = true
}
......
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