|
@@ -26,7 +26,7 @@
|
|
|
<el-button size="small" type="primary" @click="NextStep()">下一步</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-dialog :visible.sync="showClient" width="80%" top="4vh" :close-on-click-modal="false" append-to-body :before-close="handleClose1()">
|
|
|
+ <el-dialog :visible.sync="showClient" width="80%" top="4vh" :close-on-click-modal="false" append-to-body :before-close="handleClose1">
|
|
|
<div class="flex_start titFont">
|
|
|
<div class="titIcon" />
|
|
|
<span style="margin-left: 1%; width: 100px;">提测报告</span>
|
|
@@ -39,7 +39,7 @@
|
|
|
</el-steps>
|
|
|
</div>
|
|
|
<div class="descr" style=" margin-bottom: 2%; height: 440px; overflow:scroll; overflow-x: hidden">
|
|
|
- <Present v-if="Present1" ref="Present" />
|
|
|
+ <Present v-if="Present1" ref="Present" :ke-hu="getKeHu" />
|
|
|
<presentation v-if="presentation1" ref="presentationRef" />
|
|
|
</div>
|
|
|
<div align="center">
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- init(e, id) {
|
|
|
+ init() {
|
|
|
this.dialogVisible1 = true
|
|
|
},
|
|
|
handleClose1(e) {
|
|
@@ -129,12 +129,16 @@ export default {
|
|
|
this.showClientYL = false
|
|
|
},
|
|
|
created_out() {
|
|
|
- this.$refs.presentationRef.parentHandleclick()
|
|
|
+ if (this.radio === '2') {
|
|
|
+ this.$refs.presentationRef.parentHandleclick()
|
|
|
+ }
|
|
|
+ if (this.radio === '1') {
|
|
|
+ this.$refs.Present.parentHandleclick()
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getKeHu(data) {
|
|
|
this.showClientYL = true
|
|
|
- // this.$nextTick(() => {
|
|
|
- // this.$refs.acceptthe.int()
|
|
|
- // })
|
|
|
- console.log(this.$refs)
|
|
|
+ console.log(data)
|
|
|
},
|
|
|
NextStep() {
|
|
|
switch (Number(this.radio)) {
|
|
@@ -142,17 +146,11 @@ export default {
|
|
|
this.showClient = true
|
|
|
this.Present1 = true
|
|
|
this.presentation1 = false
|
|
|
- // this.$nextTick(() => {
|
|
|
- // this.$refs.Present.init()
|
|
|
- // })
|
|
|
break
|
|
|
case 2:
|
|
|
this.showClient = true
|
|
|
this.Present1 = false
|
|
|
this.presentation1 = true
|
|
|
- // this.$nextTick(() => {
|
|
|
- // this.$refs.Present.init()
|
|
|
- // })
|
|
|
break
|
|
|
case 3:
|
|
|
this.$message({ message: '请选择要创建的‘模版’', type: 'error', duration: 1000, offset: 150 })
|