|
@@ -6,7 +6,7 @@
|
|
|
ref="searchForm"
|
|
|
@submit="search"
|
|
|
@reset="onReSet"
|
|
|
- saveKey="/main/main/teamSchedule"
|
|
|
+ saveKey="indexErrDataRecord-historyError"
|
|
|
>
|
|
|
<el-form-item prop="organIds">
|
|
|
<el-select
|
|
@@ -40,7 +40,7 @@
|
|
|
<el-form-item>
|
|
|
<el-button native-type="submit" type="primary">搜索</el-button>
|
|
|
<el-button native-type="reset" type="danger">重置</el-button>
|
|
|
- <el-button type="primary">导出</el-button>
|
|
|
+ <el-button type="primary" v-if="permission('export/exportIndexHistoryErrData')" @click="exportIndexErr">导出</el-button>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
<el-table
|
|
@@ -70,7 +70,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.musicPatrolItemSurplus?scope.row.musicPatrolItemSurplus:'--'}} / {{ scope.row.musicPatrolItem?scope.row.musicPatrolItem:'--'}}
|
|
|
+ {{ scope.row.musicPatrolItemSurplus?scope.row.musicPatrolItemSurplus:'0'}} / {{ scope.row.musicPatrolItem?scope.row.musicPatrolItem:'0'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -81,7 +81,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.inspectionItemPlanSurplus?scope.row.inspectionItemPlanSurplus:'--'}} / {{ scope.row.inspectionItemPlan?scope.row.inspectionItemPlan:'--'}}
|
|
|
+ {{ scope.row.inspectionItemPlanSurplus?scope.row.inspectionItemPlanSurplus:'0'}} / {{ scope.row.inspectionItemPlan?scope.row.inspectionItemPlan:'0'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -92,7 +92,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.studentVisitSurplus?scope.row.studentVisitSurplus:'--'}} / {{ scope.row.studentVisit?scope.row.studentVisit:'--'}}
|
|
|
+ {{ scope.row.studentVisitSurplus?scope.row.studentVisitSurplus:'0'}} / {{ scope.row.studentVisit?scope.row.studentVisit:'0'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -104,7 +104,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.teacherExceptionAttendanceSurplus?scope.row.teacherExceptionAttendanceSurplus:'--'}} / {{scope.row.teacherExceptionAttendance?scope.row.teacherExceptionAttendance:'--'}}
|
|
|
+ {{ scope.row.teacherExceptionAttendanceSurplus?scope.row.teacherExceptionAttendanceSurplus:'0'}} / {{scope.row.teacherExceptionAttendance?scope.row.teacherExceptionAttendance:'0'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -117,7 +117,7 @@
|
|
|
<div
|
|
|
|
|
|
>
|
|
|
- {{ scope.row.teacherNotAClassSurplus?scope.row.teacherNotAClassSurplus:'-'+'/'+ scope.row.teacherNotAClass?scope.row.teacherNotAClass:'-'}}
|
|
|
+ {{ scope.row.teacherNotAClassSurplus?scope.row.teacherNotAClassSurplus:'0'}} / {{ scope.row.teacherNotAClass?scope.row.teacherNotAClass:'0'}}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -125,7 +125,7 @@
|
|
|
<pagination
|
|
|
sync
|
|
|
:total.sync="rules.total"
|
|
|
- save-key="teamSchedule"
|
|
|
+ saveKey="indexErrDataRecord-historyError"
|
|
|
:page.sync="rules.page"
|
|
|
:limit.sync="rules.limit"
|
|
|
:page-sizes="rules.page_size"
|
|
@@ -140,6 +140,7 @@ import pagination from "@/components/Pagination/index";
|
|
|
import { getIndexErrData } from "../api";
|
|
|
import dayjs from "dayjs";
|
|
|
import { getTimes } from "@/utils";
|
|
|
+import { Export } from "@/utils/downLoadFile";
|
|
|
export default {
|
|
|
props: ["searchType"],
|
|
|
components: { pagination },
|
|
@@ -234,6 +235,14 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
},
|
|
|
+ exportIndexErr(){
|
|
|
+ Export(this, {
|
|
|
+ url: '/api-web/export/exportIndexHistoryErrData',
|
|
|
+ fileName: '首页历史异常统计.xls',
|
|
|
+ method: 'post',
|
|
|
+ params:qs.stringify({...this.searchForm})
|
|
|
+ }, '您确定导出首页历史异常统计?')
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|