zhouwenxuan
2023-12-15 277d6652893fcc10fb6827b62ef16fe2910a525c
pages/tabBar/notice/detail.vue
@@ -30,6 +30,7 @@
               </u-tag>
            </view>
         </view>
         <text class="textTop"><b>发布时间:</b>{{detailData.publishingTime}}</text>
         <text class="textTop" v-if="detailData.forwardPath" style="display: flex;"><b>发布单位:</b>
            <text v-for="(item,index) in detailData.forwardPath">
               <text v-if="index !=detailData.forwardPath.length-1">
@@ -45,13 +46,16 @@
            <view style="width: 100%; height: 550px;" v-if="directViewUrl">
               <iframe :src="directViewUrl" class="frameStyle"></iframe>
            </view>
            <view style="width: 100%; height: 550px;" v-if="urls.length > 0">
            <view style="width: 100%; height: auto" v-if="urls.length > 0">
               <view v-for="(item, index) in urls" :key="index" >
                  <view style="display: flex;margin-top: 10px;" @click="openFile(item)" >
                     <u-icon name="attach" color="#2979ff" size="20"></u-icon> <span>{{item.name}}</span>
                  </view>
               </view>
            </view>
            <span  v-if="!(directViewUrl || urls.length > 0)">
             无
            </span>
            
<!--             <view class="attache" v-if="isAllImg == 'no'">
               <view v-for="(item, index) in detailData.attachments" :key="index" >
@@ -106,17 +110,17 @@
         <view v-if="detailData.role == 'leader' && detailData.reviewStatus == 1" class="btn">
            <u-button 
               style="background-color:rgb(6, 202, 23);color: white;width: 180px;"
               @click="approved"
               @click="$noMoreClicks(approved)"
            >审核通过</u-button>
            <u-button 
               style="background-color:rgb(247, 108, 125);color: white;width: 180px;"
               @click="reject"
               @click="$noMoreClicks(reject)"
            >审核驳回</u-button>
         </view>
         <view v-if="detailData.role == 'infoPeople' && detailData.reviewStatus == 2" class="btn">
            <u-button 
               style="background-color:rgb(6, 202, 23);color: white;width: 180px;"
               @click="infoSend"
               @click="$noMoreClicks(infoSend)"
            >确认发布</u-button>
         </view>
      <!--    //村级显示 -->
@@ -160,7 +164,8 @@
            cityMessage: '响应措施反馈',
            measureData: {},
            urls: [],
            backFlag: ''
            backFlag: '',
            noClick:true,
         }
      },
       onLoad:function(options){
@@ -439,7 +444,8 @@
   margin-left: 15px;
}
.detailCard{
   flex-grow: 1;
   // flex-grow: 1;
   // height: 65%;
   display: flex;
   flex-direction: column;
   background: #fff;