任务操作

This commit is contained in:
2023-06-14 13:40:53 +08:00
parent cf3637aa2b
commit b80d5ba4d3

View File

@@ -1,6 +1,6 @@
<template>
<section class="taskmanage">
<div class="con1" v-if="fromShow">
<div class="con1">
<!-- <test-one v-if="currentIndex === 0"></test-one>
<test-two v-if="currentIndex === 1"></test-two>
<test-three v-if="currentIndex === 2"></test-three> -->
@@ -60,7 +60,6 @@ export default {
return {
error: true,
checkShow: true,
fromShow: false,
disabled1: false,
selectObj: {},
selectIndex: '',
@@ -118,6 +117,7 @@ export default {
let res = await queryTaskList()
if (res.code === '1') {
this.dataList = res.result
console.log(this.dataList, '666')
} else {
this.toast(res.desc)
}
@@ -133,6 +133,7 @@ export default {
async updateTask () {
let res = await updateTask(this.dataList)
if (res.code === '1') {
this.toast(res.desc)
this.pkId = ''
this.selectObj = {}
this.initData()