diff --git a/pages-sub/daily/maintain-manage/add-record.vue b/pages-sub/daily/maintain-manage/add-record.vue index 9f26fac..262e54b 100644 --- a/pages-sub/daily/maintain-manage/add-record.vue +++ b/pages-sub/daily/maintain-manage/add-record.vue @@ -1,122 +1,66 @@ -/** - * 选择工单位置 - */ -const chooseWorkLocation = async () => { - uni.chooseLocation({ - success: async (res) => { - workOrderForm.roadName = '' - workOrderForm.roadId = 0 - roadNameList.value = [] + \ No newline at end of file + + diff --git a/pages-sub/problem/work-order-manage/add-order.vue b/pages-sub/problem/work-order-manage/add-order.vue new file mode 100644 index 0000000..56b7147 --- /dev/null +++ b/pages-sub/problem/work-order-manage/add-order.vue @@ -0,0 +1,547 @@ + + + + + \ No newline at end of file diff --git a/pages-sub/problem/work-order-manage/index.vue b/pages-sub/problem/work-order-manage/index.vue index 435ddcb..4694e05 100644 --- a/pages-sub/problem/work-order-manage/index.vue +++ b/pages-sub/problem/work-order-manage/index.vue @@ -377,7 +377,7 @@ const confirmReject = async () => { // 新增工单 const handleAddOrder = () => { uni.navigateTo({ - url: '/pages-sub/daily/quick-order/add-order' + url: '/pages-sub/problem/work-order-manage/add-order' }); }; diff --git a/pages.json b/pages.json index 51125b4..b99ec2d 100644 --- a/pages.json +++ b/pages.json @@ -125,6 +125,12 @@ "style": { "navigationBarTitleText": "工单管理" } }, { + "path": "work-order-manage/add-order", + "style": { "navigationBarTitleText": "新增工单" } + }, + + + { "path": "problem-allot/index", "style": { "navigationBarTitleText": "问题分配" } }