<template>
|
<div class="class_dataImport">
|
<div style="height: 55vh; padding:0px; box-sizing:boder-box;">
|
<div style="width: 100%; height: 100%;" align="center">
|
<substepReadOnly v-bind:xmId="rowData.id"></substepReadOnly>
|
</div>
|
</div>
|
|
</div>
|
</template>
|
|
<script>
|
import substepReadOnly from './portion/substepReadOnly.vue'
|
export default {
|
name: 'dataImport',
|
props:{
|
rowData:{
|
type: Object,
|
required: true
|
}
|
},
|
components: {
|
substepReadOnly,
|
},
|
data () {
|
return {
|
userId: null,
|
assign: null,
|
}
|
},
|
mounted() {
|
this.userId = localStorage.getItem('userId');
|
this.assign = localStorage.getItem('assign');
|
//this.loadData();
|
},
|
methods:{
|
/* loadData() {
|
|
this.xmId = this.rowData.id;
|
this.isShow1 = true;
|
let me = this;
|
|
let interval = setInterval(function(){
|
let isFinish = me.$refs.substep_zj.finish;
|
if(isFinish) {
|
me.showData_ = me.$refs.substep_zj.showData;
|
me.form_objs = me.$refs.substep_zj.form_;
|
me.isShow = true;
|
clearInterval(interval);
|
}
|
|
},1000);
|
|
}, */
|
}
|
}
|
</script>
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
<style>
|
.class_dataImport .el-tabs__content{
|
position: inherit;
|
}
|
|
.class_dataImport .grid-content {
|
border-radius: 4px;
|
height: 60px;
|
min-height: 26px;
|
}
|
.class_dataImport .main-row .grid-content {
|
line-height: 60px;
|
}
|
|
.class_dataImport .z_grid-content2{
|
display:table-cell;
|
vertical-align:bottom;
|
color: #2c3e50;
|
height: 50px;
|
}
|
|
</style>
|