From 6c92d0f778541984af796ded8880030c3a09959d Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Mon, 6 Dec 2021 11:16:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E9=85=8D=E8=AF=BE=E9=A2=98?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=AD=90=E6=8C=87=E6=A0=87=E7=88=B6=E6=8C=87?= =?UTF-8?q?=E6=A0=87=E4=B9=9F=E8=A6=81=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tall/task/AssignmentSubject.vue | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/src/components/tall/task/AssignmentSubject.vue b/src/components/tall/task/AssignmentSubject.vue index c8351d8..6c51e1e 100644 --- a/src/components/tall/task/AssignmentSubject.vue +++ b/src/components/tall/task/AssignmentSubject.vue @@ -61,16 +61,24 @@ 软著 - SCI论文 + + SCI论文 + - 发明专利 + + 发明专利 + - 实用新型 + + 实用新型 + - 外观专利 + + 外观专利 + @@ -166,6 +174,20 @@ function addMilestones() { }); } +const handleChange = (e, data) => { + if (e.target.checked) { + if (e.target.value === '4') { + if (data.checkContent.indexOf('1') === -1) { + data.checkContent.push('1'); + } + } else if (e.target.value === '5' || e.target.value === '6' || e.target.value === '7') { + if (data.checkContent.indexOf('2') === -1) { + data.checkContent.push('2'); + } + } + } +}; + const handleSearch = async value => { console.log('handleSearch', options.value, value); // await getList(value); // 获取成员列表