Commit d8b1d8f4 by 杨北旺

修复延保图片资料问题

1 parent 0e9a640b
...@@ -30,13 +30,13 @@ Vue.use(GLEditor) ...@@ -30,13 +30,13 @@ Vue.use(GLEditor)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request_brand, request_common, request_merchant, sign_common, sign, secret } = await fetchConfig() const { response, request, request_brand, request_common, request_merchant, sign_common, sign, secret } = await fetchConfig()
// 本地切换域名,不需要Mock上面改动 const => let // 本地切换域名,不需要Mock上面改动 const => let
// request.baseURL = 'http://scrm.test.glsx.com.cn' request.baseURL = 'http://scrm.dev.glsx.com.cn'
// request_brand.baseURL = 'http://scrm.test.glsx.com.cn' request_brand.baseURL = 'http://scrm.dev.glsx.com.cn'
// request_common.baseURL = 'http://didicb.glsx.com.cn' // request_common.baseURL = 'http://didicb.glsx.com.cn'
// request_merchant.baseURL = 'http://rop-merchant.test.glsx.com.cn' // request_merchant.baseURL = 'http://rop-merchant.test.glsx.com.cn'
// request.baseURL = 'http://192.168.1.78:8064' // request.baseURL = 'http://192.168.1.78:8064'
// request_brand.baseURL = 'http://192.168.1.78:8064' // request_brand.baseURL = 'http://192.168.1.78:8064'
// globalState.session.token = 'scrm-base-bb848580-e5e2-48d2-8fcc-2cf3d8bbc3bd-rop' globalState.session.token = 'scrm-base-07730836-7f92-4d6d-9925-a0f33f551ddc-rop'
Vue.prototype.$history = history Vue.prototype.$history = history
Vue.prototype.$messenger = messenger Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState Vue.prototype.$globalState = globalState
......
...@@ -2054,6 +2054,9 @@ export default { ...@@ -2054,6 +2054,9 @@ export default {
let _code = [], let _code = [],
_typeCode = ['YB0001', 'YB0002', 'YB0003', 'YB0004'], _typeCode = ['YB0001', 'YB0002', 'YB0003', 'YB0004'],
flag = false flag = false
if((!this.attachmentList || !this.attachmentList.length)&&this.attachmentListQuery.length){
this.attachmentList = this.attachmentListQuery || []
}
this.attachmentList.forEach(el => { this.attachmentList.forEach(el => {
if (_typeCode.includes(el.attachmentCode)) { if (_typeCode.includes(el.attachmentCode)) {
_code.push(el.attachmentCode) _code.push(el.attachmentCode)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!