--隐藏认证类型

This commit is contained in:
li tong bao 2022-06-24 15:56:12 +08:00
parent 1e87d13d8e
commit 3a6ce1a19d

View File

@ -69,7 +69,7 @@ export default ()=>{
const {fetchData} = certificationSaveApi()
const handleSave = ()=>{
retrieval(formData, rules).then(async ()=>{
const result = await fetchData({...formData})
const result = await fetchData({...formData, authentication_type: 2})
if(result.success){
// Taro.eventCenter.trigger("weightList:refresh");
getAdminUserInfo();
@ -127,7 +127,7 @@ export default ()=>{
{(adminUserInfo as any)?.authentication_status==3&&<Message text={`认证不通过,原因:${(formData as any).authentication_feedback},请重新认证`}/>}
<View className="certification-content">
<View className="certification-title"></View>
<FromListCertification type="select" onClick={handleSelectTypeModalShow} value={(formData as any)?.authentication_type_name} label="认证类型" placeholder="企业认证"/>
{/* <FromListCertification type="select" onClick={handleSelectTypeModalShow} value={(formData as any)?.authentication_type_name} label="认证类型" placeholder="企业认证"/> */}
<SelectEnterpriseType ref={selectTypeRef} confirm={handleSelectTypeConfirm} />
<FromListCertification onInput={(ev:any)=>setFormData({...formData,name:ev.detail.value})} value={formData["name"]} label="企业名称" placeholder="请输入营业执照上的企业名称" required/>
<FromListCertification type="select" style={{border: "0"}}label="企业营业执照" placeholder="注册号、统一社会信用代码、组织机构代码" required showIcon={false}/>