diff --git a/.env.development b/.env.development index b138fe4..f2359a0 100644 --- a/.env.development +++ b/.env.development @@ -2,8 +2,8 @@ # @Description: # @Autor: 飘泊客 # @Date: 2023-02-13 18:25:04 - # @LastEditors: 飘泊客 - # @LastEditTime: 2023-06-21 15:15:11 + # @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git + # @LastEditTime: 2023-10-10 10:21:00 ### ENV = 'development' @@ -17,4 +17,4 @@ VUE_APP_BASE_IMG = 'https://baiyee.vip' VUE_APP_WS_API = 'wss://baiyee.vip' # 是否启用 babel-plugin-dynamic-import-node插件 -VUE_CLI_BABEL_TRANSPILE_MODULES = true \ No newline at end of file +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/index.js b/src/api/index.js index 98d7cd6..ee84f2b 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1124,3 +1124,49 @@ export function getCompensateInfo(params) { // method: 'post', // }) // } + +// 活动列表-上传excel +export function activityListUploadFiles(data) { + return request({ + url: baseObj.url + 'api/act/import', + method: 'post', + data + }) +} + +// 预测式外呼账号配置 +export function addAccount(userName, passWord) { + return request({ + url: baseObj.url + '/api/account/conf', + method: 'get', + params: { + userName, + passWord + } + }) +} + +// 预测式账号查询 +export function getAccount() { + return request({ + url: baseObj.url + 'api/account/query', + method: 'get' + }) +} +// 活动列表-新建活动 +export function addActivity(data) { + return request({ + url: baseObj.url + 'api/act/add', + method: 'post', + data + }) +} +// 活动列表-编辑活动 +export function editActivity(data) { + return request({ + url: baseObj.url + 'api/act/update', + method: 'post', + data + }) +} + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 303b87e..49d192a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -53,7 +53,8 @@ --> - + + + + + + diff --git a/src/views/system/down/tripartiteDownload.vue b/src/views/system/down/tripartiteDownload.vue index bf68af1..777a518 100644 --- a/src/views/system/down/tripartiteDownload.vue +++ b/src/views/system/down/tripartiteDownload.vue @@ -54,7 +54,7 @@ import CRUD, { presenter, header, form, crud } from '@crud/crud' import rrOperation from '@crud/RR.operation' import pagination from '@crud/Pagination' import DateRangePicker from '@/components/DateRangePicker' -import { sendEmail } from '@/api/index' +// import { sendEmail } from '@/api/index' import { mapGetters } from 'vuex' import '@riophae/vue-treeselect/dist/vue-treeselect.css' const defaultForm = { }