diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/list b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/list new file mode 100644 index 0000000..b82608c --- /dev/null +++ b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/list @@ -0,0 +1 @@ +v0.1.0 diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.info b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.info new file mode 100644 index 0000000..92da1e1 --- /dev/null +++ b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.info @@ -0,0 +1 @@ +{"Version":"v0.1.0","Time":"2025-08-20T21:59:11Z"} \ No newline at end of file diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.lock b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.lock new file mode 100644 index 0000000..e69de29 diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.mod b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.mod new file mode 100644 index 0000000..b84e64d --- /dev/null +++ b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.mod @@ -0,0 +1,3 @@ +module github.com/golang/vscode-go/survey + +go 1.24.0 \ No newline at end of file diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.zip b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.zip new file mode 100644 index 0000000..680ea2f Binary files /dev/null and b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.zip differ diff --git a/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.ziphash b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.ziphash new file mode 100644 index 0000000..7cb57f0 --- /dev/null +++ b/pkg/mod/cache/download/github.com/golang/vscode-go/survey/@v/v0.1.0.ziphash @@ -0,0 +1 @@ +h1:xb0wfrbGDzAH53rMZHzsRKysbpIE39IbHLf+QSw8VJA= \ No newline at end of file diff --git a/pkg/mod/cache/download/golang.org/x/tools/gopls/@v/v0.20.0.info b/pkg/mod/cache/download/golang.org/x/tools/gopls/@v/v0.20.0.info new file mode 100644 index 0000000..2b9d809 --- /dev/null +++ b/pkg/mod/cache/download/golang.org/x/tools/gopls/@v/v0.20.0.info @@ -0,0 +1 @@ +{"Version":"v0.20.0","Time":"2025-07-28T18:28:48Z"} \ No newline at end of file diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/lookup/github.com/golang/vscode-go/survey@v0.1.0 b/pkg/mod/cache/download/sumdb/sum.golang.org/lookup/github.com/golang/vscode-go/survey@v0.1.0 new file mode 100644 index 0000000..c87b16d --- /dev/null +++ b/pkg/mod/cache/download/sumdb/sum.golang.org/lookup/github.com/golang/vscode-go/survey@v0.1.0 @@ -0,0 +1,9 @@ +42389416 +github.com/golang/vscode-go/survey v0.1.0 h1:xb0wfrbGDzAH53rMZHzsRKysbpIE39IbHLf+QSw8VJA= +github.com/golang/vscode-go/survey v0.1.0/go.mod h1:67MoCjDPlWMr9FZ2d5BhLYR//kGR/bmjhzjy6FXSM74= + +go.sum database tree +45397085 +Q08DMHCrmZD7Zsiq5TpsB/JTYZmvPijBiIqUxsz+8fY= + +— sum.golang.org Az3grl4BXbPgBbxGJxcshVA2zNKOttFAyV8B6prkb9KDELwGDNlx0asydXInM0hqO92L4lcs/neWYXfoZ3iOd1BLfg8= diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x165/583 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x165/583 new file mode 100644 index 0000000..0923fdd Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x165/583 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044 new file mode 100644 index 0000000..6757151 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044.p/15 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044.p/15 new file mode 100644 index 0000000..a3b588b Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x171/044.p/15 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x177/332.p/93 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x177/332.p/93 new file mode 100644 index 0000000..3cf10c0 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/0/x177/332.p/93 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/646 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/646 new file mode 100644 index 0000000..0129bd1 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/646 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668 new file mode 100644 index 0000000..c7efcf5 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668.p/36 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668.p/36 new file mode 100644 index 0000000..0e149dd Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/668.p/36 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/692.p/180 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/692.p/180 new file mode 100644 index 0000000..fc006b4 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/1/692.p/180 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/156 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/156 new file mode 100644 index 0000000..49ab266 Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/156 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/180 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/180 new file mode 100644 index 0000000..33db2af Binary files /dev/null and b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/2/002.p/180 differ diff --git a/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/3/000.p/2 b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/3/000.p/2 new file mode 100644 index 0000000..948d7fa --- /dev/null +++ b/pkg/mod/cache/download/sumdb/sum.golang.org/tile/8/3/000.p/2 @@ -0,0 +1,3 @@ +o +@m%qT `ow!^Z{ˍv51 "sJYF  +i9Z9 \ No newline at end of file diff --git a/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/LICENSE b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/LICENSE new file mode 100644 index 0000000..bec3260 --- /dev/null +++ b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/LICENSE @@ -0,0 +1,24 @@ +vscode-go + +The MIT License (MIT) + +Original Work Copyright (c) 2015-2020 Microsoft Corporation +Current Work and Modifications Copyright (c) 2020-present The Go Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/README.md b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/README.md new file mode 100644 index 0000000..94ddf6b --- /dev/null +++ b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/README.md @@ -0,0 +1,41 @@ +# Go Developer Survey Configuration + +This Go module serves the configuration file for the Go Developer Survey shown in the [VS Code Go extension](https://github.com/golang/vscode-go). + +## Purpose + +This module exists solely to host the `config.json` file. By hosting it as a Go module, it can be fetched via module proxy, providing a reliable and secure way for the VS Code Go extension to get the latest survey configuration. + +This approach is inspired by the Go team's telemetry configuration module. + +## `config.json` + +The `config.json` file defines the parameters for the Go Developer Survey. It has the following structure: + +```json +{ + "StartDate": "2023-09-01T00:00:00Z", + "EndDate": "2023-10-01T00:00:00Z", + "URL": "https://google.com/survey/url" +} +``` + +- `StartDate`: The ISO 8601 timestamp for when the survey promotion should start. +- `EndDate`: The ISO 8601 timestamp for when the survey promotion should end. +- `URL`: The URL to the survey. + +## Usage + +This module is not intended to be used as a library. It is fetched by the VS Code Go extension. + +## Tagging + +The versioning scheme follows semantic versioning, with each change to the configuration being a **minor** version increment. + +As this module is in the `survey/` subdirectory of its repository, the git tag **must** be prefixed with `survey/`. This is a requirement for Go modules located in subdirectories. For more details, see the [Go Modules documentation](https://go.dev/ref/mod#vcs-version). + +For example, if the most recent tag is `survey/v0.1.0`, the new tag should be `survey/v0.2.0`. + +## Release Process + +When changes are made to `config.json`, a new version of this module must be released. This is done by creating a new git tag that follows the convention described above. diff --git a/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/config.json b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/config.json new file mode 100644 index 0000000..ebdcea9 --- /dev/null +++ b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/config.json @@ -0,0 +1,5 @@ +{ + "StartDate": "2025-09-09T00:00:00Z", + "EndDate": "2025-10-01T00:00:00Z", + "URL": "https://google.qualtrics.com/jfe/form/SV_3wwSstC8vv4Ymkm" +} \ No newline at end of file diff --git a/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/go.mod b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/go.mod new file mode 100644 index 0000000..b84e64d --- /dev/null +++ b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/go.mod @@ -0,0 +1,3 @@ +module github.com/golang/vscode-go/survey + +go 1.24.0 \ No newline at end of file diff --git a/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/survey.go b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/survey.go new file mode 100644 index 0000000..d5446cb --- /dev/null +++ b/pkg/mod/github.com/golang/vscode-go/survey@v0.1.0/survey.go @@ -0,0 +1,9 @@ +// The survey package holds the config.json file defining the Go Developer +// Survey configuration. +// +// The survey configuration specifies the survey's start and end dates, and the +// URL for the survey. +// +// This package contains no actual Go code, and exists only so the config.json +// file can be served by module proxies. +package survey diff --git a/src/api/role/index.ts b/src/api/role/index.ts index ff27c57..eb3c246 100644 --- a/src/api/role/index.ts +++ b/src/api/role/index.ts @@ -1,6 +1,6 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { RoleQuery, RolePageResult, RoleForm } from './types'; +import { RoleQuery, RolePageResult, RoleForm,RoleListTree,orgAndPostisListTree } from './types'; /** * 获取角色分页数据 @@ -119,3 +119,43 @@ export function gainRoleList(data?: any) { data: data }); } + +//获取角色树 +export function giveRoleTree(): AxiosPromise { + return request({ + url: "/systemapi/permission/giveRoleTree", + method: "POST" + }); +} + +//获取角色组树 +export function giveRoleGroupTree(): AxiosPromise { + return request({ + url: "/systemapi/permission/giveRoleGroupTree", + method: "POST" + }); +} +//编辑角色 +export function editRoleCont(data?: any) { + return request({ + url: "/systemapi/permission/editRoleCont", + method: "POST", + data: data + }); +} +//修改角色状态 +export function editRoleStatus(data?: any) { + return request({ + url: "/systemapi/permission/editRoleStatus", + method: "POST", + data: data + }); +} +//获取行政组织加岗位树 +export function getOrgPostTree(data?: any) : AxiosPromise { + return request({ + url: "/systemapi/permission/getOrgPostTree", + method: "POST", + data: data + }); +} \ No newline at end of file diff --git a/src/api/role/types.ts b/src/api/role/types.ts index 2d259c7..c95fa97 100644 --- a/src/api/role/types.ts +++ b/src/api/role/types.ts @@ -76,3 +76,34 @@ export interface RoleForm { */ status?: number; } + +export interface RoleListTree{ + id:string|number; + label:string; + types:number; + status:boolean; + superior:string|number; + sort:number; + children?:RoleListTree[] +} + +//编辑角色信息 +export interface RoleFormInfo{ + id?:string|number; + name:string; + type:string|number; + superior:string|number; + sort:number; +} +//行政组织加岗位树 +export interface orgAndPostisListTree{ + id:string|number; + label:string; + types:string; + typeName:string; + status:boolean; + superior:string|number; + key:string; + sort:number; + children?:orgAndPostisListTree[] +} \ No newline at end of file diff --git a/src/assets/icons/dels.svg b/src/assets/icons/dels.svg new file mode 100644 index 0000000..b087828 --- /dev/null +++ b/src/assets/icons/dels.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 51da2df..3828898 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -79,11 +79,11 @@ function resolvePath(routePath: string) { // fullPath = fullPath + "&table_id=" + props.item.tableId; // } // } - // console.log("路由路径<------------------"); - // console.log("routePath:", routePath); - // console.log("fullPath:", fullPath); - // console.log("item:", props.item); - // console.log("路由路径------------------>"); + console.log("路由路径<------------------"); + console.log("routePath:", routePath); + console.log("fullPath:", fullPath); + console.log("item:", props.item); + console.log("路由路径------------------>"); return fullPath; } diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index b6eec4f..e92fb3c 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -30,6 +30,7 @@ const { sidebarLogo } = storeToRefs(settingsStore); :collapse-transition="false" mode="vertical" > + {
已选择:{{ checkDataList.length }}
全部移除 + {{ checkDataList }} + {{ openOrClose }}======={{ openclosebox }}