Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
R
recording-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
何远江
recording-ui
Commits
5233e6c0
Commit
5233e6c0
authored
Jan 14, 2025
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4dfe2bbf
Pipeline
#511
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
+22
-5
index.vue
src/views/recording/index.vue
+22
-5
No files found.
src/views/recording/index.vue
View file @
5233e6c0
...
...
@@ -31,7 +31,7 @@
<div
class=
"mb-2"
>
<el-button
type=
"success"
@
click=
"handleAdd"
>
新增
</el-button>
</div>
<vxe-table
:data=
"tableData"
>
<vxe-table
:data=
"tableData"
:loading=
"loading"
>
<vxe-column
field=
"meetingName"
title=
"会议主题"
></vxe-column>
<vxe-column
field=
"meetingHost"
title=
"主持人"
></vxe-column>
<vxe-column
field=
"meetingTime"
title=
"会议时间"
></vxe-column>
...
...
@@ -42,7 +42,9 @@
<
script
setup
>
import
{
reactive
,
ref
}
from
"vue"
;
import
{
useRouter
}
from
'vue-router'
import
{
useRouter
}
from
"vue-router"
;
import
{
meetingList
}
from
"@/api/meeting"
;
import
{
onMounted
}
from
"vue"
;
const
formState
=
reactive
({
meetingName
:
""
,
...
...
@@ -50,11 +52,26 @@ const formState = reactive({
meetingTime
:
""
,
});
const
tableData
=
ref
([]);
const
loading
=
ref
(
false
)
const
router
=
useRouter
();
const
hanldeQuery
=
()
=>
{};
const
hanldeQuery
=
async
()
=>
{
loading
.
value
=
true
;
try
{
const
{
data
}
=
await
meetingList
();
}
catch
{}
loading
.
value
=
false
;
};
const
handleAdd
=
()
=>
{
router
.
push
(
'/recording-add'
)
router
.
push
(
"/recording-add"
);
};
const
handleReset
=
()
=>
{
formState
.
meetingName
=
""
;
formState
.
meetingHost
=
""
;
formState
.
meetingTime
=
""
;
};
const
handleReset
=
()
=>
{};
onMounted
(()
=>
{
hanldeQuery
();
});
</
script
>
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