|
@@ -305,7 +305,7 @@
|
|
:show-file-list="false"
|
|
:show-file-list="false"
|
|
:on-change="changes"
|
|
:on-change="changes"
|
|
:file-list="filesArra2">
|
|
:file-list="filesArra2">
|
|
- <el-button type="info" size="mini">点击上传</el-button>
|
|
|
|
|
|
+ <el-button type="info" size="mini" v-if="inputForm.permissionFlag">点击上传</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
<div style="height: calc(100% - 80px);">
|
|
<div style="height: calc(100% - 80px);">
|
|
<vxe-table
|
|
<vxe-table
|
|
@@ -346,7 +346,7 @@
|
|
<!-- <vxe-column title="文件描述" field="description"></vxe-column>-->
|
|
<!-- <vxe-column title="文件描述" field="description"></vxe-column>-->
|
|
<vxe-column title="操作" width="200px" fixed="right" align="center">
|
|
<vxe-column title="操作" width="200px" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button type="text" icon="el-icon-delete" size="small" @click="deleteMsgById(scope.row, scope.$rowIndex)">删除</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-edit" size="small" @click="toHref(scope.row)">下载</el-button>
|
|
<el-button type="text" icon="el-icon-edit" size="small" @click="toHref(scope.row)">下载</el-button>
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|
|
@@ -387,6 +387,7 @@
|
|
visible: false,
|
|
visible: false,
|
|
loading: false,
|
|
loading: false,
|
|
inputForm: {
|
|
inputForm: {
|
|
|
|
+ permissionFlag: '', // 判断是否为当前登录人参数
|
|
customerName: '',
|
|
customerName: '',
|
|
projectName: '',
|
|
projectName: '',
|
|
evaluationObjective: '',
|
|
evaluationObjective: '',
|
|
@@ -584,6 +585,7 @@
|
|
this.inputForm.evaluationReportDateUi = data.evaluationReportDate
|
|
this.inputForm.evaluationReportDateUi = data.evaluationReportDate
|
|
this.inputForm.invoiceDateUi = data.invoiceDate
|
|
this.inputForm.invoiceDateUi = data.invoiceDate
|
|
this.inputForm.reimbursementDateUi = data.reimbursementDate
|
|
this.inputForm.reimbursementDateUi = data.reimbursementDate
|
|
|
|
+ this.inputForm.permissionFlag = data.permissionFlag
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|