diff --git a/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue b/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue index 4682bb39..a96ac6db 100644 --- a/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue +++ b/src/project/xicheng/AppMerchantManage/AppMerchantManage.vue @@ -1,6 +1,30 @@ - + + + + + + + + 采苓岩茶烟酒专营店 + 店员 (4) + + + + 林轶峰 18600882921 + + + + 陕西省西安市新城区中山门街道168号陕西省西安市新城区中山门街道168号 + + + + 李毅-网格长 + + + + 新增商户 @@ -12,7 +36,10 @@ export default { appName: '商户管理', data() { return { - + keyword: '', + current: 1, + pages: 2, + list: [] } }, computed: {...mapState(['user'])}, @@ -23,12 +50,99 @@ export default { document.title = "商户管理" }, methods: { - + getList() { + if(this.current > this.pages) return + this.$http.post('/app/appresident/list', null, { + params: { + size: 10, + current: this.current, + con: this.keyword, + }, + }).then((res) => { + if (res.code == 0) { + this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records + this.pages = res.data.pages + } + }) + }, + }, + onReachBottom() { + this.current ++ + this.getList() } } diff --git a/src/project/xicheng/AppMerchantManage/add.vue b/src/project/xicheng/AppMerchantManage/add.vue index a9ef3cf4..53add30d 100644 --- a/src/project/xicheng/AppMerchantManage/add.vue +++ b/src/project/xicheng/AppMerchantManage/add.vue @@ -1,6 +1,69 @@ - + + * + + 店名 + + + + + + + * + + 地址 + + + + + + + * + + 店长 + + + + + + + + + 电话 + + + + + + + + + 身份证号 + + + + + + + + + 门店照片 + + + + + + + + + + 地图标注 + 地图标绘 + + + + 保存 @@ -11,7 +74,8 @@ export default { name: 'add', data() { return { - + name: '', + files: [] } }, computed: {...mapState(['user'])}, @@ -19,7 +83,7 @@ export default { }, onShow() { - document.title = "商户管理" + document.title = "新增商户" }, methods: { @@ -29,5 +93,78 @@ export default { diff --git a/src/project/xicheng/AppMerchantManage/addClerk.vue b/src/project/xicheng/AppMerchantManage/addClerk.vue index c093802e..4dd38d7f 100644 --- a/src/project/xicheng/AppMerchantManage/addClerk.vue +++ b/src/project/xicheng/AppMerchantManage/addClerk.vue @@ -1,6 +1,24 @@ - + + * + + 姓名 + + + + + + + + + 电话 + + + + + + 确认添加 @@ -11,7 +29,8 @@ export default { name: 'addClerk', data() { return { - + name: '', + phone: '' } }, computed: {...mapState(['user'])}, @@ -19,7 +38,7 @@ export default { }, onShow() { - document.title = "商户管理" + document.title = "新增店员" }, methods: { @@ -29,5 +48,63 @@ export default { diff --git a/src/project/xicheng/AppMerchantManage/detail.vue b/src/project/xicheng/AppMerchantManage/detail.vue index e69de29b..453d579e 100644 --- a/src/project/xicheng/AppMerchantManage/detail.vue +++ b/src/project/xicheng/AppMerchantManage/detail.vue @@ -0,0 +1,170 @@ + + + + + + 薇诺娜服饰专营店 + + + 陕西省西安市新城区中山门街道168号陕西省西安市新城区中山门街道168号 + + + + + 基础信息 + + 店主 + 林轶峰 + + + 电话 + 17214317899 + + + 身份证 + 42080134140193413 + + + + 门店照片 + + + + + 地图 + 定位 + + + + 店员信息 + + 林轶峰 + 17214317899 + + + 林轶峰 + 17214317899 + + + + 新增店员 + + + + + + diff --git a/src/project/xicheng/AppMerchantManage/img/down-icon.png b/src/project/xicheng/AppMerchantManage/img/down-icon.png new file mode 100644 index 00000000..6ffcc7a2 Binary files /dev/null and b/src/project/xicheng/AppMerchantManage/img/down-icon.png differ
采苓岩茶烟酒专营店
薇诺娜服饰专营店