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

打包

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