xbx #139
@ -606,6 +606,12 @@ export async function checkuser(data?: any){
|
|||||||
newdata.number=data.phone
|
newdata.number=data.phone
|
||||||
const res = await get<CheckuserRule>('checkUser',newdata);
|
const res = await get<CheckuserRule>('checkUser',newdata);
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
|
if(res.code == 1){
|
||||||
|
return {
|
||||||
|
code: res.code,
|
||||||
|
msg: res.msg,
|
||||||
|
}
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
code: res.code,
|
code: res.code,
|
||||||
msg: res.msg,
|
msg: res.msg,
|
||||||
|
@ -142,7 +142,7 @@ export default defineComponent({
|
|||||||
const time = ref(60);//倒计时
|
const time = ref(60);//倒计时
|
||||||
const phone = ref(""); // 手机号
|
const phone = ref(""); // 手机号
|
||||||
const code =ref("")
|
const code =ref("")
|
||||||
const myquhao=ref("86")
|
|
||||||
const userinfo = reactive({
|
const userinfo = reactive({
|
||||||
phone: '13152639856',
|
phone: '13152639856',
|
||||||
password: '123456'
|
password: '123456'
|
||||||
@ -155,6 +155,7 @@ export default defineComponent({
|
|||||||
name: "中国"
|
name: "中国"
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
const myquhao=ref(mrqh.value.code)
|
||||||
const videolist=ref<any>([{}])
|
const videolist=ref<any>([{}])
|
||||||
|
|
||||||
onMounted(async ()=>{
|
onMounted(async ()=>{
|
||||||
|
@ -170,7 +170,7 @@ export default defineComponent({
|
|||||||
const next: (e: number) => void = async (e: number) => {
|
const next: (e: number) => void = async (e: number) => {
|
||||||
if(e==2){
|
if(e==2){
|
||||||
console.log(uinfo)
|
console.log(uinfo)
|
||||||
const res=await checkuser(toRaw(uinfo.value))
|
const res: any = await checkuser(toRaw(uinfo.value))
|
||||||
console.log(res.data.memberid)
|
console.log(res.data.memberid)
|
||||||
if(res.code==0){
|
if(res.code==0){
|
||||||
// stepnow.value = e;
|
// stepnow.value = e;
|
||||||
|
@ -247,11 +247,7 @@ export default defineComponent({
|
|||||||
wrapperCol: 14,
|
wrapperCol: 14,
|
||||||
};
|
};
|
||||||
const time = ref(60); //倒计时初始化
|
const time = ref(60); //倒计时初始化
|
||||||
const phone = ref({
|
|
||||||
quhao: "86",
|
|
||||||
phone: "",
|
|
||||||
code: "",
|
|
||||||
});
|
|
||||||
const userinfo = ref({
|
const userinfo = ref({
|
||||||
pass: "",
|
pass: "",
|
||||||
passtow: "",
|
passtow: "",
|
||||||
@ -262,6 +258,11 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
const willsay = ref<any>();
|
const willsay = ref<any>();
|
||||||
const mrqh = computed(() => store.state.qh)
|
const mrqh = computed(() => store.state.qh)
|
||||||
|
const phone = ref({
|
||||||
|
quhao: mrqh.value.code,
|
||||||
|
phone: "",
|
||||||
|
code: "",
|
||||||
|
});
|
||||||
const quhaolist = ref<any>([
|
const quhaolist = ref<any>([
|
||||||
{
|
{
|
||||||
code: "86",
|
code: "86",
|
||||||
|
@ -584,7 +584,7 @@ export default defineComponent({
|
|||||||
const quhaolist = ref<any>([]);
|
const quhaolist = ref<any>([]);
|
||||||
const mrqh = computed(() => store.state.qh)
|
const mrqh = computed(() => store.state.qh)
|
||||||
|
|
||||||
const myquhao = ref<string>("");
|
const myquhao = ref<string>(mrqh.value.code);
|
||||||
|
|
||||||
const mynewtel = ref<string>("");
|
const mynewtel = ref<string>("");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user