代办事项

This commit is contained in:
2023-08-23 17:49:00 +08:00
parent 68621396ad
commit cc7ac29d4d
2 changed files with 36 additions and 36 deletions

View File

@ -1,5 +1,6 @@
<template>
<div v-if="show" style="width:100%;height:100%;background: #F1F5F9;;display: flex;align-items: center;justify-content: center">
<div v-if="show"
style="width:100%;height:100%;background: #F1F5F9;;display: flex;align-items: center;justify-content: center">
<img src="@/assets/empty.png" style="width:65%;">
</div>
<div class="wrap" v-else>
@ -23,6 +24,7 @@
<script>
import {getToDoList, toDoAudit} from "@/api/order"
export default {
name: "toDoList",
data() {
@ -37,15 +39,12 @@ export default {
methods: {
async getList() {
let result = await getToDoList();
// if(result.code === 200){
this.todolist = result.data;
if (this.todolist?.length === 0) {
this.show = true
} else {
this.show = false
}
// console.log("this.todolist",this.todolist?.length)
// }
},
async noPass(item) {
let result = await toDoAudit({
@ -68,6 +67,7 @@ export default {
<style scoped lang="scss">
@import "@/styles/mixin.scss";
@import "@/styles/common.scss";
.wrap {
@include wh(100%, 100%);
box-sizing: border-box;