Explorar o código

feature_20260316_日报分享内容自定义配置

zhujindu hai 2 semanas
pai
achega
dd4d7bc57d

+ 1 - 0
src/views/week/dailyDetails.vue

@@ -394,6 +394,7 @@ export default {
         buryingPointName: '日报详情分享',
         buryingPointName: '日报详情分享',
         buryingPointPosition: '日报详情',
         buryingPointPosition: '日报详情',
       });
       });
+      this.isReportCustom = true;
       this.urlList = [];
       this.urlList = [];
       this.reportRemarksIndex = index;
       this.reportRemarksIndex = index;
       // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
       // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->

+ 3 - 2
src/views/week/dailyHistoricalDetails.vue

@@ -142,7 +142,7 @@
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
-        <div class="contentContainer" v-if="reportTarget.comment">
+        <div class="contentContainer" v-if="reportTarget.comment && reportTarget.status != -1">
           <p class="contentContainerTitle">点评</p>
           <p class="contentContainerTitle">点评</p>
           <div style="padding: 10px 0">
           <div style="padding: 10px 0">
             <van-field
             <van-field
@@ -157,7 +157,7 @@
         </div>
         </div>
       </div>
       </div>
       <br />
       <br />
-      <div class="contentborder" v-if="reportTarget.comment">
+      <div class="contentborder" v-if="reportTarget.comment && reportTarget.status != -1">
         <van-button type="info" size="small" plain class="Btn1" @click="submint"
         <van-button type="info" size="small" plain class="Btn1" @click="submint"
           >提交点评</van-button
           >提交点评</van-button
         >
         >
@@ -419,6 +419,7 @@ export default {
         buryingPointName: '日报详情分享',
         buryingPointName: '日报详情分享',
         buryingPointPosition: '日报详情',
         buryingPointPosition: '日报详情',
       });
       });
+      this.isReportCustom = true;
       this.urlList = [];
       this.urlList = [];
       this.reportRemarksIndex = index;
       this.reportRemarksIndex = index;
       // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
       // <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->