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 @@
let cfg = require('./conf.js')
import { Http } from 'glsx-common'
let timeout = 30000 //超时时间
export const fetchConfig = function(isEnv = true) {
export const fetchConfig = function(common) {
// if (isEnv) {
// let { request } = cfg
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
// 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 = {
install(vue, cfg) {
......
......@@ -20,7 +20,7 @@ let instance = null
Vue.use(ElementUI)
Vue.use(GLTable)
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.$messenger = messenger
Vue.prototype.$globalState = globalState
......
......@@ -70,7 +70,7 @@ export default {
label: '营销类型',
prop: 'marketingTypeStr',
line: 1,
width: 100
width: 130
},
{
label: '营销主题',
......
......@@ -71,8 +71,8 @@ export default {
{
label: '营销名称',
prop: 'imName',
line:1,
width:350
line: 1,
width: 350
},
{
label: '营销客户数',
......@@ -215,4 +215,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
......@@ -326,6 +326,12 @@ export default {
minWidth: 120
},
{
label: '计费分钟数',
prop: 'totalMinute',
filter: 'executed',
width: 120
},
{
label: '进度',
addHtml: 'phoneCount',
filter: 'executing,stop',
......@@ -679,7 +685,7 @@ export default {
let params = {
id,
messageAutograph,
messageDetail:'【%s】'+messageDetail
messageDetail: '【%s】' + messageDetail
}
this.$apis.outbound.updateOutBoundtaskMessage(params).then(res => {
this.$message({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!