三项制度库权限分开

pull/11/head
liujun 2024-03-12 17:30:05 +08:00
parent d5241d8c02
commit 279bf3252d
6 changed files with 21 additions and 21 deletions

View File

@ -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
})

View File

@ -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
})

View File

@ -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
})

View File

@ -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',
{

View File

@ -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
})

View File

@ -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
})