Commit 84fd9242 authored by tanjuanjuan's avatar tanjuanjuan

修改

parent 01f0d080
......@@ -37,9 +37,16 @@ export const agreementInfo=(query)=>{
}
export const signAgreement=(query)=>{
export const ifSignAgreement=(query)=>{
return request({
url:"/gjjsfqdxy",
data:query
})
}
export const tyAgreement=(query)=>{
return request({
url:"/gjjtqtyxy",
data:query
})
}
\ No newline at end of file
......@@ -90,7 +90,10 @@
const pInfo = computed(()=>{
return infoStore.person||null
})
console.log("%%%")
console.log(infoStore.pInfo)
console.log("%%%")
console.log(infoStore.spidno)
</script>
<style scoped>
* {
......
......@@ -31,7 +31,7 @@
ref,computed
} from 'vue'
import {agreementInfo,signAgreement} from '../../api/request'
import {agreementInfo,ifSignAgreement} from '../../api/request'
import {infoPinia} from '@/store'
const infoStore=infoPinia()
const pCardNo = computed(() => {
......@@ -57,7 +57,7 @@
})
}
signAgreement({
ifSignAgreement({
"zjhm":pCardNo.value
}).then(res=>{
console.log(res)
......@@ -89,11 +89,17 @@
errFlag.value=true;
return;
}
xma.navigateTo({
url: "/pages/account/account",
animationType: 'pop-in',
animationDuration: 200
tyAgreement({
"zjhm":pCardNo.value
}).then(res=>{
console.log(res)
})
// xma.navigateTo({
// url: "/pages/account/account",
// animationType: 'pop-in',
// animationDuration: 200
// })
}
const goBack=()=>{
xma.navigateTo({
......
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