更新9.28
This commit is contained in:
parent
6607329517
commit
3d1db972d5
@ -35,6 +35,14 @@ export function editFleetMember(data) {
|
|||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 修改车队成员额度
|
||||||
|
export function editFleetMemberLimit(data) {
|
||||||
|
return request({
|
||||||
|
url: 'fleetMember/editLimitPC',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 删除车队成员信息
|
// 删除车队成员信息
|
||||||
export function deleteFleetMember(id) {
|
export function deleteFleetMember(id) {
|
||||||
|
@ -456,7 +456,7 @@ import {getToken} from "@/utils/auth";
|
|||||||
import {addCertifiedMembers} from "@/api/staff/user/certifiedmember";
|
import {addCertifiedMembers} from "@/api/staff/user/certifiedmember";
|
||||||
import {
|
import {
|
||||||
addFleetMember,
|
addFleetMember,
|
||||||
editFleetMember,
|
editFleetMember, editFleetMemberLimit,
|
||||||
getFleetMember,
|
getFleetMember,
|
||||||
getFleetMemberList,
|
getFleetMemberList,
|
||||||
logOffFleetMember
|
logOffFleetMember
|
||||||
@ -706,7 +706,7 @@ export default {
|
|||||||
submitForm1: function () {
|
submitForm1: function () {
|
||||||
this.$refs["form1"].validate(valid => {
|
this.$refs["form1"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
editFleetMember(this.form1).then(res => {
|
editFleetMemberLimit(this.form1).then(res => {
|
||||||
if (res.data == 1) {
|
if (res.data == 1) {
|
||||||
this.$message.success("修改成功")
|
this.$message.success("修改成功")
|
||||||
this.open1 = false
|
this.open1 = false
|
||||||
|
Loading…
Reference in New Issue
Block a user