trainResult.vue 926 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <!-- 火运实绩页面 -->
  3. <div class="purchaseOrder">
  4. <div class="top">
  5. <el-input
  6. placeholder="请输入内容"
  7. v-model="input"
  8. clearable>
  9. </el-input>
  10. <el-button type="primary" class="btn" @click="onclick">
  11. <i class="el-icon-search" ></i>查询
  12. </el-button>
  13. </div>
  14. <dilTable v-bind.sync="option">
  15. </dilTable>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. name: "purchaseOrder",
  21. data() {
  22. return {
  23. restaurants: [],
  24. state: "",
  25. option: {
  26. // 表格请求数据的地址
  27. requestUrl: "/api/v1/bms/getStatementTrainResultList?apiId=122&detailsId="
  28. + this.$route.params.detailsId
  29. },
  30. };
  31. },
  32. mounted() {
  33. },
  34. methods: {
  35. onclick() {
  36. console.log(1);
  37. },
  38. },
  39. };
  40. </script>
  41. <style lang='scss' scoped>
  42. .purchaseOrder {
  43. .top {
  44. padding: 1.25rem 1.875rem;
  45. }
  46. }
  47. </style>