Commit 74e7a524 by li_hongchao

发查询权限 ui问题调整

parent de4818f8
......@@ -806,10 +806,13 @@ export default {
let hz = this.showType === 1 ? 'Ry' : 'Aj'
return this.qxgzPopName + hz + index
},
clickQxgz(index) {
if (this.qxgzPopIndex !== -1 && this.qxgzPopIndex !== index) {
cancleQxgzPop() {
if (this.qxgzPopIndex !== -1) {
this.$refs[this.getQxgzPopRef(this.qxgzPopIndex)].cancel()
}
},
clickQxgz(index) {
this.cancleQxgzPop()
this.qxgzPopIndex = index
},
// 获取全部人员列表请求
......@@ -1092,6 +1095,7 @@ export default {
//复制条码列表操作
isShowFztmBtn(val) {
this.cancleQxgzPop()
//console.log("复制条码", val);
if (this.showType == 1) {
this.type = 'ry'
......@@ -1155,6 +1159,7 @@ export default {
}
},
isShowFcxBtn1(val) {
this.cancleQxgzPop()
//console.log("单行人员发查询数据", val);
let rowVal = []
rowVal.push(val)
......@@ -1212,6 +1217,7 @@ export default {
* @return {*}
*/
handleClick(row) {
this.cancleQxgzPop()
//console.log(row);
if (this.showType == 1) {
// 清除bus
......@@ -1324,9 +1330,16 @@ export default {
},
mounted() {
this.search()
let _that = this
//console.log(this.$route.query.id, 'this.$route.query.id')
this.showType = this.$route.query.id || '1'
document.addEventListener('click', function (event) {
logger.info('click', '1111111111111111111111111111111111111')
if (_that.qxgzPopIndex !== -1) {
_that.$refs[_that.getQxgzPopRef(_that.qxgzPopIndex)].cancel()
_that.qxgzPopIndex = -1
}
})
},
}
</script>
......
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