|
@@ -140,7 +140,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -295,7 +295,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -321,7 +321,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -350,7 +350,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -387,7 +387,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -416,7 +416,65 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
+ <image :src="fdelimg"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="conbtns flexcj">
|
|
|
+ <!-- <view class="cbtns bga">暂存</view> -->
|
|
|
+ <view class="cbtns bgb" @click="getfjAdd">确认</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 修改附件 -->
|
|
|
+ <view class="fixbox" v-if="type=='fjedit'">
|
|
|
+ <view class="cloimg" @click="getClose">
|
|
|
+ <image :src="closeimg"></image>
|
|
|
+ </view>
|
|
|
+ <view class="ttit">上传附件</view>
|
|
|
+ <view class="mb16">
|
|
|
+ <view class="ttxt mb18 flexcj" v-if="wjcjobj[fjval]">附件信息
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="editonuploadEnd" :fileName="wjcjobj[fjval]" :fileVal='fjval' bigType="c">
|
|
|
+ <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
|
|
|
+ </lsj-upload>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
|
|
|
+ <view class="flext" @click="getDown(fite.url)">
|
|
|
+ <view class="imgl"><image :src="filico" ></image></view>
|
|
|
+ <view class="tit">{{fite.name}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
+ <image :src="fdelimg"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="conbtns flexcj">
|
|
|
+ <view class="cbtns bgb" @click="getfjAdd">确认</view>
|
|
|
+ </view>
|
|
|
+ <view class="shshtips">* 修改为最新一条附件信息</view>
|
|
|
+ </view>
|
|
|
+ <!-- 修改其他附件 -->
|
|
|
+ <view class="fixbox" v-if="type=='qtfjedit'">
|
|
|
+ <view class="cloimg" @click="getClose">
|
|
|
+ <image :src="closeimg"></image>
|
|
|
+ </view>
|
|
|
+ <view class="ttit">上传附件</view>
|
|
|
+ <view class="mb16">
|
|
|
+ <view class="ttxt mb18 flexcj" v-if="qtfjobj[fjval]">附件信息
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="editonuploadEnd" :fileName="qtfjobj[fjval]" :fileVal='fjval' bigType="d">
|
|
|
+ <view class="fbtns co0a" :style="{width: width,height: height}">上传附件</view>
|
|
|
+ </lsj-upload>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="fjlists" v-for="(fite,fidx) in filelist" :key='fidx'>
|
|
|
+ <view class="flext" @click="getDown(fite.url)">
|
|
|
+ <view class="imgl"><image :src="filico" ></image></view>
|
|
|
+ <view class="tit">{{fite.name}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -445,13 +503,12 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="conbtns flexcj">
|
|
|
- <!-- <view class="cbtns bga">暂存</view> -->
|
|
|
<view class="cbtns bgb" @click="getfjAdd">确认</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -509,7 +566,7 @@
|
|
|
<view class="imgl"><image :src="filico" ></image></view>
|
|
|
<view class="tit">{{fite.name}}</view>
|
|
|
</view>
|
|
|
- <view class="delimg flex0" @click.stop="getDelFj(idx)">
|
|
|
+ <view class="delimg flex0" @click.stop="getDelFj(fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -654,6 +711,12 @@
|
|
|
return ''
|
|
|
}
|
|
|
},
|
|
|
+ fjId:{
|
|
|
+ type: String,
|
|
|
+ default () {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
startady:{
|
|
|
type: String,
|
|
|
default () {
|
|
@@ -1051,6 +1114,22 @@
|
|
|
newobj.loanApplicationNumber=this.loanApplicationNumber;
|
|
|
this.filelist.push(newobj)
|
|
|
},
|
|
|
+ editonuploadEnd(item,fileVal,bigType) {
|
|
|
+ var newobj={}
|
|
|
+ var responseText=JSON.parse(item.responseText)
|
|
|
+ newobj.name=responseText.newFileName;
|
|
|
+ newobj.oldName=responseText.originalFilename;
|
|
|
+ newobj.url=responseText.fileName;
|
|
|
+ newobj.type=fileVal;
|
|
|
+ newobj.bigType=bigType;
|
|
|
+ newobj.loanApplicationId=this.loanApplicationId;
|
|
|
+ newobj.loanApplicationNumber=this.loanApplicationNumber;
|
|
|
+ newobj.fjId=this.fjId;
|
|
|
+ var newArr=[];
|
|
|
+ newArr.push(newobj);
|
|
|
+ this.filelist=JSON.parse(JSON.stringify(newArr))
|
|
|
+ },
|
|
|
+
|
|
|
// 借据上传
|
|
|
jjonuploadEnd(item,fileVal,bigType){
|
|
|
var newobj={}
|
|
@@ -1223,7 +1302,7 @@ color: #666666;overflow: hidden;
|
|
|
.imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
|
|
|
image{width: 26rpx;height: 24rpx;}
|
|
|
}
|
|
|
- .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;}
|
|
|
+ .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
|
|
|
.delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
|
|
|
image{width: 24rpx;height: 24rpx;}
|
|
|
}
|