当前位置:网站首页>新开窗口 展示协议
新开窗口 展示协议
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('操作失败');
}
//
});
},
边栏推荐
- CMake使用记录
- 经济衰退即将来临前CIO控制成本的七种方法
- 直播间搭建,按钮左滑出现删除等操作按钮
- A Shanghai technology company was fined 220,000 for brushing orders, exposing the gray industry chain of online brushing
- Gumbel distribution of discrete choice model
- matplotlib散点图自定义坐标轴(文字坐标轴)
- 【集训DAY5】快速排序【模拟】【数学】
- 下班后用微信处理工作时发病身亡,法院判决:工伤!
- 【接口测试】requests 库请求体字符串解码
- tiup cluster upgrade
猜你喜欢
高手这样看现货白银走势图
【C语言】指针和数组的深入理解(第四期)
【集训DAY5】选数字【数学】
【SSL集训DAY2】有趣的数【数位DP】
The latest "Grain Academy Development Tutorial" in 2022: 10 - Front-end payment module
金仓数据库 KingbaseGIS 使用手册(6.3. 几何对象创建函数)
ES6 从入门到精通 # 14:迭代器 Iterator 的用法
2022-08-09 mysql/stonedb-慢SQL-Q16分析
直播预告 | ICML 2022 11位一作学者在线分享神经网络,图学习等前沿研究
三:OpenCV图片颜色通道数据转换
随机推荐
LiveData : Transformations.map和 Transformations.switchMap用法
防火墙之系统防护
【诗歌】最高级的惩罚就是沉默
32 JZOF 】 【 print down on binary tree
Filament - Material basic graphics drawing
力扣:474.一和零
多线程是同时执行多个线程的吗
2022-08-09 mysql/stonedb-子查询性能提升-概论
【JZOF】32从上往下打印二叉树
What are the Shenzhen fortress machine manufacturers?Which one do you recommend?
[Interface Test] Decoding the request body string of the requests library
【SSL集训DAY2】Sequence【数学】
分布式数据库难题(三):数据一致性
Sqlserver限制账户在哪些ip下才可以访问数据库
你的手机曾经被监控过吗?
Click: 518. Change Exchange II
带着昇腾去旅行:一日看尽金陵城里的AI胜景
framework源码读后感
Mysql/stonedb - slow SQL - 2022-08-09 Q16 analysis
ES6 从入门到精通 # 14:迭代器 Iterator 的用法