瀏覽代碼

调整大部分表格的高度 bug编号5733

newStyle
douzhuo 2 年之前
父節點
當前提交
866837bf59
共有 18 個檔案被更改,包括 42 行新增36 行删除
  1. +2
    -0
      src/const/crud/admin/log.js
  2. +1
    -1
      src/views/Customer/AgentManagement.vue
  3. +1
    -1
      src/views/Customer/CompanyRecord.vue
  4. +1
    -1
      src/views/Customer/Companymanagement.vue
  5. +1
    -0
      src/views/Customer/index.vue
  6. +1
    -1
      src/views/Equipment/batch.vue
  7. +1
    -0
      src/views/Equipment/state.vue
  8. +1
    -0
      src/views/File/index.vue
  9. +1
    -0
      src/views/ReceivingRecords/index.vue
  10. +1
    -0
      src/views/Scheduling/index.vue
  11. +1
    -1
      src/views/Template/PinspeakwordsList.vue
  12. +1
    -1
      src/views/Template/taboo.vue
  13. +1
    -1
      src/views/Template/wrongword.vue
  14. +21
    -19
      src/views/admin/log/log.vue
  15. +1
    -0
      src/views/admin/user/index.vue
  16. +4
    -8
      src/views/building/Count.vue
  17. +1
    -1
      src/views/building/index.vue
  18. +1
    -1
      src/views/houseData/count.vue

+ 2
- 0
src/const/crud/admin/log.js 查看文件

