|
@@ -1,22 +1,43 @@
|
|
<template>
|
|
<template>
|
|
<div class="cloudCoachList">
|
|
<div class="cloudCoachList">
|
|
- <ElButton @click="handleUpdate">点击云教练</ElButton>
|
|
|
|
|
|
+ <el-descriptions title="乐谱">
|
|
|
|
+ <div>
|
|
|
|
+ <el-descriptions-item label="Username">kooriookami</el-descriptions-item>
|
|
|
|
+ <el-descriptions-item label="Telephone">18100000000</el-descriptions-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-descriptions>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
-import { ElButton } from "element-plus"
|
|
|
|
|
|
+import { ElDescriptions, ElDescriptionsItem } from "element-plus"
|
|
|
|
+import { getMaterialQueryPage } from "@/api/pptOperate"
|
|
|
|
+import { httpAjax } from "@/plugins/httpAjax"
|
|
|
|
+import { ref } from "vue"
|
|
|
|
+
|
|
const emit = defineEmits<{
|
|
const emit = defineEmits<{
|
|
(event: "update", id: string): void
|
|
(event: "update", id: string): void
|
|
}>()
|
|
}>()
|
|
function handleUpdate() {
|
|
function handleUpdate() {
|
|
emit("update", "1760123974848413697")
|
|
emit("update", "1760123974848413697")
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+const listData = ref([])
|
|
|
|
+httpAjax(getMaterialQueryPage, {
|
|
|
|
+ type: "MUSIC",
|
|
|
|
+ sourceType: 2,
|
|
|
|
+ enableFlag: true,
|
|
|
|
+ page: 1,
|
|
|
|
+ rows: 20
|
|
|
|
+}).then(res => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ listData.value = res.data.rows
|
|
|
|
+ }
|
|
|
|
+})
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.cloudCoachList {
|
|
.cloudCoachList {
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: 200px;
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|