修改点击责任领域后,跳转未筛选状态

This commit is contained in:
范强强
2023-10-26 14:44:12 +08:00
parent ec44ad553b
commit 4165eee5c6
@@ -128,6 +128,7 @@
<a-select :placeholder="$t('PleaseSelect')+$t('status')" <a-select :placeholder="$t('PleaseSelect')+$t('status')"
class="box-input" class="box-input"
allowClear allowClear
mode="multiple"
:getPopupContainer="triggerNode=> triggerNode.parentNode" :getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.state"> v-model="formInline.state">
<a-select-option v-for="(item, key) in statusList" <a-select-option v-for="(item, key) in statusList"
@@ -1161,17 +1162,13 @@
window.addEventListener('click', this.handleClick) window.addEventListener('click', this.handleClick)
this.GetgetLoginUserType() this.GetgetLoginUserType()
this.getQueryDutyTerritory() this.getQueryDutyTerritory()
console.log(this.currentPersonRole)
if (this.$route.query.type == '1') { if (this.$route.query.type == '1') {
this.handleOkRoleSwitching() this.handleOkRoleSwitching()
} }
if (this.$route.query.statusFlag == '1') { if (this.$route.query.statusFlag) {
this.formInline.state = '1' this.formInline.state = this.$route.query.statusFlag.split(',')
} else if (this.$route.query.statusFlag == '2') {
this.formInline.state = '2'
} else if (this.$route.query.statusFlag == '4') {
this.formInline.state = '4'
} }
this.formInline = { ...this.formInline }
// clearTimeout(this.timeBatch) // clearTimeout(this.timeBatch)
// this.timeBatch = setTimeout(() => { // this.timeBatch = setTimeout(() => {
// if (this.currentPersonRole == 'dre') { // if (this.currentPersonRole == 'dre') {