Pārlūkot izejas kodu

导出表格居中

liangjiahao 3 gadi atpakaļ
vecāks
revīzija
02a3be8a28

+ 2 - 1
src/components/look_word/bdglarmament.vue

@@ -28,6 +28,7 @@
         </span>
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -377,7 +378,7 @@ export default {
     return {
       title: "军械装备登记表(总表)",
       style:
-        ".JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{font-size: 1.201em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
 

+ 3 - 2
src/components/look_word/bdglcookbook.vue

@@ -25,6 +25,7 @@
         使用时间:{{ message.startTime }}——{{ message.endTime }}
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -354,7 +355,7 @@
           </tr>
         </tbody>
         <tr
-          class="aaa"
+          class="b1"
           style="
             border: none;
             color: black;
@@ -406,7 +407,7 @@ export default {
     return {
       title: "食堂食谱表",
       style:
-        ".JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.131em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.131em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.131em; font-family: 仿宋_GB2312; text-align: right}.bottom {font-size: 14px;display: flex;justify-content:center;}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.131em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.131em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.131em; font-family: 仿宋_GB2312; text-align: right}.bottom {font-size: 14px;display: flex;justify-content:center;}",
     };
   },
   methods: {

+ 11 - 8
src/components/look_word/bdgldiary.vue

@@ -24,6 +24,7 @@
       </div> -->
 
       <table
+      class="b1"
         border="none"
         style="
           border-collapse: collapse;
@@ -70,6 +71,7 @@
         </tr>
       </table>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -105,14 +107,14 @@
           </td>
           <td
             colspan="6"
-            style="letter-spacing: 20px; font-family: 'songti'"
+            style="letter-spacing: 10px; font-family: 'songti'"
             class="JR_left"
           >
             编制人数
           </td>
           <td
             colspan="6"
-            style="letter-spacing: 20px; font-family: 'songti'"
+            style="letter-spacing: 10px; font-family: 'songti'"
             class="JR_left"
           >
             现有人数
@@ -172,7 +174,7 @@
           <td
             colspan="9"
             rowspan="2"
-            style="letter-spacing: 60px; font-family: 'fangsong'"
+            style="letter-spacing: 20px; font-family: 'songti'"
             class="JR_left"
             align="center"
           >
@@ -353,7 +355,7 @@
           <td class="JR_left" colspan="8">
             <p
               align="center"
-              style="letter-spacing: 20px; font-family: 'songti'"
+              style="letter-spacing: 10px; font-family: 'songti'"
             >
               检 查 情 况
             </p>
@@ -420,7 +422,7 @@
           <td class="JR_left" colspan="8">
             <p
               align="center"
-              style="letter-spacing: 20px; font-family: 'songti'"
+              style="letter-spacing: 10px; font-family: 'songti'"
             >
               交 接 情 况
             </p>
@@ -509,7 +511,7 @@
           <td class="JR_left" height="30" colspan="8">
             <p
               align="center"
-              style="letter-spacing: 10px; font-family: 'songti'"
+              style="letter-spacing: 5px; font-family: 'songti'"
             >
               病 号 及 处 理 情 况
             </p>
@@ -736,6 +738,7 @@
       </table>
 
       <table
+      class="b1"
         border="none"
         style="
           border-collapse: collapse;
@@ -801,7 +804,7 @@ export default {
     return {
       title: "连队要事日记",
       style:
-        ".JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:630px !important};.JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1em; font-family: 仿宋_GB2312; text-align: right}",
       chapu: 4,
       qinshu: 4,
       week: "",
@@ -818,7 +821,7 @@ export default {
   },
   methods: {
     daochu() {
-      lookWord(this.title, "#contents", this.style, true);
+      lookWord(this.title, "#contents", this.style);
     },
     chapus() {
       if (this.message.inspect != null) return this.message.inspect.length + 1;

+ 2 - 1
src/components/look_word/bdgldrill.vue

@@ -27,6 +27,7 @@
         <span class="a1">月</span> 日军事训练登记表
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -257,7 +258,7 @@ export default {
     return {
       title: "军事训练登记簿",
       style:
-        ".JR_tr {height: 40px;};.JR_left{font-size: 1.221em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.311em; font-family: 仿宋_GB2312;};.JR_bottom{ font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right},",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{font-size: 1.121em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.311em; font-family: 仿宋_GB2312;};.JR_bottom{ font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right},",
     };
   },
   methods: {

+ 2 - 1
src/components/look_word/bdglequip.vue

@@ -29,6 +29,7 @@ font-family: 'heiti'
         审核:
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -253,7 +254,7 @@ export default {
     return {
       title: "训练器材、教材登记簿",
       style:
-        ".JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right};",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.151em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right};",
     };
   },
   methods: {

+ 2 - 1
src/components/look_word/bdglfilemanagement.vue

@@ -15,6 +15,7 @@
         《文件管理登记本》
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -312,7 +313,7 @@ export default {
     return {
       title: "文件管理登记本",
       style:
-        ".JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{ font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{ font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
   methods: {

+ 3 - 3
src/components/look_word/bdglfood.vue

@@ -31,7 +31,7 @@
 
       <table
         border="1"
-        class="table"
+        class="b1"
         style="
           border-collapse: collapse;
           border: none;
@@ -664,7 +664,7 @@ export default {
     return {
       title: "伙食管理登记簿",
       style:
-        ".JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.201em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right};.a1{margin-left: 300px;};.aaa{height: 40px;font-size: 1.331em; font-family: '楷体_GB2312';border: none;border-color: none;}",
+        ".b1{width:630px !important};.JR_tr {height: 40px;};.JR_left{font-size: 1.131em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.11em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right};.a1{margin-left: 300px;};.aaa{height: 40px;font-size: 1.331em; font-family: '楷体_GB2312';border: none;border-color: none;}",
       isWho: null,
       result: {
         money: "",
@@ -684,7 +684,7 @@ export default {
   },
   methods: {
     daochu() {
-      lookWord(this.title, "#contents", this.style, true);
+      lookWord(this.title, "#contents", this.style, );
     },
     isWhy() {
       let item;

+ 89 - 26
src/components/look_word/bdglmeeting.vue

@@ -9,7 +9,7 @@
           margin-botttom: 30px;
           color: black;
           text-align: center;
-          font-family: 'heiti'
+          font-family: 'heiti';
         "
       >
         《团支部工作记录本》
@@ -30,12 +30,15 @@
         width="600"
         align="center"
         bordercolor="black"
-        class="size"
+        class="b1"
       >
-        <tbody  style="font-size: 16px;font-weight: 500;">
+        <tbody style="font-size: 16px; font-weight: 500">
           <tr class="JR_tr">
-            <th class="" colspan="2" >
-              <h4 align="center"  style="font-size: 18px;font-weight: 500;font-family: 'kaiti'">
+            <th class="" colspan="2">
+              <h4
+                align="center"
+                style="font-size: 18px; font-weight: 500; font-family: 'kaiti'"
+              >
                 团支部委员会会议
               </h4>
             </th>
@@ -44,115 +47,175 @@
             <td
               width="110"
               class="JR_left"
-              style="border-right: 1px dashed #fff;font-family: 'kaiti'"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
             >
               <p align="center">&nbsp;&nbsp;时 &nbsp;间:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.convokeTime }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;地 &nbsp;点:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.address }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;主持人:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.compereRen }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;参加人:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.joinId }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;列席人:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.peopleIds }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;缺席人:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.absentIds }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;记录人:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
             >
               <p>{{ message.peopleJiLu }}</p>
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: 1px dashed #fff;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: 1px dashed #fff; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp;&nbsp;议 &nbsp;题:</p>
             </td>
             <td
               class="JR_right"
               align="left"
-              style="border-left: 1px dashed #999; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: 1px dashed #999;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
               v-html="message.title"
             >
               <!-- <p>{{ message.title }}</p> -->
             </td>
           </tr>
           <tr class="JR_tr">
-            <td class="JR_left" style="border-right: none;font-family: 'kaiti'">
+            <td
+              class="JR_left"
+              style="border-right: none; font-family: 'kaiti'"
+            >
               <p align="center">&nbsp; 内 &nbsp;容:</p>
             </td>
             <td
               align="left"
-              style="border-left: none; padding-left: 20px;font-family: 'fangsong'"
+              style="
+                border-left: none;
+                padding-left: 20px;
+                font-family: 'fangsong';
+              "
               class="JR_right"
               v-html="message.contents"
             ></td>
           </tr>
-</tbody>
+        </tbody>
       </table>
       <table
         border="1"
@@ -170,7 +233,7 @@
         width="600"
         align="center"
         bordercolor="black"
-        class="size"
+        class="b1"
         border-top="none"
       >
         <tbody>
@@ -234,7 +297,7 @@ export default {
     return {
       title: "团支部工作记录本",
       style:
-        ".size{width:99%};.JR_tr {height: 40px;};.JR_left{border-right:none;width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:630px !important};.JR_tr {height: 40px;};.JR_left{border-right:none;width: 120px;font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
   methods: {

+ 2 - 1
src/components/look_word/bdglpublicproperty.vue

@@ -16,6 +16,7 @@
       <!-- <div class="fTitle">大队连务会记录本</div> -->
       <!-- <div class="fTitle">营产、公物管理登记簿</div> -->
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -392,7 +393,7 @@ export default {
     return {
       title: "营产、公物管理登记簿",
       style:
-        ".JR_tr {height: 40px;width:105px};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;width:105px};.JR_left{font-size: 1.131em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.231em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
   methods: {

+ 2 - 1
src/components/look_word/bdglsecrecy.vue

@@ -16,6 +16,7 @@
       </p>
       <!-- <div class="fTitle">网络、移动电话、涉密载体使用管理登记本</div> -->
       <table
+      
         border="1"
         style="
           border-collapse: collapse;
@@ -285,7 +286,7 @@ export default {
     return {
       title: "网络、移动电话、涉密载体使用管理登记本",
       style:
-        ".size{height:99%};.JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        "font-weight: 550;.size{width:860px !important};.JR_tr {height: 40px;};.JR_left{font-size: 1.211em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.1em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
   methods: {

+ 4 - 3
src/components/look_word/bdglweekwork.vue

@@ -27,6 +27,7 @@
       </div> -->
 
       <table
+        class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -59,7 +60,7 @@
             colspan="3"
             align="left"
             
-            style="border: none; line-height: 45px; width: 500px;"
+            style="border: none; line-height: 45px; "
           >
             连值班领导:{{ message.peopleName }}
           </td>
@@ -67,7 +68,7 @@
             class="JR_left"
             colspan="2"
             align="left"
-            style="border: none; line-height: 45px; width: 360px"
+            style="border: none; line-height: 45px; "
           >
             电话:{{ message.phone }}
           </td>
@@ -197,7 +198,7 @@ export default {
     return {
       title: "周工作安排表",
       style:
-        ".JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1.231em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.131em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{text-align:center;font-size: 1.231em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.131em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
     };
   },
   methods: {

+ 3 - 1
src/components/look_word/personnelRoster.vue

@@ -17,6 +17,7 @@
       </p>
 
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -108,6 +109,7 @@
         日期
       </p>
       <table
+      class="b1"
         border="1"
         style="
           border-collapse: collapse;
@@ -227,7 +229,7 @@ export default {
     return {
       title: "人员名册",
       style:
-        ".JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
+        ".b1{width:860px !important};.JR_tr {height: 40px;};.JR_left{font-size: 1.331em; font-family: '楷体_GB2312';};.JR_right{ font-size: 1.331em; font-family: 仿宋_GB2312;};.JR_bottom{border-left:0; font-size: 1.331em; font-family: 仿宋_GB2312; text-align: right}",
       //学历
       educationId: [],
       //军衔

+ 3 - 3
src/views/grassrootsregistration/bdgldiary/index.vue

@@ -1035,9 +1035,9 @@ export default {
       tiems: "",
     };
   },
-  updated() {
-    this.changeColor();
-  },
+  // updated() {
+  //   this.changeColor();
+  // },
   created() {
     this.getList();
     // 获取单位

+ 3 - 3
src/views/grassrootsregistration/personnelRoster/index.vue

@@ -903,9 +903,9 @@ export default {
       value: null,
     };
   },
-  updated() {
-    this.changeColor();
-  },
+  // updated() {
+  //   this.changeColor();
+  // },
   created() {
     this.getList();
     //性别