待办中心跳转参数收集清单携带状态筛选

This commit is contained in:
zyx.net
2023-09-07 15:50:09 +08:00
parent 621e3803fe
commit b1062d5bd7
2 changed files with 36 additions and 26 deletions
@@ -120,27 +120,27 @@
v-model="formInline.sdt"></a-input>
</div>
</a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('status')">
<span>{{$t('status')}}</span>
</div>
<a-select :placeholder="$t('PleaseSelect')+$t('status')"
class="box-input"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.state">
<a-select-option v-for="(item, key) in statusList"
:key="key"
:value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.name ">
{{ item.text}}
</span>
</a-select-option>
</a-select>
</div>
</a-col>
</template>
<!-- <a-col :md="6" :sm="8">-->
<!-- <div class="box-title-text">-->
<!-- <div class="title-text" :title="$t('status')">-->
<!-- <span>{{$t('status')}}</span>-->
<!-- </div>-->
<!-- <a-select :placeholder="$t('PleaseSelect')+$t('status')"-->
<!-- class="box-input"-->
<!-- allowClear-->
<!-- :getPopupContainer="triggerNode=> triggerNode.parentNode"-->
<!-- v-model="formInline.state">-->
<!-- <a-select-option v-for="(item, key) in statusList"-->
<!-- :key="key"-->
<!-- :value="item.value">-->
<!-- <span style="display: inline-block;width: 100%" :title=" item.name ">-->
<!-- {{ item.name}}-->
<!-- </span>-->
<!-- </a-select-option>-->
<!-- </a-select>-->
<!-- </div>-->
<!-- </a-col>-->
<span style="float: right;overflow: hidden;margin-right: 11px"
class="table-page-search-submitButtons">
<a-col :md="6" :sm="24">
@@ -799,12 +799,12 @@
value: 'paramsNumber',
text: this.$t('certificationCategoryNumber')
},
{
type: '',
value: 'state',
text: this.$t('status'),
options: this.statusList//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
},
// {
// type: '',
// value: 'state',
// text: this.$t('status'),
// options: this.statusList//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
// },
{
type: 'string',
value: 'params_batch',
@@ -1036,6 +1036,13 @@
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'
}
// clearTimeout(this.timeBatch)
// this.timeBatch = setTimeout(() => {
// if (this.currentPersonRole == 'dre') {
@@ -189,6 +189,7 @@
})
let _this = this
item.type = '1'
item.statusFlag = '4'
item.userType = flag == undefined ? valueList[0] : 'dre'
this.loading = false
let newUrl = _this.$router.resolve({
@@ -223,6 +224,7 @@
})
let _this = this
item.type = '1'
item.statusFlag = '2'
item.userType = flag == undefined ? valueList[0] : 'sdt'
this.loading = false
let newUrl = _this.$router.resolve({
@@ -258,6 +260,7 @@
})
let _this = this
item.type = '1'
item.statusFlag = '1'
item.userType = flag == undefined ? valueList[0] : 'homo'
this.loading = false
let newUrl = _this.$router.resolve({