diff --git a/src/pages.json b/src/pages.json
index cf79dc5..060e1f6 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -512,6 +512,23 @@
}
}
]
+ },
+ {
+ "root": "pages/car",
+ "pages": [
+ {
+ "path": "userCar/apply",
+ "style": {
+ "navigationBarTitleText": "申请车辆"
+ }
+ },
+ {
+ "path": "userCar/list",
+ "style": {
+ "navigationBarTitleText": "我的车辆"
+ }
+ }
+ ]
}
],
"globalStyle": {
@@ -597,4 +614,4 @@
}
]
}
-}
+}
\ No newline at end of file
diff --git a/src/pages/apply/foreign-apply.vue b/src/pages/apply/foreign-apply.vue
index e2dcc40..dcc7408 100644
--- a/src/pages/apply/foreign-apply.vue
+++ b/src/pages/apply/foreign-apply.vue
@@ -35,7 +35,7 @@ onLoad((options: any) => {
getDetail()
}
})
-onShow(() => {})
+onShow(() => { })
const getDetail = async () => {
if (isEmpty(state.detailId)) return
@@ -88,18 +88,14 @@ const doSubmit = async () => {
-
+
-
+
@@ -107,31 +103,20 @@ const doSubmit = async () => {
-
+
-
+ :placeholder="state.detailType == 'view' ? '' : '请输入备注..'">
-
+ @tap="doSubmit">
提交
diff --git a/src/pages/apply/foreign-list.vue b/src/pages/apply/foreign-list.vue
index 55559f0..15b489e 100644
--- a/src/pages/apply/foreign-list.vue
+++ b/src/pages/apply/foreign-list.vue
@@ -27,7 +27,7 @@ const query = (page: number, pagesize: number) => {
pageHook.startPage(page, pagesize, false, state.pa)
}
-onLoad(() => {})
+onLoad(() => { })
onShow(() => {
if (pageRef.value) {
pageRef.value.reload(false)
@@ -55,20 +55,9 @@ const doCard = (v: any) => {
-
+
@@ -76,7 +65,8 @@ const doCard = (v: any) => {
-
+
电子餐券
@@ -127,7 +117,9 @@ const doCard = (v: any) => {
-
+
申请
diff --git a/src/pages/car/userCar/apply.vue b/src/pages/car/userCar/apply.vue
new file mode 100644
index 0000000..a89aff6
--- /dev/null
+++ b/src/pages/car/userCar/apply.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/car/userCar/list.vue b/src/pages/car/userCar/list.vue
new file mode 100644
index 0000000..6354230
--- /dev/null
+++ b/src/pages/car/userCar/list.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+ {{ carTypeEnum[v.carType] }}
+
+ {{ carTypeEnum[v.carType] }}
+
+ {{ carTypeEnum[v.carType] }}
+
+ {{ carTypeEnum[v.carType] }}
+
+
+ {{ v.carNumber }}
+
+
+
+
+ {{ v.createTime }}
+
+
+ 已启用
+ 已禁用
+
+
+
+
+ 申请
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/human-face/list.vue b/src/pages/human-face/list.vue
index af9ccc3..cce03c3 100644
--- a/src/pages/human-face/list.vue
+++ b/src/pages/human-face/list.vue
@@ -19,7 +19,7 @@ const query = (page: number, pagesize: number) => {
pageHook.startPage(page, pagesize, false, state.pa)
}
-onLoad(() => {})
+onLoad(() => { })
onShow(() => {
if (pageRef.value) {
pageRef.value.reload(false)
@@ -49,20 +49,9 @@ const doDel = (id: string) => {
-
+
@@ -81,7 +70,9 @@ const doDel = (id: string) => {
-
+
添加
diff --git a/src/pages/integrated/visitor/invitation.vue b/src/pages/integrated/visitor/invitation.vue
index 20897c2..70783a3 100644
--- a/src/pages/integrated/visitor/invitation.vue
+++ b/src/pages/integrated/visitor/invitation.vue
@@ -19,26 +19,16 @@
拜访开始时间
-
+
拜访离开时间
-
+
转账
-
+
申请冻结
-
+
去充值
@@ -206,15 +191,8 @@ const doTransferMoney = (v: any) => {
-
+
@@ -224,15 +202,8 @@ const doTransferMoney = (v: any) => {
绑定
-
+
@@ -242,15 +213,8 @@ const doTransferMoney = (v: any) => {
冻结
-
+
diff --git a/src/sheep/api/index.ts b/src/sheep/api/index.ts
index fd63da5..b2fc1a4 100644
--- a/src/sheep/api/index.ts
+++ b/src/sheep/api/index.ts
@@ -38,4 +38,6 @@ export { default as noticeApi } from "./notice"
export { default as invitationApi } from "./invitation"
-export { default as totalApi } from "./total"
+export { default as totalApi } from "./total"
+
+export { default as userCarApi } from "./userCar"
\ No newline at end of file
diff --git a/src/sheep/api/userCar.ts b/src/sheep/api/userCar.ts
new file mode 100644
index 0000000..da7919d
--- /dev/null
+++ b/src/sheep/api/userCar.ts
@@ -0,0 +1,22 @@
+import request from "@/sheep/utils/request"
+
+export default {
+ /**
+ * 申请车
+ */
+ apply: (data: any) =>
+ request({
+ url: `/admin/sysUserCar/app/create`,
+ method: "POST",
+ data,
+ }),
+ /**
+ * 车列表
+ */
+ page: (data: any) =>
+ request({
+ url: `/admin/sysUserCar/app/page`,
+ method: "POST",
+ data,
+ }),
+}
\ No newline at end of file
diff --git a/src/sheep/constant/service-enum.ts b/src/sheep/constant/service-enum.ts
index dcf874a..4bfbfaa 100644
--- a/src/sheep/constant/service-enum.ts
+++ b/src/sheep/constant/service-enum.ts
@@ -36,6 +36,13 @@ const hardwareRefundStatusEnum = {
30: "售后失败",
}
+const carTypeEnum = {
+ 1: "私家车",
+ 2: "公车",
+ 3: "军车",
+ 4: "警车",
+}
+
const boxesBxStatusEnum = {
"0": "今日空闲",
"1": "今日部分空闲",
@@ -49,4 +56,5 @@ export default {
boxesBxStatusEnum,
hardwareSaleStatusEnum,
hardwareRefundStatusEnum,
+ carTypeEnum,
}
diff --git a/src/static/icon/service_6.png b/src/static/icon/service_6.png
new file mode 100644
index 0000000..5eaac1d
Binary files /dev/null and b/src/static/icon/service_6.png differ