Commit 4fbb5896 by 刘海龙

1111

parent 8d32690e
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
}, },
submit: function () { submit: function () {
let data = this.form; let data = this.form;
if(data.name && data.wx && data.mobile ){
$.ajax({ $.ajax({
url: '/index.php?g=Appapi&m=Family&a=add', url: '/index.php?g=Appapi&m=Family&a=add',
dataType: "json", dataType: "json",
...@@ -124,6 +125,9 @@ ...@@ -124,6 +125,9 @@
layer.msg("审核信息提交错误!"); layer.msg("审核信息提交错误!");
} }
}) })
}else{
layer.msg("请完善资料信息!");
}
} }
}, },
watch: { watch: {
......
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
<a href="#" @click="returnBtn2">退出家族</a> <a href="#" @click="returnBtn2">退出家族</a>
</div> </div>
<else/> <else/>
<div class="tuicBtn"> <!-- <div class="tuicBtn">
<a href="/index.php?g=Appapi&m=family&a=member_search&uid={$uid}&token={$token}&familyid={$familyinfo['id']}" >添加</a> <a href="/index.php?g=Appapi&m=family&a=member_search&uid={$uid}&token={$token}&familyid={$familyinfo['id']}" >添加</a>
</div> </div> -->
</if> </if>
<!-- 查看成员信息 --> <!-- 查看成员信息 -->
......
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