@@ -558,11 +558,23 @@ export default {
case '16'://检索记录
this.searchRecords(row)
break;
+ case '17'://导入导出历史
+ this.importAndExportHistory(row)
+ break;
case 'e'://编辑
this.handleEdit(row)
break
}
},
+ //导入导出历史
+ importAndExportHistory(row){
+ this.$router.push({
+ path: "/taskList",
+ query:{
+ importToId:row.id
+ }
+ });
+ },
//检索记录
searchRecords(row){
this.$router.push({
@@ -30,6 +30,7 @@
<el-dropdown-item command="12" v-if="[3].includes(item.status)">添加追踪报告</el-dropdown-item>
<!-- <el-dropdown-item command="13" v-if="(item.reportType == 7 && [2,3].includes(item.status))">添加无效理由和证据</el-dropdown-item> -->
<el-dropdown-item command="14" v-if="(item.reportType == 7 && [2,3].includes(item.status))">证据文献</el-dropdown-item>
+ <el-dropdown-item command="17" v-if="([1,2,3,7].includes(item.reportType) && [2,3].includes(item.status))">导入导出历史</el-dropdown-item>
<el-dropdown-item command="7" divided style="color: red;">删除 </el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@@ -47,6 +47,7 @@
<el-dropdown-item command="12" v-if="[3].includes(scope.row.status)">添加追踪报告</el-dropdown-item>
<!-- <el-dropdown-item command="13" v-if="(scope.row.reportType == 7 && [2,3].includes(scope.row.status))">添加无效理由和证据</el-dropdown-item> -->
<el-dropdown-item command="14" v-if="(scope.row.reportType == 7 && [2,3].includes(scope.row.status))">证据文献</el-dropdown-item>
+ <el-dropdown-item command="17" v-if="([1,2,3,7].includes(scope.row.reportType) && [2,3].includes(scope.row.status))">导入导出历史</el-dropdown-item>