|
@@ -28,7 +28,7 @@
|
|
|
</uni-forms-item>
|
|
|
</view>
|
|
|
<!-- 企业信息 -->
|
|
|
- <view v-if="stepval==1">
|
|
|
+ <view v-show="stepval==1">
|
|
|
<!-- 企业信息 -->
|
|
|
<view class="addtit mt3"><text>*</text>企业信息</view>
|
|
|
<view class="bgf plr12">
|
|
@@ -69,9 +69,9 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="公司章程" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.gszc">
|
|
|
<!-- fileName 给label 0 -->
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="公司章程" fileVal='gszc' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.gszc" fileVal='gszc' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -94,8 +94,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="开户许可证" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="开户许可证" fileVal='khxkz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.khxkz">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.khxkz" fileVal='khxkz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -167,8 +167,8 @@
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="申请企业" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="申请企业征信报告" fileVal='sqqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.sqqyzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sqqyzxbg" fileVal='sqqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -191,8 +191,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="关联企业" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="关联企业征信报告" fileVal='glqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.glqyzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.glqyzxbg" fileVal='glqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -219,8 +219,8 @@
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="企业法人" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="企业法人征信报告" fileVal='qyfrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.qyfrzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.qyfrzxbg" fileVal='qyfrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -247,8 +247,8 @@
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="实际控股人" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="实际控股人征信报告" fileVal='sjkgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.sjkgrzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrzxbg" fileVal='sjkgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -271,8 +271,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="配偶征信" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="实际控股人配偶征信报告" fileVal='sjkgrpozxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.sjkgrpozxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrpozxbg" fileVal='sjkgrpozxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -326,7 +326,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 法人信息 -->
|
|
|
- <view v-if="stepval==2">
|
|
|
+ <view v-show="stepval==2">
|
|
|
<!-- 用户类型 -->
|
|
|
<view class="addtit mt3"><text>*</text>用户类型</view>
|
|
|
<view class="bgf plr12">
|
|
@@ -345,8 +345,8 @@
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="身份证" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人身份证人面像" fileVal='frsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frsfzrmx">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzrmx" fileVal='frsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="ponuploadEnd" >
|
|
|
<view class="photop">
|
|
|
<image :src="cardz" class="bgimg"></image>
|
|
@@ -356,8 +356,8 @@
|
|
|
</lsj-upload>
|
|
|
<view class="photit atit">上传人像面</view>
|
|
|
</view>
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人身份证国徽面" fileVal='frsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frsfzghm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzghm" fileVal='frsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="ponuploadEnd" >
|
|
|
<view class="photop">
|
|
|
<view class="photop">
|
|
@@ -409,7 +409,7 @@
|
|
|
<!-- * 家庭婚姻信息 -->
|
|
|
<view class="addtit mt3"><text>*</text>家庭婚姻信息</view>
|
|
|
<view class="bgf plr12">
|
|
|
- <picker range-key='label' :value="qyidx" :range="hyztlist" class="isborder" @change='bindDateChanged'>
|
|
|
+ <picker range-key='label' :value="frhyzkidx" :range="hyztlist" class="isborder" @change='bindDateChanged'>
|
|
|
<uni-forms-item label="婚姻状态" name="corporationMaritalStatus">
|
|
|
<view class="lbtabp">
|
|
|
<view v-if="datainfo.corporationMaritalStatus&&!frhyzk">{{statusFormat(datainfo.corporationMaritalStatus,hyztlist,'frhyzk')}}</view>
|
|
@@ -420,8 +420,8 @@
|
|
|
</picker>
|
|
|
<uni-forms-item label="配偶身份证" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人配偶身份证人面像" fileVal='frsfzpormx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frsfzpormx">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpormx" fileVal='frsfzpormx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="ponuploadEnd" >
|
|
|
<view class="photop">
|
|
|
<image :src="cardz" class="bgimg"></image>
|
|
@@ -429,10 +429,14 @@
|
|
|
<image :src="phoicon" class="addimg"></image>
|
|
|
</view>
|
|
|
</lsj-upload>
|
|
|
+ <!-- 删除 -->
|
|
|
+ <view class="frdelimg" v-if="datainfo.spouseFront" @click.stop="getDelfzpo('front')">
|
|
|
+ <image :src="fdelimg"></image>
|
|
|
+ </view>
|
|
|
<view class="photit atit">上传人像面</view>
|
|
|
</view>
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人配偶身份证国徽面" fileVal='frsfzpoghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frsfzpoghm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpoghm" fileVal='frsfzpoghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="ponuploadEnd" >
|
|
|
<view class="photop">
|
|
|
<view class="photop">
|
|
@@ -442,6 +446,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</lsj-upload>
|
|
|
+ <!-- 删除 -->
|
|
|
+ <view class="frdelimg" v-if="datainfo.spouseBack" @click.stop="getDelfzpo('back')">
|
|
|
+ <image :src="fdelimg"></image>
|
|
|
+ </view>
|
|
|
<view class="photit">上传国徽面</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -459,8 +467,8 @@
|
|
|
<!-- 离婚状态上传 -->
|
|
|
<uni-forms-item label="离婚证" name="iszcy" v-if="datainfo.corporationMaritalStatus==3">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人离婚证" fileVal='frlhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frlhz">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frlhz" fileVal='frlhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="jhico" class="bgimg"></image>
|
|
@@ -483,8 +491,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="结婚证" name="iszcy" v-else>
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人结婚证" fileVal='frjhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frjhz">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frjhz" fileVal='frjhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="jhico" class="bgimg"></image>
|
|
@@ -511,25 +519,36 @@
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="户口簿首页" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" :count="1" fileName="法人户口簿首页" fileVal='frhkbsy' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frhkbsy">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="frhkbsy" :fileName="jcfjobj.frhkbsy" fileVal='frhkbsy' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="hkico" class="bgimg"></image>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
+ <!-- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
<image v-if="ite.type=='frhkbsy'&&ite.bigType=='a'" :src="baseUrl+ite.url" class="bgimga"></image>
|
|
|
- </block>
|
|
|
+ </block> -->
|
|
|
<image :src="phoicon" class="addimg"></image>
|
|
|
</view>
|
|
|
</lsj-upload>
|
|
|
<view class="photit atit">上传户口簿第一页</view>
|
|
|
</view>
|
|
|
+ <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='frhkbsy'&&ite.bigType=='a'">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="户口簿单页" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="法人户口簿每一页" fileVal='frhkbbry' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.frhkbbry">
|
|
|
+ <!-- 法人户口簿每一页 -->
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frhkbbry" fileVal='frhkbbry' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="hkico" class="bgimg"></image>
|
|
@@ -560,7 +579,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 反担保人信息 -->
|
|
|
- <view v-if="stepval==3">
|
|
|
+ <view v-show="stepval==3">
|
|
|
<!-- 担保类型 -->
|
|
|
<view class="addtit mt3"><text>*</text>担保类型</view>
|
|
|
<view class="bgf plr12">
|
|
@@ -574,47 +593,50 @@
|
|
|
</uni-forms-item>
|
|
|
</picker>
|
|
|
</view>
|
|
|
- <!-- 反担保人基本信息 -->
|
|
|
- <view class="addtit mt3"><text>*</text>反担保人基本信息</view>
|
|
|
- <view class="bgf plr12">
|
|
|
- <uni-forms-item label="身份证" name="iszcy">
|
|
|
- <view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="反担保人身份证人面像" fileVal='fdbrsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
- @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
- <view class="photop">
|
|
|
- <image :src="cardz" class="bgimg"></image>
|
|
|
- <image v-if="datainfo.guaranteeFront" :src="baseUrl+datainfo.guaranteeFront" class="bgimga"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- </view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">上传人像面</view>
|
|
|
- </view>
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="反担保人身份证国徽面" fileVal='fdbrsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
- @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
- <view class="photop">
|
|
|
+ <!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
|
|
|
+ <block>
|
|
|
+ <view class="addtit mt3"><text>*</text>反担保人基本信息</view>
|
|
|
+ <view class="bgf plr12">
|
|
|
+ <uni-forms-item label="身份证" name="iszcy">
|
|
|
+ <view class="phobox">
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.fdbrsfzrmx">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzrmx" fileVal='fdbrsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
<view class="photop">
|
|
|
- <image :src="cardf" class="bgimg"></image>
|
|
|
- <image v-if="datainfo.guaranteeBack" :src="baseUrl+datainfo.guaranteeBack" class="bgimga"></image>
|
|
|
+ <image :src="cardz" class="bgimg"></image>
|
|
|
+ <image v-if="datainfo.guaranteeFront" :src="baseUrl+datainfo.guaranteeFront" class="bgimga"></image>
|
|
|
<image :src="phoicon" class="addimg"></image>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit">上传国徽面</view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">上传人像面</view>
|
|
|
+ </view>
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.fdbrsfzghm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzghm" fileVal='fdbrsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
+ <view class="photop">
|
|
|
+ <view class="photop">
|
|
|
+ <image :src="cardf" class="bgimg"></image>
|
|
|
+ <image v-if="datainfo.guaranteeBack" :src="baseUrl+datainfo.guaranteeBack" class="bgimga"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit">上传国徽面</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="姓名" name="guaranteeName">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteeName" :inputBorder='false' placeholder="自动识别" />
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="身份证号" name="guaranteeIdCard">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteeIdCard" :inputBorder='false' placeholder="自动识别" />
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="手机号码" name="guaranteePhone">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
|
|
|
- </uni-forms-item>
|
|
|
- </view>
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="姓名" name="guaranteeName">
|
|
|
+ <uni-easyinput v-model="datainfo.guaranteeName" :inputBorder='false' placeholder="自动识别" />
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="身份证号" name="guaranteeIdCard">
|
|
|
+ <uni-easyinput v-model="datainfo.guaranteeIdCard" :inputBorder='false' placeholder="自动识别" />
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="手机号码" name="guaranteePhone">
|
|
|
+ <uni-easyinput v-model="datainfo.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
|
|
|
+ </uni-forms-item>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+
|
|
|
<!-- * 反担保人家庭婚姻信息 -->
|
|
|
<!-- <view class="addtit mt3"><text>*</text>反担保人家庭婚姻信息</view>
|
|
|
<view class="bgf plr12">
|
|
@@ -708,8 +730,8 @@
|
|
|
<text>(选填)</text>
|
|
|
</view>
|
|
|
<view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="反担保人个人工作证明" fileVal='fdbrgrgzzm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.fdbrgrgzzm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrgzzm" fileVal='fdbrgrgzzm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -732,8 +754,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="身份证复印件" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="反担保人身份证复印件" fileVal='fdbrsfzfyj' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.fdbrsfzfyj">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzfyj" fileVal='fdbrsfzfyj' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="cardz" class="bgimg"></image>
|
|
@@ -756,8 +778,8 @@
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="个人征信报告" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa">
|
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" fileName="反担保人个人征信报告" fileVal='fdbrgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ <view class="phoboxa" v-if="jcfjobj.fdbrgrzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrzxbg" fileVal='fdbrgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
@progress="" @uploadEnd="onuploadEnd" >
|
|
|
<view class="photop" >
|
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -781,7 +803,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 添加附件 -->
|
|
|
- <view v-if="stepval==4">
|
|
|
+ <view v-show="stepval==4">
|
|
|
<!-- 附件信息 -->
|
|
|
<view class="addtit mt3">
|
|
|
<view @click="getDbclFn" class="flexc">附件信息<image :src="ywicon" class="ywimg"></image></view>
|
|
@@ -842,7 +864,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="bgf plr12" v-if="ite.val=='dqcwbb'&&datainfo.applicationType==2">
|
|
|
+ <view class="bgf plr12" v-if="ite.val=='dqcwbb'&&datainfo.applicationType==1">
|
|
|
<view class="fjbox isborder">
|
|
|
<view class="fjtop flext">
|
|
|
<view class="ftit"><text>*</text>{{ite.label}}</view>
|
|
@@ -1168,6 +1190,8 @@
|
|
|
<script>
|
|
|
import config from '@/config'
|
|
|
const baseUrl = config.baseUrl
|
|
|
+ const baseUrlimg=config.baseUrl
|
|
|
+ const baseName = config.baseName
|
|
|
import popUp from "@/work/components/popup/popup.vue"
|
|
|
import stepBar from "@/components/toptab/stepbar.vue"
|
|
|
import { getToken } from '@/utils/auth'
|
|
@@ -1176,6 +1200,7 @@
|
|
|
import {uploadmore,selectValueKey} from '@/utils/common.js'
|
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
|
+ // 340622185605234521
|
|
|
export default{
|
|
|
components:{stepBar,popUp},
|
|
|
data(){
|
|
@@ -1238,7 +1263,7 @@
|
|
|
filico:require('@/work/static/images/filico.png'),
|
|
|
fdelimg:require('@/work/static/images/del.png'),
|
|
|
steps:[{tit:'申请额度',status:0},{tit:'企业信息',status:1},{tit:'法人信息',status:2},{tit:'反担保人信息',status:3},{tit:'添加附件',status:4},],
|
|
|
- stepval:4,
|
|
|
+ stepval:1,
|
|
|
datainfo:{
|
|
|
// qymcid:1,
|
|
|
// hylx:'',
|
|
@@ -1264,7 +1289,7 @@
|
|
|
"corporationFront": "",//法人身份证正面
|
|
|
"corporationBack": "",//法人身份证反面
|
|
|
"corporationName": "",// 法人姓名
|
|
|
- "corporationIdCard": "340622185605234521",//法人身份证号
|
|
|
+ "corporationIdCard": "",//法人身份证号
|
|
|
"corporationPhone": "",// 法人手机号
|
|
|
"familyPopulation": "",//家庭人口数
|
|
|
"corporationJob": "",//法人职业
|
|
@@ -1282,14 +1307,14 @@
|
|
|
"guaranteeFront": "",//反担保人身份证正面
|
|
|
"guaranteeBack": "",//反担保人身份证反面
|
|
|
"guaranteeName": "",//反担保人姓名
|
|
|
- "guaranteeIdCard": "340622185605234521",//反担保人身份证号
|
|
|
+ "guaranteeIdCard": "",//反担保人身份证号
|
|
|
"guaranteePhone": "",//反担保人手机号
|
|
|
- "guaranteeMaritalStatus": "",//反担保人婚姻状态
|
|
|
- "guaranteeSpouseFront": "",//反担保人配偶身份证正面
|
|
|
- "guaranteeSpouseBack": "",//反担保人配偶身份证反面
|
|
|
- "guaranteeSpouseName": "",//反担保人配偶姓名
|
|
|
- "guaranteeSpouseIdCard": "340622185605234521",//反担保人配偶身份证号
|
|
|
- "guaranteeSpousePhone": "",//反担保人配偶手机号
|
|
|
+ // "guaranteeMaritalStatus": "",//反担保人婚姻状态
|
|
|
+ // "guaranteeSpouseFront": "",//反担保人配偶身份证正面
|
|
|
+ // "guaranteeSpouseBack": "",//反担保人配偶身份证反面
|
|
|
+ // "guaranteeSpouseName": "",//反担保人配偶姓名
|
|
|
+ // "guaranteeSpouseIdCard": "",//反担保人配偶身份证号
|
|
|
+ // "guaranteeSpousePhone": "",//反担保人配偶手机号
|
|
|
// "userId": '',//申请人用户ID
|
|
|
// "idCard": "",//申请人身份证号码
|
|
|
// "applicationTime": "",//申请时间
|
|
@@ -1336,6 +1361,7 @@
|
|
|
jcfjlist:[],//基础附件
|
|
|
sbfjlist:[],//申报附件
|
|
|
wjfjlist:[],//文件出具
|
|
|
+ jcfjobj:{},//基础附件
|
|
|
shareholderFjList:[],//全体股东信息附件
|
|
|
loanApplicationFjList:[],//相关附件
|
|
|
ftype:'',//弹窗type
|
|
@@ -1346,19 +1372,27 @@
|
|
|
dblxidx:0,
|
|
|
yhlxidx:0,
|
|
|
sfidx:0,
|
|
|
- btfiles:[{tit:'公司章程',type:'gszc'},
|
|
|
+ frhyzkidx:0,
|
|
|
+ btfiles:[
|
|
|
+ // {tit:'公司章程',type:'gszc'},
|
|
|
//{tit:'开户许可证',type:'khxkz'},{tit:'申请企业征信报告',type:'sqqyzxbg'},{tit:'关联企业征信报告',type:'glqyzxbg'},{tit:'企业法人征信报告',type:'qyfrzxbg'},{tit:'实际控股人征信报告',type:'sjkgrzxbg'},
|
|
|
- //{tit:'法人身份证人面像',type:'frsfzrmx'},{tit:'法人身份证国徽面',type:'frsfzghm'},{tit:'户口簿首页',type:'frhkbsy'},{tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
|
|
|
+ //{tit:'户口簿首页',type:'frhkbsy'},
|
|
|
+ // {tit:'法人身份证人面像',type:'frsfzrmx'},{tit:'法人身份证国徽面',type:'frsfzghm'},
|
|
|
],
|
|
|
- sqbtfiles:[{tit:'委托担保申请书',type:'wtdbsqs'},
|
|
|
+ sqbtfiles:[
|
|
|
+ // {tit:'委托担保申请书',type:'wtdbsqs'},
|
|
|
//{tit:'股东会议纪要',type:'gdhyjy'},{tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
|
|
|
//{tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
|
|
|
],
|
|
|
+ content:'',//小微企业富文本
|
|
|
+
|
|
|
ptype:'add',
|
|
|
id:'',//申请id
|
|
|
declareFj:{},//
|
|
|
// {tit:'法人结婚证',type:'frjhz'},{tit:'法人离婚证',type:'frlhz'},
|
|
|
// {tit:'法人配偶身份证人面像',type:'frsfzpormx'},{tit:'法人配偶身份证国徽面',type:'frsfzpoghm'},
|
|
|
+ //担保类型为反担保人担保{tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
|
|
|
+ //担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
|
|
|
}
|
|
|
},
|
|
|
onUnload(){
|
|
@@ -1381,6 +1415,10 @@
|
|
|
this.datainfo.purposeFunds=data.purposeFunds;
|
|
|
this.datainfo.repaymentSource=data.repaymentSource;
|
|
|
this.datainfo.applicationType=data.applicationType;
|
|
|
+ if(data.applicationType==1){
|
|
|
+ var obj={tit:'当期财务报表',type:'dqcwbb'};
|
|
|
+ this.sqbtfiles.push(obj)
|
|
|
+ }
|
|
|
this.getNumber();
|
|
|
this.getSbjListFn()
|
|
|
}
|
|
@@ -1389,8 +1427,8 @@
|
|
|
this.categoryId=e.categoryId
|
|
|
})
|
|
|
this.init()
|
|
|
- this.getQylist()
|
|
|
- this.getDocumentList()
|
|
|
+ // this.getQylist()
|
|
|
+ // this.getDocumentList()
|
|
|
|
|
|
},
|
|
|
mounted() {
|
|
@@ -1404,50 +1442,50 @@
|
|
|
methods:{
|
|
|
checkPermi, checkRole,
|
|
|
init(){
|
|
|
- // 用户类型
|
|
|
- getDictionaryFn('customer_type').then(res=>{
|
|
|
- if(res.code==200){
|
|
|
- this.yhlxlist = res.data.map(v => {
|
|
|
- return {
|
|
|
- label: v.dictLabel,
|
|
|
- value: v.dictValue
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- // 婚姻状况
|
|
|
- getDictionaryFn('marital_status').then(res=>{
|
|
|
- if(res.code==200){
|
|
|
- this.hyztlist = res.data.map(v => {
|
|
|
- return {
|
|
|
- label: v.dictLabel,
|
|
|
- value: v.dictValue
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- // 担保类型
|
|
|
- getDictionaryFn('guarantee_type').then(res=>{
|
|
|
- if(res.code==200){
|
|
|
- this.dblxlist = res.data.map(v => {
|
|
|
- return {
|
|
|
- label: v.dictLabel,
|
|
|
- value: v.dictValue
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- // 基础附件
|
|
|
- // getDictionaryFn('application_fj_jc').then(res=>{
|
|
|
+ // // 用户类型
|
|
|
+ // getDictionaryFn('customer_type').then(res=>{
|
|
|
+ // if(res.code==200){
|
|
|
+ // this.yhlxlist = res.data.map(v => {
|
|
|
+ // return {
|
|
|
+ // label: v.dictLabel,
|
|
|
+ // value: v.dictValue
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // // 婚姻状况
|
|
|
+ // getDictionaryFn('marital_status').then(res=>{
|
|
|
// if(res.code==200){
|
|
|
- // this.jcfjlist = res.data.map(v => {
|
|
|
+ // this.hyztlist = res.data.map(v => {
|
|
|
// return {
|
|
|
- // dictLabel: v.dictLabel,
|
|
|
- // dictValue: v.dictValue
|
|
|
+ // label: v.dictLabel,
|
|
|
+ // value: v.dictValue
|
|
|
// }
|
|
|
// })
|
|
|
// }
|
|
|
// })
|
|
|
+ // // 担保类型
|
|
|
+ // getDictionaryFn('guarantee_type').then(res=>{
|
|
|
+ // if(res.code==200){
|
|
|
+ // this.dblxlist = res.data.map(v => {
|
|
|
+ // return {
|
|
|
+ // label: v.dictLabel,
|
|
|
+ // value: v.dictValue
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // 基础附件
|
|
|
+ getDictionaryFn('application_fj_jc').then(res=>{
|
|
|
+ if(res.code==200){
|
|
|
+ var obj={}
|
|
|
+ var data=res.data;
|
|
|
+ data.forEach(v=>{
|
|
|
+ obj[v.dictValue]=v.dictLabel
|
|
|
+ })
|
|
|
+ this.jcfjobj=obj
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
getSbjListFn(){
|
|
|
// 申报附件
|
|
@@ -1461,9 +1499,13 @@
|
|
|
fjlist:declareFj[v.dictValue]||[]
|
|
|
}
|
|
|
})
|
|
|
- // 详情的时候给添加附件
|
|
|
-
|
|
|
-
|
|
|
+ let signArr = this.filelist;
|
|
|
+ signArr = signArr.filter(s => {
|
|
|
+ // if (res.data.find(l => l.dictValue == s.type && l.title == s.title)) return false
|
|
|
+ if (res.data.find(l => l.dictValue == s.type)) return false
|
|
|
+ else return true;
|
|
|
+ })
|
|
|
+ this.filelist = signArr;
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -1606,6 +1648,9 @@
|
|
|
this.ywidx=aite.key
|
|
|
}else if(type=='msqy'){
|
|
|
this.sfidx=aite.key
|
|
|
+ }else if(type=='frhyzk'){
|
|
|
+ this.frhyzkidx=aite.key
|
|
|
+ this.frhyzk=aite.actions;
|
|
|
}
|
|
|
return aite.actions;
|
|
|
},
|
|
@@ -1626,17 +1671,51 @@
|
|
|
var val=e.detail.value;
|
|
|
this.datainfo.isLoan=this.ywList[val].value;
|
|
|
},
|
|
|
+ getDelfzpo(type){
|
|
|
+ if(type=='front'){
|
|
|
+ this.datainfo.spouseFront="";
|
|
|
+ this.datainfo.spouseName="";
|
|
|
+ this.datainfo.spouseIdCard="";
|
|
|
+ }else{
|
|
|
+ this.datainfo.spouseBack="";
|
|
|
+ }
|
|
|
+ },
|
|
|
bindDateChanged(e){
|
|
|
// 婚姻状态
|
|
|
var val=e.detail.value;
|
|
|
var value=this.hyztlist[val].value;
|
|
|
+ var list=this.btfiles;
|
|
|
if(this.datainfo.corporationMaritalStatus!=value){
|
|
|
this.frhyzk=this.hyztlist[val].label;
|
|
|
this.datainfo.corporationMaritalStatus=this.hyztlist[val].value;
|
|
|
- if(value==3){
|
|
|
+ if(value==3){//离异
|
|
|
// 删除结婚证
|
|
|
- }else{
|
|
|
+ var obj={tit:'法人离婚证',type:'frlhz'}
|
|
|
+ const index = list.findIndex(text => text.type === "frjhz");
|
|
|
+ if(index!=-1){
|
|
|
+ this.btfiles.splice(index,1,obj)
|
|
|
+ }else{
|
|
|
+ this.btfiles.push(obj)
|
|
|
+ }
|
|
|
+ }else if(value==1){//已婚
|
|
|
// 删除离婚证
|
|
|
+ var obj={tit:'法人结婚证',type:'frjhz'}
|
|
|
+ const index = list.findIndex(text => text.type === "frlhz");
|
|
|
+ if(index!=-1){
|
|
|
+ this.btfiles.splice(index,1,obj)
|
|
|
+ }else{
|
|
|
+ this.btfiles.push(obj)
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ // 未婚
|
|
|
+ const index = this.btfiles.findIndex(text => text.type === "frlhz");
|
|
|
+ if(index!=-1){
|
|
|
+ this.btfiles.splice(index,1)
|
|
|
+ }
|
|
|
+ const indexa = this.btfiles.findIndex(text => text.type === "frjhz");
|
|
|
+ if(indexa!=-1){
|
|
|
+ this.btfiles.splice(indexa,1)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1646,6 +1725,9 @@
|
|
|
var val=e.detail.value;
|
|
|
this.dblx=this.dblxlist[val].label;
|
|
|
this.datainfo.guaranteeType=this.dblxlist[val].value;
|
|
|
+ var value=this.dblxlist[val].value;
|
|
|
+ var list=this.btfiles;
|
|
|
+ var sqlist=this.sqlist;
|
|
|
},
|
|
|
bindDateChangef(e){
|
|
|
var val=e.detail.value;
|
|
@@ -1653,11 +1735,12 @@
|
|
|
this.datainfo.isDuty=this.sfList[val].value;
|
|
|
},
|
|
|
getZanFn(){
|
|
|
- //
|
|
|
var params=this.datainfo
|
|
|
getApplicationZc(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
this.$toast('暂存成功')
|
|
|
+ // 刷新列表
|
|
|
+ uni.$emit('refreshywlist')
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -1665,6 +1748,10 @@
|
|
|
getApplicationDet(this.id).then(res=>{
|
|
|
if(res.code==200){
|
|
|
this.datainfo=res.data;
|
|
|
+ if(res.data&&res.data.applicationType==1){
|
|
|
+ var obj={tit:'当期财务报表',type:'dqcwbb'};
|
|
|
+ this.sqbtfiles.push(obj)
|
|
|
+ }
|
|
|
var data=res.data;
|
|
|
var obj={
|
|
|
loanApplicationNumber:res.data.loanApplicationNumber
|
|
@@ -1718,11 +1805,21 @@
|
|
|
this.$toast("请选择有无贷款")
|
|
|
return
|
|
|
}
|
|
|
- if(!params.corporationMaritalStatus){
|
|
|
+ if(!this.frhyzk){
|
|
|
this.$toast("请选择婚姻状态")
|
|
|
return
|
|
|
}
|
|
|
- // 离异上传离婚证 结婚 结婚证
|
|
|
+ if(params.corporationMaritalStatus==1){
|
|
|
+ if(!params.spouseFront){
|
|
|
+ this.$toast("请上传配偶身份证正面")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!params.spouseBack){
|
|
|
+ this.$toast("请上传配偶身份证反面")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if(!params.guaranteeType){
|
|
|
this.$toast("请选择担保类型")
|
|
|
return
|
|
@@ -1737,6 +1834,22 @@
|
|
|
this.$toast("请输入反担保人手机号")
|
|
|
return
|
|
|
}
|
|
|
+ if(!params.corporationFront){
|
|
|
+ this.$toast("请上传法人身份证人面像")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!params.corporationBack){
|
|
|
+ this.$toast("请上传法人身份证反面")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!params.guaranteeFront){
|
|
|
+ this.$toast("请上传反担保人身份证正面")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!params.guaranteeBack){
|
|
|
+ this.$toast("请上传反担保人身份证反面")
|
|
|
+ return
|
|
|
+ }
|
|
|
var gdlist=this.gdlist;
|
|
|
var shFjList=[]
|
|
|
var a=0;
|
|
@@ -1767,7 +1880,18 @@
|
|
|
return
|
|
|
}
|
|
|
var flist=this.filelist;
|
|
|
- var btfiles=this.btfiles;
|
|
|
+ var btfiles=JSON.parse(JSON.stringify(this.btfiles));
|
|
|
+ var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
|
|
|
+ if(params.guaranteeType==1){//抵押担保
|
|
|
+ var obj={tit:'企业固定资产证明',type:'qygdzczm'}
|
|
|
+ sqbtfiles.push(obj)
|
|
|
+ }else if(params.guaranteeType==2){//反担保人担保
|
|
|
+ var newArr=[
|
|
|
+ {tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},
|
|
|
+ {tit:'反担保人身份证国徽面',type:'fdbrsfzghm'}
|
|
|
+ ]
|
|
|
+ btfiles=btfiles.concat(newArr)
|
|
|
+ }
|
|
|
var b=0;
|
|
|
Object.keys(btfiles).some((key) => {
|
|
|
if (flist.find(l => l.type == btfiles[key].type)) {
|
|
@@ -1781,12 +1905,12 @@
|
|
|
if(b==1){
|
|
|
return
|
|
|
}
|
|
|
- var sqbtfiles=this.sqbtfiles;
|
|
|
+
|
|
|
var sbfjlist=this.sbfjlist;
|
|
|
var sbArr=[]
|
|
|
var c=0;
|
|
|
Object.keys(sqbtfiles).some((key) => {
|
|
|
- if (sbfjlist.find(l => l.type == sqbtfiles[key].val)) {
|
|
|
+ if (sbfjlist.find(l => (l.val == sqbtfiles[key].type) && l.fjlist.length>0)) {
|
|
|
return false
|
|
|
}else{
|
|
|
c=1;
|
|
@@ -1802,15 +1926,16 @@
|
|
|
flist.push(ite.fjlist[0])
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
|
|
|
- console.log(params,1)
|
|
|
// 申请附件
|
|
|
+ return
|
|
|
if(this.ptype=='add'){
|
|
|
getApplicationAdd(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
that.$toast("新增成功")
|
|
|
setTimeout(function(){
|
|
|
- that.$tab.navigateTo('/work/pages/success')
|
|
|
+ that.$tab.redirectTo('/work/pages/success')
|
|
|
},1200)
|
|
|
}
|
|
|
})
|
|
@@ -1964,7 +2089,8 @@
|
|
|
}else if(type=='cardf'){
|
|
|
obj.cardf=responseText.fileName
|
|
|
}else if(type=='zx'){
|
|
|
- obj.zxurl.push(responseText.fileName)
|
|
|
+ // obj.zxurl.push(responseText.fileName)
|
|
|
+ obj.zxurl[0]=responseText.fileName
|
|
|
}
|
|
|
this.gdlist.splice(idx,1,obj)
|
|
|
// this.datainfo.shareholderFjList=JSON.parse(JSON.stringify(this.gdlist))
|
|
@@ -1999,7 +2125,7 @@
|
|
|
});
|
|
|
},
|
|
|
getDelgdFj(idx,zxidx){
|
|
|
- var obj=this.gdlist[idx].zxurl;
|
|
|
+ var obj=this.gdlist[idx];
|
|
|
var that=this;
|
|
|
uni.showModal({
|
|
|
title: '确认删除',
|
|
@@ -2008,7 +2134,7 @@
|
|
|
confirmText: '确认',
|
|
|
success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
- obj.splice(zxidx,1)
|
|
|
+ obj.zxurl.splice(zxidx,1)
|
|
|
that.gdlist.splice(idx,1,obj)
|
|
|
} else if (res.cancel) {
|
|
|
}
|
|
@@ -2039,28 +2165,60 @@
|
|
|
getExportMb(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
var url=baseUrl+res.msg;
|
|
|
- uni.downloadFile({
|
|
|
- url: url,//文件的下载路径
|
|
|
- success(result) {
|
|
|
- uni.hideLoading()
|
|
|
- var filePath = result.tempFilePath;
|
|
|
- // uni.saveFile({
|
|
|
- // tempFilePath: filePath[0],
|
|
|
- // success: function (res) {
|
|
|
- // var savedFilePath = res.savedFilePath;
|
|
|
- // console.log(savedFilePath,1)
|
|
|
- // }
|
|
|
- // });
|
|
|
- uni.openDocument({
|
|
|
- filePath: filePath,
|
|
|
- showMenu: true,
|
|
|
- success: function (res) {
|
|
|
- // console.log('打开文档成功');
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
- fail(res) {uni.hideLoading()}
|
|
|
+ // var url = baseUrl + ite.url;
|
|
|
+ var name=res.name;
|
|
|
+ let dtask = plus.downloader.createDownload(url, {
|
|
|
+ filename: 'file://storage/emulated/0/'+baseName+'/' + name
|
|
|
+ }, (d, status) => {
|
|
|
+ //d为下载的文件对象
|
|
|
+ if (status == 200) {
|
|
|
+ uni.hideLoading();
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ mask: true,
|
|
|
+ title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
|
|
|
+ duration: 3000,
|
|
|
+ });
|
|
|
+
|
|
|
+ //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
|
|
|
+ let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
|
|
|
+ setTimeout(() => {
|
|
|
+ plus.runtime.openFile(d.filename); //选择软件打开文件
|
|
|
+ }, 1500)
|
|
|
+ } else {
|
|
|
+ //下载失败
|
|
|
+ uni.hideLoading();
|
|
|
+ plus.downloader.clear(); //清除下载任务
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ mask: true,
|
|
|
+ title: '下载失败,请稍后重试',
|
|
|
+ });
|
|
|
+ }
|
|
|
})
|
|
|
+ dtask.start();
|
|
|
+ // uni.downloadFile({
|
|
|
+ // url: url,//文件的下载路径
|
|
|
+ // success(result) {
|
|
|
+ // uni.hideLoading()
|
|
|
+ // var filePath = result.tempFilePath;
|
|
|
+ // // uni.saveFile({
|
|
|
+ // // tempFilePath: filePath[0],
|
|
|
+ // // success: function (res) {
|
|
|
+ // // var savedFilePath = res.savedFilePath;
|
|
|
+ // // console.log(savedFilePath,1)
|
|
|
+ // // }
|
|
|
+ // // });
|
|
|
+ // uni.openDocument({
|
|
|
+ // filePath: filePath,
|
|
|
+ // showMenu: true,
|
|
|
+ // success: function (res) {
|
|
|
+ // // console.log('打开文档成功');
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
+ // fail(res) {uni.hideLoading()}
|
|
|
+ // })
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -2145,6 +2303,10 @@
|
|
|
&.atit{position: absolute;left: 50%;transform: translate(-50%);bottom: 4rpx;word-break: keep-all;max-width: none;}
|
|
|
}
|
|
|
}
|
|
|
+ .frdelimg{
|
|
|
+ position: absolute;width: 32rpx;height: 32rpx;right: -16rpx;top: -16rpx;
|
|
|
+ image{width: 24rpx;height: 24rpx;}
|
|
|
+ }
|
|
|
}
|
|
|
.addgdbox{padding: 34rpx 10rpx 36rpx;}
|
|
|
.addbtns{z-index: 2;
|