lcl před 8 měsíci
rodič
revize
5460a31640
35 změnil soubory, kde provedl 243 přidání a 194 odebrání
  1. 58 58
      src/api/system.ts
  2. 3 3
      src/api/user.ts
  3. 2 2
      src/utils/getUrl/getUrl.js
  4. 5 5
      src/views/menuitem/ApiGroup/components/add/index.vue
  5. 8 11
      src/views/menuitem/ApiGroup/components/update/index.vue
  6. 15 10
      src/views/menuitem/ApiGroup/hook.tsx
  7. 1 1
      src/views/menuitem/ApiGroup/index.vue
  8. 2 2
      src/views/menuitem/ApiInfo/components/add/index.vue
  9. 5 5
      src/views/menuitem/ApiInfo/components/update/index.vue
  10. 12 12
      src/views/menuitem/ApiInfo/hook.tsx
  11. 1 1
      src/views/menuitem/ApiInfo/index.vue
  12. 2 2
      src/views/menuitem/AppBottomNavs/components/add/index.vue
  13. 5 5
      src/views/menuitem/AppBottomNavs/components/update/index.vue
  14. 5 5
      src/views/menuitem/AppBottomNavs/hook.tsx
  15. 1 1
      src/views/menuitem/AppBottomNavs/index.vue
  16. 2 2
      src/views/menuitem/AppVersion/components/add/index.vue
  17. 5 5
      src/views/menuitem/AppVersion/components/update/index.vue
  18. 28 7
      src/views/menuitem/AppVersion/hook.tsx
  19. 7 1
      src/views/menuitem/AppVersion/index.vue
  20. 2 2
      src/views/menuitem/FileUpdateInfo/components/add/index.vue
  21. 5 5
      src/views/menuitem/FileUpdateInfo/components/update/index.vue
  22. 14 7
      src/views/menuitem/FileUpdateInfo/hook.tsx
  23. 4 1
      src/views/menuitem/FileUpdateInfo/index.vue
  24. 2 2
      src/views/menuitem/PageUpdateInfo/components/add/index.vue
  25. 5 5
      src/views/menuitem/PageUpdateInfo/components/update/index.vue
  26. 14 7
      src/views/menuitem/PageUpdateInfo/hook.tsx
  27. 4 1
      src/views/menuitem/PageUpdateInfo/index.vue
  28. 2 2
      src/views/menuitem/SysDict/components/add/index.vue
  29. 5 5
      src/views/menuitem/SysDict/components/update/index.vue
  30. 5 5
      src/views/menuitem/SysDict/hook.tsx
  31. 1 1
      src/views/menuitem/SysDict/index.vue
  32. 2 2
      src/views/menuitem/SysDictItem/components/add/index.vue
  33. 5 5
      src/views/menuitem/SysDictItem/components/update/index.vue
  34. 5 5
      src/views/menuitem/SysDictItem/hook.tsx
  35. 1 1
      src/views/menuitem/SysDictItem/index.vue

+ 58 - 58
src/api/system.ts

@@ -15,48 +15,48 @@ const UrlList = await getGroupUrl();
 /** 获取用户管理列表 */
 export const getUserList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.userpage.url,
-    method: UrlList.SkbSystem.userpage.method,
+    url: UrlList.kxsSys.userpage.url,
+    method: UrlList.kxsSys.userpage.method,
     params
   });
 };
 /** 修改用户密码 */
 export const changeUserPassword = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.userpassword.url,
-    method: UrlList.SkbSystem.userpassword.method,
+    url: UrlList.kxsSys.userpassword.url,
+    method: UrlList.kxsSys.userpassword.method,
     params
   });
 };
 /** 锁定用户 */
 export const lockUserList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.userlock.url,
-    method: UrlList.SkbSystem.userlock.method,
+    url: UrlList.kxsSys.userlock.url,
+    method: UrlList.kxsSys.userlock.method,
     params
   });
 };
 /** 删除用户 */
 export const deleteUserList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.userremoveById.url,
-    method: UrlList.SkbSystem.userremoveById.method,
+    url: UrlList.kxsSys.userremoveById.url,
+    method: UrlList.kxsSys.userremoveById.method,
     params
   });
 };
 /** 新增用户 */
 export const AddUserList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.useradd.url,
-    method: UrlList.SkbSystem.useradd.method,
+    url: UrlList.kxsSys.useradd.url,
+    method: UrlList.kxsSys.useradd.method,
     params
   });
 };
 /** 编辑用户 */
 export const editUserList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.userupdate.url,
-    method: UrlList.SkbSystem.userupdate.method,
+    url: UrlList.kxsSys.userupdate.url,
+    method: UrlList.kxsSys.userupdate.method,
     params
   });
 };
