You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.3 KiB
84 lines
1.3 KiB
|
|
import request from "@/utils/request.js"; |
|
// import { host } from './host.js' |
|
|
|
/** |
|
* 登录 |
|
* @param {Object} data |
|
*/ |
|
export function login(data) { |
|
console.log(data); |
|
return request({ |
|
url: `/open/login/verify?phone=${data.phone}&password=${data.password}`, |
|
method: "POST", |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
/** |
|
* 考官考生岗位信息的获取 |
|
* @param {Object} data |
|
*/ |
|
export function station() { |
|
|
|
return request({ |
|
url: `/open/score/station`, |
|
method: "GET", |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
/** |
|
* 查询评分项目 |
|
* @param {Object} data |
|
*/ |
|
export function dradis(data) { |
|
// console.log(data,"shushsud "); |
|
return request({ |
|
url: `/open/score/dradis?examinerId=${data.examinerId}`, |
|
method: "GET", |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
/** |
|
* 考官提交评分 |
|
* @param {Object} data |
|
*/ |
|
export function submit(data) { |
|
console.log(data); |
|
return request({ |
|
url: `/open/score/submit`, |
|
method: "POST", |
|
data, |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
/** |
|
* 查看历史评分 |
|
* @param {Object} data |
|
*/ |
|
export function historyScore(data) { |
|
console.log(data); |
|
return request({ |
|
url: `/open/score/historyScore`, |
|
method: "GET", |
|
data, |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
/** |
|
* 查看考评要素 |
|
* @param {Object} data |
|
*/ |
|
export function factor(data) { |
|
|
|
return request({ |
|
url: `/open/score/factor`, |
|
method: "GET", |
|
isAuthorization:true |
|
}); |
|
} |
|
|
|
|