| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-04-26 09:36:18 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-11-25 14:33:40 |
| | | * @LastEditTime: 2024-11-27 15:44:14 |
| | | * @FilePath: /smart-web/src/views/mdc/status-record.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | |
| | | this.getTableData(); |
| | | }, |
| | | getTableData() { |
| | | this.$HTTP.post(`/workinghour/page?current=${this.current}&size=${this.size}`, this.searchInfo).then(res => { |
| | | this.$HTTP.post(`/api/workinghour/page?current=${this.current}&size=${this.size}`, this.searchInfo).then(res => { |
| | | if (res.code === 200) { |
| | | res.data.records.forEach((item,index)=> { |
| | | item.index = index + 1; |
| | |
| | | /* |
| | | * @Date: 2024-03-23 09:49:06 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2024-11-03 20:06:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-11-27 14:59:26 |
| | | * @FilePath: /cps-web/vue.config.js |
| | | */ |
| | | const { defineConfig } = require('@vue/cli-service') |
| | |
| | | '^/api': '/' |
| | | } |
| | | }, |
| | | 'workinghour': { |
| | | '/workinghour': { |
| | | target: 'http://120.46.212.231:5102', |
| | | // ws: true, |
| | | changeOrigin: true, |