|
@@ -53,9 +53,9 @@
|
|
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="table-operator">
|
|
<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:addLot'" type="primary" icon="plus">新增</a-button>
|
|
|
|
|
+ <a-button @click="showImport" v-has="'task:list:importLot'" type="primary" icon="import">导入客户</a-button>
|
|
|
|
|
+ <a-button type="primary" v-has="'task:list:exportLot'" icon="download" @click="handleExportXls('稽核任务')">导出任务
|
|
|
</a-button>
|
|
</a-button>
|
|
|
<!-- 高级查询区域 -->
|
|
<!-- 高级查询区域 -->
|
|
|
<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
|
|
<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
|
|
@@ -96,36 +96,36 @@
|
|
|
@change="handleTableChange">
|
|
@change="handleTableChange">
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <span v-has="'task:list:edit'">
|
|
|
|
|
|
|
+ <span v-has="'task:list:editLot'">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
<a-divider type="vertical"/>
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
</span>
|
|
|
- <span v-has="'task:list:detail'">
|
|
|
|
|
|
|
+ <span v-has="'task:list:detailLot'">
|
|
|
<a @click="handleDetail(record)">详情</a>
|
|
<a @click="handleDetail(record)">详情</a>
|
|
|
<a-divider type="vertical"/>
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
</span>
|
|
|
- <span v-has="'task:list:detail'">
|
|
|
|
|
|
|
+ <span v-has="'task:list:checkLot'">
|
|
|
<a @click="showCheckList(record)">稽核详情</a>
|
|
<a @click="showCheckList(record)">稽核详情</a>
|
|
|
<a-divider type="vertical"/>
|
|
<a-divider type="vertical"/>
|
|
|
</span>
|
|
</span>
|
|
|
|
|
|
|
|
- <a-dropdown v-has="'task:list:more'">
|
|
|
|
|
|
|
+ <a-dropdown v-has="'task:list:moreLot'">
|
|
|
<a class="ant-dropdown-link">更多<a-icon type="down"/></a>
|
|
<a class="ant-dropdown-link">更多<a-icon type="down"/></a>
|
|
|
<a-menu slot="overlay">
|
|
<a-menu slot="overlay">
|
|
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:start'" v-if="record.taskState == 0">
|
|
|
|
|
|
|
+ <a-menu-item v-has="'task:list:startLot'" v-if="record.taskState == 0">
|
|
|
<a-popconfirm title="确定开始稽核吗?" @confirm="() => checkStart(record)">
|
|
<a-popconfirm title="确定开始稽核吗?" @confirm="() => checkStart(record)">
|
|
|
<a>开始稽核</a>
|
|
<a>开始稽核</a>
|
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:end'" v-if="record.taskState == 1">
|
|
|
|
|
|
|
+ <a-menu-item v-has="'task:list:endLot'" v-if="record.taskState == 1">
|
|
|
<a-popconfirm title="确定结束稽核吗?" @confirm="() => checkEnd(record)">
|
|
<a-popconfirm title="确定结束稽核吗?" @confirm="() => checkEnd(record)">
|
|
|
<a>结束稽核</a>
|
|
<a>结束稽核</a>
|
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
|
|
|
|
|
|
- <a-menu-item v-has="'task:list:delete'">
|
|
|
|
|
|
|
+ <a-menu-item v-has="'task:list:deleteLot'">
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|