|
@@ -1,15 +1,15 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
<view class="row1 flex flex-space-between">
|
|
|
- <view>被反馈人</view>
|
|
|
+ <view>被投诉人</view>
|
|
|
<view class='flex'>
|
|
|
- <image :src="dataDetails.driverPortrait" mode="widthFix" style="width: 40rpx;height: 40rpx;"> </image>
|
|
|
+ <image :src="dataDetails.driverPortrait" mode="widthFix" style="width: 40rpx;height: 40rpx;" class="img_css"> </image>
|
|
|
<view>{{dataDetails.cargoOwnerName}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-line class="line"></u-line>
|
|
|
<view class="row2">
|
|
|
- <view class="title">反馈信息</view>
|
|
|
+ <view class="title">投诉信息</view>
|
|
|
<u--textarea v-model="value1" placeholder="输入要反馈的内容,10-300字" count maxlength='300'></u--textarea>
|
|
|
<u-upload class="uview-upload" :fileList="fileList1" @afterRead="afterRead($event)" @delete="deletePic"
|
|
|
name="1" multiple :maxCount="9"></u-upload>
|
|
@@ -35,7 +35,6 @@
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
this.dataDetails = JSON.parse(options.val)
|
|
|
- console.log(this.dataDetails)
|
|
|
this.imgList = []
|
|
|
},
|
|
|
computed: {
|
|
@@ -47,11 +46,16 @@
|
|
|
title: '加载中'
|
|
|
})
|
|
|
this.$request.baseRequest('post', '/feedbackReport/api/addInfo', {
|
|
|
- commonId: this.userInfo.id,
|
|
|
- name: this.dataDetails.cargoOwnerName,
|
|
|
+ initiator:this.firstAuthentication.driverName,
|
|
|
+ initiatorNumber:this.firstAuthentication.driverPhone,
|
|
|
+ commonId: this.firstAuthentication.commonId,
|
|
|
+ passive: this.dataDetails.cargoOwnerName,
|
|
|
+ passiveNumber: this.dataDetails.cargoOwnerPhone,
|
|
|
+ passiveCommonId:this.dataDetails.commonId,
|
|
|
content: this.value1,
|
|
|
url: this.imgList.toString(),
|
|
|
flag: 1,
|
|
|
+ objectFlag:2
|
|
|
}).then(res => {
|
|
|
let that = this
|
|
|
uni.hideLoading()
|