mirror of
https://github.com/shawncai/ERP.git
synced 2024-09-20 15:06:11 +08:00
每日统计
This commit is contained in:
parent
96fb97bd64
commit
e2dad8f196
|
@ -94,3 +94,9 @@ this.tableHeader = ['门店名称', '地址', '经度', '纬度', '管理员id',
|
|||
通过 this.$emit('rest', true) 子组件向父组件传值
|
||||
|
||||
```
|
||||
###### 今日完成
|
||||
```
|
||||
- 物品列表展示页面完成 2019/03/05
|
||||
-
|
||||
|
||||
```
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue