|
@@ -53,24 +53,13 @@ import store from '@/store'
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
if (needRedirect === true) {
|
|
if (needRedirect === true) {
|
|
|
- //供货商员工
|
|
|
|
|
|
|
+ //员工
|
|
|
if (res.data.admin.identity == '2') {
|
|
if (res.data.admin.identity == '2') {
|
|
|
// this.$util.pageTo({
|
|
// this.$util.pageTo({
|
|
|
// url: "/admin/home/workbench",
|
|
// url: "/admin/home/workbench",
|
|
|
// type: 4
|
|
// type: 4
|
|
|
// });
|
|
// });
|
|
|
- //花店员工
|
|
|
|
|
- } else if(res.data.admin.identity == '1'){
|
|
|
|
|
- if(redirectPage !== 'admin/billing/customerPlace') {
|
|
|
|
|
- this.$util.pageTo({
|
|
|
|
|
- url: "/pagesClient/official/latest-shop",
|
|
|
|
|
- type: 2,
|
|
|
|
|
- query:{
|
|
|
|
|
- ...this.option
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
- //未知身份
|
|
|
|
|
|
|
+ //客户
|
|
|
}else{
|
|
}else{
|
|
|
if(this.option.style != 1){
|
|
if(this.option.style != 1){
|
|
|
this.$util.pageTo({
|
|
this.$util.pageTo({
|