dev_2022-04-07
yujialong 3 years ago
parent 22a6b89a53
commit 1c3a628c5c
  1. 32
      src/pages/stat/list/index.vue
  2. 4
      src/setting.js

@ -94,7 +94,7 @@
<el-button type="primary" size="small" @click="exportDatabaseByMonth" v-auth="'/stat/list:月份统计导出'">导出数据</el-button> <el-button type="primary" size="small" @click="exportDatabaseByMonth" v-auth="'/stat/list:月份统计导出'">导出数据</el-button>
</div> </div>
<el-table :data="monthData" class="table" stripe header-align="center" row-key="id" :span-method="objectSpanMethod" @selection-change="handleSelectionChange1"> <el-table :data="monthData" class="month-table" stripe header-align="center" row-key="id" :span-method="objectSpanMethod" @selection-change="handleSelectionChange1">
<el-table-column type="selection" width="80" align="center"></el-table-column> <el-table-column type="selection" width="80" align="center"></el-table-column>
<el-table-column prop="year" width="80" label="年份" align="center"></el-table-column> <el-table-column prop="year" width="80" label="年份" align="center"></el-table-column>
<el-table-column prop="type" width="80" label="类别" align="center"> <el-table-column prop="type" width="80" label="类别" align="center">
@ -551,22 +551,24 @@ export default {
vertical-align: middle; vertical-align: middle;
background-color: #55D3DE; background-color: #55D3DE;
} }
/deep/.el-table__body-wrapper tr:first-child { /deep/.month-table {
td:nth-child(3) { .el-table__body-wrapper tr:first-child {
border-bottom: 0 !important; td:nth-child(3) {
} border-bottom: 0 !important;
} }
/deep/.el-table__body-wrapper tr:nth-child(2n) {
td:first-child {
border-bottom: 0 !important;
} }
.meta:after { .el-table__body-wrapper tr:nth-child(2n) {
background-color: #7ED321; td:first-child {
border-bottom: 0 !important;
}
.meta:after {
background-color: #7ED321;
}
} }
} .el-table__body-wrapper tr:nth-child(3n) {
.el-table__body-wrapper tr:nth-child(3n) { .meta:after {
.meta:after { background-color: #1A78F6;
background-color: #1A78F6; }
} }
} }
.chart{ .chart{

@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-11-03 14:33:21 * @Date: 2021-11-03 14:33:21
* @LastEditTime: 2021-11-08 16:19:17 * @LastEditTime: 2021-12-03 17:16:44
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js * @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js
@ -24,7 +24,7 @@ const Setting = {
showProgressBar: true, showProgressBar: true,
// 接口请求地址 // 接口请求地址
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤 // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤
apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : 'http://39.108.250.202:9000', apiBaseURL: env === 'development' ? 'http://124.71.12.62:9000' : 'http://124.71.12.62:9000',
// 接口请求返回错误时,弹窗的持续时间,单位:秒 // 接口请求返回错误时,弹窗的持续时间,单位:秒
modalDuration: 3, modalDuration: 3,
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice

Loading…
Cancel
Save