更新任务审批类型

This commit is contained in:
weipengfei 2023-10-23 18:06:34 +08:00
parent f91a4f520b
commit bf64e4d08b
2 changed files with 10 additions and 1 deletions

View File

@ -59,3 +59,8 @@ export function dictDataDelete(params: any) {
export function dictDataDetail(params: any) {
return request.get({ url: '/setting.dict.dict_data/detail', params })
}
// 审批任务类型
export function getTaskApproveTypeList(params: any|undefined) {
return request.get({ url: '/setting.dict.dict_data/getTaskApproveTypeList', params })
}

View File

@ -141,6 +141,7 @@ import { timeFormat } from "@/utils/util";
import feedback from "@/utils/feedback";
import auditOtherPopup from "./components/audit_other.vue";
import auditTownMarketPopup from "./components/audit_town_market.vue";
import { getTaskApproveTypeList } from "@/api/setting/dict";
const auditOtherRef = shallowRef<InstanceType<typeof auditOtherPopup>>();
const auditTownMarketRef =
@ -216,6 +217,9 @@ const handleEdit = async (data: any, type = "edit") => {
// getLists();
// };
getTaskApproveTypeList().then((res) => {
queryParams.type = res.join(",");
getLists();
});
</script>