后台管理—能力统计,导出 按钮样式更改
This commit is contained in:
parent
d8a08c6470
commit
02925c3282
|
@ -45,28 +45,27 @@
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<span v-if="this.departmentId === 1 || this.departmentId === 3">上架部门:</span>
|
<span v-if="this.departmentId === 1 || this.departmentId === 3">上架部门:</span>
|
||||||
<span v-else>申请部门:</span>
|
<span v-else>申请部门:</span>
|
||||||
<el-select
|
<el-select v-model="abilityDepartment" placeholder="请选择部门" filterable clearable>
|
||||||
v-model="abilityDepartment"
|
|
||||||
placeholder="请选择部门"
|
|
||||||
filterable
|
|
||||||
clearable
|
|
||||||
>
|
|
||||||
<el-option label="全部" value=""></el-option>
|
<el-option label="全部" value=""></el-option>
|
||||||
<el-option v-for="item in departmentSelects" :key="item.label" :label="item.label" :value="item.value" v-bind="item"></el-option>
|
<el-option v-for="item in departmentSelects" :key="item.label" :label="item.label" :value="item.value"
|
||||||
|
v-bind="item"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<!--类型-->
|
<!--类型-->
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<span>类型:</span>
|
<span>类型:</span>
|
||||||
<el-select v-if="this.departmentId === 2 || this.departmentId === 4" v-model="abilityType" placeholder="请选择类型" clearable>
|
<el-select v-if="this.departmentId === 2 || this.departmentId === 4" v-model="abilityType" placeholder="请选择类型"
|
||||||
|
clearable>
|
||||||
<el-option label="全部" value=""></el-option>
|
<el-option label="全部" value=""></el-option>
|
||||||
<el-option v-for="(item, i) in typeOptions" :key="`${item.name}${i}`" :label="item.name" :value="item.name" v-bind="item">
|
<el-option v-for="(item, i) in typeOptions" :key="`${item.name}${i}`" :label="item.name" :value="item.name"
|
||||||
|
v-bind="item">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-select v-else v-model="abilityType" placeholder="请选择类型" clearable>
|
<el-select v-else v-model="abilityType" placeholder="请选择类型" clearable>
|
||||||
<el-option label="全部" value=""></el-option>
|
<el-option label="全部" value=""></el-option>
|
||||||
<el-option v-for="(item, i) in typeOptions1" :key="`${item.name}${i}`" :label="item.name" :value="item.name" v-bind="item">
|
<el-option v-for="(item, i) in typeOptions1" :key="`${item.name}${i}`" :label="item.name" :value="item.name"
|
||||||
|
v-bind="item">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -82,7 +81,8 @@
|
||||||
}}</el-button>
|
}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 导出 -->
|
<!-- 导出 -->
|
||||||
<a class='export' :href="exportExcel+exportExcelType+'?'+exportExcelCondition+'&token='+token">导出全部</a>
|
<a class='export'
|
||||||
|
:href="exportExcel + exportExcelType + '?' + exportExcelCondition + '&token=' + token">导出全部</a>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-card shadow="never" class="aui-card--fill" v-if="homeIsShow">
|
<el-card shadow="never" class="aui-card--fill" v-if="homeIsShow">
|
||||||
<div class="mod-demand__bsdemand">
|
<div class="mod-demand__bsdemand">
|
||||||
|
@ -117,7 +117,8 @@
|
||||||
能力使用明细
|
能力使用明细
|
||||||
</span> -->
|
</span> -->
|
||||||
<template v-if="detailFlag">
|
<template v-if="detailFlag">
|
||||||
<el-checkbox v-model="checked" @change='chagneCheckbox' style="position: absolute;right: 150px;margin-top: -15px;">隐藏空数据</el-checkbox>
|
<el-checkbox v-model="checked" @change='chagneCheckbox'
|
||||||
|
style="position: absolute;right: 150px;margin-top: -15px;">隐藏空数据</el-checkbox>
|
||||||
<span class="detail-button" @click="goToDetail()">
|
<span class="detail-button" @click="goToDetail()">
|
||||||
明细
|
明细
|
||||||
</span>
|
</span>
|
||||||
|
@ -168,13 +169,9 @@
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--明细表-->
|
<!--明细表-->
|
||||||
|
|
||||||
<el-table
|
<el-table :data="tableData" :header-cell-style="{ textAlign: 'center', height: '96px' }"
|
||||||
:data="tableData"
|
:cell-style="{ textAlign: 'center' }" style="width: 100%"
|
||||||
:header-cell-style="{ textAlign: 'center',height:'96px' }"
|
v-show="this.departmentId === 3 || this.departmentId === 4">
|
||||||
:cell-style="{ textAlign: 'center' }"
|
|
||||||
style="width: 100%"
|
|
||||||
v-show="this.departmentId === 3 || this.departmentId === 4"
|
|
||||||
>
|
|
||||||
<el-table-column v-if="this.departmentId === 3" prop="deptName" label="上架部门" min-width="100%">
|
<el-table-column v-if="this.departmentId === 3" prop="deptName" label="上架部门" min-width="100%">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column v-if="this.departmentId === 4" prop="deptName" label="申请部门" min-width="100%">
|
<el-table-column v-if="this.departmentId === 4" prop="deptName" label="申请部门" min-width="100%">
|
||||||
|
@ -1159,24 +1156,16 @@ input::placeholder {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid #dcdfe6;
|
border: 1px solid #dcdfe6;
|
||||||
color: #000;
|
color: #000;
|
||||||
|
color: #FFF;
|
||||||
|
background-color: #0058e1;
|
||||||
|
border-color: #0058e1;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.export:hover {
|
.export:hover {
|
||||||
border-color: #c5ddfd;
|
background: #65a5f9;
|
||||||
background-color: #ecf4fe;
|
border-color: #65a5f9;
|
||||||
color: #0058e1;
|
color: #FFF;
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.export:active {
|
|
||||||
border-color: #c5ddfd;
|
|
||||||
background-color: #ecf4fe;
|
|
||||||
color: #0058e1;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.export:visited {
|
|
||||||
color: #fff;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue