diff --git a/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue b/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue
index d70b5249..4377f9cc 100644
--- a/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue
+++ b/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue
@@ -4,25 +4,26 @@
-
+
-

-
采苓岩茶烟酒专营店
-
店员 (4)
+
![]()
+
{{ item.businessName }}
+
店员 ({{ item.detailList ? item.detailList.length : 0 }})
-

-
林轶峰 18600882921
+
![]()
+
{{ item.bossName }} {{ item.telephone }}
-

-
陕西省西安市新城区中山门街道168号陕西省西安市新城区中山门街道168号
+
![]()
+
{{ item.businessAddress }}
-
-

+
+
李毅-网格长
+
新增商户
@@ -46,6 +47,7 @@
computed: {...mapState(['user'])},
onLoad () {
+ this.$loading()
this.getList()
uni.$on('update', () => {
this.current = 1
@@ -59,7 +61,8 @@
methods: {
getList() {
- if(this.current > this.pages) return
+ if (this.current > this.pages) return
+
this.$http.post('/app/appcompany/list', null, {
params: {
size: 10,
@@ -80,6 +83,7 @@
})
}
},
+
onReachBottom() {
this.current ++
this.getList()
@@ -98,7 +102,12 @@
padding: 32px 24px 32px 32px;
box-sizing: border-box;
margin-bottom: 30px;
+
+ &:active {
+ background: #eee;
+ }
.title{
+ margin-bottom: 38px;
img{
width: 72px;
height: 72px;
@@ -125,6 +134,8 @@
}
}
.info{
+ line-height: 1;
+ margin-bottom: 20px;
img{
width: 28px;
height: 28px;
diff --git a/src/project/xicheng/AppMerchantManage/add.vue b/src/project/xicheng/AppMerchantManage/add.vue
index ce0f87b7..dbd51ca6 100644
--- a/src/project/xicheng/AppMerchantManage/add.vue
+++ b/src/project/xicheng/AppMerchantManage/add.vue
@@ -5,7 +5,7 @@
店名
-
+
@@ -16,14 +16,14 @@
-
+
@@ -32,7 +32,7 @@
电话
-
+
@@ -41,7 +41,7 @@
身份证号
-
+
@@ -52,7 +52,7 @@
@@ -82,7 +82,7 @@ export default {
businessName: '',
lat: '',
lon: '',
- storePicUrl: '',
+ storePicUrl: [],
telephone: ''
}
}
@@ -124,8 +124,9 @@ export default {
this.$loading()
this.$http.post('/api/appcompany/addORUpdate', {
- ...this.form
- }).then(() => {
+ ...this.form,
+ storePicUrl: this.form.storePicUrl.length ? this.form.storePicUrl[0].url : ''
+ }).then(res => {
if (res.code === 0) {
this.$u.toast('提交成功')
diff --git a/src/project/xicheng/AppMerchantManage/addClerk.vue b/src/project/xicheng/AppMerchantManage/addClerk.vue
index 4dd38d7f..bea58be3 100644
--- a/src/project/xicheng/AppMerchantManage/addClerk.vue
+++ b/src/project/xicheng/AppMerchantManage/addClerk.vue
@@ -5,7 +5,7 @@
姓名
-
+
@@ -14,36 +14,66 @@
电话
-
+
- 确认添加
+ 确认添加