|
@@ -312,20 +312,37 @@
|
|
</view>
|
|
</view>
|
|
<u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
|
|
<u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
|
|
</view>
|
|
</view>
|
|
- <view class="u-textarea-style">
|
|
|
|
- <view class="right-bottom">
|
|
|
|
- {{auditMind.length}}/1000个字
|
|
|
|
|
|
+ <view class="content">
|
|
|
|
+ <view class="u-textarea-style">
|
|
|
|
+ <view class="right-bottom">
|
|
|
|
+ {{auditMind.length}}/1000个字
|
|
|
|
+ </view>
|
|
|
|
+ <!-- <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
|
|
|
|
+ maxlength="100" /> -->
|
|
|
|
+ <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="upload_css">
|
|
|
|
+ 上传附件
|
|
|
|
+ <!-- <upload class="upload" :width="150" ref="upload" :form-data="{companyId: pcUserInfo.compId,
|
|
|
|
+ modelId: '',
|
|
|
|
+ vesselId: ''}" :action="action" :max-size="maxSize" :max-count="99"
|
|
|
|
+ :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
|
|
|
|
+ @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
|
|
|
|
+ -->
|
|
|
|
+ <u-upload :custom-btn='true' class="upload" ref="upload" name='fileName' :form-data="{companyId: pcUserInfo.compId,
|
|
|
|
+ modelId: '',
|
|
|
|
+ vesselId: ''}" :action="action" :show-tips="false" :max-size="maxSize" :max-count="9"
|
|
|
|
+ :size-type="['compressed']" @on-success="getImgUrl($event)" @on-error="onError"
|
|
|
|
+ @on-remove="onRemove" @on-uploaded="isAdd = true" :limitType ="['png', 'jpg', 'jpeg', 'webp', 'gif']"
|
|
|
|
+ @on-progress="onProgress">
|
|
|
|
+ <view slot="addBtn" class="slot-btn u-list-item" hover-class="slot-btn__hover" hover-stay-time="150">
|
|
|
|
+ <image style="width:23px;height:23px;" src="../../../static/img/liangmai/xiangji-2.png" mode=""></image>
|
|
|
|
+ <view>选择图片</view>
|
|
|
|
+ </view>
|
|
|
|
+ </u-upload>
|
|
</view>
|
|
</view>
|
|
- <!-- <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
|
|
|
|
- maxlength="100" /> -->
|
|
|
|
- <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
|
|
|
|
- </view>
|
|
|
|
- <view class="upload_css">
|
|
|
|
- 上传附件
|
|
|
|
- <upload class="upload" :width="150" ref="upload" :action="action" :max-size="maxSize" :max-count="99"
|
|
|
|
- :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
|
|
|
|
- @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
<view class="audit_btn">
|
|
<view class="audit_btn">
|
|
<view @click='close()' class="cancel">取消</view>
|
|
<view @click='close()' class="cancel">取消</view>
|
|
<view @click='passSubmit()' class="confirm">确定</view>
|
|
<view @click='passSubmit()' class="confirm">确定</view>
|
|
@@ -364,7 +381,6 @@
|
|
show: false,
|
|
show: false,
|
|
title: '',
|
|
title: '',
|
|
contractNo: "",
|
|
contractNo: "",
|
|
- action: this.$uploadUrl,
|
|
|
|
maxSize: 50 * 1024 * 1024, //限制文件大小 50M
|
|
maxSize: 50 * 1024 * 1024, //限制文件大小 50M
|
|
isAdd: true,
|
|
isAdd: true,
|
|
imgShow: false,
|
|
imgShow: false,
|
|
@@ -373,6 +389,7 @@
|
|
auditCheck:"question",//判断审核是否通过
|
|
auditCheck:"question",//判断审核是否通过
|
|
// 上传附件、
|
|
// 上传附件、
|
|
action: this.$uploadUrl,
|
|
action: this.$uploadUrl,
|
|
|
|
+ pcUserInfo :uni.getStorageSync('pcUserInfo'),
|
|
maxSize: 50 * 1024 * 1024, //限制文件大小 50M
|
|
maxSize: 50 * 1024 * 1024, //限制文件大小 50M
|
|
isAdd: true,
|
|
isAdd: true,
|
|
fileUrl: []
|
|
fileUrl: []
|
|
@@ -411,7 +428,7 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
getImgUrl(res) {
|
|
getImgUrl(res) {
|
|
- this.fileUrl.push(res)
|
|
|
|
|
|
+ this.fileUrl.push(res.data.appendixPath)
|
|
},
|
|
},
|
|
onError(error) {
|
|
onError(error) {
|
|
alert(error)
|
|
alert(error)
|
|
@@ -911,10 +928,12 @@
|
|
background: #fff;
|
|
background: #fff;
|
|
width: calc(100% - 198rpx);
|
|
width: calc(100% - 198rpx);
|
|
height: 770rpx;
|
|
height: 770rpx;
|
|
- overflow-y: scroll;
|
|
|
|
// overflow: hidden;
|
|
// overflow: hidden;
|
|
border-radius: 20rpx;
|
|
border-radius: 20rpx;
|
|
-
|
|
|
|
|
|
+ .content{
|
|
|
|
+ height:600rpx;
|
|
|
|
+ overflow-y: scroll;
|
|
|
|
+ }
|
|
.alert-top {
|
|
.alert-top {
|
|
padding: 33rpx;
|
|
padding: 33rpx;
|
|
display: flex;
|
|
display: flex;
|
|
@@ -1274,4 +1293,17 @@
|
|
margin-top: 6px;
|
|
margin-top: 6px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ /deep/.u-upload .u-list-item{
|
|
|
|
+ background:#fff;
|
|
|
|
+ border:1px dashed #ccc;
|
|
|
|
+ border-radius:10rpx;
|
|
|
|
+ height:190rpx !important;
|
|
|
|
+ width:190rpx !important;
|
|
|
|
+ margin:10rpx;
|
|
|
|
+ text-align:center;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|