|
|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<van-nav-bar title="专项服务" @click-left="$router.back()" left-arrow fixed placeholder safe-area-inset-top />
|
|
|
- <div class="box" v-if="roleIdStr==21">
|
|
|
- <van-tabs v-model="active" @change="changetabs">
|
|
|
+ <div class="box">
|
|
|
+ <van-tabs v-if="roleIdStr==21" v-model="active" @change="changetabs">
|
|
|
<van-tab title="服务计划"></van-tab>
|
|
|
<van-tab title="服务完成"></van-tab>
|
|
|
</van-tabs>
|
|
|
- <van-search v-show="active==1" v-model="historyform.name" shape="round" show-action placeholder="请输入姓名 项目内容" @search="onSearch">
|
|
|
+ <van-search v-show="active==1||roleIdStr!=21" v-model="historyform.name" shape="round" show-action placeholder="请输入姓名 项目内容" @search="onSearch">
|
|
|
<template #action>
|
|
|
<div @click="onSearch">搜索</div>
|
|
|
</template>
|
|
|
@@ -16,7 +16,7 @@
|
|
|
<servicePlan v-if="active==0" :planformList='planformList'></servicePlan>
|
|
|
<serviceComplete v-if="active==1" :historyList="historyList"></serviceComplete>
|
|
|
</van-list>
|
|
|
- <van-list v-else v-model="loading" style="margin-top: 16px;" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
+ <van-list v-else v-model="loading" class="his" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
<serviceComplete :historyList="historyList"></serviceComplete>
|
|
|
</van-list>
|
|
|
</div>
|
|
|
@@ -120,4 +120,7 @@ export default {
|
|
|
.mt {
|
|
|
margin-top: 80px;
|
|
|
}
|
|
|
+.his {
|
|
|
+ margin-top: 100px;
|
|
|
+}
|
|
|
</style>
|