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:
2025-08-22 10:04:17 +08:00
parent 350a065863
commit 8b63ab6123
3 changed files with 5 additions and 5 deletions

View File

@@ -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) => {

View File

@@ -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
}, {

View File

@@ -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')
}