wangfei
6 小时以前 71594bd2dc9201834aa533099e9e49a9b84506cd
UI-Project/src/views/Visualization/screentwo.vue
@@ -3,15 +3,12 @@
import {reactive} from "vue";
import {useRouter} from "vue-router"
const router = useRouter()
import request from "@/utils/request"
import { ref, onMounted } from "vue";
// import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
//  import LanguageMixin from './lang/LanguageMixin'
const tableData = ref([])
// 发送获取表格数据的请求
// const fetchTableData = async () => {
//   try {
@@ -34,19 +31,13 @@
//   }
// };
// onMounted(fetchTableData);
request.get("unLoadGlass/downStorage/selectStorageCage").then((res) => {
          if (res.code == 200) {
          console.log(res.data);
          tableData.value = res.data
          } else {
          ElMessage.warning(res.msg)
          }
          });
const dialogForm = () => {
  ElMessageBox.confirm(
    '是否报缺?',
@@ -60,7 +51,6 @@
  .then(() => {
    // this.boxa = true
    // this.box = false
    })
}
const open = () => {
@@ -99,7 +89,6 @@
    }
  }
}
const gridOptions = reactive({
  border:  "full",//表格加边框
  keepSource: true,//保持源数据
@@ -136,23 +125,14 @@
      'thick': '183.6',
    }
  ]
})
</script>
<template>
  <div id="awatch">
    <img src="../../assets/d2.png" alt="" style="width: 100%;height: 160%;margin-top: 20px;">
</div>
</template>
<style scoped>
#awatch{
  height: 460px;
  /* margin-top: -60px; */