1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <!-- 水路货物运单页面 -->
- <div class="shipTransport">
- <div class="top">
- <el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
- <el-button type="primary" class="btn" @click="onclick">
- <i class="el-icon-search"></i>查询
- </el-button>
- </div>
- <dilTable v-bind.sync="option">
- </dilTable>
- </div>
- </template>
- <script>
- export default {
- name: "homeworkPath",
- data() {
- return {
- restaurants: [],
- input: "",
- option: {
- // 表格请求数据的地址
- requestUrl: "/api/v1/tms/listAllOrders?apiId=56",
- },
- };
- },
- mounted() {
- },
- methods: {
- onclick() {
- this.option.requestUrl = "/api/v1/tms/listAllOrders?apiId=56&con=" + this.input;
- },
- btnclick(pathId) {
- this.$router.push("/path/addHomeworkPath/" + pathId);
- },
- },
- };
- </script>
- <style lang='scss' scoped>
- .shipTransport {
- .top {
- padding: 1.25rem 0.375rem;
- .el-input {
- width: 20%;
- margin-right: 1.25rem;
- }
- }
- }
- </style>
|