From 68abeeeb6cd37e43aa1d4fbc741094b1041cb4b7 Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Thu, 11 Jan 2024 14:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A8=E9=87=8F=E6=A3=80?= =?UTF-8?q?=E9=AA=8C=E7=85=A7=E7=89=87=E4=B8=8D=E8=83=BD=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/quality/Materialinspection/index.vue | 11 ++++++----- src/pages/shouye/me.vue | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/pages/quality/Materialinspection/index.vue b/src/pages/quality/Materialinspection/index.vue index a2a8990..8fec9be 100644 --- a/src/pages/quality/Materialinspection/index.vue +++ b/src/pages/quality/Materialinspection/index.vue @@ -116,7 +116,7 @@ - + @@ -603,8 +603,8 @@ export default class PurchaseWHSRM extends BasePage { tempFilePaths.map((item) => { uni.uploadFile({ - url: 'http://192.168.202.20:9000/prod-api/file/upload', - // url: '/dev-api/file/upload', + // url: 'http://192.168.202.20:9000/prod-api/file/upload', + url: '/prod-api/file/upload', fileType: 'image', filePath: item, header: { @@ -647,9 +647,10 @@ export default class PurchaseWHSRM extends BasePage { }, }); } - deleteImg(index) { - this.detaillistceshi[index].files.splice(index, 1); + deleteImg(index, index1) { + this.detaillistceshi[index].files.splice(index1, 1); this.detaillistceshi[index].fileListStr = this.detaillistceshi[index].files.join(','); + console.log(this.detaillistceshi[index]); } scanCodeOne() { uni.scanCode({ diff --git a/src/pages/shouye/me.vue b/src/pages/shouye/me.vue index 46f9e87..bbfaa66 100644 --- a/src/pages/shouye/me.vue +++ b/src/pages/shouye/me.vue @@ -65,7 +65,7 @@ export default class RawHome extends BasePage { model = model; src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'; today = dayjs().format('YYYY-MM-DD dddd'); - version = '0.0.31'; + version = '0.0.32'; checkversion: any = {}; sessiondata: any = ''; onLoad() {