Commit c8079f28 by 李伟康

修复BUG

1 parent 5b91a263
......@@ -12,19 +12,19 @@ let cfg = require('./conf.js')
import { Http } from 'glsx-common'
let timeout = 30000 //超时时间
export const fetchConfig = function(common) {
export const fetchConfig = function (common) {
// if (isEnv) {
let { request } = cfg
Object.assign(request, { timeout })
return Promise.resolve(cfg)
// 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')
// let params = { moduleName: 'outbound', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config',httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
// console.log(common.utils.getConfig(params))
// return common.utils.getConfig(params)
let params = { moduleName: 'outbound', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/62fe2a36abac6ff6ac239d3c/outbound/config', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
console.log(common.utils.getConfig(params))
return common.utils.getConfig(params)
}
export const config = {
install(vue, cfg) {
install (vue, cfg) {
vue.prototype.$config = cfg
}
}
......@@ -21,9 +21,8 @@
:remote-method="remoteMethod"
v-reachbottom="onReachBottom"
@focus="selectFocus"
:loading="loading"
:loading="merchantObj.loading"
:disabled="disabled"
@change="change"
>
<el-option
v-for="item in merchantObj.data"
......@@ -158,15 +157,7 @@ export default {
groupLimitList: [],
relayLotteryId: '',
isEdit: false,
disabled: false,
merchantObj: {
nothing: false,
data: [],
currentPage: 1,
name: '',
loading: false,
total: 0
}
disabled: false
}
},
......@@ -237,7 +228,7 @@ export default {
confId: data.merchantId,
confName: data.merchantName
}]
let description = decodeURIComponent(data.description),
let description = data.description,
endTimeType = 0,
numWin = data.numWin,
endTime = data.endTime,
......
......@@ -94,6 +94,9 @@ export default {
font-size: 14px;
color: #333333;
padding: 10px 0 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:hover {
opacity: 0.95;
......
......@@ -198,10 +198,14 @@ export default {
line-height: 28px;
}
.content-box {
display: grid;
grid-template-columns: repeat(3, 1fr);
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-top: 5px;
.item{
width: calc(33.33% - 16px);
}
}
.nothing {
display: flex;
......
......@@ -81,6 +81,9 @@ export default {
font-size: 14px;
color: #333333;
padding: 10px 0 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:hover {
opacity: 0.95;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!