| | |
| | | <template> |
| | | <div class="class_dataImport"> |
| | | |
| | | <div style="height: 55vh; padding:0px; box-sizing:boder-box;"> |
| | | <div style="width: 1px; height: 1px;" align="center"> |
| | | <substep v-if="isShow1" ref="substep_zj" v-bind:xmId="xmId"></substep> |
| | | </div> |
| | | <div style="width: 100%; height: 100%;" align="center"> |
| | | <substepReadOnly v-if="isShow" v-bind:form_objs="form_objs" v-bind:showData_="showData_"></substepReadOnly> |
| | | </div> |
| | | <div style="width: 100%; height: 100%;" align="center"> |
| | | <substepReadOnly v-bind:xmId="rowData.id"></substepReadOnly> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import substep from './portion/substep.vue' |
| | | import substepReadOnly from './portion/substepReadOnly.vue' |
| | | export default { |
| | | name: 'dataImport', |
| | | name: 'dataImport', |
| | | props:{ |
| | | rowData:{ |
| | | type: Object, |
| | |
| | | }, |
| | | components: { |
| | | substepReadOnly, |
| | | substep |
| | | }, |
| | | data () { |
| | | return { |
| | | userId: undefined, |
| | | assign: undefined, |
| | | loading_nextStep: false, |
| | | isShow1: false, |
| | | isShow: false, |
| | | loading_cancel: false, |
| | | |
| | | ruleForm: {}, |
| | | xmId: null, |
| | | showData_: {}, |
| | | form_objs: {}, |
| | | |
| | | userId: null, |
| | | assign: null, |
| | | } |
| | | }, |
| | | mounted() { |
| | | //this.userId = localStorage.getItem('userId'); |
| | | //this.assign = localStorage.getItem('assign'); |
| | | |
| | | this.userId = localStorage.getItem('userId'); |
| | | this.assign = localStorage.getItem('assign'); |
| | | this.loadData(); |
| | | this.userId = this.$cookies.get('userId'); |
| | | this.assign = this.$cookies.get('assign'); |
| | | //this.loadData(); |
| | | }, |
| | | methods:{ |
| | | loadData() { |
| | | /* loadData() { |
| | | |
| | | this.xmId = this.rowData.id; |
| | | this.isShow1 = true; |
| | |
| | | |
| | | },1000); |
| | | |
| | | }, |
| | | }, */ |
| | | } |
| | | } |
| | | </script> |