From 1b3f4dd63fe08c6e8a48a635746aec1ea49c9c43 Mon Sep 17 00:00:00 2001 From: yang <1441163367@qq.com> Date: 星期三, 26 十月 2022 14:19:12 +0800 Subject: [PATCH] 修改 --- src/views/padSunmaryProcedure/word_mange/mangeBL.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/padSunmaryProcedure/word_mange/mangeBL.vue b/src/views/padSunmaryProcedure/word_mange/mangeBL.vue index ed37e75..48376c8 100644 --- a/src/views/padSunmaryProcedure/word_mange/mangeBL.vue +++ b/src/views/padSunmaryProcedure/word_mange/mangeBL.vue @@ -141,9 +141,9 @@ export default { name: "mangeBL", - props: ['id'], data() { return { + id:'', value1: [], form: { causePoint: "", @@ -173,7 +173,9 @@ }, } }, - created() { + mounted() { + this.id = this.$store.state.user.id + console.log(this.id,'id') this.getDataList() window.getSignUrl =this.getSignUrl; window.getFingerUrl =this.getFingerUrl; @@ -184,14 +186,11 @@ },*/ methods: { getDataList() { - this.$nextTick(()=>{ - // console.log(this.id,'this.id') inquiryquestion(this.id).then(res => { - this.form = res.data.data - this.value1.push(res.data.data.startTime) - this.value1.push(res.data.data.endTime) + this.form = res.data.data + this.value1.push(res.data.data.startTime) + this.value1.push(res.data.data.endTime) }) - }) }, // 鐐瑰嚮娣诲姞 -- Gitblit v1.9.1