|
@@ -45,6 +45,7 @@
|
|
|
size="medium"
|
|
|
@keyup.enter.native="keyWordSelect"
|
|
|
class="persons_name"
|
|
|
+ :clearable="true"
|
|
|
>
|
|
|
<el-button slot="append" size="medium" icon="el-icon-search" @click='search_box'></el-button>
|
|
|
</el-input>
|
|
@@ -63,7 +64,7 @@
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
- <el-table :data="last" style="width: 100%" v-loading="loading" >
|
|
|
+ <el-table :data="last" style="width: 100%" v-loading="loading">
|
|
|
<el-table-column label="管理者">
|
|
|
<template slot-scope="scope">
|
|
|
<userImage
|
|
@@ -117,9 +118,6 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<center style="padding: 20px 0;">
|
|
|
<el-pagination
|
|
|
background
|
|
@@ -131,7 +129,6 @@
|
|
|
:total="totals"
|
|
|
></el-pagination>
|
|
|
</center>
|
|
|
-
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="奖扣执行对比" name="first">
|
|
|
<el-form :model="formData" :inline="true" ref="formData">
|
|
@@ -265,7 +262,6 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import ECharts from "echarts";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -326,8 +322,7 @@ export default {
|
|
|
}
|
|
|
this.condition.page = 1
|
|
|
this.get_last()
|
|
|
- },
|
|
|
-
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
//情况
|
|
@@ -362,8 +357,8 @@ export default {
|
|
|
search_box(){
|
|
|
this.get_last();
|
|
|
},
|
|
|
- //导出报表
|
|
|
- exportExcel() {
|
|
|
+ //导出报表
|
|
|
+ exportExcel() {
|
|
|
let data = "";
|
|
|
//部门
|
|
|
this.condition.dept_id>0?data+="&rule_id="+ this.condition.dept_id:data+="&rule_id=0"
|
|
@@ -375,14 +370,8 @@ export default {
|
|
|
this.condition.complete!=0?data+="&complete="+this.condition.complete:data+="&complete=0"
|
|
|
//当前页数
|
|
|
data+="&page="+this.condition.page
|
|
|
- window.open(
|
|
|
- process.env.BASE_API +
|
|
|
- "/api/download/prize/list/v4?employee_id="+
|
|
|
- this.$store.getters.user_info.id +
|
|
|
- data,
|
|
|
- "_blank"
|
|
|
- );
|
|
|
- this.dialogVisible = false;
|
|
|
+ window.open(process.env.VUE_APP_BASE_API + "api/download/prize/list/v4?employee_id="+ this.$getUserData().id + data, "_blank");
|
|
|
+ this.dialogVisible = false;
|
|
|
},
|
|
|
//分页选择显示多少条
|
|
|
handleCurrentChange_xq(val) {
|
|
@@ -411,8 +400,7 @@ export default {
|
|
|
} else {
|
|
|
this.$message.error(res.data.data.msg);
|
|
|
}
|
|
|
- })
|
|
|
- .finally(() => {
|
|
|
+ }).finally(() => {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
},
|
|
@@ -423,12 +411,8 @@ export default {
|
|
|
this.detail_show = true;
|
|
|
this.item = row;
|
|
|
this.$nextTick(() => {
|
|
|
- this.situationChart = ECharts.init(
|
|
|
- document.getElementById("situationChart")
|
|
|
- );
|
|
|
- this.passengersChart = ECharts.init(
|
|
|
- document.getElementById("passengersChart")
|
|
|
- );
|
|
|
+ this.situationChart =this.$echarts.init( document.getElementById("situationChart"));
|
|
|
+ this.passengersChart = this.$echarts.init( document.getElementById("passengersChart"));
|
|
|
});
|
|
|
this.getData(() => (this.echart_loading = false));
|
|
|
this.getDataV1(() => (this.personalData_loading = false));
|
|
@@ -573,8 +557,8 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getDepartment();
|
|
|
- // this.get_list();
|
|
|
- // this.get_last();
|
|
|
+ this.get_list();
|
|
|
+ this.get_last();
|
|
|
},
|
|
|
};
|
|
|
</script>
|