[bug] 收入合同普通项目查询-科室变化清除负责人选中

This commit is contained in:
zhaoxiao
2021-10-28 13:39:46 +08:00
parent 0d03b8dd08
commit 962c0390dd
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -23,7 +23,6 @@ window.addEventListener('message', function (event) {
document.onkeydown = keyDown
function keyDown(e) {
console.log(navigator.userAgent)
// 拦截backspace按钮,谷歌浏览器不需要拦截
// 拦截仍然存在的问题:当input、textarea失去焦点后,仍然会后退页面
if (e.keyCode === 8 && navigator.userAgent.indexOf('AppleWebKit') === -1 ) {
@@ -369,6 +369,8 @@ export default {
let param = {
departId: value
}
this.queryParam.principalId = undefined
this.lastQueryParam.principalId = undefined
queryUserByDepartId(param).then(res => {
if (res.success) {
this.userList = res.result