| | |
| | | </template> |
| | | </van-nav-bar> |
| | | |
| | | |
| | | <div class="head"> |
| | | <div class="head_block"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 扫描维修工位 |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-right: 10px;"> |
| | | <van-icon name="scan" color='red' size='24' @click='topScanClick()' /> |
| | | </div> |
| | | |
| | | <div v-if="topContent.length===0"> |
| | | <div class="sacnBody"> |
| | | <div class="scanImg" @click="topScanClick()"></div> |
| | | <div class="scanText">扫描维修工位</div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="flex_between" style=""> |
| | | <div id="contentLeft" style="width: 100%;margin-top: 10px;"> |
| | | <div id="topContentID" v-for="item in topContent" :key="item.code" |
| | | style="margin-bottom: 10px;margin-left: 20px;"> |
| | | <div style="display: flex;align-items: center;"> |
| | | <div> |
| | | <div>工位编码:</div> |
| | | <div>工位名称:</div> |
| | | <div>生产车间:</div> |
| | | </div> |
| | | <div> |
| | | <div>{{item.code}}</div> |
| | | <div>{{item.name}}</div> |
| | | <div>{{item.wksp_name}}</div> |
| | | </div> |
| | | <div v-else> |
| | | <div class="head"> |
| | | <div class="head_block"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 扫描维修工位 |
| | | </div> |
| | | </div> |
| | | |
| | | <div style="margin-right: 10px;"> |
| | | <van-icon name="scan" color='red' size='24' @click='topScanClick()' /> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div class="flex_between" style=""> |
| | | <div id="contentLeft" style="width: 100%;margin-top: 10px;"> |
| | | <div id="topContentID" v-for="item in topContent" :key="item.code" |
| | | style="margin-bottom: 10px;margin-left: 20px;"> |
| | | <div style="display: flex;align-items: center;"> |
| | | <div> |
| | | <div>工位编码:</div> |
| | | <div>工位名称:</div> |
| | | <div>生产车间:</div> |
| | | </div> |
| | | <div> |
| | | <div>{{item.code}}</div> |
| | | <div>{{item.name}}</div> |
| | | <div>{{item.wksp_name}}</div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="head" :style="{marginTop:topContent.length===0?'100px':'0'}" |
| | | style="margin-bottom: 10px;padding-bottom: 10px;"> |
| | | <div class="head_block"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 故障来源 |
| | | </div> |
| | | </div> |
| | | <div style="margin-right: 10px;"> |
| | | <van-button @click="sheetFlag=true" type="info" style="width:100px;height: 30px;"> |
| | | {{dropdownValue==='V1'?'设备点检':'设备点检2'}} |
| | | </van-button> |
| | | <van-action-sheet v-model="sheetFlag" :actions="actionsSheet" @select="onSelectSheet" /> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div class="head" style="margin-bottom: 10px;padding-bottom: 10px;"> |
| | | <div class="head_block" style="margin-bottom:10px;"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 故障描述 |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="head" :style="{marginTop:topContent.length===0?'100px':'0'}" |
| | | style="margin-bottom: 10px;padding-bottom: 10px;"> |
| | | <div class="head_block"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 故障来源 |
| | | </div> |
| | | <div style="display:flex;flex-direction: column;width: 96%;margin: auto;"> |
| | | <van-field class="vanFieldInputArea" v-model="messageDescr" rows="2" autosize type="textarea" placeholder="请输入" /> |
| | | </div> |
| | | <div style="margin-right: 10px;"> |
| | | <van-button @click="sheetFlag=true" type="info" style="width:100px;height: 30px;"> |
| | | {{dropdownValue==='V1'?'设备点检':'设备点检2'}} |
| | | </van-button> |
| | | <van-action-sheet v-model="sheetFlag" :actions="actionsSheet" @select="onSelectSheet" /> |
| | | <div style="width: 96%;margin: auto;margin-top: 10px;"> |
| | | <van-uploader @oversize="onOversize" :before-read="beforeRead" v-model="fileList" |
| | | :after-read="afterRead" multiple :max-count="3" /> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div class="footer" style="min-height:50px;"> |
| | | <div |
| | | style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center"> |
| | | <van-button class="vanButtonInfo" :disabled="messageDescr.trim().toString().length===0" |
| | | @click="submit" type="info"> |
| | | 确认提交</van-button> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | <div class="head" style="margin-bottom: 10px;padding-bottom: 10px;"> |
| | | <div class="head_block" style="margin-bottom:10px;"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | | <div class="head_title"> |
| | | 故障描述 |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | <div style="display:flex;flex-direction: column;width: 96%;margin: auto;"> |
| | | <van-field v-model="messageDescr" rows="2" autosize type="textarea" placeholder="请输入" /> |
| | | </div> |
| | | <div style="width: 96%;margin: auto;margin-top: 10px;"> |
| | | <van-uploader @oversize="onOversize" :before-read="beforeRead" v-model="fileList" |
| | | :after-read="afterRead" multiple :max-count="3" /> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | <div class="footer" style="min-height:50px;"> |
| | | <div |
| | | style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center"> |
| | | <van-button class="vanButtonInfo" :disabled="messageDescr.trim().toString().length===0" |
| | | @click="submit" type="info"> |
| | | 确认提交</van-button> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | |
| | | </script> |
| | | <style type="text/css"> |
| | | @import url('../../css/global.css'); |
| | | |
| | | body { |
| | | background-color: #fff; |
| | | } |
| | | |
| | | .body { |
| | | min-height: 600px; |
| | | background-color: grey; |
| | | margin-top: 0px; |
| | | background-color: #fff; |
| | | position: relative; |
| | | } |
| | | |
| | | .van-nav-bar__content { |
| | | background-color: #2651d8; |
| | | height: 44px; |
| | | } |
| | | |
| | | .van-nav-bar__title { |
| | | color: #fff; |
| | | letter-spacing: 2px; |
| | | } |
| | | |
| | | .van-nav-bar__arrow { |
| | | color: #fff !important; |
| | | } |
| | | |
| | | .createElementDiv { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | margin-bottom: 10px; |
| | | margin-left: 20px; |
| | | } |
| | | |
| | | .vanFieldInput { |
| | | height: 36px; |
| | | line-height: 36px; |
| | | align-items: center; |
| | | /* width: 200px; */ |
| | | |
| | | padding: 0; |
| | | padding-left: 10px; |
| | | /* border-radius: 5px; */ |
| | | margin: 5px 0; |
| | | /* background-color: #fff; */ |
| | | } |
| | | |
| | | .buttonSmall { |
| | | /* border-radius: 5px; */ |
| | | } |
| | | |
| | | .vanButtonInfo { |
| | | width: 100%; |
| | | letter-spacing: 2px; |
| | | height: 50px; |
| | | font-size: 18px; |
| | | /* margin-left: 0; */ |
| | | |
| | | } |
| | | </style> |
| | | </html> |