小程序详情
This commit is contained in:
@@ -207,19 +207,19 @@
|
||||
<view class="" v-if="sysType == 1">
|
||||
<view class="" style="margin-top: 50rpx;">
|
||||
<view>申请人</view>
|
||||
<view v-for="item in formData.evidenceMaterialList">
|
||||
<view v-for="item in formData.caseAttachList">
|
||||
<uni-link v-if="item.annexType==2" :href="item.annexPath" color="#007BFF"
|
||||
:text="item.fileName"></uni-link>
|
||||
</view>
|
||||
<view>被申请人</view>
|
||||
<view v-for="item in formData.evidenceMaterialList">
|
||||
<view v-for="item in formData.caseAttachList">
|
||||
<uni-link v-if="item.annexType==6" :href="item.annexPath" color="#007BFF"
|
||||
:text="item.fileName"></uni-link>
|
||||
</view>
|
||||
</view>
|
||||
<view class="" style="margin-top: 40rpx;">
|
||||
<view>仲裁申请书</view>
|
||||
<view v-for="item in formData.evidenceMaterialList">
|
||||
<view v-for="item in formData.caseAttachList">
|
||||
<uni-link v-if="item.annexType==1" :href="item.annexPath" color="#007BFF"
|
||||
:text="item.fileName"></uni-link>
|
||||
</view>
|
||||
@@ -260,7 +260,8 @@
|
||||
evidenceCrossexami,
|
||||
selectById,
|
||||
updateBooking,
|
||||
deleteFile
|
||||
deleteFile,
|
||||
selectCaseApplication
|
||||
} from '../../../api/handlecase/index.js'
|
||||
import {
|
||||
uploadImage
|
||||
@@ -452,20 +453,23 @@ import constant from '../../../utils/constant.js'
|
||||
},
|
||||
getData(parms) {
|
||||
if (this.sysType == 1) {
|
||||
respondentDetail(parms).then(res => {
|
||||
if (res.data.evidenceMaterialList.length > 0) {
|
||||
res.data.evidenceMaterialList.forEach(item => {
|
||||
let names = item.annexPath.split('_')
|
||||
item['fileName'] = names[names.length - 1]
|
||||
item.annexPath = baseUrl + item.annexPath
|
||||
})
|
||||
}
|
||||
|
||||
selectCaseApplication({id:parms}).then(res => {
|
||||
console.log(res)
|
||||
this.formData = res.data
|
||||
this.formData.loanEndDate = moment(this.formData.loanEndDate).format(
|
||||
'YYYY-MM-DD HH:mm:ss');
|
||||
this.formData.loanStartDate = moment(this.formData.loanStartDate).format(
|
||||
'YYYY-MM-DD HH:mm:ss');
|
||||
this.formData.id = this.formData.id + ''
|
||||
if (res.data.caseAttachList.length > 0) {
|
||||
res.data.caseAttachList.forEach(item => {
|
||||
let names = item.annexPath.split('_')
|
||||
item['fileName'] = names[names.length - 1]
|
||||
item.annexPath = baseUrl + item.annexPath
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
} else if (this.sysType == 2) {
|
||||
selectById({
|
||||
@@ -602,7 +606,7 @@ import constant from '../../../utils/constant.js'
|
||||
evidenceList() {
|
||||
console.log(this.formData.evidenceMaterialList)
|
||||
this.$tab.navigateTo(
|
||||
`/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.evidenceMaterialList))}`
|
||||
`/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.caseAttachList))}`
|
||||
)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user