更新任务审批类型
This commit is contained in:
parent
f91a4f520b
commit
bf64e4d08b
@ -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 })
|
||||
}
|
||||
|
@ -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();
|
||||
// };
|
||||
|
||||
getLists();
|
||||
getTaskApproveTypeList().then((res) => {
|
||||
queryParams.type = res.join(",");
|
||||
getLists();
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user