truckLeaveFactoryRanXingResult.vue 930 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <!-- 燃料出厂作业页面 -->
  3. <div class="homeworkPath">
  4. <div class="top">
  5. <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
  6. <el-button type="primary" class="btn" @click="onclick">
  7. <i class="el-icon-search"></i>查询
  8. </el-button>
  9. </div>
  10. <dilTable v-bind.sync="option">
  11. </dilTable>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. name: "homeworkPath",
  17. data() {
  18. return {
  19. restaurants: [],
  20. input: "",
  21. option: {
  22. // 表格请求数据的地址
  23. requestUrl: "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=7",
  24. },
  25. };
  26. },
  27. methods: {
  28. onclick() {
  29. this.option.requestUrl = "/api/v1/tms/getLeaveFactoryResult?apiId=147&orderType=7&con=" + this.input;
  30. },
  31. }
  32. };
  33. </script>
  34. <style lang='scss' scoped>
  35. .homeworkPath {
  36. .top {
  37. padding: 1.25rem 1.875rem;
  38. }
  39. }
  40. </style>