truckUnloadRanLaoResult.vue 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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"></dilTable>
  11. </div>
  12. </template>
  13. <script>
  14. export default {
  15. name: "homeworkPath",
  16. data() {
  17. return {
  18. restaurants: [],
  19. input: "",
  20. option: {
  21. // 表格请求数据的地址
  22. requestUrl: "/api/v1/tms/getUnloadResult?apiId=145&orderType=6",
  23. },
  24. };
  25. },
  26. methods: {
  27. onclick() {
  28. this.option.requestUrl = "/api/v1/tms/getUnloadResult?apiId=145&orderType=6&con=" + this.input;
  29. },
  30. }
  31. };
  32. </script>
  33. <style lang='scss' scoped>
  34. .homeworkPath {
  35. .top {
  36. padding: 1.25rem 1.875rem;
  37. }
  38. }
  39. </style>