发票分角色
This commit is contained in:
@@ -288,7 +288,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
offline: '非离线',
|
offline: '非离线',
|
||||||
check1: 0,
|
check1: 0,
|
||||||
office: false,
|
office: null, // 是否为办公室
|
||||||
scanSrc: '',
|
scanSrc: '',
|
||||||
upload: uploadInvoiceScan,
|
upload: uploadInvoiceScan,
|
||||||
limit: 1,
|
limit: 1,
|
||||||
@@ -342,12 +342,15 @@ export default {
|
|||||||
'sidebar',
|
'sidebar',
|
||||||
'avatar',
|
'avatar',
|
||||||
'name',
|
'name',
|
||||||
|
'token', // 角色编号
|
||||||
'id' // 人员编号
|
'id' // 人员编号
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
|
console.log(this.token)
|
||||||
|
Number(this.token) === 8 ? this.office = true : this.office = false // 是否为办公室,8是办公室,2是采购部
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
offlineChange2() { // 切换离线非离线(内)
|
offlineChange2() { // 切换离线非离线(内)
|
||||||
|
|||||||
Reference in New Issue
Block a user