1
lzhe
2024-11-27 6f5e279ecbf36cbcbb46e13180eb313324c71918
1
已修改2个文件
10 ■■■■ 文件已修改
src/views/mdc/first-workpiece.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/first-workpiece.vue
@@ -2,7 +2,7 @@
 * @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
-->
@@ -201,7 +201,7 @@
            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;
vue.config.js
@@ -1,7 +1,7 @@
/*
 * @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')
@@ -30,7 +30,7 @@
                    '^/api': '/'
                }
            },
            'workinghour': {
            '/workinghour': {
                target: 'http://120.46.212.231:5102',
                // ws: true,
                changeOrigin: true,