<template>
  <div class="h-full bg-white pt-10px" v-loading="loading" element-loading-text="Loading..." :element-loading-spinner="svg" element-loading-svg-view-box="-10, -10, 50, 50" element-loading-background="rgba(122, 122, 122, 0.8)">
    <el-form class="demo-ruleForm">
      <el-form-item label="PPT选择：">
        <!-- <file-upload-progress v-model:part="fileUrl" class="hideList" :limit="1" accept=".ppt,.pptx" @compile="handleCompile"></file-upload-progress> -->
        <el-upload v-model:file-list="fileList" class="upload-demo hideList" accept=".ppt,.pptx" :auto-upload="false" :on-change="handleFileChange">
          <el-button type="primary">开始上传</el-button>
        </el-upload>
      </el-form-item>
    </el-form>
    <template v-if="resultData.length===0">
      <el-empty></el-empty>
    </template>
    <template v-else>
      <el-collapse v-model="activeNames" :accordion="true">
        <el-collapse-item v-for="(item, index) in resultData" :key="index" :name="index+1+''" @click="handleInitTableData(item)">
          <template #title>
            <div class="flex items-center"><el-checkbox @click.stop="" @change="handleChange(item)" v-model="item.checked" :indeterminate="item.indeterminate"></el-checkbox>
              <div class="ml-8px">{{ item.azp_name }}</div>
            </div>
          </template>
          <div class="grid grid-cols-4 gap-4">
            <div class="relative" v-for="(value, i) in item.tableData" :key="i">
              <div class="absolute top-0 left-10px"><el-checkbox @change="handleChange1(item, value)" v-model="value.checked"></el-checkbox></div>
              <img :src="value.mediaBasicInfo.inputURL" alt="" class="w-full h-100px" />
              <div class="text-center">{{ value.mediaBasicInfo.title }}</div>
            </div>
          </div>
        </el-collapse-item>
      </el-collapse>
      <div class="flex justify-center px-80px pt-20px">
        <el-pagination v-model:current-page="page" v-model:page-size="limit" layout="total, prev, pager, next, jumper" :total="total" @current-change="handleCurrentChange" />
      </div>
    </template>
  </div>
</template>

<script setup>
import { user } from '~/store/index'
import { REQUEST } from '~/utils/request';
const loading = ref(false);
const fileList = ref([]);

async function handleFileChange(uploadFile) {
  loading.value = true;
  const { code, data } = await REQUEST.upload({ url: '/upload/main/exchange2', data: {file: uploadFile.raw, issubmit: '1'} });
  if(code === "1") {
    initData();
  }
}

const limit = ref(10)
const page = ref(1)
const total = ref(0)
const resultData = ref([])
const selectedData = ref([])

// initData();
async function initData() {
  loading.value = true;
  const { code, data } = await request({ url: '/aimooc/zyk_ppt/index', data:{ limit: limit.value, page: page.value, create_user_id: user.value.user_id } })
  if (code === '1') {
    data.page_data.map(item => {
      item.checked = false;
      item.indeterminate = false;
    })
    if(data.page_data[0]) {
      initChildData(data.page_data[0]).then((res) => {
        data.page_data[0].tableData = res;
        resultData.value = [...data.page_data];
        loading.value = false;
      });
    } else {
      resultData.value = [...data.page_data];
        loading.value = false;
    }
    total.value = Number(data.total_rows)
  }
}

async function initChildData(obj) {
  const { code, data } = await request({ url: '/aimooc/zyk_ppt/ppt_img', data:{ azp_id: obj.azp_id, limit: '999' } })
  if (code === '1') {
    return data
  }
}

function handleInitTableData(data) {
  // if(!data.tableData) {
  //   loading.value = true;
  //   initChildData(data).then((res) => {
  //     data.tableData = res;
  //     loading.value = false;
  //   });
  // }
}

function handleCurrentChange(val) {
  page.value = val
  initData()
}

const activeNames = ref("1");

resultData.value = [
  {
    azp_name: "1.ppt",
    tableData: [
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} }
    ]
  },
  {
    azp_name: "2.ppt",
    tableData: [
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
      { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} }
    ]
  }
]


resultData.value.map(item => {
  item.checked = false;
  item.indeterminate = false;
  item.tableData.map(value => {
    value.checked = false;
  })
})


const handleChange = (data) => {
  data.indeterminate = false;
  data.tableData.map(item => {
    item.checked = data.checked;
    if (item.checked) {
      selectedData.value.push(item);
    }
  })
  window.parent.postMessage(JSON.stringify(selectedData.value), '*');
}


const handleChange1 = (data, value) => {
  if (value.checked) {
    selectedData.value.push(value);
  }
  let arr = data.tableData.filter(item => item.checked === true);
  if (arr.length === 0) {
    data.indeterminate = false;
    data.checked = false;
  } else if (arr.length === data.tableData.length) {
    data.indeterminate = false;
    data.checked = true;
  } else {
    data.indeterminate = true;
  }

  console.log(1)
  console.log(selectedData.value)
  window.parent.postMessage(JSON.stringify(selectedData.value), '*');
}



