diff --git a/README.md b/README.md index cc51a9e..5d6ca39 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # dou-Fire -抖火App \ No newline at end of file +抖火App ( 现在线上版本 2023-12-15) \ No newline at end of file diff --git a/apis/interfaces/custom.js b/apis/interfaces/custom.js new file mode 100644 index 0000000..cb7bb0f --- /dev/null +++ b/apis/interfaces/custom.js @@ -0,0 +1,48 @@ + +/** + * Web -zdx + * moduleName: 线下业务订单类型 + */ + +import { request } from '../index' + +// 获取业务类型 +const customTypes = () =>{ + return request({ + url: "custom_type/index", + }) +} + +// 提交办理线下订单 +const customTypeStore = (customType,data) => { + return request({ + url : `custom_type/${customType}/store`, + method : "POST", + data + }) +} + + +// 取消线下订单 +const customTypeCancel = (orderId, data) => { + return request({ + url : `custom_type/order/${orderId}/cancel`, + method : 'DELETE', + data + }) +} + +// 线下订单列表 +const customTypelists = data => { + return request({ + url : 'custom_type/order/lists', + data + }) +} + +export { + customTypes, + customTypeStore, + customTypeCancel, + customTypelists +} diff --git a/pages.json b/pages.json index d1c42a1..ca38305 100644 --- a/pages.json +++ b/pages.json @@ -889,6 +889,13 @@ "navigationBarTitleText" : "账户咨询办理", "enablePullDownRefresh" : false } + },{ + "path" : "pages/management/account2", + "name" : "MagAccount2", + "style" : { + "navigationBarTitleText" : "线下账户咨询办理", + "enablePullDownRefresh" : false + } }, { "path" : "pages/management/delegation", @@ -906,6 +913,14 @@ "enablePullDownRefresh" : false, "navigationBarBackgroundColor": "#FFFFFF" } + },{ + "path" : "pages/work/account2", + "name" : "AccountWork2", + "style" : { + "navigationBarTitleText" : " 线下订单", + "enablePullDownRefresh" : false, + "navigationBarBackgroundColor": "#FFFFFF" + } },{ "path" : "pages/work/delegation", "name" : "DelegationWork", diff --git a/pages/management/account2.vue b/pages/management/account2.vue new file mode 100644 index 0000000..6e899f0 --- /dev/null +++ b/pages/management/account2.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/pages/work/account2.vue b/pages/work/account2.vue new file mode 100644 index 0000000..ed316c8 --- /dev/null +++ b/pages/work/account2.vue @@ -0,0 +1,320 @@ + + + + + diff --git a/pages/work/index.vue b/pages/work/index.vue index c2b929c..a9f323d 100644 --- a/pages/work/index.vue +++ b/pages/work/index.vue @@ -64,7 +64,6 @@ - @@ -116,15 +115,22 @@ 去查看 + + + + 线下订单 + 线下咨询类订单 + + 去查看 + - @@ -255,7 +261,7 @@ success : res => { switch (res.tapIndex){ case 0: - this.onNav('OfflineCreate') + this.onNav('MagAccount2') break; case 1: this.onNav('OrderCreate', { type: 'self' }) diff --git a/static/.DS_Store b/static/.DS_Store new file mode 100644 index 0000000..fbdad5f Binary files /dev/null and b/static/.DS_Store differ diff --git a/static/icons/icon_04.png b/static/icons/icon_04.png new file mode 100644 index 0000000..6a2ca16 Binary files /dev/null and b/static/icons/icon_04.png differ