Commit 6c592ee4 by 米嘉伟

问题修改

parent ab537164
......@@ -659,29 +659,36 @@ export default {
if (this.type == 'aj' && this.rowData.length > 1) {
if (val.includes('7') && val.includes('8')) {
this.bcxh = this.fingerCount + this.palmCount
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else if (val.includes('8') && val.length == 1) {
this.bcxh = this.palmCount
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else if (val.includes('7') && val.length == 1) {
this.bcxh = this.fingerCount
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else {
this.bcxh = 0
this.$forceUpdate()
}
} else {
} else if (this.type == 'aj' && this.rowData.length == 1) {
if (val.includes('7') && val.includes('8')) {
this.bcxh = this.fingerNum + this.palmNum
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else if (val.includes('8') && val.length == 1) {
this.bcxh = this.palmNum
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else if (val.includes('7') && val.length == 1) {
this.bcxh = this.fingerNum
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
} else {
this.bcxh = 0
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
this.$forceUpdate()
}
}
......@@ -1044,7 +1051,9 @@ export default {
this.totalCount = response.data.detail.totalCount // 本月总数
this.syts = response.data.detail.normalSurplusCount + response.data.detail.highSurplusCount
this.bcxh = this.rowData.length
this.ygsy = (this.syts - this.rowData.length) >= 0 ? (this.syts - this.rowData.length) : 0
if (this.type == "ry") {
this.ygsy = (this.syts - this.rowData.length) >= 0 ? (this.syts - this.rowData.length) : 0
}
this.normalCount = response.data.detail.normalCount
this.normalSurplusCount = response.data.detail.normalSurplusCount
this.highCount = response.data.detail.highCount
......@@ -1071,6 +1080,9 @@ export default {
if (response.data.code === 0) {
this.fingerNum = response.data.ret.length// 单条指纹个数
this.bcxh = response.data.ret.length// 单条指纹个数
if (this.type == "aj") {
this.ygsy = (this.syts - this.bcxh) >= 0 ? (this.syts - this.bcxh) : 0
}
let arr = response.data.ret
let arrNew = []
for (let i = 0; i < arr.length; i++) {
......
......@@ -554,6 +554,32 @@ export default {
watch: {
isShowXzry (newVal, oldVal) {
this.dialogVisible = newVal;
// let self = this
// if (newVal) {
// //监听页面滚动
// this.$nextTick(() => {
// document.querySelector('.el-dialog__body').addEventListener("scroll", (e) => {
// console.log(111111111111)
// // if (e.target.scrollTop > 400) {
// // $('.arrow-down-img').css('transform', 'rotate(180deg)');
// // } else {
// // $('.arrow-down-img').css('transform', 'rotate(0deg)');
// // }
// // let operableTree = setTimeout(() => {
// // self.$refs.referrer.blur()
// // }, 150)
// // clearTimeout(operableTree)
// // this.$refs.cascader.offOption()
// // this.$refs.cascader.dropDownVisible = false
// // this.$refs.cjxxyydm.offOption()
// // this.$refs.cjxxyydm.dropDownVisible = false
// // this.$refs.xbdm.offOption()
// // this.$refs.xbdm.dropDownVisible = false
// // this.$refs.csrq.blur();
// // this.$refs.csrq.pickerVisible = false
// }, false);
// })
// }
},
dialogVisible (val) {
this.$emit("closeXzry", this.dialogVisible);
......@@ -689,6 +715,7 @@ export default {
display: flex;
.el-checkbox {
margin-right: 24px;
margin-bottom: 10px;
}
}
/deep/.el-form {
......@@ -734,7 +761,7 @@ export default {
margin-left: 24px;
}
/deep/.el-dialog__body {
padding: 30px 20px 0;
padding: 30px 5px 0 20px;
}
/deep/.el-dialog__footer {
text-align: center;
......
......@@ -523,7 +523,6 @@ export default {
this.$refs.xbdm.dropDownVisible = false
this.$refs.csrq.blur();
this.$refs.csrq.pickerVisible = false
}, false);
})
}
......
......@@ -571,7 +571,7 @@ export default {
NumId: 1,
isActive:false //选择按钮
isActive: false //选择按钮
}
},
created () {
......@@ -1502,13 +1502,13 @@ export default {
background-color: #e6e6e8;
margin-right: 14px;
}
.text{
.text {
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #006aff;
cursor: pointer;
}
.text:hover{
.text:hover {
color: #51b1f5;
}
}
......@@ -1542,6 +1542,8 @@ export default {
.el-col {
.el-table {
height: 550px;
// background-color: #111;
border-radius: 8px;
}
.head {
......@@ -1643,9 +1645,13 @@ export default {
}
.targetBody {
overflow: hidden;
overflow: auto;
padding-top: 16px;
padding-left: 15px;
width: 100%;
height: 500px;
border-radius: 6px;
// background-color: #111;
/deep/ .el-checkbox {
height: 22px;
......@@ -1656,18 +1662,28 @@ export default {
margin: 5px 0;
}
}
// 滚动条的宽度
/deep/ .targetBody::-webkit-scrollbar {
width: 6px; // 横向滚动条
height: 6px; // 纵向滚动条 必写
}
// 滚动条的滑块
/deep/ .targetBody::-webkit-scrollbar-thumb {
background-color: #dadde0;
border-radius: 3px;
}
}
}
}
.noselected{
background-color:#ECEDF1 !important;
border:none;
color:#AEAFB4;
.noselected {
background-color: #ecedf1 !important;
border: none;
color: #aeafb4;
margin-right: 10px;
}
.selected{
background-color:#055FE7;
color:#FFFFFF;
.selected {
background-color: #055fe7;
color: #ffffff;
margin-right: 10px;
}
.bdbottom {
......@@ -1790,11 +1806,11 @@ export default {
border: 1px solid #d1d1d1;
box-sizing: border-box;
border-top: none;
.targetLeft {
flex: 1;
padding-top: 16px;
padding-left: 20px;
overflow: auto;
/deep/ .el-checkbox {
height: 22px;
......@@ -1806,6 +1822,16 @@ export default {
overflow: hidden;
}
}
// 滚动条的宽度
/deep/ .targetLeft::-webkit-scrollbar {
width: 6px; // 横向滚动条
height: 6px; // 纵向滚动条 必写
}
// 滚动条的滑块
/deep/ .targetLeft::-webkit-scrollbar-thumb {
background-color: #dadde0;
border-radius: 3px;
}
.line {
margin-top: 30px;
......@@ -1818,7 +1844,7 @@ export default {
flex: 1;
padding-top: 16px;
padding-left: 20px;
overflow: auto;
/deep/ .el-checkbox {
height: 22px;
font-size: 14px;
......@@ -1829,6 +1855,16 @@ export default {
overflow: hidden;
}
}
// 滚动条的宽度
/deep/ .targetRight::-webkit-scrollbar {
width: 6px; // 横向滚动条
height: 6px; // 纵向滚动条 必写
}
// 滚动条的滑块
/deep/ .targetRight::-webkit-scrollbar-thumb {
background-color: #dadde0;
border-radius: 3px;
}
}
}
}
......
......@@ -733,6 +733,14 @@ $tableHeight: var(--tableHeight, 550px);
font-size: 14px;
font-family: HarmonyOS_Sans_SC;
color: #2e3846;
&:hover {
border: 1px solid #055fe7;
color: #055fe7;
}
&:active {
border: 1px solid #044cb9;
color: #044cb9;
}
}
}
.line {
......@@ -800,4 +808,26 @@ $tableHeight: var(--tableHeight, 550px);
font-family: HarmonyOS_Sans_SC;
color: #333333;
}
/deep/.el-pager {
.number {
background-color: transparent;
}
.number.active {
background-color: #055fe7 !important;
box-shadow: 0px 12px 16px 1px rgba(0, 21, 51, 0.03);
border-radius: 6px;
}
.el-icon.more.btn-quicknext.el-icon-more,
.el-icon.more.btn-quickprev.el-icon-more {
background-color: transparent !important;
}
}
/deep/ .btn-prev,
/deep/.btn-next {
background-color: transparent !important;
}
/deep/ .el-pagination__sizes {
position: absolute;
right: 0;
}
</style>
\ No newline at end of file
......@@ -786,18 +786,34 @@ export default {
img {
height: 554px;
}
// .tpType {
// position: absolute;
// left: 50%;
// top: 50%;
// transform: translate(-50%, -50%);
// margin-top: -48px; /* 高度的一半 */
// margin-left: -66px; /* 宽度的一半 */
// width: 132px;
// height: 96px;
// z-index: 99;
// img {
// min-width: 232px;
// height: 138px;
// }
// }
.tpType {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */
width: 132px;
height: 96px;
z-index: 99;
width: 99.7%;
height: 100%;
border-radius: 0 0 8px 8px;
background: rgba(0, 0, 0, 0.4);
img {
min-width: 232px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -69px; /* 高度的一半 */
margin-left: -116px; /* 宽度的一半 */
width: 232px;
height: 138px;
}
}
......@@ -874,16 +890,17 @@ export default {
}
.tpType {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */
width: 132px;
height: 96px;
z-index: 99;
width: 99.7%;
height: 100%;
border-radius: 0 0 8px 8px;
background: rgba(0, 0, 0, 0.4);
img {
min-width: 232px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -69px; /* 高度的一半 */
margin-left: -116px; /* 宽度的一半 */
width: 232px;
height: 138px;
}
}
......
......@@ -416,16 +416,17 @@ export default {
}
.tpType {
position: absolute;
left: 50%;
top: 50%;
transform:translate(-50%,-50%);
margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */
width: 132px;
height: 96px;
z-index: 99;
width: 99.7%;
height: 100%;
border-radius: 0 0 8px 8px;
background: rgba(0, 0, 0, 0.4);
img {
min-width: 232px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -69px; /* 高度的一半 */
margin-left: -116px; /* 宽度的一半 */
width: 232px;
height: 138px;
}
}
......@@ -500,16 +501,17 @@ export default {
}
.tpType {
position: absolute;
left: 50%;
top: 50%;
transform:translate(-50%,-50%);
margin-top: -48px; /* 高度的一半 */
margin-left: -66px; /* 宽度的一半 */
width: 132px;
height: 96px;
z-index: 99;
width: 99.7%;
height: 100%;
border-radius: 0 0 8px 8px;
background: rgba(0, 0, 0, 0.4);
img {
min-width: 232px;
position: absolute;
left: 50%;
top: 50%;
margin-top: -69px; /* 高度的一半 */
margin-left: -116px; /* 宽度的一半 */
width: 232px;
height: 138px;
}
}
......
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