sunran 3 年之前
父節點
當前提交
4d670d19fd

+ 1 - 1
src/views/weibao/views/reporting/details.vue

@@ -191,7 +191,7 @@ export default {
   //   justify-content: space-between;
   .van-image {
     max-width: 200px;
-    max-height: 200px;
+    // max-height: 200px;
     margin: 0 10px;
     //   margin-right: 16px;
     margin-bottom: 16px;

+ 1 - 1
src/views/weibao/views/reporting/index.vue

@@ -11,7 +11,7 @@
             <van-list v-model="loading" :immediate-check="false" :finished="finished" finished-text="没有更多了" @load="onLoad">
               <div class="list" v-for="item in historyList" :key="item.id" @click="$router.push({path:'/reporting/details',query:{id:item.id}})">
                 <div class="img">
-                  <van-image fit="cover" :src="getpics(item.appendFile)" alt="" />
+                  <van-image fit="cover" :src="getpics(item.pics)" alt="" />
                 </div>
                 <div class="text">
                   <p class="title">报告事件:{{item.event}}</p>

+ 7 - 4
src/views/weibao/views/specialServices/index.vue

@@ -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>