|
@@ -125,9 +125,9 @@
|
|
|
<u-form-item label-width='260' label="备注信息">
|
|
|
</u-form-item>
|
|
|
<u-form-item>
|
|
|
- <textarea class='textarea' v-model="list.remarks" input-align="right" placeholder="" disabled />
|
|
|
+ <textarea class='textarea' v-model="list.remarks" input-align="right" placeholder="暂无备注信息" disabled />
|
|
|
</u-form-item>
|
|
|
- <u-form-item label-width='260' label="附件">
|
|
|
+ <u-form-item label-width='90' label="附件">
|
|
|
<!-- <view class="textCss">
|
|
|
<upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1" :file-list="imglist"
|
|
|
:size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
|
|
@@ -137,12 +137,18 @@
|
|
|
<!-- <view v-for='item in imglist'>
|
|
|
<image style='width:100px;height:100px;' :src="item" mode=""></image>
|
|
|
</view> -->
|
|
|
- <view v-for='item in imglist'>
|
|
|
- <view @click='shadeshow(item)'>
|
|
|
- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image>
|
|
|
- </view>
|
|
|
+ <view v-if='imglist.length>0'>
|
|
|
+ <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
|
|
|
+ <view style="max-width:60%;word-break: break-word">
|
|
|
+ {{item.appendixName}}
|
|
|
+ </view>
|
|
|
+ <view class="" style="color: #19be6b;text-decoration:underline;" @click="openDocument(item)">
|
|
|
+ 点击下载
|
|
|
+ </view>
|
|
|
+ <!-- <u-icon name="attach" ></u-icon> -->
|
|
|
+ <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
-
|
|
|
</u-form-item>
|
|
|
<view class="content2">
|
|
|
<view class="title row">
|
|
@@ -223,7 +229,7 @@
|
|
|
{{auditMind.length}}/100个字
|
|
|
</view>
|
|
|
<u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
|
|
|
- maxlength="100" />
|
|
|
+ maxlength="300" />
|
|
|
</view>
|
|
|
<view @click='close()' class="cancel">取消</view>
|
|
|
<view @click='passSubmit()' class="confirm">确定</view>
|
|
@@ -288,6 +294,21 @@
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ openDocument(src){
|
|
|
+ uni.downloadFile({
|
|
|
+ url: src.appendixPath,
|
|
|
+ success: function (res) {
|
|
|
+ var filePath = res.tempFilePath;
|
|
|
+ uni.openDocument({
|
|
|
+ filePath: filePath,
|
|
|
+ showMenu: true,
|
|
|
+ success: function (res) {
|
|
|
+ console.log('打开文档成功');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
shadeshow(url) {
|
|
|
this.imgShow = true
|
|
|
this.url = url
|
|
@@ -314,11 +335,7 @@
|
|
|
this.$api.doRequest('get', '/appendix/query/getFileList', {
|
|
|
appendixIds: that.list.addressUrl
|
|
|
}).then(res1 => {
|
|
|
- for (var i = 0; i < res1.data.data.length; i++) {
|
|
|
- that.imglist.push(
|
|
|
- res1.data.data[i].appendixPath
|
|
|
- )
|
|
|
- }
|
|
|
+ that.imglist=res1.data.data
|
|
|
})
|
|
|
this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
|
|
|
businessCode: 'SALE-CONTRACT-APPROVE',
|
|
@@ -393,7 +410,7 @@
|
|
|
}
|
|
|
console.log(response.data.data)
|
|
|
this.auditList = response.data.data
|
|
|
- var time2=new Date(this.auditList[0].createDate).getTime()
|
|
|
+ var time2=new Date(this.list.createDate).getTime()
|
|
|
var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
|
|
|
this.auditList.unshift({
|
|
|
operatorTitle:this.list.creater.substring(0,2),
|