truckJiPiRanLaoResult.vue 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/getAllJiPiResult?apiId=146&orderType=6",
  24. },
  25. };
  26. },
  27. methods: {
  28. onclick() {
  29. this.option.requestUrl = "/api/v1/tms/getAllJiPiResult?apiId=146&orderType=6&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>