diff --git a/.env.development b/.env.development index 6e07116..8849f99 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 煤科建管平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.149:8899' +VITE_APP_BASE_API = 'http://192.168.110.213:8899' # 无人机接口地址 diff --git a/src/api/patch/index.ts b/src/api/patch/index.ts index d8ad3e9..1c91045 100644 --- a/src/api/patch/index.ts +++ b/src/api/patch/index.ts @@ -94,7 +94,7 @@ export const editProgress = (data) => { // 删除进度 export const deleteProgress = (id) => { return request({ - url: `/removeProgress/{id}`, + url: `/patch/removeProgress/${id}`, method: 'delete' }); }; diff --git a/src/api/plan/plan/index.ts b/src/api/plan/plan/index.ts index 12afcd5..1a2f608 100644 --- a/src/api/plan/plan/index.ts +++ b/src/api/plan/plan/index.ts @@ -51,13 +51,9 @@ export const updatePlan = (data: PlanForm) => { }); }; -/** - * 删除招标计划 - * @param id - */ -export const delPlan = (id: string | number | Array) => { +export const getSegmentedIndicatorPlanning = (id) => { return request({ - url: '/plan/plan/' + id, - method: 'delete' + url: '/tender/segmentedIndicatorPlanning/' + id, + method: 'get' }); }; diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index dc19df3..8bfd847 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -357,6 +357,8 @@ const customUpload = async (options: any) => { }); handleUploadSuccess(res.data, options.file); } catch (err) { + console.log(err, 'err'); + handleUploadError(); } } else { diff --git a/src/views/materials/purchaseDoc/index.vue b/src/views/materials/purchaseDoc/index.vue index 2154d87..0c70dce 100644 --- a/src/views/materials/purchaseDoc/index.vue +++ b/src/views/materials/purchaseDoc/index.vue @@ -109,6 +109,7 @@ v-hasPermi="['cailiaoshebei:purchaseDoc:edit']" >修改 + 物流单分享 + 详情 @@ -239,13 +243,26 @@ + +
+ +
+
- + diff --git a/src/views/tender/supplierInput/index.vue b/src/views/tender/supplierInput/index.vue index 43bc2ea..9cbb74b 100644 --- a/src/views/tender/supplierInput/index.vue +++ b/src/views/tender/supplierInput/index.vue @@ -1,18 +1,26 @@