zhangqiOMG 2 سال پیش
والد
کامیت
8b4248ae54

+ 1 - 2
src/operation/moduleNormal/roleManage/detail/index.vue

@@ -32,8 +32,7 @@ const mainAreaData = ref([])
 const roleData = ref({})
 const mianData = async ()=>{
   const res = await Api.requested({
-   "classname": "webmanage.role.role",
-    "method": "query_roleMain",
+    id:20230608102202,
     "content": {
       "nocache":true,
       "roleid": router.currentRoute.value.query.id

+ 3 - 5
src/operation/moduleNormal/roleManage/detail/modules/addAuth.vue

@@ -10,7 +10,7 @@
       :closable="false"
       @close="onClose"
     >
-      <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>
+      <normalTable rowKey="systemappid" size="small" :filterMultiple="true" :param="{id:20230608102402,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,8 +49,7 @@
   }
   const authData = async ()=>{
     const res = await Api.requested({
-      "classname":"webmanage.role.role",
-      "method":"query_appselect",
+      id:20230608102402,
       "content":{
         "pageNumber":1,
         "pageSize":10,
@@ -65,8 +64,7 @@
     })
   }
   const appParam = ref({
-    method:'query_appoptionselect',
-    classname:'webmanage.role.role',
+    id:20230608102502,
     content:{
       roleid:router.currentRoute.value.query.id,
       systemappid:0

+ 1 - 2
src/operation/moduleNormal/roleManage/detail/modules/edit.vue

@@ -82,8 +82,7 @@ const submit = async ()=>{
   try {
     const values = await formRef.value.validateFields();
     const res = await Api.requested({
-      "classname": "webmanage.role.role",
-      "method": "insertormodify_role",
+      id:20230608102302,
       "content": form.value
     })
     utils.message(res,'编辑成功',()=>{

+ 1 - 2
src/operation/moduleNormal/roleManage/detail/tabs/auth.vue

@@ -23,8 +23,7 @@
   const deleteOptions = async (systemappid,item)=>{
     console.log(systemappid,item)
     const res = await Api.requested({
-      classname:"webmanage.role.role",
-      method:"delete_appauth",
+      id:20230608102802,
       content:{
         roleid:router.currentRoute.value.query.id,
         systemapps:[{systemappid: systemappid, optionids: [item.optionid], hiddenfields: []}]

+ 1 - 2
src/operation/moduleNormal/roleManage/modules/add.vue

@@ -92,8 +92,7 @@ const submit = async ()=>{
   try {
     const values = await formRef.value.validateFields();
     const res = await Api.requested({
-      "classname": "webmanage.role.role",
-      "method": "insertormodify_role",
+      id:20230608102302,
       "content": form.value
     })
     utils.message(res,'创建成功',()=>{