任务详情

This commit is contained in:
zmj 2023-12-23 13:38:11 +08:00
parent d3d0f5d7fd
commit e67c693c01
3 changed files with 19 additions and 4 deletions

View File

@ -1,6 +1,6 @@
NODE_ENV = 'development'
# VITE_APP_BASE_URL = 'http://192.168.1.11:8000'
# VITE_APP_BASE_URL = 'http://192.168.1.162:8000'
#
VITE_APP_BASE_URL = 'https://ceshi-worker-task.lihaink.cn'

View File

@ -31,3 +31,9 @@ export function apiTaskDetails(params: any) {
export function getDayTaskList(params: any) {
return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/getDayTaskList', params })
}
//任务日程-详情
export function taskProgress(params: any) {
return request.get({ url: '/adminapi/task/taskProgress', params })
}

View File

@ -48,6 +48,7 @@
<script lang="ts" setup>
import { ref } from 'vue'
import {taskProgress} from "@/api/task"
const dialogVisible = ref(false)
@ -55,6 +56,13 @@ const dialogVisible = ref(false)
const openDeatl = (row) => {
console.log(row)
dialogVisible.value = true
taskProgress({
task_id:4
}).then(res=>{
console.log(res)
})
}
defineExpose({
@ -86,6 +94,7 @@ defineExpose({
.box-card {
width: 100%;
}
.tit {
font-weight: bold;
}