@@ -66,56 +66,56 @@ export const editUserList = (params?: object): dataResult => {
 /** 获取全部角色管理列表 */
 export const getAllRoleList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.rolelist.url,
-    method: UrlList.SkbSystem.rolelist.method,
+    url: UrlList.kxsSys.rolelist.url,
+    method: UrlList.kxsSys.rolelist.method,
     params
   });
 };
 /** 获取角色管理列表 */
 export const getRoleList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.rolepage.url,
-    method: UrlList.SkbSystem.rolepage.method,
+    url: UrlList.kxsSys.rolepage.url,
+    method: UrlList.kxsSys.rolepage.method,
     params
   });
 };
 /** 获取当前角色权限列表 */
 export const getRoleRightList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.menugetRoleTree.url,
-    method: UrlList.SkbSystem.menugetRoleTree.method,
+    url: UrlList.kxsSys.menugetRoleTree.url,
+    method: UrlList.kxsSys.menugetRoleTree.method,
     params
   });
 };
 /** 添加系统角色 */
 export const postRoleList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.roleadd.url,
-    method: UrlList.SkbSystem.roleadd.method,
+    url: UrlList.kxsSys.roleadd.url,
+    method: UrlList.kxsSys.roleadd.method,
     params
   });
 };
 /** 编辑系统角色 */
 export const putRoleList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.roleupdate.url,
-    method: UrlList.SkbSystem.roleupdate.method,
+    url: UrlList.kxsSys.roleupdate.url,
+    method: UrlList.kxsSys.roleupdate.method,
     params
   });
 };
 /** 删除系统角色 */
 export const deleteRoleList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.roleremoveById.url,
-    method: UrlList.SkbSystem.roleremoveById.method,
+    url: UrlList.kxsSys.roleremoveById.url,
+    method: UrlList.kxsSys.roleremoveById.method,
     params
   });
 };
 /** 获取所有角色权限列表 */
 export const getRoleTreeList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.menugetRoleTree.url,
-    method: UrlList.SkbSystem.menugetRoleTree.method,
+    url: UrlList.kxsSys.menugetRoleTree.url,
+    method: UrlList.kxsSys.menugetRoleTree.method,
     params
   });
 };
@@ -125,16 +125,16 @@ export const getRoleTreeList = (params?: object): dataResult => {
 /** 获取菜单列表 */
 export const getMenuList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.menutree.url,
-    method: UrlList.SkbSystem.menutree.method,
+    url: UrlList.kxsSys.menutree.url,
+    method: UrlList.kxsSys.menutree.method,
     params
   });
 };
 /** 获取菜单列表 */
 export const putRoleMenuList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.rolemenu.url,
-    method: UrlList.SkbSystem.rolemenu.method,
+    url: UrlList.kxsSys.rolemenu.url,
+    method: UrlList.kxsSys.rolemenu.method,
     params
   });
 };
@@ -142,8 +142,8 @@ export const putRoleMenuList = (params?: object): dataResult => {
 export const postMenuList = (params?: object): dataResult => {
   console.log(params);
   return http.Request({
-    url: UrlList.SkbSystem.menuadd.url,
-    method: UrlList.SkbSystem.menuadd.method,
+    url: UrlList.kxsSys.menuadd.url,
+    method: UrlList.kxsSys.menuadd.method,
     params
   });
 };
@@ -151,16 +151,16 @@ export const postMenuList = (params?: object): dataResult => {
 export const putMenuList = (params?: object): dataResult => {
   console.log(params);
   return http.Request({
-    url: UrlList.SkbSystem.menuupdate.url,
-    method: UrlList.SkbSystem.menuupdate.method,
+    url: UrlList.kxsSys.menuupdate.url,
+    method: UrlList.kxsSys.menuupdate.method,
     params
   });
 };
 /** 删除菜单 */
 export const deleteMenuList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.menuremoveById.url,
-    method: UrlList.SkbSystem.menuremoveById.method,
+    url: UrlList.kxsSys.menuremoveById.url,
+    method: UrlList.kxsSys.menuremoveById.method,
     params
   });
 };
@@ -170,40 +170,40 @@ export const deleteMenuList = (params?: object): dataResult => {
 /** 获取全部部门列表 */
 export const getAllDeptList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.deptlist.url,
-    method: UrlList.SkbSystem.deptlist.method,
+    url: UrlList.kxsSys.deptlist.url,
+    method: UrlList.kxsSys.deptlist.method,
     params
   });
 };
 /** 获取部门列表 */
 export const getDeptList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.depttree.url,
