From d08e279164d32e6b7c6dbf28eb3c58b66e1e2bc8 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Wed, 1 Apr 2020 14:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E4=B9=9D?= =?UTF-8?q?=E5=AE=AB=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/workRecord/dailyrecordinfo.vue | 7 ++-- .../workRecord/dailyrecordinfoDetail.vue | 42 +++++++++++++++---- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/views/modules/workRecord/dailyrecordinfo.vue b/src/views/modules/workRecord/dailyrecordinfo.vue index 02fa9989..93ea64e2 100644 --- a/src/views/modules/workRecord/dailyrecordinfo.vue +++ b/src/views/modules/workRecord/dailyrecordinfo.vue @@ -77,7 +77,8 @@ @@ -150,9 +151,9 @@ export default { e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '') this.dataForm.createdBy = e.target.value }, - addHandle (id) { + addHandle (id, disabled) { this.$parent.selectComponent = 'DailyrecordinfoDetail' - this.$router.push({ path: '/workRecord-dailyrecordinforoute', query: { id: id } }) + this.$router.push({ path: '/workRecord-dailyrecordinforoute', query: { id: id, disabled: disabled } }) }, // 随手记类型取值变化事件 selectModel (event) { diff --git a/src/views/modules/workRecord/dailyrecordinfoDetail.vue b/src/views/modules/workRecord/dailyrecordinfoDetail.vue index 0692bee2..4b2e00a0 100644 --- a/src/views/modules/workRecord/dailyrecordinfoDetail.vue +++ b/src/views/modules/workRecord/dailyrecordinfoDetail.vue @@ -1,11 +1,13 @@