企业端无法下载附近bug修复
parent
a372a7b0e0
commit
8b5701c9fe
|
@ -7,31 +7,38 @@
|
||||||
title="审批流程"
|
title="审批流程"
|
||||||
width="60%">
|
width="60%">
|
||||||
<el-steps :space="200" :active="list.length" direction="vertical" finish-status="success">
|
<el-steps :space="200" :active="list.length" direction="vertical" finish-status="success">
|
||||||
<el-step v-for="item in list" :key="item.FLOW_DETAIL_ID" :value="item.FLOW_DETAIL_ID" :title="item.SORT">
|
<el-step v-for="item in list" :key="item.FLOW_DETAIL_ID" :value="item.FLOW_DETAIL_ID" :title="item.SORT+''">
|
||||||
<template slot="description">
|
<template slot="description">
|
||||||
<el-card class="box-card" style="width: 900px;">
|
<el-card class="box-card a" style="width: 900px;">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>{{ item.STEP_NAME }}</span>
|
<span>{{ item.STEP_NAME }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col v-if="item.APPROVER_NAME">
|
<el-col :span="12">
|
||||||
审批人:{{ item.APPROVER_NAME }}
|
<el-row>
|
||||||
|
<el-col v-if="item.APPROVER_NAME">
|
||||||
|
审批人:{{ item.APPROVER_NAME }}
|
||||||
|
</el-col>
|
||||||
|
<el-col>
|
||||||
|
审批状态:{{ item.PASS_FLAG === '1' ? '同意' : '不同意' }}
|
||||||
|
</el-col>
|
||||||
|
<el-col>
|
||||||
|
审批人归属公司:{{ item.APPROVER_CORPINFO_NAME }}
|
||||||
|
</el-col>
|
||||||
|
<el-col>
|
||||||
|
审批时间:{{ item.APPROVER_TIME }}
|
||||||
|
</el-col>
|
||||||
|
<el-col v-if="item.APPROVER_OPINION">
|
||||||
|
审批意见:{{ item.APPROVER_OPINION }}
|
||||||
|
</el-col>
|
||||||
|
<el-col v-if="item.END_FLAG === '1'" style="color: red; font-weight: bold;font-size: large">
|
||||||
|
审批结束
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col>
|
<el-col v-if="item.APPOINT_ANNEX" :span="12">
|
||||||
审批状态:{{ item.PASS_FLAG === '1' ? '同意' : '不同意' }}
|
<el-button icon="el-icon-download" type="primary" @click = "download(item)">下载附件</el-button>
|
||||||
</el-col>
|
|
||||||
<el-col>
|
|
||||||
审批人归属公司:{{ item.APPROVER_CORPINFO_NAME }}
|
|
||||||
</el-col>
|
|
||||||
<el-col>
|
|
||||||
审批时间:{{ item.APPROVER_TIME }}
|
|
||||||
</el-col>
|
|
||||||
<el-col v-if="item.APPROVER_OPINION">
|
|
||||||
审批意见:{{ item.APPROVER_OPINION }}
|
|
||||||
</el-col>
|
|
||||||
<el-col v-if="item.END_FLAG === '1'" style="color: red; font-weight: bold;font-size: large">
|
|
||||||
审批结束
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,6 +54,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||||
|
import useDownloadFile from '../../../../utils/useDownloadFile'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -77,6 +85,9 @@ export default {
|
||||||
},
|
},
|
||||||
closeWindow() {
|
closeWindow() {
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
},
|
||||||
|
download(item) {
|
||||||
|
useDownloadFile(item.APPOINT_ANNEX)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue