| | |
| | | add, |
| | | getNotice, |
| | | upcomment |
| | | } from "@/api/article/article" |
| | | } from "@/ssoapi/article/article" |
| | | |
| | | import { |
| | | getListPd, |
| | |
| | | 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" |
| | |
| | | import Qs from "qs" |
| | | import { |
| | | exportBlob |
| | | } from "@/api/common" |
| | | } from "@/ssoapi/common" |
| | | import { |
| | | getToken |
| | | } from '@/util/auth' |
| | |
| | | // 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", |
| | |
| | | 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", |
| | |
| | | hide: true, |
| | | span: 24, |
| | | listType: "picture-img", |
| | | action: "/api/depl/put-depl", |
| | | action: "/ssoapi/depl/put-depl", |
| | | propsHttp: { |
| | | url: "data", |
| | | }, |
| | |
| | | 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编辑的配置 |
| | |
| | | } |
| | | 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`) |