|
@@ -307,7 +307,7 @@
|
|
|
:show-file-list="false"
|
|
|
:on-change="changes"
|
|
|
:file-list="filesArra2">
|
|
|
- <el-button type="info" size="mini" v-if="inputForm.permissionFlag">点击上传</el-button>
|
|
|
+ <el-button type="info" size="mini" v-if="inputForm.permissionFlag&&showVi" >点击上传</el-button>
|
|
|
</el-upload>
|
|
|
<div style="height: calc(100% - 80px);margin-top: 30px">
|
|
|
<vxe-table
|
|
@@ -350,7 +350,7 @@
|
|
|
<vxe-column title="操作" width="200px" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" icon="el-icon-edit" size="small" @click="toHref(scope.row)">下载</el-button>
|
|
|
- <el-button type="text" icon="el-icon-delete" size="small" v-if="inputForm.permissionFlag" @click="deleteMsgById(scope.row, scope.$rowIndex)">删除</el-button>
|
|
|
+ <el-button type="text" icon="el-icon-delete" size="small" v-if="inputForm.permissionFlag&&showVi" @click="deleteMsgById(scope.row, scope.$rowIndex)">删除</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|
|
@@ -609,6 +609,7 @@
|
|
|
close () {
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
this.visible = false
|
|
|
+ this.showVi = true
|
|
|
},
|
|
|
httpRequest (file) {
|
|
|
httpRequest(file, fileName(file), 'projectRecords')
|