Skip to content

Commit b36ed8d

Browse files
committed
update rank and API
1 parent 4c6784f commit b36ed8d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/components/AddCustomer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default {
122122
},
123123
},
124124
updated() {
125-
if (this.userProfile.rank <= 4) {
125+
if (this.userProfile.rank <= 6) {
126126
fb.auth
127127
.signOut()
128128
.then(() => {

src/components/AddUser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export default {
222222
},
223223
},
224224
updated() {
225-
if (this.userProfile.rank <= 4) {
225+
if (this.userProfile.rank <= 6) {
226226
fb.auth
227227
.signOut()
228228
.then(() => {

src/components/CreateOrderByExcel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ export default {
477477
line.product_id = 3;
478478
break;
479479
case "FP":
480-
line.product_id = 6;
480+
line.product_id = 2631;
481481
break;
482482
case "HP":
483483
line.product_id = 5;
@@ -495,7 +495,7 @@ export default {
495495
line.product_id = 9;
496496
break;
497497
case "WA":
498-
line.product_id = 10;
498+
line.product_id = 2629;
499499
break;
500500
case "DG":
501501
line.product_id = 2614;

src/components/Navigation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
<v-list-item-title class="grey--text text--darken-1">Message</v-list-item-title>
4040
</v-list-item>-->
4141

42-
<v-list-item :to="{ name: 'AddUser' }" v-if="this.userProfile.rank >= 4">
42+
<v-list-item :to="{ name: 'AddUser' }" v-if="this.userProfile.rank >= 6">
4343
<v-list-item-action>
4444
<v-icon color="red">group_add</v-icon>
4545
</v-list-item-action>
4646
<v-list-item-title class="grey--text text--darken-1">Add User</v-list-item-title>
4747
</v-list-item>
48-
<v-list-item :to="{ name: 'AddCustomer' }" v-if="this.userProfile.rank >= 4">
48+
<v-list-item :to="{ name: 'AddCustomer' }" v-if="this.userProfile.rank >= 6">
4949
<v-list-item-action>
5050
<v-icon color="red">add_business</v-icon>
5151
</v-list-item-action>

0 commit comments

Comments
 (0)