master
lion 3 months ago
parent 878efdb752
commit c69223ed8e

@ -643,7 +643,7 @@ export default {
},
exportStat(stat) {
if (!stat.key) return
if(!stat.value || stat.value == 0){
if(!stat.value){
this.$message.warning('暂无数据可导出')
return
}

@ -11,7 +11,7 @@
<div style="font-size: 24px; font-weight: bold; color: #67C23A;">{{ statistics.company_invested_after_enrollment_total || 0 }}</div>
</div>
<div class="stat-item" style="text-align: center;">
<div style="font-size: 14px; color: #909399; margin-bottom: 8px;">今年被投企业数</div>
<div style="font-size: 14px; color: #909399; margin-bottom: 8px;">当前周期被投企业数</div>
<div style="font-size: 24px; font-weight: bold; color: #E6A23C;">{{ statistics.company_invested_year_total || 0 }}</div>
</div>
</div>
@ -44,6 +44,9 @@
<div>
<el-input v-model="select.company_name" placeholder="请输入企业名称" style="width: 200px;"></el-input>
</div>
<div>
<el-input v-model="select.address" placeholder="请输入企业地址" style="width: 200px;"></el-input>
</div>
<div>
<el-select collapse-tags multiple v-model="select.company_tag" placeholder="请选择企业资质" clearable style="width: 200px;">
<el-option v-for="(item,index) in companiesTags" :key="index" :label="item" :value="item">
@ -90,6 +93,13 @@
clearable
style="width: 100%;">
</el-date-picker>
</div>
<div>
<el-select v-model="select.is_chart" placeholder="课程是否统计" clearable style="width: 150px;">
<el-option label="否" :value="0"></el-option>
<el-option label="是" :value="1"></el-option>
</el-select>
</div>
<div>
@ -343,6 +353,7 @@
return {
select: {
company_name: '',
address: '',
is_yh_invested: '',
company_tag: '',
course_name: '',
@ -352,6 +363,7 @@
course_type_id: '',
course_start_date: '',
course_end_date: '',
is_chart: '',
start_year: '',
end_year: '',
page: 1,
@ -479,8 +491,12 @@
user_name: this.select.user_name,
is_schoolmate: this.select.is_schoolmate !== '' ? this.select.is_schoolmate : '',
course_type_id: this.select.course_type_id,
course_start_date: this.select.course_start_date || '',
course_end_date: this.select.course_end_date || '',
is_chart: this.select.is_chart !== '' && this.select.is_chart !== null ? this.select.is_chart : '',
start_year: this.select.start_year,
end_year: this.select.end_year,
address: this.select.address,
filter: [{
key: 'company_name',
op: 'like',
@ -559,6 +575,7 @@
resetSelect() {
this.select.company_name = ''
this.select.address = ''
this.select.is_yh_invested = ''
this.select.company_tag = ''
this.select.course_name = ''
@ -569,6 +586,7 @@
this.select.course_start_date = ''
this.select.course_end_date = ''
this.courseDateRange = []
this.select.is_chart = ''
this.select.start_year = ''
this.select.end_year = ''
this.select.page = 1
@ -616,8 +634,10 @@
course_type_id: this.select.course_type_id,
course_start_date: this.select.course_start_date,
course_end_date: this.select.course_end_date,
is_chart: this.select.is_chart !== '' && this.select.is_chart !== null ? this.select.is_chart : '',
start_year: this.select.start_year,
end_year: this.select.end_year,
address: this.select.address,
filter: filter
})

Loading…
Cancel
Save