三项制度库权限分开

5_7_地图同步
liujun 2024-03-12 17:30:04 +08:00
parent eaed841e03
commit 7b29b15bb5
6 changed files with 24 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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