diff --git a/src/pages/repairOrder/index.vue b/src/pages/repairOrder/index.vue index 19d2d0b..1eaa90e 100644 --- a/src/pages/repairOrder/index.vue +++ b/src/pages/repairOrder/index.vue @@ -2,7 +2,7 @@ + :title="title"> @@ -20,7 +20,7 @@ - + 工单单号:{{item.number}} @@ -79,6 +79,7 @@ pageSize: 10, type: '', }) + const title = ref(); const status = ref('loadmore') //是否显示没有更多了 const list = ref([]) function itemClick(item, index) { @@ -108,6 +109,11 @@ onLoad((option) => { if (option.type) params.value.type = option.type; if (option.flag) params.value.flag = option.flag; + if(params.value.flag&¶ms.value.flag==2){ + title.value = "报修确认" + }else{ + title.value = "维修工单" + } }) onShow(() => { params.value.pageNo = 1