{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\n// import moment from 'moment';\nimport TRTC from 'trtc-sdk-v5';\nimport { getRoomId } from '@/api/home';\nlet trtc = null;\nexport default {\n name: 'App',\n data() {\n return {\n formLabelAlign: {},\n enterRoomFrom: {},\n rules: {\n startTime: [{\n required: true,\n message: \"请选择开始时间\",\n trigger: \"blur\"\n }],\n endTime: [{\n required: true,\n message: \"请选择结束时间\",\n trigger: \"blur\"\n }]\n },\n trtc: null\n };\n },\n methods: {\n async enterRoom() {\n this.$router.push({\n name: 'Room',\n query: {\n userId: this.formLabelAlign.userId,\n roomId: this.enterRoomFrom.roomId\n }\n });\n },\n submitRoom() {\n this.$refs[\"formLabelAlign\"].validate(valid => {});\n }\n },\n async mounted() {\n trtc = TRTC.create();\n const config = {\n view: document.getElementById('video'),\n publish: false\n };\n await trtc.startLocalVideo(config);\n getRoomId('1396').then(res => {\n console.log(res, \"Ppppppppppppppp\");\n });\n }\n};","map":{"version":3,"names":["TRTC","getRoomId","trtc","name","data","formLabelAlign","enterRoomFrom","rules","startTime","required","message","trigger","endTime","methods","enterRoom","$router","push","query","userId","roomId","submitRoom","$refs","validate","valid","mounted","create","config","view","document","getElementById","publish","startLocalVideo","then","res","console","log"],"sources":["src/components/homepc.vue"],"sourcesContent":["\n \n
\n\n
\n \n
\n
\n 仲裁会议室\n
\n
\n \n \n \n 进入\n \n \n
\n
\n
\n\n \n\n \n\n \n \n "],"mappings":";AAoCA;AACA,OAAAA,IAAA;AACA,SAAAC,SAAA;AACA,IAAAC,IAAA;AACA;EACAC,IAAA;EACAC,KAAA;IACA;MACAC,cAAA;MACAC,aAAA;MACAC,KAAA;QACAC,SAAA,GACA;UAAAC,QAAA;UAAAC,OAAA;UAAAC,OAAA;QAAA,EACA;QACAC,OAAA,GACA;UAAAH,QAAA;UAAAC,OAAA;UAAAC,OAAA;QAAA;MAEA;MACAT,IAAA;IACA;EACA;EACAW,OAAA;IACA,MAAAC,UAAA;MACA,KAAAC,OAAA,CAAAC,IAAA;QACAb,IAAA;QACAc,KAAA;UACAC,MAAA,OAAAb,cAAA,CAAAa,MAAA;UACAC,MAAA,OAAAb,aAAA,CAAAa;QACA;MACA;IACA;IACAC,WAAA;MACA,KAAAC,KAAA,mBAAAC,QAAA,CAAAC,KAAA,KAEA;IACA;EACA;EACA,MAAAC,QAAA;IACAtB,IAAA,GAAAF,IAAA,CAAAyB,MAAA;IACA,MAAAC,MAAA;MACAC,IAAA,EAAAC,QAAA,CAAAC,cAAA;MACAC,OAAA;IACA;IACA,MAAA5B,IAAA,CAAA6B,eAAA,CAAAL,MAAA;IACAzB,SAAA,SAAA+B,IAAA,CAAAC,GAAA;MACAC,OAAA,CAAAC,GAAA,CAAAF,GAAA;IACA;EACA;AACA"},"metadata":{},"sourceType":"module","externalDependencies":[]}