From 5d56bc06d2b87bcb84f350458290ae39bd8c3e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 5 Sep 2023 11:28:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=A7=84=E8=8C=83=E6=80=A7=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E6=96=87=E4=BB=B6=E6=B7=BB=E5=8A=A0=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/page1/saicComponents/Init.vue | 37 +++++++++++++++++++------ 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/src/pages/page1/saicComponents/Init.vue b/src/pages/page1/saicComponents/Init.vue index b66ae4a..81c0edc 100644 --- a/src/pages/page1/saicComponents/Init.vue +++ b/src/pages/page1/saicComponents/Init.vue @@ -1201,18 +1201,37 @@ export default { oParagraph5.SetColor(0, 0, 0) oDocument.InsertContent([oParagraph5]) - const oParagraph6 = Api.CreateParagraph() - oParagraph6.AddText(' GB XXX-XXXXX') - oParagraph6.SetFontFamily('宋体') - oParagraph6.SetFontSize(21) - oParagraph6.SetJc('left') - oParagraph6.SetSpacingAfter(0) - oParagraph6.SetSpacingBefore(17) - oParagraph6.SetColor(0, 0, 0) - oDocument.InsertContent([oParagraph6]) + // oParagraph6.Search("GB/T 321")[0].SetFontFamily('Times New Roman'); // + const textList = [ + 'GB XXX-XXXXX', + 'GB 3100 国际单位制及其应用 (GB、GB/T统一按标准号从小到大排序,不分开排序)', + 'GB 3101 有关量、单位和符号的一般原则', + 'GB/T 20000 标准化工作指南 第1部分:标准化和相关活动的通用术语', + 'GB/T 38186 商用车辆自动紧急制动系统(AEBS)性能要求及试验方法', + 'JT/T 789 道路甩挂运输车辆技术条件 (国标之后是行业标准,按首字母顺序先后分类排序)', + 'QC/T 79.1 道路车辆 汽车和挂车之间气制动连接用螺旋管总成 第1部分:尺寸', + 'ISO 17361-2017 智能运输系统.道路偏离警告系统.性能要求和试验程序(行业标准之后是地方标准、团体标准、ISO/IEC标准)', + 'Q/ZZ 90019 车辆识别代号(VIN)编制规则 (企业标准中,Q/ZZ放在TS/ZZ之前)', + 'TS/ZZ 70001 汽车高强度螺纹紧固件技术规范', + 'DIN 3017-4 软管环箍 供货技术条件 (其他国际标准放在企业标准之后)' + ] + + for (let i = 0; i < textList.length; i++) { + const text = ' ' + textList[i] + const oParagraph6 = Api.CreateParagraph() + oParagraph6.AddText(text) + oParagraph6.SetFontFamily('宋体') + oParagraph6.SetFontSize(21) + oParagraph6.SetJc('left') + oParagraph6.SetSpacingAfter(0) + oParagraph6.SetSpacingBefore(17) + oParagraph6.SetColor(0, 0, 0) + oDocument.InsertContent([oParagraph6]) + } + const oParagraph8 = Api.CreateParagraph() oParagraph8.SetStyle(oNewDocumentStyle) oParagraph8.AddText('术语和定义')