fix: BUG修改

This commit is contained in:
kun 2023-08-03 10:12:57 +08:00
parent a7a4ceddf4
commit 60e31f7732
2 changed files with 5 additions and 4 deletions

View File

@ -25,11 +25,12 @@ import { ref, onMounted } from "vue";
import { getEntSubItem } from "@/api/modules/huizhou"; import { getEntSubItem } from "@/api/modules/huizhou";
const props = defineProps<{ const props = defineProps<{
projectData: Object; projectData: Object;
engineeringSn: String;
}>(); }>();
// //
let objData = ref([]); let objData = ref([]);
const getSubItemFn = async () => { const getSubItemFn = async () => {
const res: any = await getEntSubItem({ engineeringSn: "BD78E0C5C2724962930CC9FAEC216EB9" }); const res: any = await getEntSubItem({ engineeringSn: props.engineeringSn });
objData.value = res.result; objData.value = res.result;
}; };
onMounted(async () => { onMounted(async () => {

View File

@ -87,7 +87,7 @@
<img src="@/assets/images/hzImg/xm/lcb.png" alt="" class="title" /> <img src="@/assets/images/hzImg/xm/lcb.png" alt="" class="title" />
</div> </div>
<div class="blockContent"> <div class="blockContent">
<milestone :projectData="projectData"></milestone> <milestone :engineeringSn="engineeringSn" :projectData="projectData"></milestone>
</div> </div>
</div> </div>
</div> </div>
@ -336,7 +336,7 @@ const BeginPlayer = () => {
onMounted(async () => { onMounted(async () => {
await getInspect(); await getInspect();
await getPayMentData(); await getPayMentData();
// await BeginPlayer(); await BeginPlayer();
// ee // ee
const pageInstance = getCurrentInstance(); const pageInstance = getCurrentInstance();
// dom // dom
@ -365,7 +365,7 @@ onMounted(async () => {
// setWndCover(); // setWndCover();
} }
}); });
// getVideo(); getVideo();
}); });
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">