1、完善项目

2、完善合同
3、完善费用项
4、司机管理对接OCR
5、完善运输计划
6、完善临时额度
This commit is contained in:
2026-08-04 12:17:49 +08:00
parent 81c98f6ad8
commit f9f8221870
34 changed files with 7887 additions and 983 deletions

View File

@@ -9,7 +9,7 @@
:multiple="multiple"
:limit="limit"
:disabled="readonly"
:show-file-list="true"
:show-file-list="showFileList"
:on-success="handleSuccess"
:on-error="handleError"
:on-remove="handleRemove"
@@ -69,8 +69,7 @@ import {
import '@open-file-viewer/core/style.css';
import pdfWorkerSrc from 'pdfjs-dist/build/pdf.worker.mjs?url';
import { baseUrl } from '@/config/env';
import website from '@/config/website';
import { getToken } from '@/utils/auth';
import { getUploadHeaders } from '@/utils/upload';
const MIME_MAP = {
jpg: 'image/jpeg',
@@ -159,6 +158,10 @@ export default {
type: Boolean,
default: true,
},
showFileList: {
type: Boolean,
default: true,
},
},
emits: ['update:modelValue', 'change', 'success'],
data() {
@@ -182,9 +185,7 @@ export default {
return this.action || `${baseUrl}/blade-resource/oss/endpoint/put-file`;
},
uploadHeaders() {
return {
[website.tokenHeader]: getToken(),
};
return getUploadHeaders();
},
acceptedList() {
const types = this.fileTypes.length ? this.fileTypes : this.accept;