-    method: UrlList.SkbSystem.depttree.method,
+    url: UrlList.kxsSys.depttree.url,
+    method: UrlList.kxsSys.depttree.method,
     params
   });
 };
 /** 删除部门列表 */
 export const deleteDeptList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.deptremoveById.url,
-    method: UrlList.SkbSystem.deptremoveById.method,
+    url: UrlList.kxsSys.deptremoveById.url,
+    method: UrlList.kxsSys.deptremoveById.method,
     params
   });
 };
 /** 编辑部门 */
 export const putDeptList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.deptupdate.url,
-    method: UrlList.SkbSystem.deptupdate.method,
+    url: UrlList.kxsSys.deptupdate.url,
+    method: UrlList.kxsSys.deptupdate.method,
     params
   });
 };
 /** 添加部门 */
 export const postDeptList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.deptadd.url,
-    method: UrlList.SkbSystem.deptadd.method,
+    url: UrlList.kxsSys.deptadd.url,
+    method: UrlList.kxsSys.deptadd.method,
     params
   });
 };
@@ -212,40 +212,40 @@ export const postDeptList = (params?: object): dataResult => {
 /** 获取全部列表 */
 export const getAllPostList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.postlist.url,
-    method: UrlList.SkbSystem.postlist.method,
+    url: UrlList.kxsSys.postlist.url,
+    method: UrlList.kxsSys.postlist.method,
     params
   });
 };
 /** 获取分页岗位列表 */
 export const getPostList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.postpage.url,
-    method: UrlList.SkbSystem.postpage.method,
+    url: UrlList.kxsSys.postpage.url,
+    method: UrlList.kxsSys.postpage.method,
     params
   });
 };
 /** 删除岗位列表 */
 export const deletePostList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.postremoveById.url,
-    method: UrlList.SkbSystem.postremoveById.method,
+    url: UrlList.kxsSys.postremoveById.url,
+    method: UrlList.kxsSys.postremoveById.method,
     params
   });
 };
 /** 编辑岗位 */
 export const putPostList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.postupdate.url,
-    method: UrlList.SkbSystem.postupdate.method,
+    url: UrlList.kxsSys.postupdate.url,
+    method: UrlList.kxsSys.postupdate.method,
     params
   });
 };
 /** 添加岗位 */
 export const postPostList = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.postadd.url,
-    method: UrlList.SkbSystem.postadd.method,
+    url: UrlList.kxsSys.postadd.url,
+    method: UrlList.kxsSys.postadd.method,
     params
   });
 };
