当前位置:网站首页>新开窗口 展示协议
新开窗口 展示协议
2022-08-09 22:46:00 【tiankongxiao】
handleUpdateAgreement() {
var temp = {
bidderSetmealId: this.multipleSelection[0].id,
}
const data = {
url: "@ViewBag.agreementUrl",
postData: JSON.stringify(temp)
}
axios.post("/base/postgetway", data)
.then(res => {
console.log("heong", res.data.code)
if (res.data.code == 1000) {
let html = ''
let CardBack = res.data.data.idCardBack;
let CardFront = res.data.data.idCardFront;
html = '<div style="display:flex; justify-content:space-between;">'+
'<img style = "width:47%" src="' + CardBack+'" />' +
'<img style = "width:47%" src="' + CardFront + '" />' +
'</div >';
var result = res.data.data.content + html;
let myWindow = window.open('', '', 'width:100%,height:100%');
myWindow.document.write(result) //info为html的字符串
myWindow.document.close()//必须关闭流,否则表单不生效
myWindow.focus();
} else {
this.$message.error('操作失败');
}
//
});
},
边栏推荐
- 分布式数据库难题(三):数据一致性
- 2022年最新《谷粒学院开发教程》:10 - 前台支付模块
- 【励志】名言警句
- What are the Shenzhen fortress machine manufacturers?Which one do you recommend?
- IT传奇人物菲尔德的转型经验教训及给CIO的建议
- 后台管理实现导入导出
- A summary of 6 common tools for cross-border e-commerce
- CAD 连接两个相交线
- Explore the TiDB Lightning source code to solve the found bugs
- 直播预告 | ICML 2022 11位一作学者在线分享神经网络,图学习等前沿研究
猜你喜欢
随机推荐
6款跨境电商常用工具汇总
[JZOF] 82 binary tree with a path of a certain value (1)
How to match garbled characters regularly?
数字钱包红海角逐,小程序生态快速引入可助力占领智慧设备入口
阿里云短信服务开通
【SSL集训DAY2】Sort【树状数组】
深入理解多线程(第一篇)
【C语言】指针和数组的深入理解(第四期)
A summary of 6 common tools for cross-border e-commerce
2022-08-09 mysql/stonedb-subquery performance improvement-introduction
金仓数据库 KingbaseGIS 使用手册(6.5. 几何对象编辑函数)
【SSL集训DAY3】控制棋盘【二分图匹配】
Wireshark经典实践和面试13点总结
多商户商城系统功能拆解25讲-平台端分销申请
如何正则匹配乱码?
【集训DAY5】堆箱子【数学】
781. 森林中的兔子
Explore the TiDB Lightning source code to solve the found bugs
70. Stair Climbing Advanced Edition
分布式数据库难题(二):数据复制