| | |
| | | <view>{{item.wksp_name}}</view> |
| | | </view> |
| | | </view> |
| | | <u-radio style="line-height: 44rpx;" size='40' :key="item.code" :name="item.code" |
| | | <u-radio style="line-height: 44rpx;" size='20' :key="item.code" :name="item.code" |
| | | @change="groupChange(item.code)" activeColor="red"></u-radio> |
| | | </view> |
| | | </u-radio-group> |
| | |
| | | |
| | | </view> |
| | | |
| | | <u-gap height="12" bgColor="#eff0f1"></u-gap> |
| | | <u-gap height="10" bgColor="#eff0f1"></u-gap> |
| | | <view class="head" style="height:82rpx;"> |
| | | <view class="head_block"> |
| | | <view class="head_left"> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | <u-gap height="12" bgColor="#eff0f1"></u-gap> |
| | | <u-gap height="10" bgColor="#eff0f1"></u-gap> |
| | | <view class="head" style=""> |
| | | <view class="head_block"> |
| | | <view class="head_left"> |
| | |
| | | <view class="flex_between marginBottom10"> |
| | | <view class="center_title">{{item.name}}</view> |
| | | <view class="marginRight20" v-if="item.isscan==='Y'"> |
| | | <u-icon name="scan" @click="centerScanClick(item.code)" color="red" size="56"> |
| | | <u-icon name="scan" @click="centerScanClick(item.code)" color="red" size="28"> |
| | | </u-icon> |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | <view class="flex_center"> |
| | | <u-button type="primary" :plain="item.isOK!=='OK'" :disabled="item.isDisabled" |
| | | text="正常" @click="bwClick(item,'OK')"> |
| | | style="height: 60rpx;" text="正常" @click="bwClick(item,'OK')"> |
| | | </u-button> |
| | | <u-button type="warning" :plain="item.isOK!=='NG'" :disabled="item.isDisabled" |
| | | text="异常" @click="bwClick(item,'NG')"> |
| | | style="height: 60rpx;margin:0 5rpx;" text="异常" @click="bwClick(item,'NG')"> |
| | | </u-button> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | |
| | | |
| | | <view class="footer"> |
| | | <view class="head_block" style="align-items: center;padding: 0 23rpx;"> |
| | | <view class="footer" style=""> |
| | | |
| | | <view class="head_block" style="align-items: center;padding: 0 23rpx;height: 100rpx;"> |
| | | <view class="head_left"> |
| | | <view class="head_bar"></view> |
| | | <view class="head_title"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="flex_center"> |
| | | <u-button type="primary" :plain="resultValue!=='OK'" |
| | | <u-button type="primary" :plain="resultValue!=='OK'" style="height: 60rpx;" |
| | | :disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0" |
| | | text="正常" @click="resultClick('OK')"></u-button> |
| | | <u-button type="warning" :plain="resultValue!=='NG'" |
| | | <u-button type="warning" :plain="resultValue!=='NG'" style="margin-left: 20rpx;height: 60rpx;" |
| | | :disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0" |
| | | text="异常" @click="resultClick('NG')"></u-button> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <u-button size="large" :loading="isDisabledSubmitButton" loadingText="正在提交,请稍等..." type="primary" |
| | | @click="submit" :disabled="resultValue===''" text="确认提交"> |
| | | </u-button> |
| | | |
| | | </view> |
| | | <u-button size="large" :loading="isDisabledSubmitButton" loadingText="正在提交,请稍等..." type="primary" |
| | | @click="submit" :disabled="resultValue===''" text="确认提交"> |
| | | </u-button> |
| | | |
| | | |
| | | |
| | | </view> |
| | | |
| | |
| | | <script> |
| | | import { |
| | | CheckScanDeviceQrCodeData, |
| | | // SelectScanDeviceQrCodeItem, |
| | | // CheckScanDeviceTemp, |
| | | // AppDeviceCheckSave |
| | | SelectScanDeviceQrCodeItem, |
| | | CheckScanDeviceTemp, |
| | | AppDeviceCheckSave |
| | | } from '../../config/api.js' |
| | | import scanCode from '@/components/scan-code/scan-code.vue' |
| | | export default { |
| | |
| | | this.init() |
| | | |
| | | this.getCheckScanDeviceQrCodeData('111') |
| | | // this.getCheckScanDeviceQrCodeData('SB002') |
| | | // this.getCheckScanDeviceQrCodeData('SB003') |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | |
| | | this.getCheckScanDeviceTemp(val) |
| | | } |
| | | |
| | | } else { |
| | | this.isDisabledSubmitButton = false |
| | | } |
| | | }, |
| | | } |