任务生成
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div class="item_block" :class="reg === e.region_id ? 'item_block_focus' : ''" v-for="e in areaArr" :key="e.region_id" @click="getPoint(e)"><p>{{e.region_name}}</p></div>
|
||||
</div>
|
||||
<div class="fl right_block">
|
||||
<div class="clear icons">
|
||||
<!-- <div class="clear icons">
|
||||
<div class="fl item_icon">
|
||||
<div class="color_icon gray"></div>
|
||||
<div class="font_icon">空</div>
|
||||
@@ -23,20 +23,20 @@
|
||||
<div class="color_icon blue"></div>
|
||||
<div class="font_icon">有任务</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="locate_block">
|
||||
<div class="item_locate" v-for="(e, i) in pointArr" :key="i" :class="['gray', 'orange', 'green', 'blue'][Number(e.status)]" @click="setInfo(e)">
|
||||
<p>站点:{{e.device_name}}</p>
|
||||
<p>站点:{{e.device_code}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear bottom_block">
|
||||
<div class="fl dot_item">
|
||||
<p class="p1">起始点</p>
|
||||
<p class="p2">设备号:{{scodeObj.device_name}}</p>
|
||||
<p class="p2">设备号:{{scodeObj.device_code}}</p>
|
||||
</div>
|
||||
<div class="fl dot_item">
|
||||
<p class="p1">目标点</p>
|
||||
<p class="p2">设备号:{{ncodeObj.device_name}}</p>
|
||||
<p class="p2">设备号:{{ncodeObj.device_code}}</p>
|
||||
</div>
|
||||
<div class="fr btn_block">
|
||||
<button class="btn btn1 mgb20" @click="cancle">清空</button>
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
this.areaArr = [...res.result]
|
||||
if (this.areaArr.length > 0) {
|
||||
this.initPonit(this.areaArr[0].region_id)
|
||||
this.refresh(this.areaArr[0].region_id)
|
||||
}
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
@@ -162,8 +163,6 @@ export default {
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
@import '~@style/mixin'
|
||||
.item_locate
|
||||
_fj(center)
|
||||
.i_block
|
||||
_fj()
|
||||
_wh(100%, .6rem)
|
||||
|
||||
@@ -719,13 +719,14 @@ header
|
||||
.item_locate
|
||||
float left
|
||||
_wh(23%, .72rem)
|
||||
margin 0 2% .1rem 0
|
||||
margin .1rem 2% .1rem 0
|
||||
border-radius .1rem
|
||||
overflow hidden
|
||||
_fj()
|
||||
padding 0 .1rem
|
||||
_fj(center)
|
||||
p
|
||||
_font(.16rem,.24rem,#fff,,center)
|
||||
padding 0 .1rem
|
||||
word-break break-all
|
||||
.bottom_block
|
||||
_fj()
|
||||
width 100%
|
||||
|
||||
Reference in New Issue
Block a user