杨磊
24 分钟以前 ee213bf458d3961a0560ce3b68a3ad38322ece97
src/views/classManage/talkingPoint.vue
@@ -37,7 +37,7 @@
          <el-table-column prop="index" label="序号" width="70" />
          <el-table-column label="话题名称" width="500">
            <template #default="scope">
              <span style="color: #ff6c00" v-if="scope.row.name">{{ scope.row.name }}</span>
              <span style="color: #019e58" v-if="scope.row.name">{{ scope.row.name }}</span>
            </template>
          </el-table-column>
          <el-table-column prop="createDate" label="发起日期" />
@@ -145,7 +145,7 @@
})
onMounted(() => {
  const userCache: any = localStorage.getItem('jesk-userInfo')
  const userCache: any = localStorage.getItem(config.userInfoKey)
  if (userCache) {
    userInfo.value = JSON.parse(userCache)
  }
@@ -172,11 +172,11 @@
const getTopicInfo = () => {
  const pramas = {
    classId: classInfo.id,
    refCodes: [config.refCodes.talk]
    refCodes: [config.refCode.talk]
  }
  MG.edu.getClassTopic(pramas).then((res: any) => {
    const list = res
    talkTopicInfo.value = list.find((item: any) => item.refCode == config.refCodes.talk)
    talkTopicInfo.value = list.find((item: any) => item.refCode == config.refCode.talk)
    if (talkTopicInfo.value.id) {
      getMessage()
    }
@@ -215,7 +215,7 @@
}
const newTalkMessage = () => {
  const userCache: any = localStorage.getItem('jesk-userInfo')
  const userCache: any = localStorage.getItem(config.userInfoKey)
  const userInfo = JSON.parse(userCache)
  const textObj = {
    content: talkContent.value,