Commit 004f0882 authored by tanjuanjuan's avatar tanjuanjuan

测试

parent 120c2f14
......@@ -134,7 +134,9 @@
infoPinia
} from '@/store';
import {payList} from '../../api/request'
import {
payList
} from '../../api/request'
const infoStore = infoPinia()
......@@ -175,7 +177,7 @@
const loadData = computed(() => {
return infoStore.loanInfo || ""
})
const goToDetail=()=>{
const goToDetail = () => {
xma.navigateTo({
url: "/pages/account/account",
animationType: 'pop-in',
......@@ -196,9 +198,9 @@
animationDuration: 200
})
}
const goToList=(n)=>{
const goToList = (n) => {
xma.navigateTo({
url: "/pages/list/list?type="+n,
url: "/pages/list/list?type=" + n,
animationType: 'pop-in',
animationDuration: 200
})
......@@ -228,24 +230,25 @@
infoStore.person = info.body.detail;
//公积金缴费明细
xma.request({
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx',
data: {
"eatda": "string",
"iseqno": "string",
"jzh": "string",
"sdata": "string",
"spcode": spcode.value,
"transcode": "string"
},
header: {
'content-type': 'application/json'
},
method: "POST",
success: function(res) {
const data = JSON.parse(res.data.data)
infoStore.listInfo = data.data.records[0].list.acc_info
}})
// xma.request({
// url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzgcjmx',
// data: {
// "eatda": "string",
// "iseqno": "string",
// "jzh": "string",
// "sdata": "string",
// "spcode": spcode.value,
// "transcode": "string"
// },
// header: {
// 'content-type': 'application/json'
// },
// method: "POST",
// success: function(res) {
// const data = JSON.parse(res.data.data)
// infoStore.listInfo = data.data.records[0].list.acc_info
// }
// })
......@@ -256,9 +259,11 @@
"sdata": "string",
"spcode": spcode.value,
"transcode": "string"
}).then(res=>{
}).then(res => {
console.log("in request ***"),
console.log(res)
const data = JSON.parse(res.data);
infoStore.listInfo = data.data.records[0].list.acc_info
})
......@@ -322,7 +327,6 @@
return year + '年' + month + '月'
}
})
</script>
<style scoped>
* {
......@@ -334,7 +338,7 @@
.main {
width: 100%;
max-width: 750px;
padding-bottom:20px;
padding-bottom: 20px;
}
.inner {
......@@ -399,7 +403,11 @@
background-color: white;
border-radius: 10px;
}
.box2{margin-bottom:20px;}
.box2 {
margin-bottom: 20px;
}
.item {
margin-bottom: 20px;
}
......
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