|
|
@@ -127,7 +127,7 @@
|
|
|
下载
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="scope.row.isUpload === 0 || scope.row.isUpload === '0'"
|
|
|
+ v-if="scope.row.auditedStatus !== '1' && currentNode === 'clcs'"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
:disabled="isViewMode"
|
|
|
@@ -146,7 +146,7 @@
|
|
|
模版下载
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="scope.row.isUpload === 0 || scope.row.isUpload === '0'"
|
|
|
+ v-if="scope.row.auditedStatus !== '1' && currentNode === 'clcs'"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
:disabled="isViewMode"
|
|
|
@@ -178,7 +178,16 @@
|
|
|
type: Object,
|
|
|
default: () => ({}),
|
|
|
},
|
|
|
+ currentNode: {
|
|
|
+ type: String,
|
|
|
+ default: '',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ computed: {},
|
|
|
+ mounted() {
|
|
|
+ // 直接使用this.currentNode访问props值,无需在data中重复定义
|
|
|
},
|
|
|
+
|
|
|
methods: {
|
|
|
getRowClassName(data) {
|
|
|
if (data.row.isCategoryHeader) {
|