|
|
@ -51,6 +51,7 @@
|
|
|
|
class="search_right_input"
|
|
|
|
class="search_right_input"
|
|
|
|
placeholder="输入企业名称"
|
|
|
|
placeholder="输入企业名称"
|
|
|
|
v-model="search_company"
|
|
|
|
v-model="search_company"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
<el-button @click="search" icon="el-icon-search"></el-button>
|
|
|
|
<el-button @click="search" icon="el-icon-search"></el-button>
|
|
|
@ -68,7 +69,6 @@
|
|
|
|
@size-change="handleSizeChange"
|
|
|
|
@size-change="handleSizeChange"
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
:page-sizes="[5, 10]"
|
|
|
|
:page-sizes="[5, 10]"
|
|
|
|
:pager-count="5"
|
|
|
|
|
|
|
|
:page-size="pageSize"
|
|
|
|
:page-size="pageSize"
|
|
|
|
:current-page="pageNum"
|
|
|
|
:current-page="pageNum"
|
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
@ -114,8 +114,8 @@ export default {
|
|
|
|
label: "年度",
|
|
|
|
label: "年度",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
jump_params:{}, // 跳转时携带入参
|
|
|
|
jump_params: {}, // 跳转时携带入参
|
|
|
|
show_value:'',
|
|
|
|
show_value: "",
|
|
|
|
table_data: [],
|
|
|
|
table_data: [],
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
@ -148,7 +148,7 @@ export default {
|
|
|
|
} else if (val === "season") {
|
|
|
|
} else if (val === "season") {
|
|
|
|
this.search_date = "2";
|
|
|
|
this.search_date = "2";
|
|
|
|
// date_select选中season的时候就会触发get_season_param
|
|
|
|
// date_select选中season的时候就会触发get_season_param
|
|
|
|
console.log('this.statistics_date_2',this.statistics_date);
|
|
|
|
console.log("this.statistics_date_2", this.statistics_date);
|
|
|
|
} else if (val === "year") {
|
|
|
|
} else if (val === "year") {
|
|
|
|
this.search_date = "3";
|
|
|
|
this.search_date = "3";
|
|
|
|
this.statistics_date = this.year_date = `${year}`;
|
|
|
|
this.statistics_date = this.year_date = `${year}`;
|
|
|
@ -160,19 +160,19 @@ export default {
|
|
|
|
console.log("month", val);
|
|
|
|
console.log("month", val);
|
|
|
|
this.statistics_date = val; // 查询statisticsDate赋值
|
|
|
|
this.statistics_date = val; // 查询statisticsDate赋值
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getValue(val,value) {
|
|
|
|
getValue(val, value) {
|
|
|
|
// 日历季度选择
|
|
|
|
// 日历季度选择
|
|
|
|
console.log("val123", val);
|
|
|
|
console.log("val123", val);
|
|
|
|
console.log("val123", value);
|
|
|
|
console.log("val123", value);
|
|
|
|
this.statistics_date = val.date; // 查询statisticsDate赋值
|
|
|
|
this.statistics_date = val.date; // 查询statisticsDate赋值
|
|
|
|
this.show_value = value
|
|
|
|
this.show_value = value;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// date_select选中season的时候就会触发
|
|
|
|
// date_select选中season的时候就会触发
|
|
|
|
get_season_param(param,val) {
|
|
|
|
get_season_param(param, val) {
|
|
|
|
console.log('param_sss',param);
|
|
|
|
console.log("param_sss", param);
|
|
|
|
console.log('val_Sss',val);
|
|
|
|
console.log("val_Sss", val);
|
|
|
|
this.statistics_date = param;
|
|
|
|
this.statistics_date = param;
|
|
|
|
this.show_value = val
|
|
|
|
this.show_value = val;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
year_change(val) {
|
|
|
|
year_change(val) {
|
|
|
|
// 日历年度选择
|
|
|
|
// 日历年度选择
|
|
|
@ -199,7 +199,7 @@ export default {
|
|
|
|
showValue: this.show_value,
|
|
|
|
showValue: this.show_value,
|
|
|
|
scoreType: this.date_state,
|
|
|
|
scoreType: this.date_state,
|
|
|
|
statisticsDate: this.statistics_date,
|
|
|
|
statisticsDate: this.statistics_date,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
getSafeCompany(params)
|
|
|
|
getSafeCompany(params)
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
this.table_data = res.rows;
|
|
|
|
this.table_data = res.rows;
|
|
|
@ -332,35 +332,38 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-input__inner {
|
|
|
|
.el-input__inner {
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
border: 0.1px solid #277f79;
|
|
|
|
border: 0.1px solid #28847e;
|
|
|
|
background: #3c4b4a;
|
|
|
|
background: #3c4b4a;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-prev {
|
|
|
|
.btn-prev {
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
border: 0.1px solid #277f79;
|
|
|
|
border: 0.1px solid #28847e;
|
|
|
|
background: #3c4b4a;
|
|
|
|
background: #3c4b4a;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
li {
|
|
|
|
border: 0.1px solid #277f79;
|
|
|
|
border: 0.1px solid #28847e;
|
|
|
|
background: #3c4b4a;
|
|
|
|
background: #3c4b4a;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn-next {
|
|
|
|
.btn-next {
|
|
|
|
border: 0.1px solid #277f79;
|
|
|
|
border: 0.1px solid #28847e;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
background: #3c4b4a;
|
|
|
|
background: #3c4b4a;
|
|
|
|
color: #fff;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-pager {
|
|
|
|
.el-pager {
|
|
|
|
li {
|
|
|
|
li {
|
|
|
|
border: 0.1px solid #34a6a6;
|
|
|
|
border: 0.1px solid #28847e;
|
|
|
|
background: #3c4b4a !important;
|
|
|
|
background: #3c4b4a !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/deep/.el-pagination.is-background .el-pager li:not(.disabled).active {
|
|
|
|
|
|
|
|
border: 2px solid #76eae4;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|