feat: 创建工单类型

This commit is contained in:
2025-08-10 12:21:22 +08:00
parent 31c4562611
commit 1773048789
2 changed files with 9 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ const handleCall = async () => {
};
/// 创建工单
const sendCreateWorkOrder = () => {
const sendCreateWorkOrder = async () => {
try {
const res = await createWorkOrder({
contactName: contactName.value,
@@ -204,12 +204,13 @@ const makePhoneCall = () => {
});
};
onMounted(() => {
nextTick(() => {
setTimeout(() => {
uni.$emit(SCROLL_TO_BOTTOM, true)
}, 200)
});
onMounted(() => {
getWorkOrderType()
nextTick(() => {
setTimeout(() => {
uni.$emit(SCROLL_TO_BOTTOM, true)
}, 200)
});
})
</script>

View File

@@ -47,6 +47,7 @@ const orderPayNow = (args) => {
export {
userOrderList,
userWorkOrderList,
workOrderTypeListForBiz,
createWorkOrder,
userOrderDetail,
preOrder,