任务操作
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user