8/19 账单-时间类型-自然/滚动
This commit is contained in:
@@ -137,6 +137,7 @@ import { listDecoration, delDecoration, updateDecoration } from '@/api/system/De
|
||||
import { DecorationVO, DecorationQuery, DecorationForm } from '@/api/system/Decoration/type';
|
||||
import { checkPermi } from '@/utils/permission';
|
||||
import { validator } from '@/utils/Reg';
|
||||
import '@/types/axios.d.ts';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const { com_decoration_status } = toRefs<any>(proxy?.useDict('com_decoration_status'));
|
||||
@@ -217,10 +218,14 @@ const { queryParams, form, rules } = toRefs(data);
|
||||
/** 查询装修管理列表 */
|
||||
const getList = async () => {
|
||||
loading.value = true;
|
||||
const res = await listDecoration(queryParams.value);
|
||||
decorationList.value = res.rows;
|
||||
total.value = res.total;
|
||||
loading.value = false;
|
||||
listDecoration(queryParams.value)
|
||||
.then((res) => {
|
||||
decorationList.value = res.rows;
|
||||
total.value = res.total;
|
||||
})
|
||||
.finally(() => {
|
||||
loading.value = false;
|
||||
});
|
||||
};
|
||||
|
||||
/** 取消按钮 */
|
||||
@@ -248,6 +253,8 @@ const handleClear = () => {
|
||||
/** 重置按钮操作 */
|
||||
const resetQuery = () => {
|
||||
queryFormRef.value?.resetFields();
|
||||
queryParams.value.inspectionResult = undefined;
|
||||
queryParams.value.applyName = undefined;
|
||||
handleQuery();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user