diff --git a/index.html b/index.html index 63f6485..e19f439 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ uniapp-vue3-template +
diff --git a/src/pages.json b/src/pages.json index 80a9d0a..afc62d1 100644 --- a/src/pages.json +++ b/src/pages.json @@ -14,6 +14,20 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/WorkOrderEdit/index", + "style": { + "navigationBarTitleText": "工单编辑", + "navigationStyle": "custom" + } + }, + { + "path": "pages/WorkOrderDetails/index", + "style": { + "navigationBarTitleText": "工单详情", + "navigationStyle": "custom" + } + }, { "path": "pages/ProjectList/index", "style": { diff --git a/src/pages/WorkOrderApproval/index.vue b/src/pages/WorkOrderApproval/index.vue index b6e38a7..4d42264 100644 --- a/src/pages/WorkOrderApproval/index.vue +++ b/src/pages/WorkOrderApproval/index.vue @@ -7,7 +7,7 @@ @update:current="TypeValue = $event"> - 新建工单 + 新建工单 @@ -22,10 +22,12 @@ 项目编号:{{ item.projectCode }} - + - - + + + + @@ -55,6 +57,12 @@ const dataSource = ref([ { id: 7, name: '工单7', projectCode: '123462' }, ]) +// 跳转新建工单 +const HandleNewAdd = () => { + uni.navigateTo({ + url: '/pages/WorkOrderEdit/index' + }) +} \ No newline at end of file diff --git a/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue b/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue new file mode 100644 index 0000000..dc3c7d8 --- /dev/null +++ b/src/pages/WorkOrderEdit/compoents/BasicsInfo.vue @@ -0,0 +1,139 @@ + + + + \ No newline at end of file diff --git a/src/pages/WorkOrderEdit/index.vue b/src/pages/WorkOrderEdit/index.vue new file mode 100644 index 0000000..ecf37b3 --- /dev/null +++ b/src/pages/WorkOrderEdit/index.vue @@ -0,0 +1,115 @@ + + + + \ No newline at end of file