Commit 3524718c authored by tanjuanjuan's avatar tanjuanjuan

修改

parent ab8a5e6e
......@@ -167,7 +167,7 @@
})
const spidno = computed(() => {
return personStore.person.cardNo || ""
return personStore.spidno || ""
})
//职工代码
const spcode = computed(() => {
......@@ -193,10 +193,11 @@
range: ['ACCOUNT', 'MOBILE', 'CITIZEN'],
success(info) {
//公积金个人信息
personStore.spidno = info.data.uIdCardNo;
xma.request({
url: 'https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjgrxx',
data: {
spidno: info.data.uIdCardNo,
spidno: personStore.spidno,
trantime: getCurrentTimestamp()
},
header: {
......
......@@ -4,5 +4,6 @@ import { ref } from 'vue';
export const personPinia = defineStore('person', () => {
const person = ref(null)
return { person }
const spidno=ref(0)
return { person,spidno }
})
\ 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