|
|
|
@ -159,29 +159,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
<u-popup v-model="createData.isShow" mode="center" border-radius="14" width="80%" :closeable='true'>
|
|
|
|
<u-popup v-model="createData.isShow" mode="center" border-radius="14" width="80%" :closeable='true'>
|
|
|
|
<view style="max-height: calc(100vh - 200px);overflow-y: auto;">
|
|
|
|
<view style="max-height: calc(100vh - 200px);overflow-y: auto;">
|
|
|
|
<view class="g_flex_c g_h_40 g_fs_16">安全验证</view>
|
|
|
|
<view class="g_flex_c g_h_60 g_fs_16">安全验证</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view class="g_flex_row_start">
|
|
|
|
<view class="g_fs_14 g_mb_12" style="padding: 0 12px;">
|
|
|
|
<view class="g_flex_1 g_flex_column_center">
|
|
|
|
<text class="g_fw_600">[申请合并]</text>属于高敏感权限,基于账户安全考虑,请验证创建人手机号:{{createData.telEncrypt}}
|
|
|
|
<u-input v-model="createData.code"
|
|
|
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
|
|
|
type="number"
|
|
|
|
|
|
|
|
maxlength="11"
|
|
|
|
|
|
|
|
style="width: calc(100% - 64px); z-index: 0;background-color: #ededed;border-radius: 6px;margin: 0 auto;padding: 0 16px;"
|
|
|
|
|
|
|
|
></u-input>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="g_flex_none g_flex_column_center g_mr_16">
|
|
|
|
|
|
|
|
<g-button type='primary' size='mini' btnText='获取验证码' @clickBtn='handleSearch'></g-button>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<g-panel-form-slot
|
|
|
|
|
|
|
|
:list="[
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
icon: '',
|
|
|
|
|
|
|
|
label: '验证码',
|
|
|
|
|
|
|
|
result: '',
|
|
|
|
|
|
|
|
path: '',
|
|
|
|
|
|
|
|
tip: 'slot-code',
|
|
|
|
|
|
|
|
value: createData.code,
|
|
|
|
|
|
|
|
tel: createData.tel,
|
|
|
|
|
|
|
|
type: 'slot',
|
|
|
|
|
|
|
|
placeholder: '输入验证码',
|
|
|
|
|
|
|
|
pColumn: 12,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
]"
|
|
|
|
|
|
|
|
@changeCode="getCode"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</g-panel-form-slot>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_row_center g_p_16">
|
|
|
|
<view class="g_flex_row_center g_p_16" style="padding-bottom: 0;">
|
|
|
|
<view class="g_flex_row_center" style="width: 50%;">
|
|
|
|
<view class="g_flex_row_center" style="width: 50%;">
|
|
|
|
<g-button type='default' class="g_w_all" size='small' btnText='取消' @clickBtn='createData.isShow = false'></g-button>
|
|
|
|
<g-button type='default' class="g_w_all" size='small' btnText='取消' @clickBtn='createData.isShow = false'></g-button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_flex_row_center" style="width: 50%;">
|
|
|
|
<view class="g_flex_row_center" style="width: 50%;">
|
|
|
|
<g-button type='primary' size='small' btnText='确定'></g-button>
|
|
|
|
<g-button type='primary' size='small' btnText='确定' @clickBtn='submitValidate'></g-button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="g_h_20"></view>
|
|
|
|
<view class="g_h_20"></view>
|
|
|
|
@ -267,17 +275,6 @@ export default {
|
|
|
|
telEncrypt: createRes.telEncrypt
|
|
|
|
telEncrypt: createRes.telEncrypt
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// that.modalApplyData = {
|
|
|
|
|
|
|
|
// isShow:true,
|
|
|
|
|
|
|
|
// tel:'',
|
|
|
|
|
|
|
|
// desp:'',
|
|
|
|
|
|
|
|
// resultList:[],
|
|
|
|
|
|
|
|
// selectResult:''
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleSearch(){
|
|
|
|
handleSearch(){
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
@ -364,6 +361,41 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getCode(e) {
|
|
|
|
|
|
|
|
this.createData.code = e;
|
|
|
|
|
|
|
|
console.log(e);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
submitValidate(){
|
|
|
|
|
|
|
|
let that = this;
|
|
|
|
|
|
|
|
if(!that.createData.code){
|
|
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
|
|
icon:'none',
|
|
|
|
|
|
|
|
title:'请输入验证码'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
that.G.Post(that.api.person_validateMsgCode,{
|
|
|
|
|
|
|
|
tel: that.createData.tel,
|
|
|
|
|
|
|
|
code: that.createData.code,
|
|
|
|
|
|
|
|
},(res)=>{
|
|
|
|
|
|
|
|
console.log('res',res)
|
|
|
|
|
|
|
|
that.createData = {
|
|
|
|
|
|
|
|
isShow:false,
|
|
|
|
|
|
|
|
code:'',
|
|
|
|
|
|
|
|
tel: '',
|
|
|
|
|
|
|
|
telEncrypt: ''
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
that.modalApplyData = {
|
|
|
|
|
|
|
|
isShow:true,
|
|
|
|
|
|
|
|
tel:'',
|
|
|
|
|
|
|
|
desp:'',
|
|
|
|
|
|
|
|
resultList:[],
|
|
|
|
|
|
|
|
selectResult:''
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},(err)=>{
|
|
|
|
|
|
|
|
console.log('err',err)
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|