'123'
This commit is contained in:
parent
fe880b6d9a
commit
ad9b83de4e
|
@ -88,24 +88,22 @@
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-table class="down" :data="quotHjFileList" border stripe style="width: 100%;" height="150px">
|
<el-table class="down" :data="quotHjFileList" border stripe style="width: 100%;" height="150px">
|
||||||
<el-table-column prop="fileName" label="文件名称" width="450px"></el-table-column>
|
<el-table-column prop="fileName" label="文件名称"></el-table-column>
|
||||||
<el-table-column prop="fileSize" label="文件大小" width="100px">
|
<el-table-column prop="fileSize" label="文件大小" width="150px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.fileSize / 1024 / 1024 < 1">{{(scope.row.fileSize / 1024).toFixed(2) + 'KB'}}</span>
|
<span v-if="scope.row.fileSize / 1024 / 1024 < 1">{{(scope.row.fileSize / 1024).toFixed(2) + 'KB'}}</span>
|
||||||
<span v-else>{{(scope.row.fileSize / 1024 / 1024).toFixed(2) + 'MB'}}</span>
|
<span v-else>{{(scope.row.fileSize / 1024 / 1024).toFixed(2) + 'MB'}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="fileTime" label="上传时间"></el-table-column>
|
<el-table-column prop="fileTime" label="上传时间" width="200px"></el-table-column>
|
||||||
<el-table-column width="150px" label="操作">
|
<el-table-column width="150px" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button :key="Math.random()" size="small" type="text">
|
<el-button :key="Math.random()" size="small" type="text">
|
||||||
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-if="isSelfProp">
|
<el-button :key="Math.random()" size="small" type="text" v-if="isSelfProp&&form.quotHjApprovalStatus == '1'">
|
||||||
<el-button :key="Math.random()" size="small" type="text" v-if="form.quotHjApprovalStatus == '1'">
|
|
||||||
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
@ -649,11 +649,9 @@
|
||||||
<el-button :key="Math.random()" size="small" type="text">
|
<el-button :key="Math.random()" size="small" type="text">
|
||||||
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
<a @click="downloadFile(scope.row.fileUrl)">下载</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-if="isSelfProp">
|
<el-button :key="Math.random()" size="small" type="text" v-if="isSelfProp&&uploadDis">
|
||||||
<el-button :key="Math.random()" size="small" type="text" v-if="uploadDis">
|
|
||||||
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
<a @click="deleteFile(scope.row.fileId)">删除</a>
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -875,7 +873,9 @@
|
||||||
commitQuot() {
|
commitQuot() {
|
||||||
//技术协助状态 设置为 已协助
|
//技术协助状态 设置为 已协助
|
||||||
commitQuot(this.form).then(response => {
|
commitQuot(this.form).then(response => {
|
||||||
this.$emit('fMethod');
|
this.open = false;
|
||||||
|
this.$modal.msgSuccess("提交成功");
|
||||||
|
this.$emit('refreshList');
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue