提交
This commit is contained in:
@@ -31,4 +31,29 @@ export function submitTest(data) {
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export function testTotal(data) {
|
||||
return request({
|
||||
url: 'driver-api/tdQuestionTest/testTotal',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
//获取配置
|
||||
export function querySysConfigList(carTypeId,configKey) {
|
||||
return request({
|
||||
url: 'driver-api/tdSysConfigList/querySysConfigList?configKey='+configKey+'&carTypeId='+carTypeId,
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
//获取项目列表 (考试项目和基础操作)
|
||||
export function queryProjectList(data) {
|
||||
return request({
|
||||
url: 'driver-api/tdTestProject/queryProjectList',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -62,12 +62,11 @@ const useUserStore = defineStore({
|
||||
storage.remove('userInfo')
|
||||
},
|
||||
// 查询当前用户的vip开通情况
|
||||
searchUserVip() {
|
||||
queryVip({ carTypeId: this.currentCartype,memberId: null, subject:'' }).then(resp => {
|
||||
async searchUserVip() {
|
||||
const resp=await queryVip({ carTypeId: this.currentCartype,memberId: null, subject:'' })
|
||||
if(resp.code == '0000') {
|
||||
this.vipOnList = resp.data
|
||||
}
|
||||
})
|
||||
},
|
||||
// 查询所有的vip
|
||||
queryVipList() {
|
||||
|
||||
Reference in New Issue
Block a user