From 3d1db972d5726cf373d6aa2fba826cfd9f758fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Sat, 28 Sep 2024 08:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B09.28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/api/fleet/fleetmember.js | 8 ++++++++ fuintAdmin/src/views/fleet/tab/fleetMember.vue | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fuintAdmin/src/api/fleet/fleetmember.js b/fuintAdmin/src/api/fleet/fleetmember.js index 771790f96..d65253e60 100644 --- a/fuintAdmin/src/api/fleet/fleetmember.js +++ b/fuintAdmin/src/api/fleet/fleetmember.js @@ -35,6 +35,14 @@ export function editFleetMember(data) { data: data }) } +// 修改车队成员额度 +export function editFleetMemberLimit(data) { + return request({ + url: 'fleetMember/editLimitPC', + method: 'put', + data: data + }) +} // 删除车队成员信息 export function deleteFleetMember(id) { diff --git a/fuintAdmin/src/views/fleet/tab/fleetMember.vue b/fuintAdmin/src/views/fleet/tab/fleetMember.vue index ee6971aec..21b1029a7 100644 --- a/fuintAdmin/src/views/fleet/tab/fleetMember.vue +++ b/fuintAdmin/src/views/fleet/tab/fleetMember.vue @@ -456,7 +456,7 @@ import {getToken} from "@/utils/auth"; import {addCertifiedMembers} from "@/api/staff/user/certifiedmember"; import { addFleetMember, - editFleetMember, + editFleetMember, editFleetMemberLimit, getFleetMember, getFleetMemberList, logOffFleetMember @@ -706,7 +706,7 @@ export default { submitForm1: function () { this.$refs["form1"].validate(valid => { if (valid) { - editFleetMember(this.form1).then(res => { + editFleetMemberLimit(this.form1).then(res => { if (res.data == 1) { this.$message.success("修改成功") this.open1 = false