MrShi
2024-04-07 9a819fa35464df79a1a8a56e132b3463fac520a7
wx/pages/details_dispatch_unit/details_dispatch_unit.vue
@@ -84,11 +84,17 @@
            <view style="width: 44rpx; height: 50rpx;"></view>
            <u-button type="primary" shape="circle" color="#437CB3" text="查看批单" @click="seePdf(info.pidanFile.fileurlFull)"></u-button>
         </view> 
         <!-- 待审核 | 待签署 -->
         <view class="details_footer" v-if="info.status === 1 || info.status === 0">
         <!-- 待审核 -->
         <view class="details_footer" v-if="info.status === 1">
            <u-button type="primary" shape="circle" color="#437CB3" @click="show = true" :plain="true" text="申请退回"></u-button>
            <view style="width: 44rpx; height: 50rpx;"></view>
            <u-button type="primary" shape="circle" color="#437CB3" text="查看申请单" @click="seePdf(info.applyFile.fileurlFull)"></u-button>
         </view>
         <!-- 待签署 -->
         <view class="details_footer" v-if="info.status === 0">
            <u-button type="primary" shape="circle" color="#437CB3" @click="show = true" :plain="true" text="申请退回"></u-button>
            <view style="width: 44rpx; height: 50rpx;"></view>
            <u-button type="primary" shape="circle" color="#437CB3" text="签署申请单" @click="openmessage(2)"></u-button>
         </view>
         <!-- 已退回 -->
         <view class="details_footer" v-if="info.status === 5 || info.status === 8">
@@ -188,7 +194,7 @@
                        .then(url => {
                           if (url.code === 200) {
                              uni.navigateTo({
                                 url: `/pages/webView/webView?url=${url.data}`
                                 url: `/pages/webView/webView?url=${encodeURIComponent(url.data)}`
                              })
                           }
                        })
@@ -207,7 +213,7 @@
                     this.error = ''
                     this.show1 = false
                     uni.navigateTo({
                        url: `/pages/webView/webView?url=${res.data}`
                        url: `/pages/webView/webView?url=${encodeURIComponent(res.data)}`
                     })
                  } else {
                     this.error = 2
@@ -281,9 +287,6 @@
         },
         cancel() {
            this.show = false
         },
         confirm1() {
            this.show1 = false
         },
         cancel1() {
            this.show1 = false