|
@@ -35,18 +35,6 @@ const authType = computed(() => {
|
|
});
|
|
});
|
|
|
|
|
|
const handleAutoApply=()=>{
|
|
const handleAutoApply=()=>{
|
|
- if(userInfo.value.is_bind===0){
|
|
|
|
- Dialog.confirm({
|
|
|
|
- title:'温馨提示',
|
|
|
|
- message:'为了优化您的用户体验,\n 请登录后查看更多信息!',
|
|
|
|
- confirmButtonText:'去登录',
|
|
|
|
- confirmButtonColor:'#E6B77D',
|
|
|
|
- cancelButtonColor:'#666'
|
|
|
|
- }).then(res=>{
|
|
|
|
- wx.miniProgram.reLaunch({url:'/pages/login'})
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
if(!props.data.customer_info.has_apply){
|
|
if(!props.data.customer_info.has_apply){
|
|
if(props.data.customer_info.status=='冻结'||(props.data.customer_info.status=='试用'&&props.data.customer_info.is_suspend==1)){
|
|
if(props.data.customer_info.status=='冻结'||(props.data.customer_info.status=='试用'&&props.data.customer_info.is_suspend==1)){
|
|
apiApplyPermission({
|
|
apiApplyPermission({
|
|
@@ -65,6 +53,20 @@ const handleAutoApply=()=>{
|
|
|
|
|
|
// 点击申请
|
|
// 点击申请
|
|
const handleApply=()=>{
|
|
const handleApply=()=>{
|
|
|
|
+ if(userInfo.value.is_bind===0){
|
|
|
|
+ Dialog.confirm({
|
|
|
|
+ title:'温馨提示',
|
|
|
|
+ message:'为了优化您的用户体验,\n 请登录后查看更多信息!',
|
|
|
|
+ confirmButtonText:'去登录',
|
|
|
|
+ confirmButtonColor:'#E6B77D',
|
|
|
|
+ cancelButtonColor:'#666'
|
|
|
|
+ }).then(res=>{
|
|
|
|
+ wx.miniProgram.reLaunch({url:'/pages/login'})
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
if(props.data.customer_info.status=='流失'){
|
|
if(props.data.customer_info.status=='流失'){
|
|
apiApplyPermission({
|
|
apiApplyPermission({
|
|
company_name:props.data.customer_info.company_name,
|
|
company_name:props.data.customer_info.company_name,
|