|
@@ -17,6 +17,11 @@
|
|
|
{{list.destinationProvince}}{{list.destinationCity}}{{list.destinationArea}}{{list.destinationAddress}}
|
|
|
</view>
|
|
|
</u-form-item>
|
|
|
+ <u-form-item v-if='list.strokeType==1' label-width='150' :borderBottom="false" label="备注">
|
|
|
+ <view class="place">
|
|
|
+ {{list.remark}}
|
|
|
+ </view>
|
|
|
+ </u-form-item>
|
|
|
<u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总油耗(升)">
|
|
|
<u-input v-model="list.tfc" input-align="right" placeholder="--" disabled />
|
|
|
</u-form-item>
|
|
@@ -64,7 +69,7 @@
|
|
|
<view class="voucher">
|
|
|
<view class="voucher_tips">加油凭证</view>
|
|
|
<view >
|
|
|
- <u-upload :action="action" :file-list="item.urlList" max-count="1" :deletable="false" :show-progress="false"></u-upload>
|
|
|
+ <u-upload :action="action" imageMode='aspectFill' :file-list="item.urlList" max-count="1" :deletable="false" :show-progress="false"></u-upload>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-form>
|
|
@@ -131,6 +136,11 @@
|
|
|
<view v-if='item.auditMind' class="right-content">
|
|
|
{{item.auditMind}}
|
|
|
</view>
|
|
|
+ <view class="flex audit_img">
|
|
|
+ <view v-for="(items,indexs) in item.fileUrl" class="url_css">
|
|
|
+ <image :src="items" mode="" class="url_img" @click="auditFile(items)"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view v-if='item.commonStaffs1' class="right">
|
|
|
<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
|
|
@@ -167,6 +177,7 @@
|
|
|
</view>
|
|
|
<u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
|
|
|
</view>
|
|
|
+ <view style='overflow-y: scroll;height: 740rpx;padding-bottom:102rpx;'>
|
|
|
<view class="u-textarea-style">
|
|
|
<view class="right-bottom">
|
|
|
{{auditMind.length}}/1000个字
|
|
@@ -175,6 +186,13 @@
|
|
|
rows="11"></textarea>
|
|
|
|
|
|
</view>
|
|
|
+ <u-upload class="upload" ref="upload" name='fileName' :form-data="{companyId: pcUserInfo.compId,
|
|
|
+ modelId: '',
|
|
|
+ vesselId: ''}" :action="action1" :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"></u-upload>
|
|
|
+ </view>
|
|
|
<view @click='close()' class="cancel">取消</view>
|
|
|
<view @click='passSubmit()' class="confirm">确定</view>
|
|
|
</view>
|
|
@@ -186,6 +204,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import * as config from '../../../config'
|
|
|
import upload from '@/components/upload.vue';
|
|
|
import helper from '@/common/helper.js';
|
|
|
export default {
|
|
@@ -196,8 +215,12 @@
|
|
|
return {
|
|
|
everyCheck: '',
|
|
|
id: "",
|
|
|
+ pcUserInfo :uni.getStorageSync('pcUserInfo'),
|
|
|
+ action1: config.def().baseUrlNew+ 'appendix/api/uploadFiles',
|
|
|
+ maxSize: 50 * 1024 * 1024,
|
|
|
currentPage: 1,
|
|
|
pageSize: 10,
|
|
|
+ fileUrl:[],
|
|
|
list: {
|
|
|
status: "",
|
|
|
contractGoodsInfo: {},
|
|
@@ -238,6 +261,36 @@
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
+ auditFile(src) {
|
|
|
+ uni.downloadFile({
|
|
|
+ url: src,
|
|
|
+ success: function(res) {
|
|
|
+ var filePath = res.tempFilePath;
|
|
|
+ uni.openDocument({
|
|
|
+ filePath: filePath,
|
|
|
+ showMenu: true,
|
|
|
+ success: function(res) {
|
|
|
+ console.log('打开文档成功');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ getImgUrl(res) {
|
|
|
+ this.fileUrl.push(res.data.appendixPath)
|
|
|
+ },
|
|
|
+ onError(error) {
|
|
|
+ alert(error)
|
|
|
+ console.log('------------error-----------')
|
|
|
+ console.log(error)
|
|
|
+ },
|
|
|
+ onProgress(e) {
|
|
|
+ console.log(e)
|
|
|
+ },
|
|
|
+ onRemove(index) {
|
|
|
+ console.log(index)
|
|
|
+ this.fileUrl.splice(index, 1)
|
|
|
+ },
|
|
|
openDocument(src) {
|
|
|
uni.downloadFile({
|
|
|
url: src.appendixPath,
|
|
@@ -305,131 +358,228 @@
|
|
|
}).then(response => {
|
|
|
uni.hideLoading()
|
|
|
for (let i = 0; i < response.data.data.length; i++) {
|
|
|
- this.$set(response.data.data[i], 'status', 'question')
|
|
|
+ this.$set(response.data.data[i],'status','question')
|
|
|
// console.log(response.data.data[i].workflowHistoricTasks,i)
|
|
|
- if (response.data.data[i].commonStaffs) {
|
|
|
- response.data.data[i].showflow = false
|
|
|
- response.data.data[i].operatorTitle = response.data.data[i]
|
|
|
- .desc.substring(0, 2)
|
|
|
- response.data.data[i].operatorName = response.data.data[i]
|
|
|
- .desc
|
|
|
- response.data.data[i].staffscontent = '共' + response.data
|
|
|
- .data[i].commonStaffs.length + '人,当前审核' + response.data
|
|
|
- .data[i].workflowHistoricTasks.length + '人'
|
|
|
- if (response.data.data[i].workflowHistoricTasks && response
|
|
|
- .data.data[i].workflowHistoricTasks.length > 0) {
|
|
|
- if (response.data.data[i].workflowHistoricTasks
|
|
|
- .length != response.data.data[i].commonStaffs
|
|
|
- .length) {
|
|
|
+ if(response.data.data[i].commonStaffs){
|
|
|
+ response.data.data[i].showflow=false
|
|
|
+ response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
|
|
|
+ response.data.data[i].operatorName=response.data.data[i].desc
|
|
|
+ response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
|
|
|
+ if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
|
|
|
+ if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
|
|
|
// response.data.data[i].status='question'
|
|
|
- this.$set(response.data.data[i], 'status',
|
|
|
- 'question')
|
|
|
- } else {
|
|
|
- this.$set(response.data.data[i], 'status',
|
|
|
- 'success')
|
|
|
+ this.$set(response.data.data[i],'status','question')
|
|
|
+ }else{
|
|
|
+ this.$set(response.data.data[i],'status','success')
|
|
|
// response.data.data[i].status='success'
|
|
|
}
|
|
|
- response.data.data[i].workflowlen = response.data.data[
|
|
|
- i].workflowHistoricTasks.length
|
|
|
- var workflowdata = response.data.data[i]
|
|
|
- .workflowHistoricTasks
|
|
|
- var staffsdata = response.data.data[i].commonStaffs
|
|
|
+ response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
|
|
|
+ var workflowdata=response.data.data[i].workflowHistoricTasks
|
|
|
+ var staffsdata=response.data.data[i].commonStaffs
|
|
|
for (let q = 0; q < staffsdata.length; q++) {
|
|
|
- staffsdata[q].status = false
|
|
|
- staffsdata[q].staffTitle = staffsdata[q].staffName
|
|
|
+ staffsdata[q].status=false
|
|
|
+ staffsdata[q].staffTitle=staffsdata[q].staffName
|
|
|
for (let k = 0; k < workflowdata.length; k++) {
|
|
|
- if (staffsdata[q].staffId == workflowdata[k]
|
|
|
- .operatorId) {
|
|
|
- staffsdata[q].status = true
|
|
|
+ if(staffsdata[q].staffId==workflowdata[k].operatorId){
|
|
|
+ staffsdata[q].status=true
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- response.data.data[i].commonStaffs1 = response.data.data[i]
|
|
|
- .commonStaffs
|
|
|
- } else {
|
|
|
- if (response.data.data[i].workflowHistoricTasks && response
|
|
|
- .data.data[i].workflowHistoricTasks.length > 0) {
|
|
|
- var len = response.data.data[i].workflowHistoricTasks
|
|
|
- .length - 1
|
|
|
- if (response.data.data[i].workflowHistoricTasks[len]
|
|
|
- .approved) {
|
|
|
- this.$set(response.data.data[i], 'status',
|
|
|
- 'success')
|
|
|
- } else {
|
|
|
- this.$set(response.data.data[i], 'status', 'error')
|
|
|
+ response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
|
|
|
+ }else{
|
|
|
+ if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
|
|
|
+ var len =response.data.data[i].workflowHistoricTasks.length-1
|
|
|
+ if(response.data.data[i].workflowHistoricTasks[len].approved){
|
|
|
+ this.$set(response.data.data[i],'status','success')
|
|
|
+ }else{
|
|
|
+ this.$set(response.data.data[i],'status','error')
|
|
|
+ }
|
|
|
+ response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
|
|
|
+ response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
|
|
|
+ var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
|
|
|
+ response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
|
|
|
+ // response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
|
|
|
+ if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
|
|
|
+ response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
|
|
|
+ response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
|
|
|
+ }else{
|
|
|
+ response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
|
|
|
}
|
|
|
- response.data.data[i].operatorTitle = response.data
|
|
|
- .data[i].workflowHistoricTasks[len].operatorName
|
|
|
- .substring(response.data.data[i]
|
|
|
- .workflowHistoricTasks[0].operatorName.length -
|
|
|
- 2)
|
|
|
- response.data.data[i].operatorName = response.data
|
|
|
- .data[i].workflowHistoricTasks[len].operatorName
|
|
|
- var time = new Date(response.data.data[i]
|
|
|
- .workflowHistoricTasks[len].claimTime)
|
|
|
- .getTime()
|
|
|
- response.data.data[i].updateDate = this.$u.timeFormat(
|
|
|
- time, 'mm.dd hh:MM')
|
|
|
- response.data.data[i].auditMind = response.data.data[i]
|
|
|
- .workflowHistoricTasks[len].auditMind
|
|
|
- } else {
|
|
|
- this.$set(response.data.data[i], 'status', 'question')
|
|
|
+ }else{
|
|
|
+ this.$set(response.data.data[i],'status','question')
|
|
|
// response.data.data[i].status='question'
|
|
|
- if (response.data.data[i].desc == '总经理助理审核') {
|
|
|
- response.data.data[i].operatorTitle = '总助'
|
|
|
- } else if (response.data.data[i].desc == '杜大光审核') {
|
|
|
- response.data.data[i].operatorTitle = '大光'
|
|
|
- } else {
|
|
|
- response.data.data[i].operatorTitle = response.data
|
|
|
- .data[i].desc.substring(0, 2)
|
|
|
+ if(response.data.data[i].desc=='总经理助理审核'){
|
|
|
+ response.data.data[i].operatorTitle='总助'
|
|
|
+ }else if(response.data.data[i].desc=='杜大光审核'){
|
|
|
+ response.data.data[i].operatorTitle='大光'
|
|
|
+ }else{
|
|
|
+ response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
|
|
|
}
|
|
|
- response.data.data[i].operatorName = response.data
|
|
|
- .data[i].desc
|
|
|
- var time1 = new Date(response.data.data[i].updateDate)
|
|
|
- .getTime()
|
|
|
- response.data.data[i].updateDate = this.$u.timeFormat(
|
|
|
- time1, 'mm.dd hh:MM')
|
|
|
- response.data.data[i].auditMind = ''
|
|
|
+ response.data.data[i].operatorName=response.data.data[i].desc
|
|
|
+ var time1=new Date(response.data.data[i].updateDate).getTime()
|
|
|
+ response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
|
|
|
+ response.data.data[i].auditMind=''
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
console.log(response.data.data)
|
|
|
- for (let i = 0; i < response.data.data.length; i++) {
|
|
|
- if (response.data.data[i].status == "error") {
|
|
|
+ for(let i = 0 ;i<response.data.data.length;i++){
|
|
|
+ if(response.data.data[i].status == "error"){
|
|
|
this.auditCheck = "error"
|
|
|
break;
|
|
|
- } else if (response.data.data[i].status == "question") {
|
|
|
+ }else if(response.data.data[i].status == "question"){
|
|
|
this.auditCheck = "question"
|
|
|
break;
|
|
|
- } else {
|
|
|
+ }else{
|
|
|
this.auditCheck = "success"
|
|
|
}
|
|
|
}
|
|
|
this.auditList = response.data.data
|
|
|
- var time2 = new Date(this.list.createDate).getTime()
|
|
|
- var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
|
|
|
+ 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),
|
|
|
- operatorName: this.list.creater,
|
|
|
- updateDate: time3,
|
|
|
- auditMind: '',
|
|
|
- desc: '发起申请',
|
|
|
- showflow: false,
|
|
|
- commonStaffs1: null,
|
|
|
- commonStaffs: null,
|
|
|
- workflowHistoricTasks: [],
|
|
|
- status: 'success'
|
|
|
+ operatorTitle:this.list.creater.substring(0,2),
|
|
|
+ operatorName:this.list.creater,
|
|
|
+ updateDate:time3,
|
|
|
+ auditMind:'',
|
|
|
+ desc:'发起申请',
|
|
|
+ showflow:false,
|
|
|
+ commonStaffs1:null,
|
|
|
+ commonStaffs:null,
|
|
|
+ workflowHistoricTasks:[],
|
|
|
+ status:'success'
|
|
|
})
|
|
|
})
|
|
|
- })
|
|
|
+ // this.$api.doRequest('get', '/commonUser/getHis', {
|
|
|
+ // workflowId: res1.data.data[0].id,
|
|
|
+ // businessKey: this.id,
|
|
|
+ // // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
|
|
|
+ // }).then(response => {
|
|
|
+ // uni.hideLoading()
|
|
|
+ // for (let i = 0; i < response.data.data.length; i++) {
|
|
|
+ // this.$set(response.data.data[i], 'status', 'question')
|
|
|
+ // // console.log(response.data.data[i].workflowHistoricTasks,i)
|
|
|
+ // if (response.data.data[i].commonStaffs) {
|
|
|
+ // response.data.data[i].showflow = false
|
|
|
+ // response.data.data[i].operatorTitle = response.data.data[i]
|
|
|
+ // .desc.substring(0, 2)
|
|
|
+ // response.data.data[i].operatorName = response.data.data[i]
|
|
|
+ // .desc
|
|
|
+ // response.data.data[i].staffscontent = '共' + response.data
|
|
|
+ // .data[i].commonStaffs.length + '人,当前审核' + response.data
|
|
|
+ // .data[i].workflowHistoricTasks.length + '人'
|
|
|
+ // if (response.data.data[i].workflowHistoricTasks && response
|
|
|
+ // .data.data[i].workflowHistoricTasks.length > 0) {
|
|
|
+ // if (response.data.data[i].workflowHistoricTasks
|
|
|
+ // .length != response.data.data[i].commonStaffs
|
|
|
+ // .length) {
|
|
|
+ // // response.data.data[i].status='question'
|
|
|
+ // this.$set(response.data.data[i], 'status',
|
|
|
+ // 'question')
|
|
|
+ // } else {
|
|
|
+ // this.$set(response.data.data[i], 'status',
|
|
|
+ // 'success')
|
|
|
+ // // response.data.data[i].status='success'
|
|
|
+ // }
|
|
|
+ // response.data.data[i].workflowlen = response.data.data[
|
|
|
+ // i].workflowHistoricTasks.length
|
|
|
+ // var workflowdata = response.data.data[i]
|
|
|
+ // .workflowHistoricTasks
|
|
|
+ // var staffsdata = response.data.data[i].commonStaffs
|
|
|
+ // for (let q = 0; q < staffsdata.length; q++) {
|
|
|
+ // staffsdata[q].status = false
|
|
|
+ // staffsdata[q].staffTitle = staffsdata[q].staffName
|
|
|
+ // for (let k = 0; k < workflowdata.length; k++) {
|
|
|
+ // if (staffsdata[q].staffId == workflowdata[k]
|
|
|
+ // .operatorId) {
|
|
|
+ // staffsdata[q].status = true
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // response.data.data[i].commonStaffs1 = response.data.data[i]
|
|
|
+ // .commonStaffs
|
|
|
+ // } else {
|
|
|
+ // if (response.data.data[i].workflowHistoricTasks && response
|
|
|
+ // .data.data[i].workflowHistoricTasks.length > 0) {
|
|
|
+ // var len = response.data.data[i].workflowHistoricTasks
|
|
|
+ // .length - 1
|
|
|
+ // if (response.data.data[i].workflowHistoricTasks[len]
|
|
|
+ // .approved) {
|
|
|
+ // this.$set(response.data.data[i], 'status',
|
|
|
+ // 'success')
|
|
|
+ // } else {
|
|
|
+ // this.$set(response.data.data[i], 'status', 'error')
|
|
|
+ // }
|
|
|
+ // response.data.data[i].operatorTitle = response.data
|
|
|
+ // .data[i].workflowHistoricTasks[len].operatorName
|
|
|
+ // .substring(response.data.data[i]
|
|
|
+ // .workflowHistoricTasks[0].operatorName.length -
|
|
|
+ // 2)
|
|
|
+ // response.data.data[i].operatorName = response.data
|
|
|
+ // .data[i].workflowHistoricTasks[len].operatorName
|
|
|
+ // var time = new Date(response.data.data[i]
|
|
|
+ // .workflowHistoricTasks[len].claimTime)
|
|
|
+ // .getTime()
|
|
|
+ // response.data.data[i].updateDate = this.$u.timeFormat(
|
|
|
+ // time, 'mm.dd hh:MM')
|
|
|
+ // response.data.data[i].auditMind = response.data.data[i]
|
|
|
+ // .workflowHistoricTasks[len].auditMind
|
|
|
+ // } else {
|
|
|
+ // this.$set(response.data.data[i], 'status', 'question')
|
|
|
+ // // response.data.data[i].status='question'
|
|
|
+ // if (response.data.data[i].desc == '总经理助理审核') {
|
|
|
+ // response.data.data[i].operatorTitle = '总助'
|
|
|
+ // } else if (response.data.data[i].desc == '杜大光审核') {
|
|
|
+ // response.data.data[i].operatorTitle = '大光'
|
|
|
+ // } else {
|
|
|
+ // response.data.data[i].operatorTitle = response.data
|
|
|
+ // .data[i].desc.substring(0, 2)
|
|
|
+ // }
|
|
|
+ // response.data.data[i].operatorName = response.data
|
|
|
+ // .data[i].desc
|
|
|
+ // var time1 = new Date(response.data.data[i].updateDate)
|
|
|
+ // .getTime()
|
|
|
+ // response.data.data[i].updateDate = this.$u.timeFormat(
|
|
|
+ // time1, 'mm.dd hh:MM')
|
|
|
+ // response.data.data[i].auditMind = ''
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // console.log(response.data.data)
|
|
|
+ // for (let i = 0; i < response.data.data.length; i++) {
|
|
|
+ // if (response.data.data[i].status == "error") {
|
|
|
+ // this.auditCheck = "error"
|
|
|
+ // break;
|
|
|
+ // } else if (response.data.data[i].status == "question") {
|
|
|
+ // this.auditCheck = "question"
|
|
|
+ // break;
|
|
|
+ // } else {
|
|
|
+ // this.auditCheck = "success"
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // this.auditList = response.data.data
|
|
|
+ // 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),
|
|
|
+ // operatorName: this.list.creater,
|
|
|
+ // updateDate: time3,
|
|
|
+ // auditMind: '',
|
|
|
+ // desc: '发起申请',
|
|
|
+ // showflow: false,
|
|
|
+ // commonStaffs1: null,
|
|
|
+ // commonStaffs: null,
|
|
|
+ // workflowHistoricTasks: [],
|
|
|
+ // status: 'success'
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- onRemove() {
|
|
|
-
|
|
|
- return
|
|
|
- },
|
|
|
filterFileType(index, lists) {
|
|
|
if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
|
|
|
lists.splice(index, 1);
|
|
@@ -460,10 +610,14 @@
|
|
|
title: '加载中',
|
|
|
mask: true
|
|
|
});
|
|
|
+ var info = that.auditMind
|
|
|
+ if (that.fileUrl.length > 0) {
|
|
|
+ info = that.auditMind + "##" + that.fileUrl.toString()
|
|
|
+ }
|
|
|
that.$api.doRequest('post', '/newWorkflow/api/handle', {
|
|
|
taskId: that.list.taskId,
|
|
|
approved: false,
|
|
|
- auditMind: this.auditMind,
|
|
|
+ auditMind: info?info:"",
|
|
|
needReapply: true,
|
|
|
}).then(res => {
|
|
|
that.$api.msg('驳回成功')
|
|
@@ -497,10 +651,14 @@
|
|
|
title: '加载中',
|
|
|
mask: true
|
|
|
});
|
|
|
+ var info = that.auditMind
|
|
|
+ if (that.fileUrl.length > 0) {
|
|
|
+ info = that.auditMind + "##" + that.fileUrl.toString()
|
|
|
+ }
|
|
|
that.$api.doRequest('post', '/newWorkflow/api/handle', {
|
|
|
taskId: that.list.taskId,
|
|
|
approved: true,
|
|
|
- auditMind: this.auditMind,
|
|
|
+ auditMind: info?info:"",
|
|
|
needReapply: true,
|
|
|
}).then(res => {
|
|
|
that.$api.msg('通过成功')
|
|
@@ -682,7 +840,7 @@
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
background: rgba(0, 0, 0, 0.4);
|
|
|
- z-index: 11;
|
|
|
+ z-index: 13;
|
|
|
|
|
|
.wrap {
|
|
|
position: absolute;
|
|
@@ -693,8 +851,9 @@
|
|
|
margin: auto;
|
|
|
background: #fff;
|
|
|
width: calc(100% - 198rpx);
|
|
|
- height: 700rpx;
|
|
|
+ height: 948rpx;
|
|
|
border-radius: 20rpx;
|
|
|
+ // overflow-y: scroll;
|
|
|
|
|
|
.alert-top {
|
|
|
padding: 33rpx;
|
|
@@ -727,6 +886,8 @@
|
|
|
padding: 10px;
|
|
|
border-top: 1px solid #eee;
|
|
|
font-size: 34rpx;
|
|
|
+ z-index:10;
|
|
|
+ background:#fff;
|
|
|
}
|
|
|
|
|
|
.cancel {
|
|
@@ -880,6 +1041,27 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .audit_img {
|
|
|
+ flex-wrap: wrap;
|
|
|
+ // margin: 0 10rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+
|
|
|
+ .url_css {
|
|
|
+ border: 1px solid #999999;
|
|
|
+ border-radius: 10px;
|
|
|
+ margin-top: 10px;
|
|
|
+ margin-right: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ width: 73px;
|
|
|
+ height: 73px;
|
|
|
+
|
|
|
+ .url_img {
|
|
|
+ width: 73px;
|
|
|
+ height: 73px;
|
|
|
+ // border-radius: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1076,4 +1258,8 @@
|
|
|
margin: auto;
|
|
|
margin-right: 0px;
|
|
|
}
|
|
|
+ /deep/.place{
|
|
|
+ color:#000;
|
|
|
+ }
|
|
|
+
|
|
|
</style>
|