licp
2024-10-18 5a656e598c979f3bffd4a589eca2f8a2c93c984e
修改报告生成
已修改3个文件
17 ■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/circuit-parameters1.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-report-preparation/order.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspection-order.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/circuit-parameters1.vue
@@ -189,7 +189,7 @@
                    <td>频段</td>
                    <td v-for="(item,index) in n.portList" :key="index+'aaa'">
                      <div style="display: flex;align-items: center;">
                        <el-input size="small" placeholder="端口" v-model="item.value" :disabled="state>1"></el-input>
                        <el-input size="small" placeholder="频段" v-model="item.value" :disabled="state>1"></el-input>
                      </div>
                    </td>
                    <td :rowspan="n.angleList.length+1">
src/components/do/b1-report-preparation/order.vue
@@ -269,7 +269,8 @@
          if(item1.state==1){
            arr.push({
              laboratory:item.laboratory,
              num:item1.num
              num:item1.num,
              insOrderUsersId:item1.id
            })
          }
        })
src/components/view/b1-inspection-order.vue
@@ -429,7 +429,7 @@
        </el-row>
      </span>
    </el-dialog>
    <div class="el-dialog__body" style="overflow-y: auto;position: fixed;top:60px;right: 20px;z-index: 9999;">
    <div class="el-dialog__body" style="overflow-y: auto;position: fixed;top:60px;right: 20px;z-index: 9999;display: none;">
        <div id="printMOrder" class="printMOrder" ref="printMOrder">
          <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i+'uuuuu'" style="font-size: 16px !important;page-break-after: always;color: #000;box-shadow: none;margin: 0 !important;padding: 0 !important;">
            <div>
@@ -942,7 +942,7 @@
          targetStyles: ["*"], // 使用dom的所有样式,很重要
          printable: 'printMOrder',//页面
          type: "html",//文档类型
          maxWidth:360,
          maxWidth:720,
          header: '',
          style:
            `@page {
@@ -951,18 +951,18 @@
              margin-top: 0.4cm;
              margin-bottom: 0.4cm;
              padding-bottom: 0px;
              size: 400px 75px collapse;
              size: 800px 600px collapse;
            }
            html{
              zoom:100%;
            }
            @media print{
              width: 400px;
              height: 75px;
              width: 800px;
              height: 600px;
              margin:0;
            }`,
          font_size: '0.29cm',
          font_size: '16px',
        });
      },
      async print(){