jwyu %!s(int64=2) %!d(string=hai) anos
pai
achega
6a04618a38

+ 2 - 2
src/views/report/chapter/Detail.vue

@@ -90,7 +90,7 @@ function getChapterDetail(){
             chapterBaseInfo.type=res.Data.TypeName
             chapterBaseInfo.title=res.Data.Title
             chapterBaseInfo.addType=res.Data.AddType
-            chapterBaseInfo.author=res.Data.Author||userInfo.RealName
+            chapterBaseInfo.author=res.Data.Author||userInfo.value.RealName
             chapterBaseInfo.createTime=moment(res.Data.CreateTime).format('YYYY-MM-DD')
             if(res.Data.VideoKind==1){
                 chapterBaseInfo.audioUrl=res.Data.VideoUrl
@@ -425,7 +425,7 @@ async function handleReportOpt(type){
 
 <template>
     <div class="chapter-detail-edit-page">
-        <van-cell title="基础信息" is-link @click="showChapterBaseInfo=true"/>
+        <van-cell title="章节基础配置" is-link @click="showChapterBaseInfo=true"/>
         <van-cell title="上传音频" is-link v-if="info?.ReportType==='week'" @click="handleShowUploadAudio"/>
         <div class="main-wrap">
             <div class="editor-box" id="editor"></div>

+ 1 - 1
src/views/report/chapter/List.vue

@@ -291,7 +291,7 @@ async function handleShowPoster(item){
         v-model:show="showChapterItemPoster" 
         round
     >
-        <div class="chapter-poster-box" v-screenshot="{target: '.chapter-poster-box', filename: 'my-screenshot.png'}">
+        <div class="select-text-disabled chapter-poster-box" v-screenshot="{target: '.chapter-poster-box', filename: 'my-screenshot.png'}">
             <img class="bg" :src="chapterItemPosterInfo.TypeEditImg" alt="">
             <h2 class="title">【第{{reportInfo.Stage}}期|{{reportInfo.ClassifyNameFirst}}|{{chapterItemPosterInfo.TypeName}}】{{chapterItemPosterInfo.Title}}</h2>
             <img class="code-img" :src="chapterItemPosterInfo.QRCodeImg" alt="">

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

@@ -124,8 +124,7 @@ function handleSave(){
     <div class="chapter-baseinfo-wrap">
         <van-cell-group>
             <van-cell 
-                value-class="cell-con" 
-                required 
+                value-class="cell-con"
                 title="品种" 
                 :value="baseInfo.type"
             />

+ 4 - 4
src/views/report/components/reportInsert/MyETAChart.vue

@@ -6,10 +6,10 @@ import { vInfiniteScroll } from '@vueuse/components'
 const emits=defineEmits(['update'])
 
 // 获取我的图库中分类
-const showClassify=ref(false)
+let showClassify=ref(false)
 let classifyList=[]
-const activeClassify=ref('')
-const activeClassifyName=ref('')
+let activeClassify=ref('')
+let activeClassifyName=ref('')
 let curClassifyList=ref([])
 async function getClassifyList(){
     const res=await apiMyETAChart.myClassifyList()
@@ -20,7 +20,7 @@ async function getClassifyList(){
 }
 getClassifyList()
 
-const searchVal=ref('')
+let searchVal=ref('')
 function handleRefreshList(){
     activeClassify=ref('')
     curClassifyList.value=classifyList.filter(item=>item.MyChartClassifyName.includes(searchVal.value))