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

QRCode生成二维码

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