| | |
| | | </button> |
| | | <input v-if="(tableData.length < formData.levelNum)" v-model="formData.fcheckResu" class="result-input" |
| | | placeholder="请输入检验结果..." type="number"/> |
| | | <button v-if="(tableData.length < formData.levelNum)" class="btn primary-btn" @click="submit">保存结果 |
| | | <button v-if="(tableData.length < formData.levelNum)" class="btn primary-btn" @click="submit" style="margin: 0px;">保存结果 |
| | | </button> |
| | | </view> |
| | | </view> |
| | |
| | | <!-- 响应式设计的第二个输入组 --> |
| | | <view class="input-group input2"> |
| | | <view class="input-wrapper"> |
| | | <button class="btn upload-btn" @click="chooseImage"> |
| | | <button class="btn upload-btn" @click="chooseImage "> |
| | | <uni-icons type="upload" size="16" color="#fff"></uni-icons> |
| | | 上传/查看图片 |
| | | </button> |
| | | <button v-if="current" class="btn upload-btn" @click="saveRemarks"> |
| | | <button v-if="current" class="btn upload-btn" @click="saveRemarks "> |
| | | <uni-icons type="compose" size="16" color="#fff"></uni-icons> |
| | | 备注 |
| | | </button> |
| | | </view> |
| | | <view class="input-wrapper" style="margin-top: 15px;"> |
| | | <input v-if="(tableData.length < formData.levelNum)" v-model="formData.fcheckResu" class="result-input" |
| | | <input v-if="(tableData.length < formData.levelNum)" v-model="formData.fcheckResu" class="result-input" |
| | | placeholder="请输入检验结果..." type="number"/> |
| | | <button v-if="(tableData.length < formData.levelNum) && current" class="btn primary-btn" @click="submit">保存结果 |
| | | </button> |
| | | |
| | | <button v-if="tableData.length < formData.levelNum" class="btn primary-btn" @click="submit" style="margin: 0px;" >保存结果 |
| | | </button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | // 上传图片 |
| | | chooseImage() { |
| | | uni.navigateTo({ |
| | | url: 'ImageItem?id=' + this.formData.id + '&gid=' + this.gid |
| | | url: 'ImageItem?id=777' + this.formData.id + '&gid=' + this.gid |
| | | }); |
| | | }, |
| | | saveRemarks() { |
| | |
| | | border: none; |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .primary-btn { |
| | | height: 45px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | border: none; |
| | | border-radius: 4px; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | &.primary-btn { |
| | | background-color: $primary-color; |
| | | color: #fff; |
| | | height: 45px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | border: none; |
| | | border-radius: 4px; |
| | | padding: 0 20px; |
| | | } |
| | | |
| | | &.cancel-btn { |