三项制度库权限分开
parent
eaed841e03
commit
7b29b15bb5
|
@ -418,16 +418,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryOne:add,textlibraryOne:del,textlibraryOne:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryOnefhadminadd // 新增权限
|
||||
this.del = data.textlibraryOnefhadmindel // 删除权限
|
||||
this.edit = data.textlibraryOnefhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -398,16 +398,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryOne:add,textlibraryOne:del,textlibraryOne:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryOnefhadminadd // 新增权限
|
||||
this.del = data.textlibraryOnefhadmindel // 删除权限
|
||||
this.edit = data.textlibraryOnefhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -418,16 +418,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryTwo:add,textlibraryTwo:del,textlibraryTwo:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryTwofhadminadd // 新增权限
|
||||
this.del = data.textlibraryTwofhadmindel // 删除权限
|
||||
this.edit = data.textlibraryTwofhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -398,16 +398,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryTwo:add,textlibraryTwo:del,textlibraryTwo:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryTwofhadminadd // 新增权限
|
||||
this.del = data.textlibraryTwofhadmindel // 删除权限
|
||||
this.edit = data.textlibraryTwofhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -455,16 +455,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryThree:add,textlibraryThree:del,textlibraryThree:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryThreefhadminadd // 新增权限
|
||||
this.del = data.textlibraryThreefhadmindel // 删除权限
|
||||
this.edit = data.textlibraryThreefhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
|
@ -399,16 +399,16 @@ export default {
|
|||
})
|
||||
},
|
||||
hasButton: function() {
|
||||
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel'
|
||||
var keys = 'textlibraryThree:add,textlibraryThree:del,textlibraryThree:edit,toExcel'
|
||||
requestFN(
|
||||
'/head/hasButton',
|
||||
{
|
||||
keys: keys
|
||||
}
|
||||
).then((data) => {
|
||||
this.add = data.textlibraryfhadminadd // 新增权限
|
||||
this.del = data.textlibraryfhadmindel // 删除权限
|
||||
this.edit = data.textlibraryfhadminedit // 修改权限
|
||||
this.add = data.textlibraryThreefhadminadd // 新增权限
|
||||
this.del = data.textlibraryThreefhadmindel // 删除权限
|
||||
this.edit = data.textlibraryThreefhadminedit // 修改权限
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue