Commit 0baf1373 authored by renjintao's avatar renjintao

刷新列表

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