Commit fcf8a01e by 钟乾明

u: id编码

parent 8bc84814
......@@ -323,8 +323,8 @@ export default {
this.updateCurrentPageType(type)
this.updateFlowId(params.fdId)
this.updateTodoId(params.todoId)
this.updateBillId(params.billId)
this.updateFid(params.billId)
this.updateBillId(encodeURIComponent(params.billId))
this.updateFid(encodeURIComponent(params.billId))
this.fetchExtraDataSuccess = true
}
} else {
......
......@@ -4,8 +4,7 @@ import { MAS } from '@/plugins/mas'
const masConfig = process.env.PACK_ENV === 'prod'
? {
// baseUrl: 'https://jffcvp.cndrealty.com:4433', // 正式环境
baseUrl: 'https://mxytest.cndrealty.com:4433', // 测试环境
baseUrl: 'https://jffcvp.cndrealty.com:4433', // 正式环境
tokenKey: 'accessToken',
code: 'cndvp-api'
}
......
......@@ -134,6 +134,7 @@ function request (opt) {
data: opt.data || {},
dataType: opt.dataType,
success: function (resp) {
console.log('qing 请求成功>>', opt.url, resp)
var response = {
data: resp.data,
status: resp.statusCode,
......@@ -158,6 +159,7 @@ function request (opt) {
}
},
error: function (e) {
console.log('qing 请求失败>>', opt.url, e)
var error = new Error(e)
error.config = opt
reject(error)
......
......@@ -175,7 +175,7 @@ export default {
if (isGradeNode) {
let arr = []
response.data.rows.forEach(v => {
arr.push(getReviewFormInfo({billId: Coder.replace(v.id)}))
arr.push(getReviewFormInfo({billId: encodeURIComponent(Coder.replace(v.id))}))
})
Promise.all(arr)
.then(resultArr => {
......@@ -194,7 +194,7 @@ export default {
} else {
let arr = []
response.data.rows.forEach(v => {
arr.push(getReviewSummaryInfo({billId: Coder.replace(v.id)}))
arr.push(getReviewSummaryInfo({billId: encodeURIComponent(Coder.replace(v.id))}))
})
Promise.all(arr)
.then(resultArr => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment