Ver código fonte

已投递-上报实习企业:不限制只有招聘会职位才能上报

Xiao_123 1 mês atrás
pai
commit
475a1e99cd

+ 8 - 2
components/PositionList/index.vue

@@ -77,10 +77,16 @@
             </view>
           </view>
         </view>
-        <view v-if="showReportBtn && isStudent && item.job?.bizId && !item.internshipEnterprise" class="ss-m-y-30">
+        <view v-if="showReportBtn && isStudent && !item.internshipEnterprise" class="ss-m-y-30">
 					<view class="ss-m-y-30" style="border-top: 1rpx solid #E1E4E9;"></view>
 					<view style="text-align: right;" class="ss-m-x-30">
-            <button @tap.stop="handleReport(item)" class="ss-m-l-10" type="warning" size="mini" style="color:#fff; backgroundColor:#00897b;borderColor:#00897b">上报为实习企业</button>
+            <button
+              @tap.stop="handleReport(item)"
+              class="ss-m-l-10"
+              type="warning"
+              size="mini"
+              style="color:#fff; backgroundColor:#00897b;borderColor:#00897b"
+            >上报为实习企业</button>
 					</view>
 				</view>
       </view>

+ 1 - 1
pagesA/student/internshipRecord.vue

@@ -41,7 +41,7 @@
             <button @tap="preview(val?.recommendationLetter)" class="ss-m-l-10" type="warning" size="mini" style="color:#fff; backgroundColor:#00897b;borderColor:#00897b">企业推荐信</button>
           </view>
           <!-- 等待中 -->
-          <view v-if="!current && val.job?.bizId && !val.internshipEnterprise" style="text-align: right;">
+          <view v-if="!current && !val.internshipEnterprise" style="text-align: right;">
             <view class="line ss-m-y-20"></view>
             <button @tap.stop="handleReport(val)" class="ss-m-l-10" type="warning" size="mini" style="color:#fff; backgroundColor:#00897b;borderColor:#00897b">上报为实习企业</button>
           </view>