// const aaa = () => {
//   let a = JSON.stringify([
//     { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=dOrt7el%2BSuRRUdEyK7Mz320JOFU%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:57:42Z", "FileType": "source_file", "FileName": "202305251457399905_no2O.JPG", "CreateTime": "2023-05-25T06:57:42Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "2448", "Width": "3264", "FileSize": "2368725" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:42Z", "BusinessType": "general", "title": "图片1", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457399905_no2O.JPG", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "71a877b0fac971edbfd9e7e6d5486301", "ModifiedTime": "2023-05-25T06:57:42Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457364452_MDcC.JPG", "MediaTags": "uid242478_" }, "AiRoughData": {} },
//     { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
//     { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} },
//     { "AiData": {}, "MediaDynamicInfo": { "DynamicMetaData": {}, "MediaExtraInfo": { "ManualAuditStatus": "Init", "AiAuditStatus": "Init" } }, "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "FileInfoList": [{ "FileBasicInfo": { "FileUrl": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg?Expires=1685515287&OSSAccessKeyId=STS.NUDqmws2xFwzATZAQe2pENuvj&Signature=DHs3deDGJAZq4MrJ%2FtF3qu0RlsE%3D&security-token=CAISjQJ1q6Ft5B2yfSjIr5bxOtfDnu1Z8bWRQ3LrpVEwPv9pobDdiDz2IH9IeHFsCOsavvk0nmtR5vwflrNyQJIAQEHIbMI1t8sIrVn5PNWa4pXtteNa0cUyp9585EepsvXJasDVEfn%2FGJ70GX2m%2BwZ3xbzlD0bAO3WuLZyOj7N%2Bc90TRXPWRDFaBdBQVGAAwY1gQhm3D%2Fu2NQPwiWf9FVdhvhEG6Vly8qOi2MaRmHG85R%2FYsrZK%2BNiresf7NJA1ZM8gDY6PsbYoJvab4kl58ANX8ap6tqtA9Arcs8uVa1sruErab7KIo4YzfFIiPPNjS%2FQZtoTVkfxpp%2BryvKnbxhhEIOVJaSPbSZBJPQdeog1KXBqAAQKDWUVwlWWH%2BfcFbcnrw9gCW8HAw5Zwll8oS8JhVcwqsnGPwoCQdCK9Y8GUvlf0iEuk%2BI30uqPpcvDYgAbrTmV54N2Jznwo1lOeS9k%2FnYG2UgxwgDra%2BlpBfyABugb4szZ9H4Gpoji%2B6ivheE9DujbnRymgYfZYpbqOKrUSziKp", "FileStatus": "Normal", "ModifiedTime": "2023-05-25T06:58:00Z", "FileType": "source_file", "FileName": "202305251457572138_eTr7.jpg", "CreateTime": "2023-05-25T06:58:00Z", "Region": "cn-shanghai", "FormatName": "jpg", "Height": "1080", "Width": "1920", "FileSize": "1967781" } }], "mediaBasicInfo": { "Status": "Normal", "Description": "image", "CreateTime": "2023-05-25T06:57:59Z", "BusinessType": "general", "title": "图片2", "inputURL": "https://aimooc-bozedu-net.oss-cn-shanghai.aliyuncs.com/202305251457572138_eTr7.jpg", "Source": "oss", "TranscodeStatus": "Init", "Biz": "ICE", "MediaId": "7c4ec160fac971ed804be6f7c57b6301", "ModifiedTime": "2023-05-25T06:58:00Z", "AppId": "app-1000000", "UploadSource": "general", "MediaType": "image", "CoverURL": "https://aimoocapi.bozedu.net/data/upload/month_202305/202305251457524375_wL8A.jpg", "MediaTags": "uid242478_" }, "AiRoughData": {} }
//   ])
//   // localStorage.setItem("selected-ppt-data", a)
//   // window.parent.postMessage(a,'*');
//   window.parent.postMessage(a, '*')
// }


// watch(
//   () => selectedData.value, (val) => {
//     console.log(111)
//     console.log(selectedData.value)
//     window.parent.postMessage(JSON.stringify(selectedData.value), '*');
//   },
//   {
//     deep: true,
//   }
// )
</script>

<route lang="json">
  {
    "meta": {
      "hidden": true,
      "hideLayout": true
    }
  }
</route>

<style lang="scss" scoped>
:deep() {
  .hideList {
    .el-button.el-button--primary {
      background: #1677ff !important;
      border-color: #1677ff !important;
      color: #fff !important;
    }
    .el-upload-list {
      display: none;
    }
  }
}
</style>