Commit ce3cbb86 by 许俊杰

encodeURIComponent

parent 8342d467
This diff could not be displayed because it is too large.
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
mounted () { mounted () {
this.init() this.init()
this.$store.commit('showLoading', true) this.$store.commit('showLoading', true)
this.fetchReviewSummaryInfo({billId: Coder.replace(this.currentSupplierInfo.id)}) this.fetchReviewSummaryInfo({billId: encodeURIComponent(Coder.replace(this.currentSupplierInfo.id))})
.then(() => this.$store.commit('showLoading', false)) .then(() => this.$store.commit('showLoading', false))
.catch(() => this.$store.commit('showLoading', false)) .catch(() => this.$store.commit('showLoading', false))
}, },
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
this.productGradeId = this.reviewSummaryInfo.productGrade this.productGradeId = this.reviewSummaryInfo.productGrade
this.supplyRank.opinion = this.reviewSummaryInfo.leaderOpinion this.supplyRank.opinion = this.reviewSummaryInfo.leaderOpinion
this.supplyRank.supplyRank = this.reviewSummaryInfo.leaderSupplyRank this.supplyRank.supplyRank = this.reviewSummaryInfo.leaderSupplyRank
this.fetchApplicableRegionList({reviewSummaryId: Coder.replace(this.reviewSummaryInfo.id)}) // 获取适用区域列表(树结构) this.fetchApplicableRegionList({reviewSummaryId: encodeURIComponent(Coder.replace(this.reviewSummaryInfo.id))}) // 获取适用区域列表(树结构)
}, },
data () { data () {
return { return {
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
this.productGradeId = this.reviewSummaryInfo.productGrade this.productGradeId = this.reviewSummaryInfo.productGrade
this.supplyRank.supplyRank = this.reviewSummaryInfo.auditSupplyRank this.supplyRank.supplyRank = this.reviewSummaryInfo.auditSupplyRank
this.supplyRank.opinion = this.reviewSummaryInfo.auditOpinion this.supplyRank.opinion = this.reviewSummaryInfo.auditOpinion
this.fetchApplicableRegionList({reviewSummaryId: Coder.replace(this.reviewSummaryInfo.id)}) // 获取适用区域列表(树结构) this.fetchApplicableRegionList({reviewSummaryId: encodeURIComponent(Coder.replace(this.reviewSummaryInfo.id))}) // 获取适用区域列表(树结构)
this.$store.commit('showLoading', false) this.$store.commit('showLoading', false)
}) })
.catch(() => this.$store.commit('showLoading', false)) .catch(() => this.$store.commit('showLoading', false))
......
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
let appRegionReqs = [] let appRegionReqs = []
datas.forEach(it => { datas.forEach(it => {
if (it) { if (it) {
appRegionReqs.push(getApplicableRegionList({reviewSummaryId: Coder.replace(it.id)})) appRegionReqs.push(getApplicableRegionList({reviewSummaryId: encodeURIComponent(Coder.replace(it.id))}))
} }
}) })
Promise.all(appRegionReqs) Promise.all(appRegionReqs)
......
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