三项制度库权限分开
parent
d5241d8c02
commit
279bf3252d
|
@ -386,16 +386,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
|
||||
})
|
||||
|
|
|
@ -391,16 +391,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
|
||||
})
|
||||
|
|
|
@ -385,16 +385,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
|
||||
})
|
||||
|
|
|
@ -391,7 +391,7 @@ 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',
|
||||
{
|
||||
|
|
|
@ -385,16 +385,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
|
||||
})
|
||||
|
|
|
@ -391,16 +391,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