Commit 0baf1373 authored by renjintao's avatar renjintao

刷新列表

parent 4d797c24
......@@ -8,7 +8,7 @@
<div>工单编号: 12001011</div>
</div>-->
<component :is="detail" :gdid="gdId" :row="row" />
<a class="gd_list" @click="orderlistMode = true">工单列表</a>
<a class="gd_list" @click="changeFresh">工单列表</a>
<a class="gn_area" @click="functionalMode = true">功能区</a>
<!-- 工单列表 -->
<Drawer
......@@ -32,7 +32,6 @@
></Dictionary>
</div>
<div class="select_t" style="height:40px">
<Button @click="changeFresh" class="fl" shape="circle" icon="md-refresh">刷新</Button>
<Button @click="changeAsc" class="fr" shape="circle" icon="md-calendar">{{ascTitle}}</Button>
</div>
</div>
......@@ -73,8 +72,8 @@ export default {
inputId: null,
asc: true,
ascTitle: "时间正序排序",
statu:-9,
refresh:true,
statu: -9,
refresh: true
};
},
created() {
......@@ -101,8 +100,8 @@ export default {
if (value == null || typeof value == "undefined") {
value = -9;
}
this.statu=value
// this.$refs.orderlistref.loadTree(value);
this.statu = value;
// this.$refs.orderlistref.loadTree(value);
},
changeTitle(number, type) {
this.orderTitle = type;
......@@ -152,9 +151,9 @@ export default {
}
},
//刷新orderlist列表
changeFresh()
{
this.refresh=!this.refresh
changeFresh() {
this.refresh = !this.refresh;
this.orderlistMode = true;
}
},
watch: {
......
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