From 151fe973ecbfe95d2b8c6f4e2d305ba26173da75 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 18 三月 2025 17:04:01 +0800 Subject: [PATCH] 整理代码 --- src/components/Table/lims-table.vue | 1 - src/permission.js | 1 - src/utils/dict/DictOptions.js | 1 - src/views/business/inspectionReview/index.vue | 1 - src/views/business/productOrder/components/add.vue | 2 -- src/views/business/inspectionTask/inspection.vue | 2 -- src/views/business/inspectionTask/index.vue | 2 -- src/components/UpPdfStamp/index.vue | 1 - src/utils/excelFountion.js | 2 -- src/views/business/unpass/components/PurchaseVerification.vue | 1 - src/views/business/productOrder/components/printDialog.vue | 1 - src/components/index/scroll-paging.vue | 2 -- src/views/standard/standardLibrary/components/bindSupplierDensityDialogAsk.vue | 1 - src/views/performance/manHour/workTimeConfig.vue | 1 - 14 files changed, 0 insertions(+), 19 deletions(-) diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue index f3d7795..128d655 100644 --- a/src/components/Table/lims-table.vue +++ b/src/components/Table/lims-table.vue @@ -158,7 +158,6 @@ name: "ZTTable", filters: { typeFn(val, row) { - // console.log(val, row, '11111111'); if (typeof val === "function") { return val(row); } else return val; diff --git a/src/components/UpPdfStamp/index.vue b/src/components/UpPdfStamp/index.vue index 844eac4..9e83bc3 100644 --- a/src/components/UpPdfStamp/index.vue +++ b/src/components/UpPdfStamp/index.vue @@ -125,7 +125,6 @@ // 娓叉煋绔� drawStamps(x, y, index) { var img = new Image(); - console.log(this.stampsName) // 璁剧疆鍥剧墖婧� img.src = require("@/assets/stamps/" + this.stampsName + ".png"); // 鏇挎崲涓轰綘鐨勫浘鐗囬摼鎺� let that = this diff --git a/src/components/index/scroll-paging.vue b/src/components/index/scroll-paging.vue index ba5e511..143d08a 100644 --- a/src/components/index/scroll-paging.vue +++ b/src/components/index/scroll-paging.vue @@ -55,9 +55,7 @@ onScroll(){}, scrollFn() { let content = this.$refs.content - // console.log(22222,content.scrollTop + content.clientHeight+1,content.scrollHeight) if (content.scrollTop + content.clientHeight+2 >= content.scrollHeight) { - // console.log(1111,this.finishLoding) if(!this.finishLoding){ this.loadMore() }else{ diff --git a/src/permission.js b/src/permission.js index 6034285..dbae342 100644 --- a/src/permission.js +++ b/src/permission.js @@ -19,7 +19,6 @@ NProgress.start() if (getToken()) { to.meta.title && store.dispatch('settings/setTitle', to.meta.title) - console.log(to.path) /* has token*/ if (to.path === '/login') { next({ path: '/' }) diff --git a/src/utils/dict/DictOptions.js b/src/utils/dict/DictOptions.js index 338a94e..9eb9daf 100644 --- a/src/utils/dict/DictOptions.js +++ b/src/utils/dict/DictOptions.js @@ -8,7 +8,6 @@ * 瀛楀吀璇锋眰锛屾柟娉曠鍚嶄负function(dictMeta: DictMeta): Promise */ request: (dictMeta) => { - console.log(`load dict ${dictMeta.type}`) return Promise.resolve([]) }, /** diff --git a/src/utils/excelFountion.js b/src/utils/excelFountion.js index eced05c..3cd11a9 100644 --- a/src/utils/excelFountion.js +++ b/src/utils/excelFountion.js @@ -46,7 +46,6 @@ let min = null; if (val && val.length > 0) { val = val.filter((item) => item != null && item !== ""); - // console.log(val) if (val.length > 0) { min = Math.min(...val); } @@ -255,7 +254,6 @@ fouList.forEach((item) => { f = f.replace(new RegExp(item, "g"), ""); }); - // console.log('f',f) let arr = f.split(",").filter((item) => { return ( item && /[a-zA-Z]/.test(item) && item != "undefined" && item != "null" diff --git a/src/views/business/inspectionReview/index.vue b/src/views/business/inspectionReview/index.vue index 98861dd..8705d53 100644 --- a/src/views/business/inspectionReview/index.vue +++ b/src/views/business/inspectionReview/index.vue @@ -384,7 +384,6 @@ // 鏌ョ湅鎶ュ憡 handleIssued(row) { // todo: 鏌ョ湅鎶ュ憡缁勪欢 - console.log(this.javaApi) this.currentInfo = row; let fileName = row.url let fileType = "docx" diff --git a/src/views/business/inspectionTask/index.vue b/src/views/business/inspectionTask/index.vue index 7917484..b4cd338 100644 --- a/src/views/business/inspectionTask/index.vue +++ b/src/views/business/inspectionTask/index.vue @@ -852,7 +852,6 @@ this.bindCurrentInfo = row; getBindingProductByProductId({ productId: row.insProductId }) .then((res) => { - // console.log(res) this.bindTableData = res.data; this.bindDialogVisible = true; }) @@ -865,7 +864,6 @@ productId: this.bindCurrentInfo.insProductId, }) .then((res) => { - // console.log(res) this.bindAddTableData = res.data; this.bindAddDialogVisible = true; }) diff --git a/src/views/business/inspectionTask/inspection.vue b/src/views/business/inspectionTask/inspection.vue index 63e424a..512b516 100644 --- a/src/views/business/inspectionTask/inspection.vue +++ b/src/views/business/inspectionTask/inspection.vue @@ -1133,7 +1133,6 @@ this.dataAcquisitionInfo = {}; this.getData = []; for (let i in this.objectOrder(data)) { - console.log("i---", i); let obj = {}; if (i.includes("@")) { obj = { @@ -1476,7 +1475,6 @@ }, // 淇濆瓨婀垮害銆佹俯搴︽暟鎹� subOtherForm(m, type) { - console.log("m---", m); write({ [type]: type === "remark" ? m : Number(m), id: this.insOrder.id, diff --git a/src/views/business/productOrder/components/add.vue b/src/views/business/productOrder/components/add.vue index 176dbec..b41c345 100644 --- a/src/views/business/productOrder/components/add.vue +++ b/src/views/business/productOrder/components/add.vue @@ -1271,7 +1271,6 @@ } }, saveMethod(sampleList){ - console.log('sampleList----', sampleList) this.saveLoad = true if (this.addObj.quarterItemId) { this.addObj.quarterItemId = this.addObj.quarterItemId[1] @@ -1415,7 +1414,6 @@ if (node.data.code === '[3]') { this.sampleViewEn = val.sampleTypeEn } else if (node.data.code === '[4]') { - console.log('node.data---', node.data) if (node.data.children!==null && node.data.children.length>0) { this.sampleViewEn = val.sampleEn } diff --git a/src/views/business/productOrder/components/printDialog.vue b/src/views/business/productOrder/components/printDialog.vue index 589d674..77a921f 100644 --- a/src/views/business/productOrder/components/printDialog.vue +++ b/src/views/business/productOrder/components/printDialog.vue @@ -163,7 +163,6 @@ }).then(res => { if (res.code === 200 && res.data.length > 0) { res.data.forEach(item => { - console.log('item---', item) item.sendTime = item.sendTime && item.sendTime.substring(0, 10) item.sampleNumber = item.qtyArrived + item.buyUnitMeas this.$set(item, 'barcode', item.entrustCode) diff --git a/src/views/business/unpass/components/PurchaseVerification.vue b/src/views/business/unpass/components/PurchaseVerification.vue index 6594480..ae4619d 100644 --- a/src/views/business/unpass/components/PurchaseVerification.vue +++ b/src/views/business/unpass/components/PurchaseVerification.vue @@ -246,7 +246,6 @@ // 鏂规硶闆嗗悎 methods: { async getInsOrder(operationType, item) { - console.log('operationType----', operationType) this.operationType = operationType this.info = item // 鏌ヨ宸叉彁浜ょ殑鏁版嵁 diff --git a/src/views/performance/manHour/workTimeConfig.vue b/src/views/performance/manHour/workTimeConfig.vue index bcee42c..87be98a 100644 --- a/src/views/performance/manHour/workTimeConfig.vue +++ b/src/views/performance/manHour/workTimeConfig.vue @@ -277,7 +277,6 @@ }) .then(() => { deleteAuxiliaryWorkingHours({ id: row.id }).then((res) => { - console.log('res',res) if (res.code == 200){ this.$message.success("鍒犻櫎鎴愬姛"); this.refresh(); diff --git a/src/views/standard/standardLibrary/components/bindSupplierDensityDialogAsk.vue b/src/views/standard/standardLibrary/components/bindSupplierDensityDialogAsk.vue index bcace15..f73d856 100644 --- a/src/views/standard/standardLibrary/components/bindSupplierDensityDialogAsk.vue +++ b/src/views/standard/standardLibrary/components/bindSupplierDensityDialogAsk.vue @@ -162,7 +162,6 @@ }; }, mounted() { - console.log(22222, this.currentRow); this.entity.productListId = this.currentRow.id; this.searchTableData(); }, -- Gitblit v1.9.3