杨磊
14 小时以前 afe2fbc5b0375c7c06853fc981deec74e04fd630
src/views/classManage/teachInteraction.vue
@@ -40,7 +40,7 @@
          <el-table-column prop="name" label="标题" width="500" />
          <el-table-column prop="address" label="已互动学生数" #default="scoped">
            <div>
              <span style="color: #ff6d00">{{ scoped.row.subList.length }}</span>
              <span style="color: #019e58">{{ scoped.row.subList.length }}</span>
            </div>
          </el-table-column>
          <el-table-column prop="address" label="最后提交时间" #default="scoped">
@@ -122,7 +122,7 @@
  if (userCache) {
    userInfo.value = JSON.parse(userCache)
  }
  defaultCmsPath.value = classInfo.bookRefCode ? 'jsek_digitalTextbooks' : config.goodsStore
  defaultCmsPath.value = classInfo.bookRefCode ? '*' : config.goodsStore
  getData()
})
@@ -150,7 +150,6 @@
        path: defaultCmsPath.value,
        queryType: '*',
        productId: classInfo.bookId,
        storeInfo: defaultCmsPath.value,
        cmsPath: classInfo.rootCmsItemId
      })
      .then((res: any) => {
@@ -162,7 +161,6 @@
            .getProductDetail({
              path: defaultCmsPath.value,
              queryType: '*',
              storeInfo: defaultCmsPath.value,
              productId: classInfo.bookId,
              cmsPath: data.productLinkPath
            })
@@ -176,7 +174,6 @@
                    path: defaultCmsPath.value,
                    queryType: '*',
                    productId: classInfo.bookId,
                    storeInfo: defaultCmsPath.value,
                    cmsPath: dataTeach.productLinkPath
                  })
                  .then((res: any) => {
@@ -188,7 +185,6 @@
                            path: defaultCmsPath.value,
                            queryType: '*',
                            productId: classInfo.bookId,
                            storeInfo: defaultCmsPath.value,
                            cmsPath: item.productLinkPath,
                            cmsSort: {
                              ProductLinkOrder: 'Desc'
@@ -239,12 +235,12 @@
const getTopicInfo = () => {
  const pramas = {
    classId: classInfo.id,
    refCodes: [config.refCodes.teachInteraction]
    refCodes: [config.refCode.teachInteraction]
  }
  MG.edu.getClassTopic(pramas).then((res: any) => {
    const list = res
    teachInteractionInfo.value = list.find(
      (item: any) => item.refCode == config.refCodes.teachInteraction
      (item: any) => item.refCode == config.refCode.teachInteraction
    )
    if (teachInteractionInfo.value.id) {
      getMessage()
@@ -482,7 +478,7 @@
            color: #333;
            line-height: 30px;
            text-align: left;
            border-left: 6px solid #ff6c00;
            border-left: 6px solid #019e58;
            padding-left: 10px;
          }
        }
@@ -504,7 +500,7 @@
      box-sizing: border-box;
      overflow-y: auto;
      .userName {
        color: #ff6d00;
        color: #019e58;
      }
    }
  }