Commit 4030ea0e by 张超军

21321

parent 3cb9118c
......@@ -189,6 +189,7 @@ export default {
name: "rydaxx",
data () {
return {
barcode: '',
isShowDcftpx: false, // 导出FPTX
arrow: 'bottom',
width1: 80,
......@@ -302,7 +303,21 @@ export default {
czrq: '2021.12.10. 23:59:59',
czsj: '编辑档案信息'
}],
rowData: []
rowData: [],
// 请求档案信息
reqParam: {
// 请求参数
page: {
total: 0, //表格条数
pageSize: 10, //当前选择要显示的条数
currPage: 1 // 当前在第几页
},
personStoreCustomSearch: {
ysxtAsjxgrybh: "", // 搜索框内容
searchOptions: 3, // 默认搜索方式
checkboxQuery: [] //滚动平面等筛选条件
}
},
};
},
computed: {
......@@ -319,6 +334,11 @@ export default {
// 打开侧边抽屉
this.$bus.on("openRyDaxx", (flag) => {
// let flag = obj.flag
// self.barcode = obj.barcode
// self.reqParam.personStoreCustomSearch.ysxtAsjxgrybh = self.barcode
// self.getRyinfo()
self.drawer = flag;
// 开启毛玻璃
self.$bus.emit('isBlur', true)
......@@ -327,12 +347,29 @@ export default {
// 人员档案信息
//console.log(this.ryInfo);
this.initData()
},
mounted () {
},
methods: {
/**
* @description:
* @param {*}
* @return {*}
*/
getRyinfo () {
this.$axios
.post("/api/personstore/person/list", this.reqParam)
.then(response => {
if (response.data.code === 0) {
console.log(response);
} else {
this.$message.error(response.data.message);
}
});
},
/**
* @description: 页面滚动,导航切换显示
* @param {*}
* @return {*}
......@@ -500,13 +537,13 @@ export default {
dcftpx
},
watch: {
drawer(newValue, oldValue) {
drawer (newValue, oldValue) {
let self = this
if(newValue) {
if (newValue) {
//监听页面滚动
this.$nextTick(() => {
document.querySelector('.el-drawer__body').addEventListener("scroll", (e) => {
if(e.target.scrollTop > 400) {
if (e.target.scrollTop > 400) {
$('.arrow-down-img').css('transform', 'rotate(180deg)');
} else {
$('.arrow-down-img').css('transform', 'rotate(0deg)');
......
<!--
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2022-01-07 16:53:10
* @LastEditTime: 2022-01-08 13:45:51
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
......@@ -581,7 +581,11 @@ export default {
* 打开档案信息
*/
daxxChange () {
this.$bus.emit('openRyDaxx', true)
let obj = {
flag: true,
barcode: this.barcode
}
this.$bus.emit('openRyDaxx', obj)
// 降低指纹编辑按钮的优先级
$(".center").css('z-index', 9)
$(".tzdDrawing").css('z-index', 9)
......
......@@ -301,3 +301,14 @@ $phone: var(--phone, #606266); //#ff4242;
}
}
}
.top-head {
position: fixed;
top: 0;
left: 0;
width: 1920px;
height: 123px;
img {
width: 1920px;
height: 123px;
}
}
<template>
<div class="ltDiv">
<div class="lt-dom" :class="{ bzActive: isShowbzDialogBg || loading_sd }">
<!-- <div class="top-head">
<img src="@/assets/img/rgrd/gongjvlan.svg" alt="">
</div> -->
<div class="header">
<div class="label">正查</div>
<div class="btns">
......@@ -601,7 +604,8 @@ div {
}
.lt-dom {
width: 100%;
background-color: #ffffff;
// background-color: rgba(5, 95, 231, 0.08);
background-color: #fff;
/*padding: 24px;*/
margin: 0;
display: flex;
......@@ -686,7 +690,6 @@ div {
display: flex;
// flex-direction: row;
justify-content: space-between;
background: #fff;
}
.lt_main_left {
width: 352px;
......
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