Commit 422c42d1 authored by liangliang.wang01's avatar liangliang.wang01 🤸🏽

QRCode生成二维码

parent 7287623f
......@@ -70,7 +70,7 @@ export default {
},
created () {
if (window.localStorage.openId) {
this.searchBill(window.localStorage.openId)
// this.searchBill(window.localStorage.openId)
}
},
mounted () { },
......@@ -81,30 +81,33 @@ export default {
let url = process.env.basePath + 'getCmbConList'
// http://sign.hitachics.com/core/r/api?sysName=HCL_UPLOAD_FILE&apiName=getCmbConList
let params = {
// openId: "oBdoRwAgUiwsQvNGYhBYks6JJLPE",
openId: openId,
serialno: value,
openId:"oBdoRwI9gj9Brbe9iqlDCg5G2dDc",
// openId: openId,
// serialno: value,
}
// console.log("请求");
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, params).then(function (res) {
vm.hlsPopup.hideLoading()
vm.hlsPopup.hideLoading();
if (res.result.respCode === 'S') {
console.log(params);
console.log(res);
var dataInfo = JSON.parse(res.result.json)
console.log('请求成功', dataInfo.lists)
// console.log('请求成功', dataInfo.lists)
vm.ListNum = dataInfo.lists.length
vm.massages = dataInfo.lists
} else {
vm.ListNum = 0;
vm.hlsPopup.showLongCenter('查询合同列表失败' + res.result.respMsg)
}
})
},
download (index) {
console.log('下载')
},
detectSearchCondition(){
this.searchBill (window.localStorage.openId);
}
},
}
......@@ -118,21 +121,19 @@ export default {
margin-top: 10px;
// margin-bottom: 10px;
position: relative;
border: 1px solid #cccccc;
border-radius: 20px;
.searchInput {
margin-left: 5%;
display: -webkit-flex;
border: 1px solid #cccccc;
/* margin: 0.14rem 0.2rem; */
width: 80%;
height: 0.56rem;
border-radius: 20px;
display: -webkit-box;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-align-items: center;
input {
text-align: center;
width: 90%;
......@@ -146,6 +147,14 @@ export default {
//padding-left: 11px;
}
}
button{
margin-right: -10px;
background-color: rgb(230, 230, 230);
border: 1px solid #cccccc;
border-radius: 20px;
width: 15%;
height: 100%;
}
}
// 账单卡片列表
.billList {
......
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