|
|
|
@ -26,7 +26,7 @@ export default { |
|
|
|
}, |
|
|
|
title:{ |
|
|
|
type:String, |
|
|
|
default:'附件列表' |
|
|
|
default:'附件信息' |
|
|
|
}, |
|
|
|
label:{ |
|
|
|
type:String, |
|
|
|
@ -219,7 +219,7 @@ export default { |
|
|
|
|
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<el-button type="primary" @click="handleUpload">上传附件</el-button> |
|
|
|
<el-button type="primary" v-if="this.orderRef1 && this.orderRef2" @click="handleUpload">上传附件</el-button> |
|
|
|
<el-button type="primary" @click="handleDownload">下载</el-button> |
|
|
|
<el-table |
|
|
|
:height="height" |
|
|
|
@ -258,10 +258,10 @@ export default { |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
|
|
|
|
<el-dialog :title="title" :visible.sync="ossVisible" v-drag width="500px" append-to-body :close-on-click-modal="false"> |
|
|
|
<el-dialog :title="title" :visible.sync="ossVisible" v-drag width="400px" append-to-body :close-on-click-modal="false"> |
|
|
|
<el-form ref="form" :model="ossForm" label-width="80px" label-position="top"> |
|
|
|
<el-row :gutter="10"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="label"> |
|
|
|
<el-input v-model="ossForm.orderRef2" readonly></el-input> |
|
|
|
</el-form-item> |
|
|
|
|