|
|
@@ -53,15 +53,15 @@
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="table-operator">
|
|
|
- <a-button @click="handleAdd" v-has="'task:list:add'" type="primary" icon="plus">新增</a-button>
|
|
|
- <a-button @click="showImport" v-has="'task:list:import'" type="primary" icon="import">导入客户</a-button>
|
|
|
- <a-button type="primary" v-has="'task:list:export'" icon="download" @click="handleExportXls('稽核任务')">导出任务
|
|
|
+ <a-button @click="handleAdd" v-has="'task:list:addTruck'" type="primary" icon="plus">新增</a-button>
|
|
|
+ <a-button @click="showImport" v-has="'task:list:importTruck'" type="primary" icon="import">导入客户</a-button>
|
|
|
+ <a-button type="primary" v-has="'task:list:exportTruck'" icon="download" @click="handleExportXls('稽核任务')">导出任务
|
|
|
</a-button>
|
|
|
<!-- 高级查询区域 -->
|
|
|
<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<a-menu slot="overlay">
|
|
|
- <a-menu-item key="1" @click="batchDel" v-has="'task:list:delete'">
|
|
|
+ <a-menu-item key="1" @click="batchDel" v-has="'task:list:deleteTruck'">
|
|
|
<a-icon type="delete"/>
|
|
|
删除
|
|
|
</a-menu-item>
|
|
|
@@ -103,37 +103,37 @@
|
|
|
</span>
|
|
|
|
|
|
|
|
|
- <span v-has="'task:list:edit'">
|
|
|
+ <span v-has="'task:list:editTruck'">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
|
|
|
|
- <span v-has="'task:list:detail'">
|
|
|
+ <span v-has="'task:list:detailTruck'">
|
|
|
<a @click="handleDetail(record)">详情</a>
|
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
|
- <span v-has="'task:list:detail'">
|
|
|
+ <span v-has="'task:list:detailTruckCheck'">
|
|
|
<a @click="showCheckList(record)">稽核详情</a>
|
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
|
|
|
|
- <a-dropdown v-has="'task:list:more'">
|
|
|
+ <a-dropdown v-has="'task:list:moreTruck'">
|
|
|
<a class="ant-dropdown-link">更多<a-icon type="down"/></a>
|
|
|
<a-menu slot="overlay">
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:start'" v-if="record.taskState == 0">
|
|
|
+ <a-menu-item v-has="'task:list:startTruck'" v-if="record.taskState == 0">
|
|
|
<a-popconfirm title="确定开始稽核吗?" @confirm="() => checkStart(record)">
|
|
|
<a>开始稽核</a>
|
|
|
</a-popconfirm>
|
|
|
</a-menu-item>
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:end'" v-if="record.taskState == 1">
|
|
|
+ <a-menu-item v-has="'task:list:endTruck'" v-if="record.taskState == 1">
|
|
|
<a-popconfirm title="确定结束稽核吗?" @confirm="() => checkEnd(record)">
|
|
|
<a>结束稽核</a>
|
|
|
</a-popconfirm>
|
|
|
</a-menu-item>
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:delete'">
|
|
|
+ <a-menu-item v-has="'task:list:deleteTruck'">
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|