From 766689767788a2ff2259942b58cf55133b713d64 Mon Sep 17 00:00:00 2001 From: mashuai Date: Tue, 31 Dec 2024 15:44:20 +0800 Subject: [PATCH 1/2] 1 --- src/views/material/archives/index.vue | 151 +++++++++--------- src/views/material/ma/standardBox/index.vue | 58 +++---- .../scrapManage/component/homeApply.vue | 28 ++-- 3 files changed, 119 insertions(+), 118 deletions(-) diff --git a/src/views/material/archives/index.vue b/src/views/material/archives/index.vue index 18c9a6ea..b4cbf790 100644 --- a/src/views/material/archives/index.vue +++ b/src/views/material/archives/index.vue @@ -14,7 +14,7 @@ prefix-icon="el-icon-search" style="margin-bottom: 20px" /> - 新建分类 @@ -80,26 +80,26 @@ - + 上传 - + 下载 - + 重命名 - + 删除 - + 新建文件夹 @@ -108,7 +108,7 @@ {{item.docName}} - + @@ -119,7 +119,7 @@ - - From b0324fad0b90a2bd6992cee6df2e61aadde96c7b Mon Sep 17 00:00:00 2001 From: mashuai Date: Tue, 31 Dec 2024 15:46:09 +0800 Subject: [PATCH 2/2] 1 --- src/views/material/lease/outBound/index.vue | 48 ++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/views/material/lease/outBound/index.vue b/src/views/material/lease/outBound/index.vue index d9919479..c3cfb6fb 100644 --- a/src/views/material/lease/outBound/index.vue +++ b/src/views/material/lease/outBound/index.vue @@ -195,7 +195,7 @@ 领料单 @@ -340,7 +340,7 @@ @@ -352,7 +352,7 @@ @click="handleQueryOutView" >查询 - + > - + row.outNum) { row.inputNum = maxNum; - } + } }, printView() { @@ -1290,7 +1290,7 @@ export default { // context.clearRect(0, 0, canvas.width, canvas.height); //let text = "XXX专用章"; //let companyName = "XXX科技股份有限公司"; - + // 绘制印章边框 let width = canvas.width / 2; let height = canvas.height / 2; @@ -1299,10 +1299,10 @@ export default { context.beginPath(); context.arc(width, height, 80, 0, Math.PI * 2); //宽、高、半径 context.stroke(); - + //画五角星 this.create5star(context, width, height, 20, "#f00", 0); - + // 绘制印章名称 context.font = "18px 宋体"; context.textBaseline = "middle"; //设置文本的垂直对齐方式 @@ -1310,7 +1310,7 @@ export default { context.lineWidth = 1; context.strokeStyle = "#ff2f2f"; context.strokeText(text, width, height + 50); - + // 绘制印章单位 context.translate(width, height); // 平移到此位置, context.font = "16px 宋体"; @@ -1325,7 +1325,7 @@ export default { } else { context.rotate(angle); } - + context.save(); context.translate(65, 0); // 平移到此位置,此时字和x轴垂直,公司名称和最外圈的距离 context.rotate(Math.PI / 2); // 旋转90度,让字平行于x轴 @@ -1333,8 +1333,8 @@ export default { context.strokeText(c, 0, 0); // 此点为字的中心点 context.restore(); } - }, - + }, + //绘制五角星 create5star(context, sx, sy, radius, color, rotato) { context.save();