Commit 3524718c authored by tanjuanjuan's avatar tanjuanjuan

修改

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