Commit 0993e6bf by 前端

Merge branch 'v3.12.0' into 'master'

V3.12.0

See merge request !7
2 parents 3b8005c8 23d85f5d
...@@ -11,14 +11,15 @@ ...@@ -11,14 +11,15 @@
let cfg = require('./conf.js') let cfg = require('./conf.js')
import { Http } from 'glsx-common' import { Http } from 'glsx-common'
let timeout = 30000 //超时时间 let timeout = 30000 //超时时间
export const fetchConfig = function(isEnv = true) { export const fetchConfig = function(common) {
// if (isEnv) { // if (isEnv) {
// let { request } = cfg // let { request } = cfg
// Object.assign(request, { timeout }) // Object.assign(request, { timeout })
// return Promise.resolve(cfg) // return Promise.resolve(cfg)
// } // }
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/62ecda0909756a6f4f85cf9a/outbound/config') // return new Http().get('https://oss-config.dev.glsx.com.cn/mock/62ecda0909756a6f4f85cf9a/outbound/config')
return new Http({ request: { timeout: 100000 } }).get('https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config') let params = { moduleName: 'outbound', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config',httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
return common.utils.getConfig(params)
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
...@@ -20,7 +20,7 @@ let instance = null ...@@ -20,7 +20,7 @@ let instance = null
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLTable) Vue.use(GLTable)
export async function bootstrap({ history, common, messenger, globalState }) { export async function bootstrap({ history, common, messenger, globalState }) {
const { response, request, sign, secret, sign_common, request_common } = await fetchConfig() const { response, request, sign, secret, sign_common, request_common } = await fetchConfig(common)
Vue.prototype.$history = history Vue.prototype.$history = history
Vue.prototype.$messenger = messenger Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState Vue.prototype.$globalState = globalState
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
label: '营销类型', label: '营销类型',
prop: 'marketingTypeStr', prop: 'marketingTypeStr',
line: 1, line: 1,
width: 100 width: 130
}, },
{ {
label: '营销主题', label: '营销主题',
......
...@@ -71,8 +71,8 @@ export default { ...@@ -71,8 +71,8 @@ export default {
{ {
label: '营销名称', label: '营销名称',
prop: 'imName', prop: 'imName',
line:1, line: 1,
width:350 width: 350
}, },
{ {
label: '营销客户数', label: '营销客户数',
......
...@@ -326,6 +326,12 @@ export default { ...@@ -326,6 +326,12 @@ export default {
minWidth: 120 minWidth: 120
}, },
{ {
label: '计费分钟数',
prop: 'totalMinute',
filter: 'executed',
width: 120
},
{
label: '进度', label: '进度',
addHtml: 'phoneCount', addHtml: 'phoneCount',
filter: 'executing,stop', filter: 'executing,stop',
...@@ -679,7 +685,7 @@ export default { ...@@ -679,7 +685,7 @@ export default {
let params = { let params = {
id, id,
messageAutograph, messageAutograph,
messageDetail:'【%s】'+messageDetail messageDetail: '【%s】' + messageDetail
} }
this.$apis.outbound.updateOutBoundtaskMessage(params).then(res => { this.$apis.outbound.updateOutBoundtaskMessage(params).then(res => {
this.$message({ this.$message({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!