zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/views/article/discussionManage.vue
@@ -66,7 +66,7 @@
    add,
    getNotice,
    upcomment
  } from "@/api/article/article"
  } from "@/ssoapi/article/article"
  import {
    getListPd,
@@ -75,11 +75,11 @@
    addPd,
    getNoticePd,
    upcommentPd
  } from "@/api/discuss/publicDiscuss"
  } from "@/ssoapi/discuss/publicDiscuss"
  import website from '@/config/website'
  import {
    getDistrictTree
  } from "@/api/district/index"
  } from "@/ssoapi/district/index"
  import {
    mapGetters
  } from "vuex"
@@ -90,7 +90,7 @@
  import Qs from "qs"
  import {
    exportBlob
  } from "@/api/common"
  } from "@/ssoapi/common"
  import {
    getToken
  } from '@/util/auth'
@@ -199,7 +199,7 @@
              // align:'center',
              type: "upload",
              listType: "picture-img",
              action: "/api/blade-resource/oss/endpoint/put-file",
              action: "/ssoapi/blade-resource/oss/endpoint/put-file",
              propsHttp: {
                res: "data",
                url: "link",
@@ -216,7 +216,7 @@
              viewDisplay: true,
              searchSpan: 4,
              checkStrictly: true,
              dicUrl: "/api/blade-system/dict-biz/dictionary?code=investigateType",
              dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=investigateType",
              props: {
                label: "dictValue",
                value: "dictKey",
@@ -313,7 +313,7 @@
              hide: true,
              span: 24,
              listType: "picture-img",
              action: "/api/depl/put-depl",
              action: "/ssoapi/depl/put-depl",
              propsHttp: {
                url: "data",
              },
@@ -323,7 +323,7 @@
              prop: "content",
              component: "AvueUeditor",
              options: {
                action: "/api/blade-resource/oss/endpoint/put-file",
                action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                // customConfig: {
                //   lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3']
                // },//wangEditor编辑的配置
@@ -525,7 +525,7 @@
          }
          data = Qs.stringify(data)
          exportBlob(
              `/api/blade-userTopics/userTopics/exportDataIndex?${this.website.tokenHeader}=${getToken()}&` + data)
              `/ssoapi/blade-userTopics/userTopics/exportDataIndex?${this.website.tokenHeader}=${getToken()}&` + data)
            .then(
              res => {
                downloadXls(res.data, `投票结果${dateNow()}.xlsx`)