Commit 84fd9242 authored by tanjuanjuan's avatar tanjuanjuan

修改

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