Commit 1b4783c17daabb27a39d336b1daf611f914857b9

Authored by 谭毅彬
1 parent 4ca0d91b

任务详情不允许新增

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/task/TaskDetailList.vue
1 1 <template>
2 2 <a-card :bordered="false" :class="'cust-erp-sub-tab'">
3 3 <!-- 操作按钮区域 -->
4   - <div class="table-operator" v-if="mainId">
5   - <a-button @click="handleAdd" v-has="'taskDetail:add'" type="primary" icon="plus">新增</a-button>
  4 + <!-- <div class="table-operator" v-if="mainId"> -->
  5 + <!-- <a-button @click="handleAdd" v-has="'taskDetail:add'" type="primary" icon="plus">新增</a-button> -->
6 6 <!-- <a-button type="primary" icon="download" @click="handleExportXls('任务详情')">导出</a-button>
7 7 <a-upload
8 8 name="file"
... ... @@ -13,7 +13,7 @@
13 13 @change="handleImportExcel">
14 14 <a-button type="primary" icon="import">导入</a-button>
15 15 </a-upload> -->
16   - <a-dropdown v-if="selectedRowKeys.length > 0">
  16 + <!-- <a-dropdown v-if="selectedRowKeys.length > 0">
17 17 <a-menu slot="overlay" v-has="'taskDetail:deleteBatch'">
18 18 <a-menu-item key="1" @click="batchDel">
19 19 <a-icon type="delete"/> 删除
... ... @@ -22,8 +22,8 @@
22 22 <a-button style="margin-left: 8px"> 批量操作
23 23 <a-icon type="down"/>
24 24 </a-button>
25   - </a-dropdown>
26   - </div>
  25 + </a-dropdown> -->
  26 + <!-- </div> -->
27 27  
28 28 <!-- table区域-begin -->
29 29 <div>
... ...