gaoluyang
2024-07-31 69ac2e24130def6e981b95cfbdfc4d1ef28cabc9
检测中心-表格表头间距修改
已修改5个文件
19 ■■■■■ 文件已修改
src/components/tool/value-table.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-expenses.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspect-order-plan.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspection-order.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-report-preparation.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/value-table.vue
@@ -650,7 +650,7 @@
              if (item.value.length === 4) {
                item.width = 120
              } else if (item.value.length === 3){
                item.width = this.data.sort === false && item.label.includes('Hours') ? 50 : 100
                item.width = item.label.includes('Hours') ? 50 : 100
              } else if (item.value.length === 5){
                item.width = 130
              } else if (item.value.length === 7){
@@ -658,12 +658,13 @@
              } else if (item.value.length === 6){
                item.width = 150
              }  else if (item.value.length === 2){
                item.width = this.data.sort === false && item.label.includes('Hours') ? 52 : 86
                item.width = item.label.includes('Hours') ? 52 : 86
              } else {
                item.width = this.data.sort === false && item.label.includes('Hours') ? 46 : 86
                item.width = item.label.includes('Hours') ? 46 : 86
              }
            })
          }
          // console.log(JSON.stringify(this.tableHead)+"---------"+JSON.stringify(this.tableData))
          for (var a in this.data.selectField) {
            if (this.data.selectField[a].choose == true) {
src/components/view/b1-expenses.vue
@@ -88,7 +88,8 @@
        </div>
      </div>
      <div class="table">
        <ValueTable ref="ValueTable" :url="$api.insOrder.costStatistics" :componentData="componentData" :key="upIndex"
        <ValueTable ref="ValueTable" :url="$api.insOrder.costStatistics"
                    :componentData="componentData" :key="upIndex"
          @handleWeave="handleWeave" :column-min-width="'140'"/>
      </div>
    </div>
src/components/view/b1-inspect-order-plan.vue
@@ -155,6 +155,7 @@
                    </el-row>
                </div>
                <ValueTable :tableRowClassName="changeRowClass" class="value-table" ref="insOrderPlan"
                    :isColumnWidth="true"
                    :url="$api.insOrderPlan.selectInsOrderPlanList" :upUrl="$api.user.updateUser" :componentData="componentData" @handleInspection="handleInspection"
                    :key="upIndex"/>
            </div>
src/components/view/b1-inspection-order.vue
@@ -231,7 +231,9 @@
                <ul class="tab">
                    <li v-for="(m,i) in tabList" :key="i" :class="{active:i==tabIndex}" @click="handleTab(m,i)">{{m.label}}</li>
                </ul>
                <ValueTable :style="getStyle()" ref="ValueTable" :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData"
                <ValueTable :style="getStyle()" ref="ValueTable"
                    :isColumnWidth="true"
                    :url="$api.insOrder.selectInsOrderParameter" :componentData="componentData"
                    :key="'b'+upIndex"  />
            </div>
            <!-- 审核 -->
src/components/view/b1-report-preparation.vue
@@ -84,7 +84,9 @@
      </div>
      <!-- <input id="input" type="file" accept=".doc,.docx"></input> -->
      <div class="table">
        <ValueTable ref="ValueTable" :url="$api.insReport.pageInsReport" :componentData="componentData"
        <ValueTable ref="ValueTable" :url="$api.insReport.pageInsReport"
                    :isColumnWidth="true"
                    :componentData="componentData"
          :key="upIndex" />
      </div>
    </div>