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