Commit fb4cced3 by 杨明

fixed

1 parent f4dd09a6
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<GLTable v-show="taskNum != 0" @setTableFinishFun="setTableFinishFun" :noDataImg="url" ref="taskForm" :searchForm="searchForm" :getListApi="getListApi" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable v-show="taskNum != 0" @setTableFinishFun="setTableFinishFun" :noDataImg="url" ref="taskForm" :searchForm="searchForm" :getListApi="getListApi" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="handleDel(scope.scope)" v-if="scope.scope.taskStatus == 1">删除</el-button> <el-button type="text" @click="handleDel(scope.scope)" v-if="scope.scope.taskStatus == 1">删除</el-button>
<el-button type="text" @click="goDetail(scope.scope)">详情</el-button> <el-button type="text" @click="goDetail(scope.scope)" v-if="scope.scope.taskStatus != 1">详情</el-button>
<el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.taskStatus == 1">编辑</el-button> <el-button type="text" @click="handleAdd(scope.scope)" v-if="scope.scope.taskStatus == 1">编辑</el-button>
</div> </div>
<template slot="taskStatus" slot-scope="scope"> <template slot="taskStatus" slot-scope="scope">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!