!107 style(xispeak): 美化发起落实措施收集流程弹窗
* style(xispeak): 美化发起落实措施收集流程弹窗 * fix(xispeak): 移除督办状态筛选默认值,避免页面初始加载时无数据 * fix(xispeak): 对齐督办状态筛选逻辑,设置默认值"未开始"
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<!-- </a-col>-->
|
||||
<a-col :lg="6">
|
||||
<a-form-item name="bpmStatus" label="督办状态">
|
||||
<a-select v-model:value="queryParam.bpmStatus" placeholder="请选择" allow-clear @change="searchQuery">
|
||||
<a-select v-model:value="bpmStatusFilter" placeholder="请选择" allow-clear @change="handleBpmStatusChange">
|
||||
<a-select-option value="1">未开始</a-select-option>
|
||||
<a-select-option value="2">督办中</a-select-option>
|
||||
<a-select-option value="3">已完成</a-select-option>
|
||||
@@ -167,6 +167,7 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
const feedbackViewModalRef = ref();
|
||||
const feedbackRightNowModalRef = ref();
|
||||
const businessProcessListModalRef = ref();
|
||||
const bpmStatusFilter = ref();
|
||||
const currentBusinessId = ref('');
|
||||
const pendingFeedbackRightNow = ref(0);
|
||||
const statsData = reactive({ notStarted: 0, inProgress: 0, overdue: 0, completed: 0 });
|
||||
@@ -880,10 +881,20 @@ import { defHttp } from '/@/utils/http/axios';
|
||||
function searchReset() {
|
||||
formRef.value?.resetFields();
|
||||
clearQueryParams();
|
||||
bpmStatusFilter.value = undefined;
|
||||
selectedRowKeys.value = [];
|
||||
reload({ page: 1 });
|
||||
}
|
||||
|
||||
function handleBpmStatusChange(value) {
|
||||
if (value != null) {
|
||||
queryParam.value.bpmStatus = value;
|
||||
} else {
|
||||
delete queryParam.value.bpmStatus;
|
||||
}
|
||||
reload({ page: 1 });
|
||||
}
|
||||
|
||||
/**
|
||||
* form点击事件(以逗号分割)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user