Karsa 1 mēnesi atpakaļ
vecāks
revīzija
e3695a0755

+ 3 - 3
src/views/report/List.vue

@@ -699,7 +699,7 @@ onMounted(async ()=>{
             <template v-if="[2,6].includes(activeItem.State)">
                 <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_cancelPublish)&&activeItem.State===2&&activeItem.HasAuth"
                     @click="handleReportPublishCancle(activeItem)">撤销</div> <!-- 实际上是取消发布 -->
-                <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_cancelPublish)&&activeItem.State===6"
+                <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_cancelPublish)&&activeItem.State===6&&activeItem.HasAuth"
                     @click="handleReportCancel(activeItem)">撤销</div>
                 <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_exportPdf) && activeItem.DetailPdfUrl"
                     @click="downloadPdfImg(activeItem,1)">下载pdf</div>
@@ -714,8 +714,8 @@ onMounted(async ()=>{
             </template>
             
 
-            <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_audioUpload)"
-                @click="handleShowUploadAudio(activeItem)&&activeItem.HasAuth">音频上传</div>
+            <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_audioUpload)&&activeItem.HasAuth"
+                @click="handleShowUploadAudio(activeItem)">音频上传</div>
             <div class="item" v-if="checkAuthBtn(reportManageBtn.reportManage_audioDownload)&&(activeItem.VideoUrl || activeItem.ChapterVideoList.length>0)"
                 @click="handleDownloadAudio(activeItem)">音频下载</div>
 

+ 2 - 2
src/views/report/chapter/components/EditChapterBaseInfo.vue

@@ -104,7 +104,8 @@ async function handleSave(){
                 v-model="baseInfo.chapterName"
                 label="章节名称"
                 placeholder="请输入章节名称"
-                input-align="right"
+                input-align="right"     
+                required
             />
         </van-cell-group>
         <van-cell-group>
@@ -123,7 +124,6 @@ async function handleSave(){
                 is-link 
                 :value="editorsLabel"
                 @click="handleShowReportAuthor"
-                required
             />
         </van-cell-group>
 

+ 1 - 1
src/views/report/components/AddReportBaseInfoV2.vue

@@ -391,7 +391,7 @@ async function handleSave() {
         </template>
       </van-field>
     </van-cell-group>
-    <van-cell-group>
+    <van-cell-group v-if="reportBaseInfo.cooperationType===2">
       <van-cell
         title="协作人"
         :value="cooperationUsersLabel"