Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
yishuju-ui
Commits
2329acd1
Commit
2329acd1
authored
Mar 18, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of
http://git.local.topsunit.com/heyuanjiang/yishuju-ui
parents
e3df34a0
bc004eac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
21 deletions
+12
-21
user.js
src/api/user.js
+3
-3
index.vue
src/views/system/accountManage/index.vue
+2
-2
index.vue
src/views/system/roleManage/index.vue
+3
-3
index.vue
src/views/system/tenantManage/index.vue
+4
-13
No files found.
src/api/user.js
View file @
2329acd1
import
request
from
'@/utils/http/index'
;
import
request
from
'@/utils/http/index'
;
export
const
saveUser
=
(
data
)
=>
{
export
const
saveUser
=
(
data
)
=>
{
return
request
.
post
(
'/
login
/save'
,
data
);
return
request
.
post
(
'/
user
/save'
,
data
);
};
};
export
const
getUserPage
=
(
params
)
=>
{
export
const
getUserPage
=
(
params
)
=>
{
return
request
.
get
(
'/
login
/page'
,
params
);
return
request
.
get
(
'/
user
/page'
,
params
);
};
};
export
const
deleteUsers
=
(
ids
)
=>
{
export
const
deleteUsers
=
(
ids
)
=>
{
return
request
.
get
(
'/
login
/batchDeleteByIds'
,
{
ids
});
return
request
.
get
(
'/
user
/batchDeleteByIds'
,
{
ids
});
};
};
export
const
saveLeaderGroup
=
(
data
)
=>
{
export
const
saveLeaderGroup
=
(
data
)
=>
{
return
request
.
post
(
`/leaderGroup/add?username=
${
data
.
username
}
&password=
${
data
.
password
}
&phone=
${
data
.
phone
}
&status=
${
data
.
status
}
&role=
${
data
.
role
}
`
);
return
request
.
post
(
`/leaderGroup/add?username=
${
data
.
username
}
&password=
${
data
.
password
}
&phone=
${
data
.
phone
}
&status=
${
data
.
status
}
&role=
${
data
.
role
}
`
);
...
...
src/views/system/accountManage/index.vue
View file @
2329acd1
...
@@ -45,13 +45,13 @@
...
@@ -45,13 +45,13 @@
slots
:
{
slots
:
{
default
:
({
row
})
=>
{
default
:
({
row
})
=>
{
return
(
return
(
<>
{
Array
.
from
(
new
Set
(
row
.
tenantNames
)).
join
(
','
)
}
<
/
>
<>
{
row
.
tenant
.
name
}
<
/
>
);
);
},
},
},
},
field
:
'tenantNames'
,
field
:
'tenantNames'
,
enum
:
Tenantlist
,
enum
:
Tenantlist
,
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'tenant
Id
'
,
labelWidth
:
85
},
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'tenant'
,
labelWidth
:
85
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
title
:
'调解中心'
title
:
'调解中心'
},
},
...
...
src/views/system/roleManage/index.vue
View file @
2329acd1
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
{
field
:
'roleCode'
,
title
:
'角色编码'
,
search
:
{
el
:
'input'
}
},
{
field
:
'roleCode'
,
title
:
'角色编码'
,
search
:
{
el
:
'input'
}
},
{
field
:
'roleDesc'
,
title
:
'角色描述'
,
search
:
{
el
:
'input'
}
},
{
field
:
'roleDesc'
,
title
:
'角色描述'
,
search
:
{
el
:
'input'
}
},
{
{
width
:
32
0
,
width
:
20
0
,
title
:
'操作'
,
title
:
'操作'
,
fixed
:
'right'
,
fixed
:
'right'
,
slots
:
{
slots
:
{
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
>
>
设置权限
设置权限
<
/ElButton
>
<
/ElButton
>
<
ElButton
{
/*
<ElButton
type="primary"
type="primary"
link
link
icon={Setting}
icon={Setting}
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
}
}
>
>
设置成员
设置成员
<
/ElButton
>
</ElButton>
*/
}
<
/
>
<
/
>
),
),
},
},
...
...
src/views/system/tenantManage/index.vue
View file @
2329acd1
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</ProTable>
</ProTable>
<TenantFormModal
ref=
"tenatModalRef"
@
success=
"query"
/>
<TenantFormModal
ref=
"tenatModalRef"
@
success=
"query"
/>
<
AllocationUserModal
ref=
"allocationUserModalRef"
@
success=
"query"
/
>
<
!-- <AllocationUserModal ref="allocationUserModalRef" @success="query" /> --
>
</div>
</div>
</template>
</template>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
width
:
80
,
width
:
80
,
slots
:
{
slots
:
{
default
:
({
row
})
=>
{
default
:
({
row
})
=>
{
return
<
div
>
{
row
.
users
.
length
}
<
/div>
;
return
<
div
>
{
row
.
users
Size
}
<
/div>
;
},
},
},
},
},
},
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
},
},
},
},
{
{
width
:
2
00
,
width
:
1
00
,
title
:
'操作'
,
title
:
'操作'
,
fixed
:
'right'
,
fixed
:
'right'
,
slots
:
{
slots
:
{
...
@@ -74,16 +74,7 @@
...
@@ -74,16 +74,7 @@
<
ElButton
type
=
"primary"
link
icon
=
{
Edit
}
onClick
=
{()
=>
handleEdit
(
row
)}
>
<
ElButton
type
=
"primary"
link
icon
=
{
Edit
}
onClick
=
{()
=>
handleEdit
(
row
)}
>
编辑
编辑
<
/ElButton
>
<
/ElButton
>
<
ElButton
type
=
"primary"
link
icon
=
{
Setting
}
onClick
=
{()
=>
allocationUserModalRef
.
value
.
openModal
(
JSON
.
parse
(
JSON
.
stringify
(
row
)))
}
>
设置成员
<
/ElButton
>
<
/
>
<
/
>
),
),
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment