每日统计

This commit is contained in:
shawnzhang 2019-03-05 20:55:57 +08:00
parent 96fb97bd64
commit e2dad8f196
5 changed files with 22 additions and 16 deletions

View file

@ -94,3 +94,9 @@ this.tableHeader = ['门店名称', '地址', '经度', '纬度', '管理员id',
通过 this.$emit('rest', true) 子组件向父组件传值
```
###### 今日完成
```
- 物品列表展示页面完成 2019/03/05
-
```

View file

@ -316,10 +316,10 @@ export default {
this.$refs.customerForm.resetFields()
this.$refs.customerForm2.clearValidate()
this.$refs.customerForm2.resetFields()
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}
@ -379,10 +379,10 @@ export default {
const anchor = this.$refs.geren.offsetTop
console.log(anchor)
document.documentElement.scrollTop = anchor - 100
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}

View file

@ -306,10 +306,10 @@ export default {
this.restAllForm()
this.$refs.customerForm.clearValidate()
this.$refs.customerForm.resetFields()
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}
@ -364,10 +364,10 @@ export default {
const anchor = this.$refs.geren.offsetTop
console.log(anchor)
document.documentElement.scrollTop = anchor - 100
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}

View file

@ -431,10 +431,10 @@ export default {
this.restAllForm()
this.$refs.contractForm.clearValidate()
this.$refs.contractForm.resetFields()
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}
@ -489,10 +489,10 @@ export default {
this.$refs.contractForm.resetFields()
const anchor2 = this.$refs.geren.offsetTop
document.documentElement.scrollTop = anchor2 - 100
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}

View file

@ -521,10 +521,10 @@ export default {
this.restAllForm()
this.$refs.RepositoryForm.clearValidate()
this.$refs.RepositoryForm.resetFields()
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}
@ -559,10 +559,10 @@ export default {
this.$refs.RepositoryForm.resetFields()
const anchor2 = this.$refs.geren.offsetTop
document.documentElement.scrollTop = anchor2 - 100
} else if (res.data.msg === 'account isExist') {
} else {
this.$notify.error({
title: '错误',
message: '登陆账号已存在',
message: res.data.msg,
offset: 100
})
}