Commit 05c14925 by 杨北旺

bug:广汇接口更换

1 parent 795c1c90
...@@ -15,8 +15,8 @@ Vue.use(GLTable) ...@@ -15,8 +15,8 @@ Vue.use(GLTable)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request_brand, sign, secret } = await fetchConfig() const { response, request, request_brand, sign, secret } = await fetchConfig()
// 本地切换域名,不需要Mock上面改动 const => let // 本地切换域名,不需要Mock上面改动 const => let
// request.baseURL = 'https://scrm.dev.glsx.com.cn' // request.baseURL = 'https://scrm.test.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.dev.glsx.com.cn' // request_brand.baseURL = 'https://scrm.test.glsx.com.cn'
Vue.prototype.$history = history Vue.prototype.$history = history
Vue.prototype.$messenger = messenger Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState Vue.prototype.$globalState = globalState
......
...@@ -577,7 +577,7 @@ export default { ...@@ -577,7 +577,7 @@ export default {
}, },
handleSecondConfirm() { 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.handleSecondCancel()
// this.isTipVisible = true // this.isTipVisible = true
this.$message({ this.$message({
...@@ -657,6 +657,7 @@ export default { ...@@ -657,6 +657,7 @@ export default {
if(code==0){ if(code==0){
this.pdfUrl = data this.pdfUrl = data
this.handlePdfClose() this.handlePdfClose()
this.handleSearch()
}else{ }else{
this.$message({ this.$message({
message:message, message:message,
...@@ -753,7 +754,7 @@ export default { ...@@ -753,7 +754,7 @@ export default {
}) })
return true 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!