|
@@ -109,8 +109,8 @@
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
<component
|
|
<component
|
|
|
|
|
+ v-if="targetVisible"
|
|
|
:is="targetComponent"
|
|
:is="targetComponent"
|
|
|
- ref="targetComponentRef"
|
|
|
|
|
:key="targetComponent"
|
|
:key="targetComponent"
|
|
|
:isView="isView"
|
|
:isView="isView"
|
|
|
:visible.sync="targetVisible"
|
|
:visible.sync="targetVisible"
|
|
@@ -463,16 +463,17 @@
|
|
|
this.targetComponent = row.reportTemplateCode;
|
|
this.targetComponent = row.reportTemplateCode;
|
|
|
this.currentRow = row;
|
|
this.currentRow = row;
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.targetVisible = true;
|
|
|
|
|
|
|
+ this.detailVisible = true;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
openDetails(row) {
|
|
openDetails(row) {
|
|
|
- let id = row.id;
|
|
|
|
|
this.isView = true;
|
|
this.isView = true;
|
|
|
this.currentRow = row;
|
|
this.currentRow = row;
|
|
|
this.targetComponent = row.reportTemplateCode;
|
|
this.targetComponent = row.reportTemplateCode;
|
|
|
|
|
+ console.log('currentRow', this.currentRow, this.targetComponent);
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.targetVisible = true;
|
|
this.targetVisible = true;
|
|
|
|
|
+ console.log('targetVisible~~~~', this.targetVisible);
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
async deleteReportBtn(row) {
|
|
async deleteReportBtn(row) {
|