This commit is contained in:
zmj 2024-02-03 18:02:18 +08:00
parent 4b0840a5a5
commit 74e2c99cc7

View File

@ -65,8 +65,6 @@ const flowTyprList = ref([])
const getFlowtypeList = async () => { const getFlowtypeList = async () => {
let res = await apiFlowTypeLists() let res = await apiFlowTypeLists()
flowTyprList.value = res.lists flowTyprList.value = res.lists
console.log(res, "res")
} }
// //
@ -77,7 +75,7 @@ const getFlowTypeList = async () => {
formData.flow_path = '' formData.flow_path = ''
flowTypeList.value = [] flowTypeList.value = []
let res = await apiFlowLists({ let res = await apiFlowLists({
flow_type: formData.flow_type, flow_cate: formData.flow_type,
status: 2 status: 2
}) })
Object.assign(flowTypeList.value, res.lists) Object.assign(flowTypeList.value, res.lists)
@ -90,7 +88,6 @@ const getDetail = async () => {
let res = await apiFlowDetail({ id: formData.flow_path }) let res = await apiFlowDetail({ id: formData.flow_path })
flowDetail.value = res flowDetail.value = res
emits("confirm", formData); emits("confirm", formData);
} }
const getDescr = (item) => { const getDescr = (item) => {