Commit 05c14925 by 杨北旺

bug:广汇接口更换

1 parent 795c1c90
......@@ -15,8 +15,8 @@ Vue.use(GLTable)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request_brand, sign, secret } = await fetchConfig()
// 本地切换域名,不需要Mock上面改动 const => let
// request.baseURL = 'https://scrm.dev.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.dev.glsx.com.cn'
// request.baseURL = 'https://scrm.test.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.test.glsx.com.cn'
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
......
......@@ -577,7 +577,7 @@ export default {
},
handleSecondConfirm() {
this.$apis[this.secondObj.apiModule][this.secondObj.apiName](this.secondObj.apiParams).then(res => {
this.$apis.ghBeforeSale[this.secondObj.apiName](this.secondObj.apiParams).then(res => {
// this.handleSecondCancel()
// this.isTipVisible = true
this.$message({
......@@ -657,6 +657,7 @@ export default {
if(code==0){
this.pdfUrl = data
this.handlePdfClose()
this.handleSearch()
}else{
this.$message({
message:message,
......@@ -753,7 +754,7 @@ export default {
})
return true
}
this.secondConfirm('退单', '是否确认退单?', 'beforeSale', 'backOrderApi', { contractNo: row.contractNo, merchantId: row.merchantId })
this.secondConfirm('退单', '是否确认退单?', 'ghBeforeSale', 'backOrderApi', { contractNo: row.contractNo, merchantId: row.merchantId })
},
// 导出
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!