From 6110bd286f1574efcdff59256666287762d978ea Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Sat, 14 Sep 2024 17:03:37 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E5=B9=B4=E5=BA=A6=E6=AF=94?= =?UTF-8?q?=E8=B5=9B=E9=A1=B9=E7=9B=AE=E8=B5=9B=E7=A8=8B=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=9B=9E=E5=86=99=E9=97=AE=E9=A2=98'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../committee/AnnualCompPointList.vue | 4 ++++ .../components/AnnualCompPointFormscgl.vue | 20 +++++++++---------- .../committee/components/cardItem.vue | 5 +++++ 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue index e2a634d3..1a1b421b 100644 --- a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue +++ b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue @@ -134,6 +134,8 @@ */ const handleDetail = (record) => { registerModal.value.disableSubmit = true; + console.log(record.value,'record.value', raceList.value); + registerModal.value.edit(record.value); }; /** @@ -142,6 +144,8 @@ const registerModalscgl = ref(); const handleEditscgl = (record) => { registerModalscgl.value.disableSubmit = false; + console.log(record.value,'record.value'); + registerModalscgl.value.edit(record.value); }; /** diff --git a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointFormscgl.vue b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointFormscgl.vue index 0050dd72..d4c8e713 100644 --- a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointFormscgl.vue +++ b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/AnnualCompPointFormscgl.vue @@ -328,16 +328,16 @@ function add() { function edit(record) { nextTick(() => { resetFields(); - record.applyStartTime=''; - record.applyStartTime=''; - record.applyEndTime=''; - record.topicStartTime=''; - record.topicEndTime=''; - record.uploadStartTime=''; - record.uploadEndTime=''; - record.scoreStartTime=''; - record.scoreEndTime=''; - record.uploadWorksType=''; + // record.applyStartTime=''; + // record.applyStartTime=''; + // record.applyEndTime=''; + // record.topicStartTime=''; + // record.topicEndTime=''; + // record.uploadStartTime=''; + // record.uploadEndTime=''; + // record.scoreStartTime=''; + // record.scoreEndTime=''; + // record.uploadWorksType=''; //赋值 Object.assign(formData, record); }); diff --git a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/cardItem.vue b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/cardItem.vue index 3b223e82..9896c93b 100644 --- a/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/cardItem.vue +++ b/jeecgboot-vue3-master/src/views/annualCompPoint/committee/components/cardItem.vue @@ -63,9 +63,12 @@ emits('delChange', data); }; const info = () => { + console.log(data.value,'子'); emits('infoChange', data); }; const editscgl = () => { + console.log(data.value,'子'); + emits('editscglChange', data); }; const updateApply = () => { @@ -126,6 +129,8 @@ watch( () => props.data, (newVal) => { + console.log(newVal,'newVal'); + data.value = newVal; } );