任务详情

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

@ -30,4 +30,10 @@ 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

@ -13,8 +13,8 @@
<div> <span class="tit">判定条件</span> 飞过的痕迹的咖啡馆很快就会大幅回升的科技孵化的身份可视对讲回复低功耗的付款就更好的付款计划大幅回升的开发</div>
<div style="margin-top: 1vh;" class="tit">任务进度
<el-progress :text-inside="true" color="#67C23A" :stroke-width="20" :percentage="70" />
<el-progress :text-inside="true" color="#67C23A" :stroke-width="20" :percentage="70" />
</div>
<!-- <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
<template #footer>Footer content</template> -->
@ -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,7 +94,8 @@ defineExpose({
.box-card {
width: 100%;
}
.tit{
.tit {
font-weight: bold;
}
</style>