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

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')"
class="box-input"
allowClear
mode="multiple"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.state">
<a-select-option v-for="(item, key) in statusList"
@@ -1161,17 +1162,13 @@
window.addEventListener('click', this.handleClick)
this.GetgetLoginUserType()
this.getQueryDutyTerritory()
console.log(this.currentPersonRole)
if (this.$route.query.type == '1') {
this.handleOkRoleSwitching()
}
if (this.$route.query.statusFlag == '1') {
this.formInline.state = '1'
} else if (this.$route.query.statusFlag == '2') {
this.formInline.state = '2'
} else if (this.$route.query.statusFlag == '4') {
this.formInline.state = '4'
if (this.$route.query.statusFlag) {
this.formInline.state = this.$route.query.statusFlag.split(',')
}
this.formInline = { ...this.formInline }
// clearTimeout(this.timeBatch)
// this.timeBatch = setTimeout(() => {
// if (this.currentPersonRole == 'dre') {
@@ -1212,9 +1209,9 @@
...mapGetters(['userInfo']),
getQueryDutyTerritory() {
let url = ''
if(this.$route.query.it){
if (this.$route.query.it) {
url = '/params/collectManifest/queryDutyTerritoryHistory'
}else{
} else {
url = '/params/collectManifest/queryDutyTerritory'
}
getAction(url, { id: this.$route.query.id }).then((res) => {