Commit c4041838 by 米嘉伟

人员库,案件库,日志分页

parent d0480a35
......@@ -12,6 +12,7 @@
clear="search-input"
placeholder="请输入条码,*支持模糊搜索"
v-model.trim="reqParam.personStoreCustomSearch.ysxtAsjxgrybh"
@change="backNumOne"
@keyup.enter.native="search"
maxlength="23"
show-word-limit
......@@ -574,6 +575,11 @@ export default {
};
},
methods: {
// 筛选前页数为1
backNumOne () {
this.reqParam.page.currPage = 1// 当前页码
this.$forceUpdate()
},
// 单击行抽屉
handle (row, event, column) {
//console.log(row, event, column)
......@@ -698,6 +704,7 @@ export default {
searchCheckList (val) {
//console.log(val, "筛选条件");
this.reqParam.page.checkboxQuery = val;
this.reqParam.page.currPage = 1// 当前页码
//console.log(this.reqParam.page.checkboxQuery);
this.search();
},
......@@ -1480,15 +1487,12 @@ export default {
}
}
}
/deep/.el-table--enable-row-transition .el-table__body td.el-table__cell {
// height: 55px;
}
/deep/.el-table td,
.el-table th.is-leaf {
background-color: #ffffff;
border: none;
// border-bottom: 1px #f6f8fa solid;
border-top: 1px #EEEEEE solid;
border-top: 1px #eeeeee solid;
}
// 去除table表格最底部边框
.el-table__row > td {
......@@ -1566,9 +1570,6 @@ export default {
background-color: #ecf1f7 !important;
}
}
/deep/.el-table__fixed-body-wrapper {
// height: 100% !important;
}
/deep/.hover-row {
.el-table__cell {
background-color: #f2f7fe !important;
......@@ -1605,7 +1606,7 @@ export default {
// 表格高度 -- 展示下面的border
.split-line {
height: 650px;
border-bottom: 1px solid #EEEEEE;
border-bottom: 1px solid #eeeeee;
}
// 复选框
......
......@@ -1103,9 +1103,6 @@ export default {
/deep/.el-form-item__label {
color: #333333;
}
/deep/.el-table {
// height: 100%;
}
/deep/.el-table th > .cell {
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
......@@ -1202,9 +1199,6 @@ export default {
background-repeat: no-repeat;
transform: rotate(180deg) !important;
}
.el-table tr {
// height: 55px;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
background-color: #006aff;
border-color: #006aff;
......
......@@ -12,6 +12,7 @@
placeholder="请输入条码,*支持模糊搜索"
v-model.trim="reqParam.caseStoreCustomSearchReq.ysxtAsjbh"
@keyup.enter.native="search"
@change="backNumOne"
maxlength="23"
show-word-limit
></el-input>
......@@ -502,6 +503,11 @@ export default {
};
},
methods: {
// 筛选前页数为1
backNumOne () {
this.reqParam.page.currPage = 1// 当前页码
this.$forceUpdate()
},
// 点击单条关闭批量操作
closeSelected () {
this.disabled = false;
......@@ -609,9 +615,8 @@ export default {
},
//滚动平面等筛选条件
searchCheckList (val) {
console.log(val, '筛选条件')
this.reqParam.page.caseCheckboxQuery = val
console.log(this.reqParam.page.caseCheckboxQuery)
this.reqParam.page.currPage = 1// 当前页码
this.search()
},
// 复制条码号 获取选中条码值
......@@ -1349,9 +1354,6 @@ const datas1 = [
}
}
}
/deep/.el-table--enable-row-transition .el-table__body td.el-table__cell {
// height: 55px;
}
/deep/.el-table td,
.el-table th.is-leaf {
background-color: #ffffff;
......@@ -1435,9 +1437,6 @@ const datas1 = [
background-color: #ecf1f7 !important;
}
}
/deep/.el-table__fixed-body-wrapper {
// height: 100% !important;
}
/deep/.hover-row {
.el-table__cell {
background-color: #f2f7fe !important;
......
......@@ -13,6 +13,7 @@
<Cascader
:form="systemLogParam"
id="logDwCode"
@change="backNumOne"
></Cascader>
</el-form-item>
<el-form-item label="查询日期:">
......@@ -21,6 +22,7 @@
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
@change="backNumOne"
:picker-options="{
disabledDate: disabledDate,
}"
......@@ -93,7 +95,7 @@
<div class="block">
<span class="record">{{ systemLogParam.total }}条记录 第{{ systemLogParam.currPage }}/{{
Tpage
pages
}}</span>
<el-pagination
class="paging"
......@@ -124,12 +126,13 @@ export default {
logTimeStart: '', // 开始时间
logTimeEnd: '',// 结束时间
pageSize: 10,// 显示条数
currPage: 1,// 当前页码
currPage: 1,// 当前页码
total: 0,// 总数
},
startEndDate: null, // 查询时间
height: "33rem",
tableDate: [],
pages: 1,
width1: 200,
width2: 800,
......@@ -150,21 +153,15 @@ export default {
this.width4 = (this.width4 * w2) / w1;
this.width5 = (this.width5 * w2) / w1;
},
computed: {
//计算总页数
Tpage () {
return Math.ceil(this.systemLogParam.total / this.systemLogParam.pageSize + 1);
}
},
methods: {
getLogList () {
this.getParam()
this.$axios
.post('/api/log/logList', this.systemLogParam)
.then(response => {
console.log(response, 12121423123)
this.tableDate = response.data.detail.systemLogs
this.systemLogParam.total = response.data.detail.total
this.pages = response.data.detail.pages
})
},
// 清空
......@@ -173,10 +170,13 @@ export default {
this.systemLogParam.logDwCode = ''
this.systemLogParam.pageSize = 10// 显示条数
this.systemLogParam.currPage = 1// 当前页码
this.getLogList()
},
// 筛选前页数为1
backNumOne () {
this.systemLogParam.currPage = 1// 当前页码
this.$forceUpdate()
},
// 格式化时间参数
getParam () {
if (this.startEndDate !== null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment