@pubinfo-pr/module-rbac 0.223.1 → 0.224.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/modules/assist/index.d.ts +0 -1
- package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
- package/dist/{drawerOrganization-CwtSFUj0.js → drawerOrganization-CPsQlz-f.js} +59 -24
- package/dist/index.css +1 -1
- package/dist/index.js +3 -3
- package/dist/{organization-Dv3FbKke.js → organization-BXGT-lb7.js} +1 -1
- package/package.json +3 -3
- package/src/api/modules/assist/index.ts +0 -1
- package/src/api/modules/assist/qunzujiekou.ts +72 -0
- package/src/api/modules/assist/typings.d.ts +17 -129
- package/src/api/modules/rbac/gangweijiekou.ts +18 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
- package/src/api/modules/rbac/typings.d.ts +133 -1
- package/src/api/modules/rbac/yonghujiekou.ts +122 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
- package/src/views/organization/components/drawerOrganization.vue +43 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
- package/src/api/modules/assist/gonggaofuwu.ts +0 -124
|
@@ -27,6 +27,20 @@ export declare function getGroupDetailById<R = API.ResponseDataPubGroupBo, T = A
|
|
|
27
27
|
* @author @pubinfo/openapi
|
|
28
28
|
*/
|
|
29
29
|
export declare function postGroupFindPage<R = API.ResponseDataPageDataPubGroup, T = API.ResponseDataPageDataPubGroup>(body: API.pubGroupDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* @description 获得组织组列表
|
|
32
|
+
* @url /group/getOrgGroupList
|
|
33
|
+
* @method POST
|
|
34
|
+
* @author @pubinfo/openapi
|
|
35
|
+
*/
|
|
36
|
+
export declare function postGroupGetOrgGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
37
|
+
/**
|
|
38
|
+
* @description 获得用户组列表
|
|
39
|
+
* @url /group/getUserGroupList
|
|
40
|
+
* @method POST
|
|
41
|
+
* @author @pubinfo/openapi
|
|
42
|
+
*/
|
|
43
|
+
export declare function postGroupGetUserGroupList<R = API.ResponseDataListPubGroupBo, T = API.ResponseDataListPubGroupBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
44
|
/**
|
|
31
45
|
* @description 群组信息不分页查询 list
|
|
32
46
|
* @url /group/list
|
|
@@ -41,3 +55,17 @@ export declare function postGroupList<R = API.ResponseDataListPubGroup, T = API.
|
|
|
41
55
|
* @author @pubinfo/openapi
|
|
42
56
|
*/
|
|
43
57
|
export declare function postGroupSaveOrUpdate<R = API.ResponseData, T = API.ResponseData>(body: API.PubGroupBo, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 校验组织群组们是否有效
|
|
60
|
+
* @url /group/validOrgGroups
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postGroupValidOrgGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
65
|
+
/**
|
|
66
|
+
* @description 校验用户群组们是否有效
|
|
67
|
+
* @url /group/validUserGroups
|
|
68
|
+
* @method POST
|
|
69
|
+
* @author @pubinfo/openapi
|
|
70
|
+
*/
|
|
71
|
+
export declare function postGroupValidUserGroups<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -41,3 +41,10 @@ export declare function getRbacPostList<R = API.ResponseDataListPubPost, T = API
|
|
|
41
41
|
* @author @pubinfo/openapi
|
|
42
42
|
*/
|
|
43
43
|
export declare function postRbacPostSave<R = API.ResponseDataString, T = API.ResponseDataString>(body: API.PubPostDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
44
|
+
/**
|
|
45
|
+
* @description 校验岗位们是否有效
|
|
46
|
+
* @url /rbac/post/validPostList
|
|
47
|
+
* @method POST
|
|
48
|
+
* @author @pubinfo/openapi
|
|
49
|
+
*/
|
|
50
|
+
export declare function postRbacPostValidPostList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -6,6 +6,13 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @author @pubinfo/openapi
|
|
7
7
|
*/
|
|
8
8
|
export declare function postRbacRoleAddRole<R = API.ResponseDataPubRoleBo, T = API.ResponseDataPubRoleBo>(body: API.PubRoleAddDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
9
|
+
/**
|
|
10
|
+
* @description 获得拥有多个角色的用户编号集合
|
|
11
|
+
* @url /rbac/role/getUserRoleIdListByRoleIds
|
|
12
|
+
* @method POST
|
|
13
|
+
* @author @pubinfo/openapi
|
|
14
|
+
*/
|
|
15
|
+
export declare function postRbacRoleGetUserRoleIdListByRoleIds<R = API.ResponseDataPubUserRoleBo, T = API.ResponseDataPubUserRoleBo>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
9
16
|
/**
|
|
10
17
|
* @description 根据id查询
|
|
11
18
|
* @url /rbac/role/info
|
|
@@ -48,3 +55,10 @@ export declare function postRbacRoleRoleUpdate<R = API.ResponseDataPubRoleBo, T
|
|
|
48
55
|
* @author @pubinfo/openapi
|
|
49
56
|
*/
|
|
50
57
|
export declare function postRbacRoleRoleUserPage<R = API.ResponseDataPageDataPubUserOrgRoleBo, T = API.ResponseDataPageDataPubUserOrgRoleBo>(body: API.PubRoleQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 校验角色们是否有效
|
|
60
|
+
* @url /rbac/role/validRoleList
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postRbacRoleValidRoleList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { basic as request } from '@/api/request';
|
|
2
|
+
/**
|
|
3
|
+
* @description 验证码-修改登录密码
|
|
4
|
+
* @url /rbac/user/captcha/changePasswordWithVerifyCode
|
|
5
|
+
* @method POST
|
|
6
|
+
* @author @pubinfo/openapi
|
|
7
|
+
*/
|
|
8
|
+
export declare function postRbacUserCaptchaChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserCaptchaChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
2
9
|
/**
|
|
3
10
|
* @description 修改登录密码
|
|
4
11
|
* @url /rbac/user/changePassword
|
|
@@ -20,6 +27,34 @@ export declare function postRbacUserChangePassword<R = API.ResponseDataVoid, T =
|
|
|
20
27
|
* @author @pubinfo/openapi
|
|
21
28
|
*/
|
|
22
29
|
export declare function postRbacUserChangePasswordWithVerifyCode<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(params: API.postRbacUserChangePasswordWithVerifyCodeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
30
|
+
/**
|
|
31
|
+
* @description 根据id查询
|
|
32
|
+
* @url /rbac/user/getUser
|
|
33
|
+
* @method POST
|
|
34
|
+
* @author @pubinfo/openapi
|
|
35
|
+
*/
|
|
36
|
+
export declare function postRbacUserGetUser<R = API.ResponseDataPubUser, T = API.ResponseDataPubUser>(params: API.postRbacUserGetUserParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
37
|
+
/**
|
|
38
|
+
* @description 通过用户ID查询用户们
|
|
39
|
+
* @url /rbac/user/getUserList
|
|
40
|
+
* @method POST
|
|
41
|
+
* @author @pubinfo/openapi
|
|
42
|
+
*/
|
|
43
|
+
export declare function postRbacUserGetUserList<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
44
|
+
/**
|
|
45
|
+
* @description 获得指定组织的用户数组
|
|
46
|
+
* @url /rbac/user/getUserListByOrgIds
|
|
47
|
+
* @method POST
|
|
48
|
+
* @author @pubinfo/openapi
|
|
49
|
+
*/
|
|
50
|
+
export declare function postRbacUserGetUserListByOrgIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
51
|
+
/**
|
|
52
|
+
* @description 获得指定岗位的用户数组
|
|
53
|
+
* @url /rbac/user/getUserListByPostIds
|
|
54
|
+
* @method POST
|
|
55
|
+
* @author @pubinfo/openapi
|
|
56
|
+
*/
|
|
57
|
+
export declare function postRbacUserGetUserListByPostIds<R = API.ResponseDataListPubUser, T = API.ResponseDataListPubUser>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
23
58
|
/**
|
|
24
59
|
* @description 编辑角色和授权数据权限
|
|
25
60
|
* @url /rbac/user/grantUserRoleAndDatPermission
|
|
@@ -104,3 +139,10 @@ export declare function postRbacUserUserUpdate<R = API.ResponseDataVoid, T = API
|
|
|
104
139
|
* @author @pubinfo/openapi
|
|
105
140
|
*/
|
|
106
141
|
export declare function postRbacUserUserUpdateV2<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubUserUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
142
|
+
/**
|
|
143
|
+
* @description 校验用户们是否有效
|
|
144
|
+
* @url /rbac/user/validateUserList
|
|
145
|
+
* @method POST
|
|
146
|
+
* @author @pubinfo/openapi
|
|
147
|
+
*/
|
|
148
|
+
export declare function postRbacUserValidateUserList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -55,6 +55,13 @@ export declare function postRbacResourceMenuTree<R = API.ResponseDataListPubReso
|
|
|
55
55
|
* @author @pubinfo/openapi
|
|
56
56
|
*/
|
|
57
57
|
export declare function postRbacResourceMineOrAllResourceTree<R = API.ResponseDataListPubResourceTreeBo, T = API.ResponseDataListPubResourceTreeBo>(params: API.postRbacResourceMineOrAllResourceTreeParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
|
+
/**
|
|
59
|
+
* @description 资源拖拉拽更新
|
|
60
|
+
* @url /rbac/resource/reSortUpdate
|
|
61
|
+
* @method POST
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
|
+
*/
|
|
64
|
+
export declare function postRbacResourceReSortUpdate<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: API.PubResourceReSortUpdateDTO[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
58
65
|
/**
|
|
59
66
|
* @description 资源删除
|
|
60
67
|
* @url /rbac/resource/resourceDelete
|
|
@@ -62,3 +62,10 @@ export declare function getRbacOrgSearchTreeById<R = API.ResponseDataPubOrgTreeB
|
|
|
62
62
|
* @author @pubinfo/openapi
|
|
63
63
|
*/
|
|
64
64
|
export declare function postRbacOrgUpdateOrg<R = API.ResponseDataPubOrg, T = API.ResponseDataPubOrg>(body: API.PubOrgUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
65
|
+
/**
|
|
66
|
+
* @description 校验组织们是否有效
|
|
67
|
+
* @url /rbac/org/validateOrgList
|
|
68
|
+
* @method POST
|
|
69
|
+
* @author @pubinfo/openapi
|
|
70
|
+
*/
|
|
71
|
+
export declare function postRbacOrgValidateOrgList<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
-
import { C as postRbacOrgUpdateOrg, Lt as useToggle, r as getDictItemList, v as getRbacOrgInfo, x as postRbacOrgAddOrg } from "./index.js";
|
|
3
|
-
import { createBlock, createCommentVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
|
|
2
|
+
import { C as postRbacOrgUpdateOrg, Lt as useToggle, r as getDictItemList, selectUser, v as getRbacOrgInfo, x as postRbacOrgAddOrg } from "./index.js";
|
|
3
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, reactive, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { Button, Drawer, Form as Form$1, FormItem, Input as Input$1, InputNumber, Select, Space as Space$1, Switch } from "ant-design-vue/es";
|
|
6
6
|
let ACTION = /* @__PURE__ */ function(e) {
|
|
@@ -11,12 +11,18 @@ let ACTION = /* @__PURE__ */ function(e) {
|
|
|
11
11
|
return e[e.ON = 1] = "ON", e[e.OFF = 0] = "OFF", e;
|
|
12
12
|
}({});
|
|
13
13
|
RESOURCE_TYPE.OWNER, RESOURCE_TYPE.ALL, ENABLE_TYPE.ON, ENABLE_TYPE.OFF;
|
|
14
|
-
var
|
|
14
|
+
var _hoisted_1 = {
|
|
15
|
+
flex: "",
|
|
16
|
+
"items-center": ""
|
|
17
|
+
}, _hoisted_2 = {
|
|
18
|
+
key: 0,
|
|
19
|
+
"mr-6px": ""
|
|
20
|
+
}, drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
15
21
|
name: "OrganizationEdit",
|
|
16
22
|
__name: "drawerOrganization",
|
|
17
23
|
emits: ["submit"],
|
|
18
|
-
setup(e, { expose:
|
|
19
|
-
let d =
|
|
24
|
+
setup(e, { expose: s, emit: u }) {
|
|
25
|
+
let d = u, f = {
|
|
20
26
|
name: [{
|
|
21
27
|
required: !0,
|
|
22
28
|
message: "请输入组织名称",
|
|
@@ -73,11 +79,15 @@ var drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
73
79
|
let v = ref({
|
|
74
80
|
parentId: "",
|
|
75
81
|
enable: !0
|
|
76
|
-
});
|
|
77
|
-
async function
|
|
78
|
-
if (h(!0), p.title = e, e === ACTION.EDIT) {
|
|
82
|
+
}), y = ref([]);
|
|
83
|
+
async function b(e, t) {
|
|
84
|
+
if (h(!0), p.title = e, y.value = [], e === ACTION.EDIT) {
|
|
79
85
|
let e = await getRbacOrgInfo({ id: t?.id });
|
|
80
|
-
e.success && (v.value = e.data ?? {}
|
|
86
|
+
e.success && (v.value = e.data ?? {}, y.value = [{
|
|
87
|
+
orgId: e.data?.leaderUserOrgId ?? "",
|
|
88
|
+
userId: e.data?.leaderUserId ?? "",
|
|
89
|
+
userName: e.data?.leaderUserName ?? ""
|
|
90
|
+
}]);
|
|
81
91
|
} else e === ACTION.ADDNEXT ? v.value = {
|
|
82
92
|
parentName: t?.name,
|
|
83
93
|
parentId: t?.id,
|
|
@@ -89,20 +99,35 @@ var drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
89
99
|
district: !1
|
|
90
100
|
};
|
|
91
101
|
}
|
|
92
|
-
|
|
93
|
-
|
|
102
|
+
function x() {
|
|
103
|
+
selectUser({
|
|
104
|
+
modelValue: y.value,
|
|
105
|
+
multiple: !1,
|
|
106
|
+
onSubmit(e = []) {
|
|
107
|
+
y.value = e.map((e) => ({
|
|
108
|
+
orgId: e.orgId,
|
|
109
|
+
userId: e.userId,
|
|
110
|
+
userName: e.userName
|
|
111
|
+
}));
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
let [S, C] = useToggle(!1);
|
|
116
|
+
function w() {
|
|
94
117
|
let e = p.title === ACTION.EDIT ? postRbacOrgUpdateOrg : postRbacOrgAddOrg;
|
|
95
118
|
g.value?.validate().then(() => {
|
|
96
|
-
|
|
119
|
+
C(!0);
|
|
120
|
+
let t = { ...v.value };
|
|
121
|
+
y.value.length > 0 && (t.leaderUserId = y.value[0].userId, t.leaderUserName = y.value[0].userName, t.leaderUserOrgId = y.value[0].orgId), e(t).then((e) => {
|
|
97
122
|
e.success && (message.success(`${p.title}成功!`), h(!1), d("submit", { ...v.value }));
|
|
98
|
-
}).finally(() =>
|
|
123
|
+
}).finally(() => C(!1));
|
|
99
124
|
});
|
|
100
125
|
}
|
|
101
|
-
function
|
|
126
|
+
function T() {
|
|
102
127
|
v.value = { enable: !1 }, h(!1);
|
|
103
128
|
}
|
|
104
|
-
return
|
|
105
|
-
let n = FormItem, r = Input$1, i = Select, a = Switch, o = InputNumber, s =
|
|
129
|
+
return s({ open: b }), (e, t) => {
|
|
130
|
+
let n = FormItem, r = Input$1, i = Select, a = Switch, o = InputNumber, s = Button, c = Form$1, l = Space$1, u = Drawer;
|
|
106
131
|
return openBlock(), createBlock(u, {
|
|
107
132
|
open: unref(m),
|
|
108
133
|
"onUpdate:open": t[11] ||= (e) => isRef(m) ? m.value = e : null,
|
|
@@ -111,23 +136,23 @@ var drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
111
136
|
width: 600,
|
|
112
137
|
"destroy-on-close": "",
|
|
113
138
|
"footer-style": { textAlign: "right" },
|
|
114
|
-
onClose:
|
|
139
|
+
onClose: T
|
|
115
140
|
}, {
|
|
116
141
|
footer: withCtx(() => [createVNode(l, null, {
|
|
117
|
-
default: withCtx(() => [createVNode(
|
|
118
|
-
default: withCtx(() => [...t[
|
|
142
|
+
default: withCtx(() => [createVNode(s, { onClick: T }, {
|
|
143
|
+
default: withCtx(() => [...t[13] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
119
144
|
_: 1
|
|
120
|
-
}), createVNode(
|
|
145
|
+
}), createVNode(s, {
|
|
121
146
|
type: "primary",
|
|
122
|
-
loading: unref(
|
|
123
|
-
onClick: t[10] ||= (e) =>
|
|
147
|
+
loading: unref(S),
|
|
148
|
+
onClick: t[10] ||= (e) => w()
|
|
124
149
|
}, {
|
|
125
|
-
default: withCtx(() => [...t[
|
|
150
|
+
default: withCtx(() => [...t[14] ||= [createTextVNode(" 提交 ", -1)]]),
|
|
126
151
|
_: 1
|
|
127
152
|
}, 8, ["loading"])]),
|
|
128
153
|
_: 1
|
|
129
154
|
})]),
|
|
130
|
-
default: withCtx(() => [createVNode(
|
|
155
|
+
default: withCtx(() => [createVNode(c, {
|
|
131
156
|
ref_key: "formRef",
|
|
132
157
|
ref: g,
|
|
133
158
|
model: unref(v),
|
|
@@ -206,6 +231,16 @@ var drawerOrganization_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
206
231
|
}, null, 8, ["value"])]),
|
|
207
232
|
_: 1
|
|
208
233
|
}),
|
|
234
|
+
createVNode(n, { label: "组织负责人" }, {
|
|
235
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [unref(y).length > 0 ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(y)[0]?.userName), 1)) : createCommentVNode("", !0), createVNode(s, {
|
|
236
|
+
type: "primary",
|
|
237
|
+
onClick: x
|
|
238
|
+
}, {
|
|
239
|
+
default: withCtx(() => [...t[12] ||= [createTextVNode(" 选择负责人 ", -1)]]),
|
|
240
|
+
_: 1
|
|
241
|
+
})])]),
|
|
242
|
+
_: 1
|
|
243
|
+
}),
|
|
209
244
|
createVNode(n, {
|
|
210
245
|
label: "统一社会信用代码",
|
|
211
246
|
name: "creditCode"
|