fix: 更新API端点IP地址从192.168.15.56到192.168.15.60
将多个API请求的IP地址从192.168.15.56更新为192.168.15.60,确保应用连接到正确的后端服务
This commit is contained in:
@@ -67,7 +67,7 @@ export const getDetailedDataTable = (params) => {
|
||||
|
||||
// 下发任务 /api/v1/level_five/overview/assign_tasks
|
||||
export const assignTasks = (params) => {
|
||||
return https.post('http://192.168.15.56:8890/api/v1/level_five/overview/assign_tasks', params)
|
||||
return https.post('http://192.168.15.60:8890/api/v1/level_five/overview/assign_tasks', params)
|
||||
}
|
||||
// 获取优秀录音文件 /api/v1/level_four/overview/get_excellent_record_file
|
||||
export const getExcellentRecordFile = (params) => {
|
||||
|
||||
@@ -122,7 +122,7 @@ const formatDueDate = (dateStr) => {
|
||||
// 获取任务列表
|
||||
const getTaskList = async () => {
|
||||
try {
|
||||
const res = await axios.post('http://192.168.15.56:8890/api/v1/level_five/overview/view_tasks', {}, {
|
||||
const res = await axios.post('http://192.168.15.60:8890/api/v1/level_five/overview/view_tasks', {}, {
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + localStorage.getItem('token')
|
||||
}
|
||||
@@ -149,7 +149,7 @@ const changeTaskStatus = (task) => {
|
||||
// 修改任务状态 http://192.168.15.56:8890/api/v1/level_four/overview/update_task_state
|
||||
const updateTaskState = async (taskId, state) => {
|
||||
try {
|
||||
const res = await axios.put('http://192.168.15.56:8890/api/v1/level_four/overview/update_task_state', {
|
||||
const res = await axios.put('http://192.168.15.60:8890/api/v1/level_four/overview/update_task_state', {
|
||||
task_ids: [taskId],
|
||||
new_state: state
|
||||
}, {
|
||||
|
||||
@@ -189,7 +189,7 @@ const newTask = reactive({
|
||||
// 获取任务列表
|
||||
const getTaskList = async () => {
|
||||
try {
|
||||
const res = await axios.post('http://192.168.15.56:8890/api/v1/level_five/overview/view_tasks', {}, {
|
||||
const res = await axios.post('http://192.168.15.60:8890/api/v1/level_five/overview/view_tasks', {}, {
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + localStorage.getItem('token')
|
||||
}
|
||||
@@ -286,7 +286,7 @@ const assigneeOptions = ref([]);
|
||||
async function name() {
|
||||
try {
|
||||
console.log('开始获取下属人员列表...');
|
||||
const res = await axios.get('http://192.168.15.56:8890/api/v1/level_five/overview/get_subordinates',{
|
||||
const res = await axios.get('http://192.168.15.60:8890/api/v1/level_five/overview/get_subordinates',{
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + localStorage.getItem('token')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user