@@ -1,6 +1,7 @@
export const tableOption = {
border: true,
index: true,
height: 527,
indexLabel: "序号",
stripe: true,
menuAlign: "center",
@@ -61,6 +62,7 @@ export const tableOption1 = {
index: true,
indexLabel: "序号",
stripe: true,
height: 527,
menuAlign: "center",
menuWidth: 150,
menu:false,


+ 1
- 1
src/views/Customer/AgentManagement.vue 查看文件

@@ -56,7 +56,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" height="500px" stripe style="width: 100%">
<el-table-column :show-overflow-tooltip="true" width="120" prop="agentName" label="代理商" align="center">
</el-table-column>
<el-table-column :show-overflow-tooltip="true" width="140" prop="provinceName,cityName" label="地区"


+ 1
- 1
src/views/Customer/CompanyRecord.vue 查看文件

@@ -67,7 +67,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" height="572px" :data="tableData" stripe style="width: 100%">
<el-table-column :show-overflow-tooltip="true" width="120px" prop="name" label="公司名称" align="center">
</el-table-column>
<el-table-column prop="operatorName" label="代理商" align="center">


+ 1
- 1
src/views/Customer/Companymanagement.vue 查看文件

@@ -86,7 +86,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" height="572px" :data="tableData" stripe style="width: 100%">
<el-table-column prop="name" label="公司名称" align="center">
</el-table-column>
<el-table-column


+ 1
- 0
src/views/Customer/index.vue 查看文件

@@ -271,6 +271,7 @@
<div class="cen-tab">
<el-table
:data="tableData"
height="572px"
stripe
style="width: 100%"
@selection-change="handleSelectionChange"


+ 1
- 1
src/views/Equipment/batch.vue 查看文件

@@ -31,7 +31,7 @@
<el-table
:data="tableData"
stripe
height="390"
height="550px"
style="width: 100%">
<el-table-column
prop="batchId"


+ 1
- 0
src/views/Equipment/state.vue 查看文件

@@ -342,6 +342,7 @@
</div>
<el-table
:data="tableData"
height="527px"
stripe
@selection-change="handleSelectionChange"
style="width: 100%"


+ 1
- 0
src/views/File/index.vue 查看文件

@@ -40,6 +40,7 @@
<el-table
:data="tableData"
stripe
height="527px"
style="width: 100%">
<el-table-column
type="selection"


+ 1
- 0
src/views/ReceivingRecords/index.vue 查看文件

@@ -306,6 +306,7 @@
<el-table
:header-cell-style="{ background: '#F5F7FA', color: '#333333' }"
:data="tableData"
height="550px"
stripe
style="width: 100%"
>


+ 1
- 0
src/views/Scheduling/index.vue 查看文件

@@ -84,6 +84,7 @@
<div class="cen-tab">
<el-table
:data="tableData"
height="572px"
stripe
@selection-change="handleSelectionChange"
style="width: 100%"


+ 1
- 1
src/views/Template/PinspeakwordsList.vue 查看文件

@@ -31,7 +31,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" height="572px" :data="tableData" stripe style="width: 100%">
<el-table-column prop="houseName" label="项目名称" align="center">
</el-table-column>
<el-table-column prop="name" label="状态" align="center">


+ 1
- 1
src/views/Template/taboo.vue 查看文件

@@ -47,7 +47,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" height="572px" :data="tableData" stripe style="width: 100%">
<el-table-column prop="words" label="敏感词" align="center">
</el-table-column>
<el-table-column prop="houseName" label="项目名称" align="center">


+ 1
- 1
src/views/Template/wrongword.vue 查看文件

@@ -63,7 +63,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" height="572px" :data="tableData" stripe style="width: 100%">
<el-table-column type="index" label="序号" width="50">
</el-table-column>
<el-table-column prop="correctWord" label="正确词" align="center">


+ 21
- 19
src/views/admin/log/log.vue 查看文件

@@ -3,6 +3,7 @@
<div class="log">
<basic-container>
<avue-crud
height="100px"
ref="crud"
:page.sync="page"
:data="tableData"
@@ -25,7 +26,7 @@
import { delObj, fetchList1 } from "@/api/admin/log";
import { tableOption } from "@/const/crud/admin/log";
import { mapGetters } from "vuex";
import { exportMethodPost} from "@/util/util";
import { exportMethodPost } from "@/util/util";

export default {
name: "Log",
@@ -41,7 +42,7 @@ export default {
flag: "1",
name: "",
params: "",
title:''
title: "",
},
page: {
total: 0, // 总页数
@@ -60,22 +61,23 @@ export default {
};
},
},
created() {
created() {
this.admin_log_downLoad = this.permissions["admin_log_downLoad"];
},
methods: {
downLoad(){
let obj=Object.assign(
{
descs: "create_time",
orgType: localStorage.getItem("orgType"),
orgCode: localStorage.getItem("orgCode"),
agentId: localStorage.getItem("agentId"),
houseId: localStorage.getItem("houseId"),
},
this.searchForm)
downLoad() {
let obj = Object.assign(
{
descs: "create_time",
orgType: localStorage.getItem("orgType"),
orgCode: localStorage.getItem("orgCode"),
agentId: localStorage.getItem("agentId"),
houseId: localStorage.getItem("houseId"),
},
this.searchForm
);
// exportMethodPost()
exportMethodPost('/admin/log/operateLogPageExport','操作日志',obj)
exportMethodPost("/admin/log/operateLogPageExport", "操作日志", obj);
},
selChange(e) {
this.value = "";
@@ -117,10 +119,10 @@ export default {
remoteAddr: "",
name: "",
params: "",
title:''
title: "",
};
this.value = "";
this.time=[]
this.time = [];
this.getList(this.page);
},
timeChange(e) {
@@ -227,8 +229,8 @@ export default {
.div-inp {
width: 250px;
}
/deep/ .el-button--primary{
background: #2671E2 !important;
border: 1px solid #2671E2 !important;
/deep/ .el-button--primary {
background: #2671e2 !important;
border: 1px solid #2671e2 !important;
}
</style>

+ 1
- 0
src/views/admin/user/index.vue 查看文件

@@ -190,6 +190,7 @@
<div v-if="choseFlag">
<el-table
:data="tableData"
height="533px"
border
@selection-change="handleSelectionChange"
style="width: 100%"


+ 4
- 8
src/views/building/Count.vue 查看文件

@@ -1,11 +1,6 @@
<template>
<div class="box-center">
<div style="
width: calc(100% - 270px);
position: fixed;
z-index: 999;
margin-top: -16px;
">
<div>
<div class="toptab" style="cursor: pointer" v-if="orgType != 2">
<div @click="tapclickyab(0)" :class="{ activecllasscet: activeTotal == 0 }"
:style="{ background: activeTotal == 0 ? '#2671E2' : '#ffffff' }">
@@ -125,12 +120,13 @@
<el-button @click="downLoad" icon="el-icon-download">导出</el-button>
</div>
</div>
</div>
</div>

<!-- 表格 -->
<div class="cen-tab" :style="{ marginTop: orgType != 2 ? '230px' : '170px' }">
<el-table :header-cell-style="{ background: '#F5F7FA', color: '#333333' }" v-if="activeTotal == 0" :data="tableData"
<div class="cen-tab">
<el-table height="427px" :header-cell-style="{ background: '#F5F7FA', color: '#333333' }" v-if="activeTotal == 0" :data="tableData"
stripe style="width: 100%">
<el-table-column prop="propertyName" width="120" label="项目名称" align="center">
</el-table-column>


+ 1
- 1
src/views/building/index.vue 查看文件

@@ -152,7 +152,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" height="572px" stripe style="width: 100%">
<el-table-column prop="propertyName" :show-overflow-tooltip="true" width="120px" label="项目名称" align="center">
</el-table-column>



+ 1
- 1
src/views/houseData/count.vue 查看文件

@@ -54,7 +54,7 @@

<!-- 表格 -->
<div class="cen-tab">
<el-table :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%" height="640">
<el-table height="527px" :header-cell-style="{background:'#F5F7FA',color:'#333333'}" :data="tableData" stripe style="width: 100%">
<el-table-column prop="operationName" label="运营" align="center" sortable></el-table-column>
<el-table-column prop="houseQuantityInService" label="项目数" width="120" align="center" sortable></el-table-column>
<el-table-column prop="wrongWordAddCount" width="120" label="常错词添加数" align="center" sortable></el-table-column>


Loading…
取消
儲存