当前位置:网站首页>新开窗口 展示协议
新开窗口 展示协议
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('操作失败');
}
//
});
},
边栏推荐
猜你喜欢
ES6 从入门到精通 # 13:数组的扩展方法二
SRv6性能测量
YOLOV5学习笔记(七)——训练自己数据集
Gartner全球集成系统市场数据追踪,超融合市场增速第一
技术盛宴!华云数据携六大议题亮相OpenInfra Days China
Travel with Shengteng: See all the AI attractions in Jinling City in one day
2022-08-09 mysql/stonedb-subquery performance improvement-introduction
金仓数据库 KingbaseGIS 使用手册(6.5. 几何对象编辑函数)
[Interface Test] Decoding the request body string of the requests library
Wireshark经典实践和面试13点总结
随机推荐
【哲理】事教人
【JZOF】77 Print binary tree in zigzag
MQTT X Web:在线的 MQTT 5.0 客户端工具
金仓数据库 KingbaseGIS 使用手册(6.6. 几何对象校验函数、6.7. 空间参考系函数)
金仓数据库 KingbaseGIS 使用手册(6.3. 几何对象创建函数)
leetcode 20. Valid Parentheses 有效的括号(中等)
70. 爬楼梯进阶版
什么是服务治理
Gold Warehouse Database KingbaseGIS User Manual (6.2. Management Functions)
力扣:474.一和零
力扣:279.完全平方数
巴比特 | 元宇宙每日必读:国内首个数字人产业专项支持政策发布,2025年北京数字人产业规模将破500亿元...
函数习题(下)
matplotlib散点图自定义坐标轴(文字坐标轴)
2022-08-09 mysql/stonedb-子查询性能提升-概论
AUTOCAD——形位公差如何标注、CAD打断于点的操作
测试2年,当时身边一起入行的朋友已经月薪20k了,自己还没过万,到底差在了哪里?
tiup cluster stop
【集训DAY3】石油储备计划【树形DP】
CAD 截断线段