Commit ab8a5e6e authored by tanjuanjuan's avatar tanjuanjuan

修改

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