任务详情
This commit is contained in:
parent
d3d0f5d7fd
commit
e67c693c01
@ -1,6 +1,6 @@
|
|||||||
NODE_ENV = 'development'
|
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'
|
VITE_APP_BASE_URL = 'https://ceshi-worker-task.lihaink.cn'
|
||||||
|
|
||||||
|
@ -31,3 +31,9 @@ export function apiTaskDetails(params: any) {
|
|||||||
export function getDayTaskList(params: any) {
|
export function getDayTaskList(params: any) {
|
||||||
return request.get({ url: '/task_scheduling_plan.task_scheduling_plan/getDayTaskList', params })
|
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 })
|
||||||
|
}
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<div style="margin-top: 1vh;" class="tit">任务进度:
|
<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>
|
||||||
<!-- <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
|
<!-- <div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
|
||||||
<template #footer>Footer content</template> -->
|
<template #footer>Footer content</template> -->
|
||||||
@ -48,6 +48,7 @@
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
|
import {taskProgress} from "@/api/task"
|
||||||
|
|
||||||
const dialogVisible = ref(false)
|
const dialogVisible = ref(false)
|
||||||
|
|
||||||
@ -55,6 +56,13 @@ const dialogVisible = ref(false)
|
|||||||
const openDeatl = (row) => {
|
const openDeatl = (row) => {
|
||||||
console.log(row)
|
console.log(row)
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
|
taskProgress({
|
||||||
|
task_id:4
|
||||||
|
}).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
@ -86,7 +94,8 @@ defineExpose({
|
|||||||
.box-card {
|
.box-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.tit{
|
|
||||||
|
.tit {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user