@@ -1,6 +1,7 @@ | |||||
export const tableOption = { | export const tableOption = { | ||||
border: true, | border: true, | ||||
index: true, | index: true, | ||||
height: 527, | |||||
indexLabel: "序号", | indexLabel: "序号", | ||||
stripe: true, | stripe: true, | ||||
menuAlign: "center", | menuAlign: "center", | ||||
@@ -61,6 +62,7 @@ export const tableOption1 = { | |||||
index: true, | index: true, | ||||
indexLabel: "序号", | indexLabel: "序号", | ||||
stripe: true, | stripe: true, | ||||
height: 527, | |||||
menuAlign: "center", | menuAlign: "center", | ||||
menuWidth: 150, | menuWidth: 150, | ||||
menu:false, | menu:false, | ||||
@@ -56,7 +56,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 :show-overflow-tooltip="true" width="120" prop="agentName" label="代理商" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column :show-overflow-tooltip="true" width="140" prop="provinceName,cityName" label="地区" | <el-table-column :show-overflow-tooltip="true" width="140" prop="provinceName,cityName" label="地区" | ||||
@@ -67,7 +67,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 :show-overflow-tooltip="true" width="120px" prop="name" label="公司名称" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="operatorName" label="代理商" align="center"> | <el-table-column prop="operatorName" label="代理商" align="center"> | ||||
@@ -86,7 +86,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 prop="name" label="公司名称" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column | <el-table-column | ||||
@@ -271,6 +271,7 @@ | |||||
<div class="cen-tab"> | <div class="cen-tab"> | ||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
height="572px" | |||||
stripe | stripe | ||||
style="width: 100%" | style="width: 100%" | ||||
@selection-change="handleSelectionChange" | @selection-change="handleSelectionChange" | ||||
@@ -31,7 +31,7 @@ | |||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
stripe | stripe | ||||
height="390" | |||||
height="550px" | |||||
style="width: 100%"> | style="width: 100%"> | ||||
<el-table-column | <el-table-column | ||||
prop="batchId" | prop="batchId" | ||||
@@ -342,6 +342,7 @@ | |||||
</div> | </div> | ||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
height="527px" | |||||
stripe | stripe | ||||
@selection-change="handleSelectionChange" | @selection-change="handleSelectionChange" | ||||
style="width: 100%" | style="width: 100%" | ||||
@@ -40,6 +40,7 @@ | |||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
stripe | stripe | ||||
height="527px" | |||||
style="width: 100%"> | style="width: 100%"> | ||||
<el-table-column | <el-table-column | ||||
type="selection" | type="selection" | ||||
@@ -306,6 +306,7 @@ | |||||
<el-table | <el-table | ||||
:header-cell-style="{ background: '#F5F7FA', color: '#333333' }" | :header-cell-style="{ background: '#F5F7FA', color: '#333333' }" | ||||
:data="tableData" | :data="tableData" | ||||
height="550px" | |||||
stripe | stripe | ||||
style="width: 100%" | style="width: 100%" | ||||
> | > | ||||
@@ -84,6 +84,7 @@ | |||||
<div class="cen-tab"> | <div class="cen-tab"> | ||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
height="572px" | |||||
stripe | stripe | ||||
@selection-change="handleSelectionChange" | @selection-change="handleSelectionChange" | ||||
style="width: 100%" | style="width: 100%" | ||||
@@ -31,7 +31,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 prop="houseName" label="项目名称" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="name" label="状态" align="center"> | <el-table-column prop="name" label="状态" align="center"> | ||||
@@ -47,7 +47,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 prop="words" label="敏感词" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="houseName" label="项目名称" align="center"> | <el-table-column prop="houseName" label="项目名称" align="center"> | ||||
@@ -63,7 +63,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 type="index" label="序号" width="50"> | ||||
</el-table-column> | </el-table-column> | ||||
<el-table-column prop="correctWord" label="正确词" align="center"> | <el-table-column prop="correctWord" label="正确词" align="center"> | ||||
@@ -3,6 +3,7 @@ | |||||
<div class="log"> | <div class="log"> | ||||
<basic-container> | <basic-container> | ||||
<avue-crud | <avue-crud | ||||
height="100px" | |||||
ref="crud" | ref="crud" | ||||
:page.sync="page" | :page.sync="page" | ||||
:data="tableData" | :data="tableData" | ||||
@@ -25,7 +26,7 @@ | |||||
import { delObj, fetchList1 } from "@/api/admin/log"; | import { delObj, fetchList1 } from "@/api/admin/log"; | ||||
import { tableOption } from "@/const/crud/admin/log"; | import { tableOption } from "@/const/crud/admin/log"; | ||||
import { mapGetters } from "vuex"; | import { mapGetters } from "vuex"; | ||||
import { exportMethodPost} from "@/util/util"; | |||||
import { exportMethodPost } from "@/util/util"; | |||||
export default { | export default { | ||||
name: "Log", | name: "Log", | ||||
@@ -41,7 +42,7 @@ export default { | |||||
flag: "1", | flag: "1", | ||||
name: "", | name: "", | ||||
params: "", | params: "", | ||||
title:'' | |||||
title: "", | |||||
}, | }, | ||||
page: { | page: { | ||||
total: 0, // 总页数 | total: 0, // 总页数 | ||||
@@ -60,22 +61,23 @@ export default { | |||||
}; | }; | ||||
}, | }, | ||||
}, | }, | ||||
created() { | |||||
created() { | |||||
this.admin_log_downLoad = this.permissions["admin_log_downLoad"]; | this.admin_log_downLoad = this.permissions["admin_log_downLoad"]; | ||||
}, | }, | ||||
methods: { | 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() | ||||
exportMethodPost('/admin/log/operateLogPageExport','操作日志',obj) | |||||
exportMethodPost("/admin/log/operateLogPageExport", "操作日志", obj); | |||||
}, | }, | ||||
selChange(e) { | selChange(e) { | ||||
this.value = ""; | this.value = ""; | ||||
@@ -117,10 +119,10 @@ export default { | |||||
remoteAddr: "", | remoteAddr: "", | ||||
name: "", | name: "", | ||||
params: "", | params: "", | ||||
title:'' | |||||
title: "", | |||||
}; | }; | ||||
this.value = ""; | this.value = ""; | ||||
this.time=[] | |||||
this.time = []; | |||||
this.getList(this.page); | this.getList(this.page); | ||||
}, | }, | ||||
timeChange(e) { | timeChange(e) { | ||||
@@ -227,8 +229,8 @@ export default { | |||||
.div-inp { | .div-inp { | ||||
width: 250px; | 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> | </style> |
@@ -190,6 +190,7 @@ | |||||
<div v-if="choseFlag"> | <div v-if="choseFlag"> | ||||
<el-table | <el-table | ||||
:data="tableData" | :data="tableData" | ||||
height="533px" | |||||
border | border | ||||
@selection-change="handleSelectionChange" | @selection-change="handleSelectionChange" | ||||
style="width: 100%" | style="width: 100%" | ||||
@@ -1,11 +1,6 @@ | |||||
<template> | <template> | ||||
<div class="box-center"> | <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 class="toptab" style="cursor: pointer" v-if="orgType != 2"> | ||||
<div @click="tapclickyab(0)" :class="{ activecllasscet: activeTotal == 0 }" | <div @click="tapclickyab(0)" :class="{ activecllasscet: activeTotal == 0 }" | ||||
:style="{ background: activeTotal == 0 ? '#2671E2' : '#ffffff' }"> | :style="{ background: activeTotal == 0 ? '#2671E2' : '#ffffff' }"> | ||||
@@ -125,12 +120,13 @@ | |||||
<el-button @click="downLoad" icon="el-icon-download">导出</el-button> | <el-button @click="downLoad" icon="el-icon-download">导出</el-button> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</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%"> | stripe style="width: 100%"> | ||||
<el-table-column prop="propertyName" width="120" label="项目名称" align="center"> | <el-table-column prop="propertyName" width="120" label="项目名称" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
@@ -152,7 +152,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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 prop="propertyName" :show-overflow-tooltip="true" width="120px" label="项目名称" align="center"> | ||||
</el-table-column> | </el-table-column> | ||||
@@ -54,7 +54,7 @@ | |||||
<!-- 表格 --> | <!-- 表格 --> | ||||
<div class="cen-tab"> | <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="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="houseQuantityInService" label="项目数" width="120" align="center" sortable></el-table-column> | ||||
<el-table-column prop="wrongWordAddCount" width="120" label="常错词添加数" align="center" sortable></el-table-column> | <el-table-column prop="wrongWordAddCount" width="120" label="常错词添加数" align="center" sortable></el-table-column> | ||||