From d0be57c51de4ed3bf6e8d9a68242f24a5716e65d Mon Sep 17 00:00:00 2001 From: zhangyanpeng <bob.zhang@highdatas.com> Date: 星期三, 06 五月 2020 19:34:51 +0800 Subject: [PATCH] 添加修改密码功能 --- src/components/popup/prodetail.vue | 36 +++++++++--------------------------- 1 files changed, 9 insertions(+), 27 deletions(-) diff --git a/src/components/popup/prodetail.vue b/src/components/popup/prodetail.vue index e99d785..165a581 100644 --- a/src/components/popup/prodetail.vue +++ b/src/components/popup/prodetail.vue @@ -1,23 +1,18 @@ <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" v-bind:totalItems="totalItems"></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, @@ -26,33 +21,20 @@ }, components: { substepReadOnly, - substep }, data () { return { - userId: undefined, - assign: undefined, - loading_nextStep: false, - isShow1: false, - isShow: false, - loading_cancel: false, - - ruleForm: {}, - xmId: null, - totalItems: [], - showData_: {}, - form_objs: {}, - + userId: null, + assign: null, } }, mounted() { - this.userId = localStorage.getItem('userId'); this.assign = localStorage.getItem('assign'); - this.loadData(); + //this.loadData(); }, methods:{ - loadData() { + /* loadData() { this.xmId = this.rowData.id; this.isShow1 = true; @@ -69,7 +51,7 @@ },1000); - }, + }, */ } } </script> -- Gitblit v1.8.0