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
4cc5240d
Commit
4cc5240d
authored
Mar 20, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推广公司
parent
28075edd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
TenantFormModal.vue
src/views/system/tenantManage/components/TenantFormModal.vue
+2
-0
index.vue
src/views/system/tenantManage/index.vue
+6
-1
No files found.
src/views/system/tenantManage/components/TenantFormModal.vue
View file @
4cc5240d
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
name
:
''
,
name
:
''
,
code
:
''
,
code
:
''
,
adminUser
:
''
,
adminUser
:
''
,
'tenantType'
:
'mediate'
,
province
:
''
,
province
:
''
,
phone
:
''
,
phone
:
''
,
status
:
'enable'
,
status
:
'enable'
,
...
@@ -125,6 +126,7 @@
...
@@ -125,6 +126,7 @@
form
.
value
=
{
form
.
value
=
{
name
:
''
,
name
:
''
,
province
:
''
,
province
:
''
,
'tenantType'
:
'mediate'
,
code
:
''
,
code
:
''
,
adminUser
:
''
,
adminUser
:
''
,
phone
:
''
,
phone
:
''
,
...
...
src/views/system/tenantManage/index.vue
View file @
4cc5240d
<
template
>
<
template
>
<div
class=
"table-box"
>
<div
class=
"table-box"
>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"getTenantPage"
>
<ProTable
ref=
"proTable"
:config=
"config"
:api=
"getTenantPage"
:paramCallback=
"paramCallback"
>
<template
#
left_buttons
>
<template
#
left_buttons
>
<el-button
type=
"primary"
:icon=
"Plus"
@
click=
"tenatModalRef?.openModal()"
>
新增
</el-button>
<el-button
type=
"primary"
:icon=
"Plus"
@
click=
"tenatModalRef?.openModal()"
>
新增
</el-button>
<el-button
type=
"danger"
:icon=
"Delete"
@
click=
"onDelete"
>
删除
</el-button>
<el-button
type=
"danger"
:icon=
"Delete"
@
click=
"onDelete"
>
删除
</el-button>
...
@@ -24,6 +24,11 @@
...
@@ -24,6 +24,11 @@
const
proTable
=
ref
(
null
);
const
proTable
=
ref
(
null
);
const
tenatModalRef
=
ref
(
null
);
const
tenatModalRef
=
ref
(
null
);
const
allocationUserModalRef
=
ref
(
null
);
const
allocationUserModalRef
=
ref
(
null
);
const
paramCallback
=
(
param
)
=>
{
const
obj
=
JSON
.
parse
(
JSON
.
stringify
(
param
));
obj
[
'tenantType'
]
=
'mediate'
return
obj
;
};
const
config
=
reactive
({
const
config
=
reactive
({
columns
:
[
columns
:
[
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
},
{
type
:
'checkbox'
,
width
:
60
,
fixed
:
'left'
},
...
...
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