Commit 2b63ef9a authored by liudong1993's avatar liudong1993
parents 06320ca7 a8e71b3b
...@@ -2654,6 +2654,7 @@ else if (Type==2) { ...@@ -2654,6 +2654,7 @@ else if (Type==2) {
event_id: 'CarDealerOrder', event_id: 'CarDealerOrder',
data: { data: {
OrderId: this.GetDetail.ReFinanceId, OrderId: this.GetDetail.ReFinanceId,
type: 1
}}, `${href}`) }}, `${href}`)
}else{ }else{
this.$router.push({ this.$router.push({
...@@ -2671,7 +2672,8 @@ else if (Type==2) { ...@@ -2671,7 +2672,8 @@ else if (Type==2) {
window.parent.postMessage({ window.parent.postMessage({
event_id: 'CarDealerOrder', event_id: 'CarDealerOrder',
data: { data: {
MainId: this.GetDetail.ReFinanceId, OrderId: this.GetDetail.ReFinanceId,
type: 2
} }
}, `${href}`) }, `${href}`)
} else { } else {
......
...@@ -1908,7 +1908,7 @@ ...@@ -1908,7 +1908,7 @@
window.parent.postMessage({ window.parent.postMessage({
event_id: 'CarDealerOrder', event_id: 'CarDealerOrder',
data: { data: {
MainId: this.GetDetail.ReFinanceId, OrderId: this.GetDetail.ReFinanceId,
type:1 type:1
} }
}, `${href}`) }, `${href}`)
......
This diff is collapsed.
This diff is collapsed.
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
</template> </template>
</template> </template>
<!-- 可以让销售修改基本信息--> <!-- 可以让销售修改基本信息-->
<el-button v-if="orderId>0" type="primary" size="medium" value="修改信息" @click="editMsgShow=true"> <el-button v-if="orderId>0" type="primary" value="修改信息" @click="editMsgShow=true" style="margin-left:20px;">
修改信息</el-button> 修改信息</el-button>
</el-col> </el-col>
<el-col v-if="orderId<=0"> <el-col v-if="orderId<=0">
...@@ -532,7 +532,13 @@ ...@@ -532,7 +532,13 @@
method: 'get', method: 'get',
url: ocrUrl, url: ocrUrl,
data: {}, data: {},
responseType: 'arraybuffer' responseType: 'arraybuffer',
onDownloadProgress: (progressEvent) => {
const progress = Math.round((progressEvent.loaded / progressEvent.total) * 100);
that.loadingText = `正在下载` + (that.orderId > 0 ? "出团通知书" : "行程") + `文件` + progress +
`%,请勿关闭或刷新页面...`;
// 在这里处理下载进度, 如更新界面上的进度条
}
}).then(res => { }).then(res => {
that.pdfLoading = false; that.pdfLoading = false;
let blob = new Blob([res.data], { let blob = new Blob([res.data], {
......
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 to comment