From 0f314483b6aa60bc1dd62668570abe68680080a4 Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Mon, 18 Mar 2024 11:29:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home/filter.ts | 4 ++-- src/views/final/comp/CustomTabelModal.vue | 1 - .../home/aside/comp/modals/CustomFilterModal.vue | 2 -- src/views/task/aside/Aside.vue | 5 ++++- src/views/task/aside/ListItem.vue | 13 ++++++++----- src/views/task/aside/TaskList.vue | 6 +++--- src/views/task/content/PictureTable.vue | 8 ++++---- src/views/task/content/TaskTable.vue | 6 +++--- src/views/task/modal/CustomFieldModal.vue | 8 ++++---- src/views/worksheet/aside/WorkSheetList.vue | 6 +++--- 10 files changed, 31 insertions(+), 28 deletions(-) diff --git a/src/api/home/filter.ts b/src/api/home/filter.ts index 61b0845..700f482 100644 --- a/src/api/home/filter.ts +++ b/src/api/home/filter.ts @@ -164,11 +164,11 @@ export async function sort(searchid: string, reorder: number): Promise { * * @returns */ - export async function savefield(reviewType: number,userId:string,userField:string): Promise { + export async function savefield(reviewType: number,userId:string,userFieldFixed:string,userFieldUnFixed:string=''): Promise { return http.request({ url: `/ocr/user/field/saveOrUpdate`, method: 'POST', - params: { reviewType,userId,userField}, + params: { reviewType,userId,userFieldFixed,userFieldUnFixed}, }) } diff --git a/src/views/final/comp/CustomTabelModal.vue b/src/views/final/comp/CustomTabelModal.vue index fa7238e..4448f41 100644 --- a/src/views/final/comp/CustomTabelModal.vue +++ b/src/views/final/comp/CustomTabelModal.vue @@ -31,7 +31,6 @@ onMounted(async()=>{ const allList = res.data; res = await getfieldList(props.reviewType, userInfo.id); //当前用户选择的项目 const useList = res.data; - console.log(allList,useList,'useList') /** * name 标题 * id 键值 diff --git a/src/views/home/aside/comp/modals/CustomFilterModal.vue b/src/views/home/aside/comp/modals/CustomFilterModal.vue index 1466235..5d89737 100644 --- a/src/views/home/aside/comp/modals/CustomFilterModal.vue +++ b/src/views/home/aside/comp/modals/CustomFilterModal.vue @@ -251,11 +251,9 @@ const rightInputHandler = debounce((keyword) => { async function getfield(){ let res; res = await getAllfieldList(3) - console.log(res,'getAllfieldList') const userStore = useUser(); const userInfo = userStore.getUserInfo; res = await getfieldList(3,userInfo.id) - console.log(res,'res') } onMounted(()=>{ diff --git a/src/views/task/aside/Aside.vue b/src/views/task/aside/Aside.vue index 0520923..1a90839 100644 --- a/src/views/task/aside/Aside.vue +++ b/src/views/task/aside/Aside.vue @@ -2,6 +2,9 @@ import { useTaskStore } from '@/store/modules/task'; import { debounce } from 'lodash-es'; import { computed, ref, unref, watch } from 'vue'; +import CustomFieldModal from '../../worksheet/modal/CustomFieldModal.vue'; + + import TaskList from './TaskList.vue'; const CustomFieldModalRef = ref(null) @@ -84,7 +87,7 @@ const inputHandler = debounce((word) => { - + diff --git a/src/views/task/aside/ListItem.vue b/src/views/task/aside/ListItem.vue index aa1cb51..faeea6d 100644 --- a/src/views/task/aside/ListItem.vue +++ b/src/views/task/aside/ListItem.vue @@ -1,5 +1,6 @@