Commit ab8a5e6e authored by tanjuanjuan's avatar tanjuanjuan

修改

parent d9a68312
......@@ -114,7 +114,7 @@
</view>
</view>
<view class="item">
<view class="item_title">更多服务{{personStore.teststr}}</view>
<view class="item_title">更多服务</view>
<view class="item_box" @click="goToMap">公积金地图</view>
</view>
</view>
......@@ -165,7 +165,7 @@
const pInfo = computed(() => {
return personStore.person || null
})
const spidno = computed(() => {
return personStore.person.cardNo || ""
})
......@@ -173,7 +173,7 @@
const spcode = computed(() => {
return personStore.person.spcode || ""
})
const loadData = computed(() => {
return loanStore.loanInfo || ""
})
......@@ -206,42 +206,42 @@
success: function(res) {
const info = JSON.parse(res.data.data)
personStore.person = info.body.detail;
//公积金地图
//公积金贷款信息
xma.request({
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzx',
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjdkxx',
data: {
pageSize: 50,
pageIndex: 1
"spidno": spidno.value,
"spcode": spcode.value,
"iseqno": "string"
},
header: {
'content-type': 'application/json'
},
method: "GET",
success: function(res) {
let data = JSON.parse(res.data.data)
mapStore.mapList = data.data;
const data = JSON.parse(res.data.data)
loanStore.loanInfo = data.data.records[0].list.acc_info
},
});
//公积金贷款信息
//公积金地图
xma.request({
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjdkxx',
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzx',
data: {
"spidno": spidno.value,
"spcode": spcode.value,
"iseqno": "string"
pageSize: 50,
pageIndex: 1
},
header: {
'content-type': 'application/json'
},
method: "GET",
success: function(res) {
const data = JSON.parse(res.data.data)
loanStore.loanInfo=data.data.records[0].list.acc_info
let data = JSON.parse(res.data.data)
mapStore.mapList = data.data;
},
});
},
});
......
......@@ -4,6 +4,5 @@ import { ref } from 'vue';
export const personPinia = defineStore('person', () => {
const person = ref(null)
const teststr=ref("我猜")
return { person,teststr }
return { person }
})
\ No newline at end of file
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