@@ -254,8 +254,8 @@ export const postPostList = (params?: object): dataResult => {
 /** 修改公共参数 */
 export const paramUpdate = (params?: object): dataResult => {
   return http.Request({
-    url: UrlList.SkbSystem.paramupdate.url,
-    method: UrlList.SkbSystem.paramupdate.method,
+    url: UrlList.kxsSys.paramupdate.url,
+    method: UrlList.kxsSys.paramupdate.method,
     params
   });
 };

+ 3 - 3
src/api/user.ts

@@ -50,15 +50,15 @@ export type RefreshTokenResult = {
 export const getLogin = (data?: object) => {
   console.log(data);
   return http.login(
-    "http://localhost:5296/v1/skb/sysServer/oauth2/token",
+    "http://localhost:5296/v1/kxs/sysServer/oauth2/token",
     data
   );
 };
 /** 获取当前用户树形菜单 */
 export const getUserMenu = () => {
   return http.Request({
-    url: UrlList.SkbSystem.menugetUserMenu.url,
-    method: UrlList.SkbSystem.menugetUserMenu.method,
+    url: UrlList.kxsSys.menugetUserMenu.url,
+    method: UrlList.kxsSys.menugetUserMenu.method,
     params: {}
   });
 };

+ 2 - 2
src/utils/getUrl/getUrl.js

@@ -64,7 +64,7 @@ const getURL = () => {
 const getAllPlate = () => {
   return new Promise(async (resolve, reject) => {
     postRequest(
-      "http://test.skbconfig.kexiaoshuang.com/api/apiinfo/groupsforadmin",
+      "http://localhost:5296/noauth/apiinfo/groupsforadmin",
       {
         key: "kxs#2024"
       }
@@ -99,7 +99,7 @@ const getGroupUrl = async (checkPlate = []) => {
       );
     }, 5000);
     postRequest(
-      "http://test.skbconfig.kexiaoshuang.com/api/apiinfo/listforadmin",
+      "http://localhost:5296/noauth/apiinfo/listforadmin",
       parameters
     )
       .then(async res => {

+ 5 - 5
src/views/menuitem/ApiGroup/components/add/index.vue

@@ -39,16 +39,16 @@ let UpdateForm = ref({
 });
 // 类型选项数据
 const groupKindOptionList = [
-  { Id: '0', label: '客户端' },
-  { Id: '1', label: '后台' },
+  { id: 0, label: '客户端' },
+  { id: 1, label: '后台' },
 ]
 
 // 选项卡参数(默认值为列表某项的id)
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiGroupadd.method, url: UrlList.KxsConfigServer.ApiGroupadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiGroupadd.method, url: UrlList.kxsConfigServer.apiGroupadd.url, params: UpdateForm.value });
   if (status === 1) {
     ElMessage({
       message: "新增成功",
@@ -103,7 +103,7 @@ const closeVisible = () => {
           clearable,
           class="!w-[230px]"
         )
-          el-option(:label="item.label", :value="item.Id" v-for="(item,index) in groupKindOptionList")
+          el-option(:label="item.label", :value="item.id" v-for="(item,index) in groupKindOptionList")
 
     el-button(
       :icon="useRenderIcon(Close)",

+ 8 - 11
src/views/menuitem/ApiGroup/components/update/index.vue

@@ -39,16 +39,16 @@ let UpdateForm: any = ref({
 });
 // 类型选项数据
 const groupKindOptionList = [
-  { Id: '0', label: '客户端' },
-  { Id: '1', label: '后台' },
+  { id: 0, label: '客户端' },
+  { id: 1, label: '后台' },
 ]
 
 // 选项卡参数(默认值为列表某项的id)
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiGroupupdate.method, url: UrlList.KxsConfigServer.ApiGroupupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiGroupupdate.method, url: UrlList.kxsConfigServer.apiGroupupdate.url, params: UpdateForm.value });
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -71,11 +71,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.ApiGroupquery.method, url: UrlList.KxsConfigServer.ApiGroupquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({ method: UrlList.kxsConfigServer.apiGroupquery.method, url: UrlList.kxsConfigServer.apiGroupquery.url, params: props.formData });
   if (status === 1) {
     UpdateForm.value = data;
   }
@@ -105,9 +105,6 @@ const closeVisible = () => {
       el-form-item(label='版本号' prop="groupVersion")
         el-input(v-model='UpdateForm.groupVersion' autocomplete='off' class="!w-[230px]"
           placeholder="请输入版本号")
-      el-form-item(label='ID' prop="id")
-        el-input-number(v-model='UpdateForm.id' :min="1" :max="1000"
-          placeholder="请输入ID")
       el-form-item(label="类型", prop="groupKind")
         el-select(
           v-model="UpdateForm.groupKind",
@@ -115,7 +112,7 @@ const closeVisible = () => {
           clearable,
           class="!w-[230px]"
         )
-          el-option(:label="item.label", :value="item.Id" v-for="(item,index) in groupKindOptionList")
+          el-option(:label="item.label", :value="item.id" v-for="(item,index) in groupKindOptionList")
 
     el-button(
       :icon="useRenderIcon(Close)",

+ 15 - 10
src/views/menuitem/ApiGroup/hook.tsx

@@ -6,11 +6,11 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useApiGroup() {
   let form = reactive({
-      groupName:"", //名称
+    groupName: "", //名称
 
   });
   const dataList = ref([]);
@@ -40,6 +40,11 @@ export function useApiGroup() {
       prop: "groupName",
       minWidth: 200
     },
+    {
+      label: "分类",
+      prop: "groupKind",
+      minWidth: 200
+    },
 
     {
       label: "操作",
@@ -66,7 +71,7 @@ export function useApiGroup() {
   // 搜索列表
   async function onSearch(type = 'search') {
     if (type === 'all') {
-         form.groupName = "";
+      form.groupName = "";
 
     }
     // if (type == 'search' && !Object.values(form).some(item => !!item)) {
@@ -76,10 +81,10 @@ export function useApiGroup() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiGrouplist.method, url: UrlList.KxsConfigServer.ApiGrouplist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.apiGrouplist.method, url: UrlList.kxsConfigServer.apiGrouplist.url, params: { ...form, pageSize: pagination.pageSize, pageNum: pagination.currentPage } });
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -105,7 +110,7 @@ export function useApiGroup() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiGroupdelete.method, url: UrlList.KxsConfigServer.ApiGroupdelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiGroupdelete.method, url: UrlList.kxsConfigServer.apiGroupdelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",
@@ -114,9 +119,9 @@ export function useApiGroup() {
         onSearch();
       } else {
         ElMessageBox.alert(msg, "提示", {
-        confirmButtonText: "关闭",
-        type: "warning"
-      });
+          confirmButtonText: "关闭",
+          type: "warning"
+        });
       };
     })
   }

+ 1 - 1
src/views/menuitem/ApiGroup/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";

+ 2 - 2
src/views/menuitem/ApiInfo/components/add/index.vue

@@ -47,8 +47,8 @@ const groupIdOptionList = []
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiInfoadd.method, url: UrlList.KxsConfigServer.ApiInfoadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiInfoadd.method, url: UrlList.kxsConfigServer.apiInfoadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/ApiInfo/components/update/index.vue

@@ -47,8 +47,8 @@ const groupIdOptionList = []
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiInfoupdate.method, url: UrlList.KxsConfigServer.ApiInfoupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiInfoupdate.method, url: UrlList.kxsConfigServer.apiInfoupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -74,11 +74,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.ApiInfoquery.method, url: UrlList.KxsConfigServer.ApiInfoquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.apiInfoquery.method, url: UrlList.kxsConfigServer.apiInfoquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 12 - 12
src/views/menuitem/ApiInfo/hook.tsx

@@ -6,12 +6,12 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useApiInfo() {
   let form = reactive({
-      groupId:"", //分组
-  apiName:"", //接口名称
+    groupId: "0", //分组
+    apiName: "", //接口名称
 
   });
   const dataList = ref([]);
@@ -82,8 +82,8 @@ export function useApiInfo() {
   // 搜索列表
   async function onSearch(type = 'search') {
     if (type === 'all') {
-         form.groupId = "";
-   form.apiName = "";
+      form.groupId = "0";
+      form.apiName = "";
 
     }
     // if (type == 'search' && !Object.values(form).some(item => !!item)) {
@@ -93,10 +93,10 @@ export function useApiInfo() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiInfolist.method, url: UrlList.KxsConfigServer.ApiInfolist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.apiInfolist.method, url: UrlList.kxsConfigServer.apiInfolist.url, params: { ...form, pageSize: pagination.pageSize, pageNum: pagination.currentPage } });
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -122,7 +122,7 @@ export function useApiInfo() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.ApiInfodelete.method, url: UrlList.KxsConfigServer.ApiInfodelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.apiInfodelete.method, url: UrlList.kxsConfigServer.apiInfodelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",
@@ -131,9 +131,9 @@ export function useApiInfo() {
         onSearch();
       } else {
         ElMessageBox.alert(msg, "提示", {
-        confirmButtonText: "关闭",
-        type: "warning"
-      });
+          confirmButtonText: "关闭",
+          type: "warning"
+        });
       };
     })
   }

+ 1 - 1
src/views/menuitem/ApiInfo/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";

+ 2 - 2
src/views/menuitem/AppBottomNavs/components/add/index.vue

@@ -62,8 +62,8 @@ const styleOptionList = [
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppBottomNavsadd.method, url: UrlList.KxsConfigServer.AppBottomNavsadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appBottomNavsadd.method, url: UrlList.kxsConfigServer.appBottomNavsadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/AppBottomNavs/components/update/index.vue

@@ -62,8 +62,8 @@ const styleOptionList = [
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppBottomNavsupdate.method, url: UrlList.KxsConfigServer.AppBottomNavsupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appBottomNavsupdate.method, url: UrlList.kxsConfigServer.appBottomNavsupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -98,11 +98,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.AppBottomNavsquery.method, url: UrlList.KxsConfigServer.AppBottomNavsquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.appBottomNavsquery.method, url: UrlList.kxsConfigServer.appBottomNavsquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 5 - 5
src/views/menuitem/AppBottomNavs/hook.tsx

@@ -6,7 +6,7 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useAppBottomNavs() {
   let form = reactive({
@@ -76,10 +76,10 @@ export function useAppBottomNavs() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.AppBottomNavslist.method, url: UrlList.KxsConfigServer.AppBottomNavslist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.appBottomNavslist.method, url: UrlList.kxsConfigServer.appBottomNavslist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -105,7 +105,7 @@ export function useAppBottomNavs() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppBottomNavsdelete.method, url: UrlList.KxsConfigServer.AppBottomNavsdelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appBottomNavsdelete.method, url: UrlList.kxsConfigServer.appBottomNavsdelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 1 - 1
src/views/menuitem/AppBottomNavs/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";

+ 2 - 2
src/views/menuitem/AppVersion/components/add/index.vue

@@ -50,8 +50,8 @@ const terminalKindOptionList = [
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppVersionadd.method, url: UrlList.KxsConfigServer.AppVersionadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersionadd.method, url: UrlList.kxsConfigServer.appVersionadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/AppVersion/components/update/index.vue

@@ -50,8 +50,8 @@ const terminalKindOptionList = [
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppVersionupdate.method, url: UrlList.KxsConfigServer.AppVersionupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersionupdate.method, url: UrlList.kxsConfigServer.appVersionupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -77,11 +77,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.AppVersionquery.method, url: UrlList.KxsConfigServer.AppVersionquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.appVersionquery.method, url: UrlList.kxsConfigServer.appVersionquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 28 - 7
src/views/menuitem/AppVersion/hook.tsx

@@ -6,11 +6,14 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useAppVersion() {
   let form = reactive({
-    
+      versionNum:"", //版本号
+  title:"", //标题
+  info:"", //更新信息
+
   });
   const dataList = ref([]);
   const loading = ref(false);
@@ -34,6 +37,21 @@ export function useAppVersion() {
       width: 70,
       hide: ({ checkList }) => !checkList.includes("序号列")
     },
+    {
+      label: "版本号",
+      prop: "versionNum",
+      minWidth: 200
+    },
+    {
+      label: "标题",
+      prop: "title",
+      minWidth: 200
+    },
+    {
+      label: "更新信息",
+      prop: "info",
+      minWidth: 200
+    },
 
     {
       label: "操作",
@@ -60,7 +78,10 @@ export function useAppVersion() {
   // 搜索列表
   async function onSearch(type = 'search') {
     if (type === 'all') {
-      
+         form.versionNum = "";
+   form.title = "";
+   form.info = "";
+
     }
     // if (type == 'search' && !Object.values(form).some(item => !!item)) {
     //   return ElMessage({
@@ -69,10 +90,10 @@ export function useAppVersion() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.AppVersionlist.method, url: UrlList.KxsConfigServer.AppVersionlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersionlist.method, url: UrlList.kxsConfigServer.appVersionlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -98,7 +119,7 @@ export function useAppVersion() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.AppVersiondelete.method, url: UrlList.KxsConfigServer.AppVersiondelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersiondelete.method, url: UrlList.kxsConfigServer.appVersiondelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 7 - 1
src/views/menuitem/AppVersion/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";
@@ -63,6 +63,12 @@ provide('closeEditUpdateVisible', closeEditUpdateVisible)
       :rules="rules",
       class="w-[99/100]"
     )
+      el-form-item(label='版本号' prop="versionNum")
+        el-input(v-model='form.versionNum' autocomplete='off' class="!w-[230px]"
+          placeholder="请输入版本号")
+      el-form-item(label='标题' prop="title")
+        el-input(v-model='form.title' autocomplete='off' class="!w-[230px]"
+          placeholder="请输入标题")
 
       el-form-item
         el-button(

+ 2 - 2
src/views/menuitem/FileUpdateInfo/components/add/index.vue

@@ -41,8 +41,8 @@ let UpdateForm = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.FileUpdateInfoadd.method, url: UrlList.KxsConfigServer.FileUpdateInfoadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfoadd.method, url: UrlList.kxsConfigServer.fileUpdateInfoadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/FileUpdateInfo/components/update/index.vue

@@ -41,8 +41,8 @@ let UpdateForm: any = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.FileUpdateInfoupdate.method, url: UrlList.KxsConfigServer.FileUpdateInfoupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfoupdate.method, url: UrlList.kxsConfigServer.fileUpdateInfoupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -64,11 +64,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.FileUpdateInfoquery.method, url: UrlList.KxsConfigServer.FileUpdateInfoquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.fileUpdateInfoquery.method, url: UrlList.kxsConfigServer.fileUpdateInfoquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 14 - 7
src/views/menuitem/FileUpdateInfo/hook.tsx

@@ -6,11 +6,12 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useFileUpdateInfo() {
   let form = reactive({
-    
+      fileName:"", //文件名
+
   });
   const dataList = ref([]);
   const loading = ref(false);
@@ -34,6 +35,11 @@ export function useFileUpdateInfo() {
       width: 70,
       hide: ({ checkList }) => !checkList.includes("序号列")
     },
+    {
+      label: "文件名",
+      prop: "fileName",
+      minWidth: 200
+    },
 
     {
       label: "操作",
@@ -60,7 +66,8 @@ export function useFileUpdateInfo() {
   // 搜索列表
   async function onSearch(type = 'search') {
     if (type === 'all') {
-      
+         form.fileName = "";
+
     }
     // if (type == 'search' && !Object.values(form).some(item => !!item)) {
     //   return ElMessage({
@@ -69,10 +76,10 @@ export function useFileUpdateInfo() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.FileUpdateInfolist.method, url: UrlList.KxsConfigServer.FileUpdateInfolist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfolist.method, url: UrlList.kxsConfigServer.fileUpdateInfolist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -98,7 +105,7 @@ export function useFileUpdateInfo() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.FileUpdateInfodelete.method, url: UrlList.KxsConfigServer.FileUpdateInfodelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.fileUpdateInfodelete.method, url: UrlList.kxsConfigServer.fileUpdateInfodelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 4 - 1
src/views/menuitem/FileUpdateInfo/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";
@@ -63,6 +63,9 @@ provide('closeEditUpdateVisible', closeEditUpdateVisible)
       :rules="rules",
       class="w-[99/100]"
     )
+      el-form-item(label='文件名' prop="fileName")
+        el-input(v-model='form.fileName' autocomplete='off' class="!w-[230px]"
+          placeholder="请输入文件名")
 
       el-form-item
         el-button(

+ 2 - 2
src/views/menuitem/PageUpdateInfo/components/add/index.vue

@@ -57,8 +57,8 @@ let UpdateForm = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.PageUpdateInfoadd.method, url: UrlList.KxsConfigServer.PageUpdateInfoadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.pageUpdateInfoadd.method, url: UrlList.kxsConfigServer.pageUpdateInfoadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/PageUpdateInfo/components/update/index.vue

@@ -57,8 +57,8 @@ let UpdateForm: any = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.PageUpdateInfoupdate.method, url: UrlList.KxsConfigServer.PageUpdateInfoupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.pageUpdateInfoupdate.method, url: UrlList.kxsConfigServer.pageUpdateInfoupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -96,11 +96,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.PageUpdateInfoquery.method, url: UrlList.KxsConfigServer.PageUpdateInfoquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.pageUpdateInfoquery.method, url: UrlList.kxsConfigServer.pageUpdateInfoquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 14 - 7
src/views/menuitem/PageUpdateInfo/hook.tsx

@@ -6,11 +6,12 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function usePageUpdateInfo() {
   let form = reactive({
-    
+      title:"", //顶部标题
+
   });
   const dataList = ref([]);
   const loading = ref(false);
@@ -34,6 +35,11 @@ export function usePageUpdateInfo() {
       width: 70,
       hide: ({ checkList }) => !checkList.includes("序号列")
     },
+    {
+      label: "顶部标题",
+      prop: "title",
+      minWidth: 200
+    },
 
     {
       label: "操作",
@@ -60,7 +66,8 @@ export function usePageUpdateInfo() {
   // 搜索列表
   async function onSearch(type = 'search') {
     if (type === 'all') {
-      
+         form.title = "";
+
     }
     // if (type == 'search' && !Object.values(form).some(item => !!item)) {
     //   return ElMessage({
@@ -69,10 +76,10 @@ export function usePageUpdateInfo() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.PageUpdateInfolist.method, url: UrlList.KxsConfigServer.PageUpdateInfolist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.pageUpdateInfolist.method, url: UrlList.kxsConfigServer.pageUpdateInfolist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -98,7 +105,7 @@ export function usePageUpdateInfo() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.PageUpdateInfodelete.method, url: UrlList.KxsConfigServer.PageUpdateInfodelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.pageUpdateInfodelete.method, url: UrlList.kxsConfigServer.pageUpdateInfodelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 4 - 1
src/views/menuitem/PageUpdateInfo/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";
@@ -63,6 +63,9 @@ provide('closeEditUpdateVisible', closeEditUpdateVisible)
       :rules="rules",
       class="w-[99/100]"
     )
+      el-form-item(label='顶部标题' prop="title")
+        el-input(v-model='form.title' autocomplete='off' class="!w-[230px]"
+          placeholder="请输入顶部标题")
 
       el-form-item
         el-button(

+ 2 - 2
src/views/menuitem/SysDict/components/add/index.vue

@@ -41,8 +41,8 @@ let UpdateForm = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictadd.method, url: UrlList.KxsConfigServer.SysDictadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictadd.method, url: UrlList.kxsConfigServer.sysDictadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/SysDict/components/update/index.vue

@@ -41,8 +41,8 @@ let UpdateForm: any = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictupdate.method, url: UrlList.KxsConfigServer.SysDictupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictupdate.method, url: UrlList.kxsConfigServer.sysDictupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -64,11 +64,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.SysDictquery.method, url: UrlList.KxsConfigServer.SysDictquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.sysDictquery.method, url: UrlList.kxsConfigServer.sysDictquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 5 - 5
src/views/menuitem/SysDict/hook.tsx

@@ -6,7 +6,7 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useSysDict() {
   let form = reactive({
@@ -83,10 +83,10 @@ export function useSysDict() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictlist.method, url: UrlList.KxsConfigServer.SysDictlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictlist.method, url: UrlList.kxsConfigServer.sysDictlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -112,7 +112,7 @@ export function useSysDict() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictdelete.method, url: UrlList.KxsConfigServer.SysDictdelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictdelete.method, url: UrlList.kxsConfigServer.sysDictdelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 1 - 1
src/views/menuitem/SysDict/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";

+ 2 - 2
src/views/menuitem/SysDictItem/components/add/index.vue

@@ -45,8 +45,8 @@ let UpdateForm = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictItemadd.method, url: UrlList.KxsConfigServer.SysDictItemadd.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictItemadd.method, url: UrlList.kxsConfigServer.sysDictItemadd.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "新增成功",

+ 5 - 5
src/views/menuitem/SysDictItem/components/update/index.vue

@@ -45,8 +45,8 @@ let UpdateForm: any = ref({
 const activeId = ref('1')
 // 提交函数
 const submit = async () => {
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictItemupdate.method, url: UrlList.KxsConfigServer.SysDictItemupdate.url, params: UpdateForm.value});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictItemupdate.method, url: UrlList.kxsConfigServer.sysDictItemupdate.url, params: UpdateForm.value});
   if (status === 1) {
     ElMessage({
       message: "修改成功",
@@ -72,11 +72,11 @@ const submit = async () => {
   };
 };
 // 关闭弹窗回调函数
-const closeFn: any = inject('closeEditVisible');
+const closeFn: any = inject('closeEditUpdateVisible');
 const openVisible = async () => {
   //通过ID获取表格数据
-  const UrlList = await getGroupUrl(['KxsConfigServer']);
-  const { status, data }: any = await http.Request({method: UrlList.KxsConfigServer.SysDictItemquery.method, url: UrlList.KxsConfigServer.SysDictItemquery.url, params: props.formData});
+  const UrlList = await getGroupUrl(['kxsConfigServer']);
+  const { status, data }: any = await http.Request({method: UrlList.kxsConfigServer.sysDictItemquery.method, url: UrlList.kxsConfigServer.sysDictItemquery.url, params: props.formData});
   if (status === 1) {
     UpdateForm.value = data;
   }

+ 5 - 5
src/views/menuitem/SysDictItem/hook.tsx

@@ -6,7 +6,7 @@ import { reactive, ref, computed, onMounted } from "vue";
 import { getGroupUrl } from "@/utils/getUrl/getUrl"
 import { http } from "@/utils/http";
 // 获取当前板块接口列表
-const UrlList = await getGroupUrl(['KxsConfigServer']);
+const UrlList = await getGroupUrl(['kxsConfigServer']);
 
 export function useSysDictItem() {
   let form = reactive({
@@ -90,10 +90,10 @@ export function useSysDictItem() {
     //   });
     // };
     loading.value = true;
-    const { status, msg, data }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictItemlist.method, url: UrlList.KxsConfigServer.SysDictItemlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
+    const { status, msg, data }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictItemlist.method, url: UrlList.kxsConfigServer.sysDictItemlist.url, params: { ...form, PageSize: pagination.pageSize, PageNum: pagination.currentPage }});
     if (status === 1) {
-      dataList.value = data.result;
-      pagination.total = data.totalNum;
+      dataList.value = data.records;
+      pagination.total = data.total;
       setTimeout(() => {
         loading.value = false;
       }, 500);
@@ -119,7 +119,7 @@ export function useSysDictItem() {
         type: "warning"
       }
     ).then(async () => {
-      const { status, msg }: any = await http.Request({ method: UrlList.KxsConfigServer.SysDictItemdelete.method, url: UrlList.KxsConfigServer.SysDictItemdelete.url, params: row.id });
+      const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.sysDictItemdelete.method, url: UrlList.kxsConfigServer.sysDictItemdelete.url, params: row.id });
       if (status === 1) {
         ElMessage({
           message: "删除成功",

+ 1 - 1
src/views/menuitem/SysDictItem/index.vue

@@ -11,7 +11,7 @@ import { hasAuth } from "@/router/utils";
 import { PureTableBar } from "@/components/RePureTableBar";
 import { useRenderIcon } from "@/components/ReIcon/src/hooks";
 import Add from "./components/add/index.vue";
-import Edit from "./components/edit/index.vue";
+import EditUpdate from "./components/update/index.vue";
 import Search from "@iconify-icons/ep/search";
 import All from "@iconify-icons/ep/refresh-left";
 import Addicon from "@iconify-icons/ep/document-add";