zrj
2024-06-07 fa0fc3195858a592d2ad1bdad0fa6126602ebf55
src/views/article/components/deitDiscussion.vue
@@ -51,17 +51,17 @@
    addPd,
    updatePd,
    removePd
  } from "@/api/discuss/publicDiscuss"
  } from "@/ssoapi/discuss/publicDiscuss"
  import {
    getPage
  } from "@/api/discuss/userTopics"
  } from "@/ssoapi/discuss/userTopics"
  import NProgress from 'nprogress'
  import 'nprogress/nprogress.css'
  import Qs from "qs"
  import {
    exportBlob
  } from "@/api/common"
  } from "@/ssoapi/common"
  import {
    getToken
  } from '@/util/auth'
@@ -81,7 +81,7 @@
    add,
    update,
    remove
  } from "@/api/discuss/topics"
  } from "@/ssoapi/discuss/topics"
  export default {
    data() {
@@ -203,7 +203,7 @@
              prop: "attachment",
              type: "upload",
              listType: "text",
              action: "/api/blade-resource/oss/endpoint/put-pdfFile",
              action: "/ssoapi/blade-resource/oss/endpoint/put-pdfFile",
              accept: "application/pdf",
              propsHttp: {
                res: "data",
@@ -424,11 +424,13 @@
          }
          data = Qs.stringify(data)
          exportBlob(
            `/api/blade-userTopics/userTopics/exportUser?${this.website.tokenHeader}=${getToken()}&` + data).then(
            res => {
              downloadXls(res.data, `投票人员${dateNow()}.xlsx`)
              NProgress.done()
            })
              `/ssoapi/blade-userTopics/userTopics/exportUser?${this.website.tokenHeader}=${getToken()}&` + data)
            .then(
              res => {
                downloadXls(res.data, `投票人员${dateNow()}.xlsx`)
                NProgress.done()
              })
        })
      },
@@ -461,7 +463,7 @@
        done()
      },
      openUser(row, type = 0) {
      openUser(row, type) {
        this.type = type
        this.popupTableUserShow = true
        this.query = {}
@@ -661,7 +663,7 @@
          this.userPage.total = data.total
          this.userData = data.records
          this.userData.forEach(item => {
            if (item.avatar.length > 0) {
            if (item.avatar) {
              item.avatar = website.minioUrl + item.avatar
            }
            if (item.signaturePath && item.signaturePath.length > 0) {
@@ -684,4 +686,4 @@
  }
</script>
<style lang="scss" scoped></style>
<style lang="scss" scoped></style>