diff --git a/otherPages/authentication/connectAddress/index.vue b/otherPages/authentication/connectAddress/index.vue
index 1f2af55..0262595 100644
--- a/otherPages/authentication/connectAddress/index.vue
+++ b/otherPages/authentication/connectAddress/index.vue
@@ -153,10 +153,21 @@
}
const toAdd = (item) => {
+ console.log("item")
+ console.log(item)
if (item) {
- uni.navigateTo({
- url: `/otherPages/authentication/connectAddress/detail?addressId=${item.id}`
- })
+ console.log("item")
+ console.log(item)
+ if(item !== undefined){
+ uni.navigateTo({
+ url: `/otherPages/authentication/connectAddress/detail?addressId=${item.id}`
+ })
+ }else{
+ uni.navigateTo({
+ url: '/otherPages/authentication/connectAddress/detail'
+ })
+ }
+
} else {
uni.navigateTo({
url: '/otherPages/authentication/connectAddress/detail'
diff --git a/otherPages/authentication/serve/index.vue b/otherPages/authentication/serve/index.vue
index f113e97..7fa111a 100644
--- a/otherPages/authentication/serve/index.vue
+++ b/otherPages/authentication/serve/index.vue
@@ -325,7 +325,7 @@
id : form.id,
phone: baseFormData.userTelephone,
sex: baseFormData.sex == '男' ? 0 : 1,
- userBrief: formData.userBrief,
+ brief: formData.userBrief,
experience: formData.experience,
petType: form.type.length > 0 ? form.type.join(',') : null,
license: serveFormData.serve.join(';'),
diff --git a/otherPages/binding/partner/index.vue b/otherPages/binding/partner/index.vue
index 8373202..377b16c 100644
--- a/otherPages/binding/partner/index.vue
+++ b/otherPages/binding/partner/index.vue
@@ -1,121 +1,77 @@
-
+
-
+
收入明细
-
+
支出明细
-
-
-
-
-
-
-
- {{item.title}}
-
-
- {{item.time}}
-
+
+
+
+
+
+ {{ item.title }}
+
+
+ {{ item.createTime }}
-
-
- ¥ {{item.amont}}
-
+
+ ¥{{ item.amount }}
+
-
-
\ No newline at end of file
diff --git a/otherPages/userManage/pet/index.vue b/otherPages/userManage/pet/index.vue
index 72d1634..945fa33 100644
--- a/otherPages/userManage/pet/index.vue
+++ b/otherPages/userManage/pet/index.vue
@@ -160,12 +160,12 @@
show.value = false;
if (petType.value === '猫咪') {
uni.navigateTo({
- url: "/otherPages/userManage/pet/petInfo?petType=0&optionType=add"
+ url: "/otherPages/userManage/pet/petInfo?petType=0&optionType=add&userId="+userInfo.value.userId
})
}
if (petType.value === '狗狗') {
uni.navigateTo({
- url: "/otherPages/userManage/pet/petInfo?petType=1&optionType=add"
+ url: "/otherPages/userManage/pet/petInfo?petType=1&optionType=add&userId="+userInfo.value.userId
})
}
};
diff --git a/otherPages/userManage/pet/petInfo.vue b/otherPages/userManage/pet/petInfo.vue
index 3cb8aed..86899f0 100644
--- a/otherPages/userManage/pet/petInfo.vue
+++ b/otherPages/userManage/pet/petInfo.vue
@@ -68,6 +68,7 @@
const loading = ref(false);
const fileList = ref([]);
const petId = ref('');
+ const userId = ref('');
const petType = ref('dog');
const optionType = ref('add');
const isNewOrder = ref(false);
@@ -94,6 +95,7 @@
onLoad((option) => {
petType.value = option.petType;
+ userId.value = option.userId
optionType.value = option.optionType;
if (optionType.value === 'edit') {
petId.value = option.petId;
@@ -223,6 +225,7 @@
petType: petType.value,
headImage: headImage.value
},
+ userId:userId.value,
...petBaseInfo.value,
...petHealthInfo.value
};
diff --git a/otherPages/workbenchManage/bindUser/index.vue b/otherPages/workbenchManage/bindUser/index.vue
index 3467072..b57a332 100644
--- a/otherPages/workbenchManage/bindUser/index.vue
+++ b/otherPages/workbenchManage/bindUser/index.vue
@@ -5,15 +5,21 @@
-
+
+
+ 初级伴宠师
+
+
+ 中级伴宠师
+
+
+ 高级伴宠师
已加入合伙人:{{state.baseInfo.partner_day}}
diff --git a/otherPages/workbenchManage/myUser/components/haveOrder.vue b/otherPages/workbenchManage/myUser/components/haveOrder.vue
index 6f9e842..68c7a43 100644
--- a/otherPages/workbenchManage/myUser/components/haveOrder.vue
+++ b/otherPages/workbenchManage/myUser/components/haveOrder.vue
@@ -3,8 +3,8 @@
-
- {{ item.name }}
+
+ {{ item.nickname }}
arrowClick(index)">
{{ item.isShow == true ? '收起' : '展开' }}
@@ -26,7 +26,7 @@
最近一次下单
- {{ item.recentlyPayTime }}
+ {{ item.createTime }}
@@ -34,7 +34,7 @@
累计消费金额
- ¥ {{ item.reward_money }}
+ ¥ {{ item.orderAmount.toFixed(2) }}
diff --git a/otherPages/workbenchManage/myUser/components/noOrder.vue b/otherPages/workbenchManage/myUser/components/noOrder.vue
index 9dfbc68..6493121 100644
--- a/otherPages/workbenchManage/myUser/components/noOrder.vue
+++ b/otherPages/workbenchManage/myUser/components/noOrder.vue
@@ -2,8 +2,8 @@
-
- {{ item.userName }}
+
+ {{ item.nickname }}
diff --git a/otherPages/workbenchManage/myUser/index.vue b/otherPages/workbenchManage/myUser/index.vue
index 363aa53..49e5c00 100644
--- a/otherPages/workbenchManage/myUser/index.vue
+++ b/otherPages/workbenchManage/myUser/index.vue
@@ -5,17 +5,26 @@
@@ -137,17 +146,14 @@ const getBaseInfo = () => {
})
}
const getList = async () => {
- const {
- code,
- data
- } = await hhrMyUserList({
+ const {content} = await hhrMyUserList({
...state.page,
state: state.state,
appUserId: state.info.userId
})
- if (code === 200) {
- state.list = [...data]
- }
+ // if (code === 200) {
+ state.list = [...content]
+ // }
}
const tabClick = (item) => {
state.state = item.index
diff --git a/otherPages/workbenchManage/myWallet/index.vue b/otherPages/workbenchManage/myWallet/index.vue
index 6ab6d23..31eba35 100644
--- a/otherPages/workbenchManage/myWallet/index.vue
+++ b/otherPages/workbenchManage/myWallet/index.vue
@@ -5,8 +5,17 @@