|
|
@@ -10,7 +10,7 @@
|
|
|
:closable="false"
|
|
|
@close="onClose"
|
|
|
>
|
|
|
- <normalTable rowKey="systemappid" size="small" :filterMultiple="true" :param="{id:20230608102402,content:{pageNumber:1,pageSize:10}}" :columns="utils.TBLayout('AuthAppsTable')" @onSelect="onSelect"></normalTable>
|
|
|
+ <normalTable rowKey="systemappid" size="small" :filterMultiple="true" :param="{method:'query_appselect',classname:'webmanage.role.role',content:{pageNumber:1,pageSize:10}}" :columns="utils.TBLayout('AuthAppsTable')" @onSelect="onSelect"></normalTable>
|
|
|
|
|
|
<a-button :disabled="optionSelect.length == 0" class="mt-10" type="primary" @click="addOptions">添加选中</a-button>
|
|
|
<normalTable ref="app" rowKey="optionid" size="small" :filterMultiple="false" :param="appParam" :columns="columns" @onSelect="onSelectOptions" :noQuery="true"></normalTable>
|
|
|
@@ -49,7 +49,8 @@
|
|
|
}
|
|
|
const authData = async ()=>{
|
|
|
const res = await Api.requested({
|
|
|
- "id":20230608102402,
|
|
|
+ "classname":"webmanage.role.role",
|
|
|
+ "method":"query_appselect",
|
|
|
"content":{
|
|
|
"pageNumber":1,
|
|
|
"pageSize":10,
|
|
|
@@ -64,7 +65,8 @@
|
|
|
})
|
|
|
}
|
|
|
const appParam = ref({
|
|
|
- id:20230608102502,
|
|
|
+ method:'query_appoptionselect',
|
|
|
+ classname:'webmanage.role.role',
|
|
|
content:{
|
|
|
roleid:router.currentRoute.value.query.id,
|
|
|
systemappid:0
|
|
|
@@ -82,7 +84,8 @@
|
|
|
}
|
|
|
const addOptions = async ()=>{
|
|
|
const res = await Api.requested({
|
|
|
- id:20230608102702,
|
|
|
+ classname:"webmanage.role.role",
|
|
|
+ method:"add_appauth",
|
|
|
content:{
|
|
|
roleid:router.currentRoute.value.query.id,
|
|
|
systemapps:[{systemappid: appParam.value.content.systemappid, optionids:optionSelect.value.map(e=>e.optionid), hiddenfields: []}]
|