qushaowei
2023-08-29 dc958126a95a7ccd46d90a1ca42eeb03789f9c33
src/views/eam/modules/specialtyMaintenanceOrder/SpecialyMaintenanceOrderExeDrawer.vue
@@ -17,18 +17,21 @@
                @click="handleSW"
                :disabled=SWbuttonDistable
                type="primary"
                v-has="'specialtyMaintenanceOrder:SW'"
              >开工</a-button>
              <a-button
                :style="{marginRight: '8px'}"
                @click="handleReport"
                :disabled="buttonDistable"
                type="primary"
                v-has="'specialtyMaintenanceOrder:report'"
              >报工</a-button>
              <a-button
                :style="{marginRight: '8px'}"
                @click="handleReset"
                :disabled="revocationDistable"
                type="primary"
                v-has="'specialtyMaintenanceOrder:reset'"
              >撤销</a-button>
            </a-row>
          </div>
@@ -233,9 +236,22 @@
                  :scroll="{ x: 'calc(1200px + 50%)', y: 900 }"
                >
                  <!-- :scroll="{x:true}" -->
                  <template slot="imgSlot" slot-scope="text,record">
                    <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
                    <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
                  <template
                    slot="imgSlot"
                    slot-scope="text,record"
                  >
                    <span
                      v-if="!text"
                      style="font-size: 12px;font-style: italic;"
                    >无图片</span>
                    <img
                      v-else
                      :src="getImgView(text)"
                      :preview="record.id"
                      height="25px"
                      alt=""
                      style="max-width:80px;font-size: 12px;font-style: italic;"
                    />
                  </template> 
                </a-table>