|
@@ -32,12 +32,31 @@
|
|
|
<u-form-item label-width='260' :borderBottom="false" label="申请时间">
|
|
|
<u-input input-align="right" placeholder="--" disabled v-model="datalist.fillingDetailInfo.createDate" />
|
|
|
</u-form-item>
|
|
|
- <u-form-item label-width='150' :borderBottom="false" label="备注">
|
|
|
- <view class="place">
|
|
|
- {{datalist.remark}}
|
|
|
- </view>
|
|
|
+ <u-form-item label-position='top' label-width='150' :borderBottom="false" label="备注">
|
|
|
+ <u-input disabled="" class='textarea1' v-model="datalist.remark" type="textarea" :border="border" :height="height" :auto-height="autoHeight" />
|
|
|
</u-form-item>
|
|
|
</u-form>
|
|
|
+ <u-form ref="uForm">
|
|
|
+ <view class="form_top">共{{datalist.urlList.length}}个附件</view>
|
|
|
+ <view v-if='datalist.urlList.length>0'>
|
|
|
+ <view style="justify-content: space-between;" class='flex' v-for='item in datalist.urlList'>
|
|
|
+ <view class="img_item">
|
|
|
+ <view class="" style="width: 16%;">
|
|
|
+ <image class="imgsign" :src="item.url" mode="">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view class="" style="width: 70%;">
|
|
|
+ <view class="char_css">{{item.name}}</view>
|
|
|
+ </view>
|
|
|
+ <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
|
|
|
+ 下载
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- <u-icon name="attach" ></u-icon> -->
|
|
|
+ <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </u-form>
|
|
|
<view>
|
|
|
<view class="" @click.stop="playPlace">
|
|
|
查看轨迹
|
|
@@ -205,6 +224,9 @@
|
|
|
latitude: 0,
|
|
|
longitude: 0
|
|
|
}],
|
|
|
+ border: true,
|
|
|
+ height: 100,
|
|
|
+ autoHeight: true,
|
|
|
polyline: [{
|
|
|
points: [], // 点集合
|
|
|
color: '#3591fc', // 线的颜色
|
|
@@ -223,6 +245,7 @@
|
|
|
fillingDetailInfo: {
|
|
|
oilConsumption: ''
|
|
|
},
|
|
|
+ urlList:[],
|
|
|
status: "",
|
|
|
contractGoodsInfo: {},
|
|
|
contractProcessInfo: {}
|
|
@@ -317,7 +340,7 @@
|
|
|
},
|
|
|
openDocument(src) {
|
|
|
uni.downloadFile({
|
|
|
- url: src.appendixPath,
|
|
|
+ url: src.url,
|
|
|
success: function(res) {
|
|
|
var filePath = res.tempFilePath;
|
|
|
uni.openDocument({
|
|
@@ -355,10 +378,13 @@
|
|
|
let datalist = that.datalist.fillingDetailInfo.addressUrl.split(",")
|
|
|
for (let j = 0; j < datalist.length; j++) {
|
|
|
urlList.push({
|
|
|
- url: datalist[j]
|
|
|
+ url: datalist[j],
|
|
|
+ name:datalist[j].split('liangeyun/')[1]
|
|
|
})
|
|
|
}
|
|
|
- that.datalist.fillingDetailInfo.urlList = urlList
|
|
|
+ that.datalist.urlList = urlList
|
|
|
+ }else{
|
|
|
+ that.datalist.urlList=[]
|
|
|
}
|
|
|
|
|
|
// 审核流程
|
|
@@ -533,10 +559,10 @@
|
|
|
}
|
|
|
})
|
|
|
await this.$api.doRequest('post', '/CarPostionController/api/gettrack', {
|
|
|
- startDate:this.datalist.amountDeadline ,
|
|
|
- endDate: this.datalist.createDate,
|
|
|
- // startDate: "2023-02-20 01:00:00",
|
|
|
- // endDate: "2023-02-20 24:00:00",
|
|
|
+ // startDate:this.datalist.amountDeadline ,
|
|
|
+ // endDate: this.datalist.createDate,
|
|
|
+ startDate: "2023-02-20 01:00:00",
|
|
|
+ endDate: "2023-02-20 24:00:00",
|
|
|
|
|
|
}).then(res => {
|
|
|
console.log(res)
|
|
@@ -883,7 +909,7 @@
|
|
|
color: #22C572;
|
|
|
}
|
|
|
|
|
|
- .textarea {
|
|
|
+ .textarea,.textarea1 {
|
|
|
margin: 18rpx auto;
|
|
|
width: 100%;
|
|
|
background: #F9F9FA;
|
|
@@ -926,7 +952,9 @@
|
|
|
/deep/.u-input__textarea {
|
|
|
height: 300rpx !important;
|
|
|
}
|
|
|
-
|
|
|
+ /deep/.textarea1 .u-input__textarea {
|
|
|
+ height: 200rpx !important;
|
|
|
+ }
|
|
|
.content2 {
|
|
|
background: white;
|
|
|
margin: 20rpx 0;
|
|
@@ -1262,5 +1290,7 @@
|
|
|
}
|
|
|
/deep/.place {
|
|
|
color: #000;
|
|
|
+ width:50%;
|
|
|
+ flex-flow: wrap;
|
|
|
}
|
|
|
</style>
|