三项制度库权限分开

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() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryOne:add,textlibraryOne:del,textlibraryOne:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {
keys: keys keys: keys
} }
).then((data) => { ).then((data) => {
this.add = data.textlibraryfhadminadd // this.add = data.textlibraryOnefhadminadd //
this.del = data.textlibraryfhadmindel // this.del = data.textlibraryOnefhadmindel //
this.edit = data.textlibraryfhadminedit // this.edit = data.textlibraryOnefhadminedit //
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -391,16 +391,16 @@ export default {
}) })
}, },
hasButton: function() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryOne:add,textlibraryOne:del,textlibraryOne:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {
keys: keys keys: keys
} }
).then((data) => { ).then((data) => {
this.add = data.textlibraryfhadminadd // this.add = data.textlibraryOnefhadminadd //
this.del = data.textlibraryfhadmindel // this.del = data.textlibraryOnefhadmindel //
this.edit = data.textlibraryfhadminedit // this.edit = data.textlibraryOnefhadminedit //
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -385,16 +385,16 @@ export default {
}) })
}, },
hasButton: function() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryTwo:add,textlibraryTwo:del,textlibraryTwo:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {
keys: keys keys: keys
} }
).then((data) => { ).then((data) => {
this.add = data.textlibraryfhadminadd // this.add = data.textlibraryTwofhadminadd //
this.del = data.textlibraryfhadmindel // this.del = data.textlibraryTwofhadmindel //
this.edit = data.textlibraryfhadminedit // this.edit = data.textlibraryTwofhadminedit //
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -391,7 +391,7 @@ export default {
}) })
}, },
hasButton: function() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryTwo:add,textlibraryTwo:del,textlibraryTwo:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {

View File

@ -385,16 +385,16 @@ export default {
}) })
}, },
hasButton: function() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryThree:add,textlibraryThree:del,textlibraryThree:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {
keys: keys keys: keys
} }
).then((data) => { ).then((data) => {
this.add = data.textlibraryfhadminadd // this.add = data.textlibraryThreefhadminadd //
this.del = data.textlibraryfhadmindel // this.del = data.textlibraryThreefhadmindel //
this.edit = data.textlibraryfhadminedit // this.edit = data.textlibraryThreefhadminedit //
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -391,16 +391,16 @@ export default {
}) })
}, },
hasButton: function() { hasButton: function() {
var keys = 'textlibrary:add,textlibrary:del,textlibrary:edit,toExcel' var keys = 'textlibraryThree:add,textlibraryThree:del,textlibraryThree:edit,toExcel'
requestFN( requestFN(
'/head/hasButton', '/head/hasButton',
{ {
keys: keys keys: keys
} }
).then((data) => { ).then((data) => {
this.add = data.textlibraryfhadminadd // this.add = data.textlibraryThreefhadminadd //
this.del = data.textlibraryfhadmindel // this.del = data.textlibraryThreefhadmindel //
this.edit = data.textlibraryfhadminedit // this.edit = data.textlibraryThreefhadminedit //
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false
}) })