diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/src/api/move/message.js b/src/api/move/message.js index 297d8da..86aaf38 100644 --- a/src/api/move/message.js +++ b/src/api/move/message.js @@ -15,4 +15,10 @@ const update = (data) => { return instance.post('/appPushInfo/update', data) } -export { listPage, add } +const deleteBatch = (data) => { + return instance.post('/appPushInfo/batchDelete',data) +} +const deleteInfo =(data)=>{ + return instance.post('/appPushInfo//delete',data) +} +export { listPage, add, deleteBatch,deleteInfo } diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/src/api/move/message.js b/src/api/move/message.js index 297d8da..86aaf38 100644 --- a/src/api/move/message.js +++ b/src/api/move/message.js @@ -15,4 +15,10 @@ const update = (data) => { return instance.post('/appPushInfo/update', data) } -export { listPage, add } +const deleteBatch = (data) => { + return instance.post('/appPushInfo/batchDelete',data) +} +const deleteInfo =(data)=>{ + return instance.post('/appPushInfo//delete',data) +} +export { listPage, add, deleteBatch,deleteInfo } diff --git a/src/components/mycomponent/dialog/business/businessDetailDialog.vue b/src/components/mycomponent/dialog/business/businessDetailDialog.vue index 359384c..1ec5a4c 100644 --- a/src/components/mycomponent/dialog/business/businessDetailDialog.vue +++ b/src/components/mycomponent/dialog/business/businessDetailDialog.vue @@ -75,7 +75,7 @@
- - - + + + @@ -299,7 +299,6 @@ mounted() { const id = this.dataInfo.id businessDetail({ id: id }).then(res => { - console.log(res) this.tableData = res.productList }) }, diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/src/api/move/message.js b/src/api/move/message.js index 297d8da..86aaf38 100644 --- a/src/api/move/message.js +++ b/src/api/move/message.js @@ -15,4 +15,10 @@ const update = (data) => { return instance.post('/appPushInfo/update', data) } -export { listPage, add } +const deleteBatch = (data) => { + return instance.post('/appPushInfo/batchDelete',data) +} +const deleteInfo =(data)=>{ + return instance.post('/appPushInfo//delete',data) +} +export { listPage, add, deleteBatch,deleteInfo } diff --git a/src/components/mycomponent/dialog/business/businessDetailDialog.vue b/src/components/mycomponent/dialog/business/businessDetailDialog.vue index 359384c..1ec5a4c 100644 --- a/src/components/mycomponent/dialog/business/businessDetailDialog.vue +++ b/src/components/mycomponent/dialog/business/businessDetailDialog.vue @@ -75,7 +75,7 @@
- - - + + + @@ -299,7 +299,6 @@ mounted() { const id = this.dataInfo.id businessDetail({ id: id }).then(res => { - console.log(res) this.tableData = res.productList }) }, diff --git a/src/components/mycomponent/dialog/orderDetailDialog.vue b/src/components/mycomponent/dialog/orderDetailDialog.vue index 49793af..e797d52 100644 --- a/src/components/mycomponent/dialog/orderDetailDialog.vue +++ b/src/components/mycomponent/dialog/orderDetailDialog.vue @@ -117,7 +117,6 @@ style="width: 100%" > - diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/src/api/move/message.js b/src/api/move/message.js index 297d8da..86aaf38 100644 --- a/src/api/move/message.js +++ b/src/api/move/message.js @@ -15,4 +15,10 @@ const update = (data) => { return instance.post('/appPushInfo/update', data) } -export { listPage, add } +const deleteBatch = (data) => { + return instance.post('/appPushInfo/batchDelete',data) +} +const deleteInfo =(data)=>{ + return instance.post('/appPushInfo//delete',data) +} +export { listPage, add, deleteBatch,deleteInfo } diff --git a/src/components/mycomponent/dialog/business/businessDetailDialog.vue b/src/components/mycomponent/dialog/business/businessDetailDialog.vue index 359384c..1ec5a4c 100644 --- a/src/components/mycomponent/dialog/business/businessDetailDialog.vue +++ b/src/components/mycomponent/dialog/business/businessDetailDialog.vue @@ -75,7 +75,7 @@
- - - + + + @@ -299,7 +299,6 @@ mounted() { const id = this.dataInfo.id businessDetail({ id: id }).then(res => { - console.log(res) this.tableData = res.productList }) }, diff --git a/src/components/mycomponent/dialog/orderDetailDialog.vue b/src/components/mycomponent/dialog/orderDetailDialog.vue index 49793af..e797d52 100644 --- a/src/components/mycomponent/dialog/orderDetailDialog.vue +++ b/src/components/mycomponent/dialog/orderDetailDialog.vue @@ -117,7 +117,6 @@ style="width: 100%" > - diff --git a/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue b/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue index 4cae18a..25f5978 100644 --- a/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue +++ b/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue @@ -182,15 +182,16 @@ temp.deliveryArea = this.AreaList[aindex].areaName; turnOrder(temp).then((res) => { this.$message.success("添加成功"); - this.close(); + this.$emit("close"); + this.reset(); }); - }else { - console.log(this.valiatePhone()) - if(this.valiatePhone() === false){ + } else { + console.log(this.valiatePhone()); + if (this.valiatePhone() === false) { this.$message.error("请检查手机号格式是否正确"); - }else if(this.valiateProvince() === false){ + } else if (this.valiateProvince() === false) { this.$message.error("请检查地址格式是否正确"); - }else{ + } else { this.$message.error("请正确填写信息"); } } diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..edf644f --- /dev/null +++ b/dist.zip Binary files differ diff --git a/src/api/move/message.js b/src/api/move/message.js index 297d8da..86aaf38 100644 --- a/src/api/move/message.js +++ b/src/api/move/message.js @@ -15,4 +15,10 @@ const update = (data) => { return instance.post('/appPushInfo/update', data) } -export { listPage, add } +const deleteBatch = (data) => { + return instance.post('/appPushInfo/batchDelete',data) +} +const deleteInfo =(data)=>{ + return instance.post('/appPushInfo//delete',data) +} +export { listPage, add, deleteBatch,deleteInfo } diff --git a/src/components/mycomponent/dialog/business/businessDetailDialog.vue b/src/components/mycomponent/dialog/business/businessDetailDialog.vue index 359384c..1ec5a4c 100644 --- a/src/components/mycomponent/dialog/business/businessDetailDialog.vue +++ b/src/components/mycomponent/dialog/business/businessDetailDialog.vue @@ -75,7 +75,7 @@
- - - + + + @@ -299,7 +299,6 @@ mounted() { const id = this.dataInfo.id businessDetail({ id: id }).then(res => { - console.log(res) this.tableData = res.productList }) }, diff --git a/src/components/mycomponent/dialog/orderDetailDialog.vue b/src/components/mycomponent/dialog/orderDetailDialog.vue index 49793af..e797d52 100644 --- a/src/components/mycomponent/dialog/orderDetailDialog.vue +++ b/src/components/mycomponent/dialog/orderDetailDialog.vue @@ -117,7 +117,6 @@ style="width: 100%" > - diff --git a/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue b/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue index 4cae18a..25f5978 100644 --- a/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue +++ b/src/components/mycomponent/dialog/salesDialog/slaesChangeOrderDialog.vue @@ -182,15 +182,16 @@ temp.deliveryArea = this.AreaList[aindex].areaName; turnOrder(temp).then((res) => { this.$message.success("添加成功"); - this.close(); + this.$emit("close"); + this.reset(); }); - }else { - console.log(this.valiatePhone()) - if(this.valiatePhone() === false){ + } else { + console.log(this.valiatePhone()); + if (this.valiatePhone() === false) { this.$message.error("请检查手机号格式是否正确"); - }else if(this.valiateProvince() === false){ + } else if (this.valiateProvince() === false) { this.$message.error("请检查地址格式是否正确"); - }else{ + } else { this.$message.error("请正确填写信息"); } } diff --git a/src/components/mycomponent/groupPage.vue b/src/components/mycomponent/groupPage.vue index 666edc1..372e253 100644 --- a/src/components/mycomponent/groupPage.vue +++ b/src/components/mycomponent/groupPage.vue @@ -1,7 +1,7 @@