refactor(webapp): 更新项目配置和功能

- 修改基础 URL为本地开发环境
- 更新数据库文件路径
- 调整发票报销流程,增加"完成"按钮
- 优化发票列表页面,添加搜索功能
- 新增发票复核页面
- 更新文件上传逻辑,使用动态 URL
This commit is contained in:
2025-08-17 22:39:59 +08:00
parent 0c4e94b5af
commit cc867c471e
12 changed files with 91 additions and 23 deletions
@@ -4,6 +4,7 @@ import {ref} from "vue";
import {
UploadOutlined
} from '@ant-design/icons-vue';
import {baseURL} from "../../utils/baseurl.ts";
const fileList1 = ref<UploadProps['fileList']>([]);
const props = defineProps({ filePath: String });
const emit= defineEmits(['update:filePath'])
@@ -45,7 +46,7 @@ const handleUpload = (options: any) => {
};
// 发送请求到服务器
xhr.open('POST', 'http://192.168.8.146:5000/upload');
xhr.open('POST', baseURL+'/upload');
xhr.send(formData);
};