diff --git a/src/components/Navmenu/index.vue b/src/components/Navmenu/index.vue
index 079be60..48bdeda 100644
--- a/src/components/Navmenu/index.vue
+++ b/src/components/Navmenu/index.vue
@@ -10,7 +10,7 @@ const route = useRoute()
// // { name: '装备管理', routerName: '/home' },
// { name: '订单管理', routerName: '/home' },
// // { name: '基础管理', routerName: '/home' },
-// { name: '消息通知', routerName: 'enterpriseZone' },
+// { name: '通知', routerName: 'enterpriseZone' },
// // { name: '综合查询', routerName: 'enterpriseZone' },
// ]
@@ -25,7 +25,7 @@ const navMenuList = computed(() => {
{ name: '装备管理', routerName: 'goodsManagement' },
{ name: '订单管理', routerName: 'orderManagementCz' },
{ name: '接单管理', routerName: 'accept-orders' },
- { name: '消息通知', routerName: 'enterpriseZone' },
+ { name: '通知', routerName: 'enterpriseZone' },
]
if (isType == 2)
return [
@@ -34,7 +34,7 @@ const navMenuList = computed(() => {
{ name: '租赁需求大厅', routerName: 'parity' },
{ name: '订单管理', routerName: 'orderManagement' },
{ name: '需求管理', routerName: 'sourcingNeed' },
- { name: '消息通知', routerName: 'enterpriseZone' },
+ { name: '通知', routerName: 'enterpriseZone' },
]
})
diff --git a/src/components/equipCardHall/index.vue b/src/components/equipCardHall/index.vue
index 3e83507..1016c72 100644
--- a/src/components/equipCardHall/index.vue
+++ b/src/components/equipCardHall/index.vue
@@ -4,6 +4,7 @@
-
{{ name }}
+ ({{ typeName }})
- {{ company }}
@@ -57,6 +58,10 @@ const props: any = defineProps({
type: String,
default: '',
},
+ typeName: {
+ type: String,
+ default: '',
+ },
})
const emit = defineEmits(['onClick'])
diff --git a/src/http/api/personalCenter/index.ts b/src/http/api/personalCenter/index.ts
index 9130275..fc51fe3 100644
--- a/src/http/api/personalCenter/index.ts
+++ b/src/http/api/personalCenter/index.ts
@@ -10,3 +10,12 @@ export const editMessageApi = (data: any = {}) => {
return post('/material-mall/reply/edit', data)
}
+// 修改密码
+export const resetPwd = (data: any = {}) => {
+ return post('/system/user/resetPwd', data)
+}
+
+// 修改电话
+export const editPhone = (data: any = {}) => {
+ return post('/material-mall/userManage/editUser', data)
+}
\ No newline at end of file
diff --git a/src/store/user.ts b/src/store/user.ts
index a51a6aa..f879bb1 100644
--- a/src/store/user.ts
+++ b/src/store/user.ts
@@ -134,7 +134,7 @@ export const useStore = defineStore('myUser', {
{ name: '租赁需求大厅', routerName: 'parity' },
{ name: '装备管理', routerName: '/home' },
{ name: '订单管理', routerName: '/home' },
- { name: '消息通知', routerName: 'enterpriseZone' },
+ { name: '通知', routerName: 'enterpriseZone' },
]
if (type == 1) {
this.leaseAndLesseeList = baseList
diff --git a/src/views/cart/components/date-picker-button.vue b/src/views/cart/components/date-picker-button.vue
index afe0ce1..1c86d12 100644
--- a/src/views/cart/components/date-picker-button.vue
+++ b/src/views/cart/components/date-picker-button.vue
@@ -10,6 +10,7 @@
v-model="selectedDate"
style="margin-top: -100px"
:placeholder="placeholder"
+ range-separator="To"
@change="handleDateChange"
:value-format="valueFormat"
:disabled-date="disabledDate"
@@ -42,7 +43,7 @@ const props = defineProps({
},
pickerType: {
type: String,
- default: 'daterange',
+ default: 'datetimerange',
},
placeholder: {
type: String,
@@ -50,11 +51,11 @@ const props = defineProps({
},
format: {
type: String,
- default: 'YYYY-MM-DD',
+ default: 'YYYY-MM-DD HH:mm:ss',
},
valueFormat: {
type: String,
- default: 'YYYY-MM-DD',
+ default: 'YYYY-MM-DD HH:mm:ss',
},
companyIndex: {
type: Number,
diff --git a/src/views/cart/index.vue b/src/views/cart/index.vue
index 663aa2c..d958c66 100644
--- a/src/views/cart/index.vue
+++ b/src/views/cart/index.vue
@@ -90,7 +90,7 @@
{{ goods.rentBeginTime }}
- -
+ ~
{{ goods.rentEndTime }}
@@ -563,8 +563,8 @@ const onCartSubmit = async () => {
itemsArray.push({
maId: e.maId,
id: e.id,
- rentBeginTime: e.rentBeginTime + ' ' + '00:00:00',
- rentEndTime: e.rentEndTime + ' ' + '23:59:59',
+ rentBeginTime: e.rentBeginTime,
+ rentEndTime: e.rentEndTime,
manageType: e.manageType,
days: e.days,
num: e.num,
diff --git a/src/views/enterpriseZone/index.vue b/src/views/enterpriseZone/index.vue
index a582c0e..dc01398 100644
--- a/src/views/enterpriseZone/index.vue
+++ b/src/views/enterpriseZone/index.vue
@@ -1,5 +1,6 @@
@@ -28,16 +40,19 @@ const leaseList = ref([
-
-
-
-
-
-
+ :data="leaseList"
+ style="width: 100%"
+ :header-cell-style="{ background: '#00a288', color: '#fff' }"
+ @row-click="handleRowClick"
+ >
+
+
+
+
+
+
+
+
diff --git a/src/views/equip/list.vue b/src/views/equip/list.vue
index dd3fac2..f1894eb 100644
--- a/src/views/equip/list.vue
+++ b/src/views/equip/list.vue
@@ -136,6 +136,7 @@
:price="v.dayLeasePrice"
:company="v.companyName"
:personPhone="v.personPhone"
+ :typeName="v.typeName"
@click="onHandleDetails(v.maId)"
/>
+
-
-
-
+