Commit 004f0882 authored by tanjuanjuan's avatar tanjuanjuan

测试

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