diff --git a/public/favicon.ico b/public/favicon.ico index 5a7de08..b72b5ec 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/api/school/sch/index.js b/src/api/school/sch/index.js index 6f82a9e..05e21b7 100644 --- a/src/api/school/sch/index.js +++ b/src/api/school/sch/index.js @@ -24,10 +24,10 @@ export const deleteSchool = async (id) => { return await request.delete({ url: '/admin-api/crm/sch-school/delete?id=' + id }) } -export const updateSchoolStatus = async (id, status) => { +export const updateSchoolStatus = async (schoolId, status) => { const data = { - id, + schoolId, status } - return request.put({ url: '/admin-api/crm/sch-school/update-status', data: data }) + return request.put({ url: '/admin-api/crm/sch-school/status/update', data: data }) } diff --git a/src/views/Clue/Pool/Comp/DialogClue.vue b/src/views/Clue/Pool/Comp/DialogClue.vue index 9eae359..69fca4e 100644 --- a/src/views/Clue/Pool/Comp/DialogClue.vue +++ b/src/views/Clue/Pool/Comp/DialogClue.vue @@ -7,7 +7,7 @@ 新增跟进人 - + - + + + + @@ -304,6 +314,7 @@ async function handleSave() { function handleAppendFollow() { followList.value.push({ userId: undefined, + content: undefined, nextFollowTime: formatDate(new Date()), editable: true }) diff --git a/src/views/SchoolManagement/School/index.vue b/src/views/SchoolManagement/School/index.vue index bbf4b34..5c65cf5 100644 --- a/src/views/SchoolManagement/School/index.vue +++ b/src/views/SchoolManagement/School/index.vue @@ -140,7 +140,8 @@ async function changeStatus(row) { const text = row.status === CommonStatusEnum.ENABLE ? '启用' : '停用' await message.confirm('确认要"' + text + '""' + row.schoolName + '"驾校吗?') // 发起修改状态 - await api.updateSchoolStatus(row.id, row.status) + await api.updateSchoolStatus(row.schoolId, row.status) + message.success('修改成功') // 刷新列表 await getList() } catch {