| | |
| | | </el-row> |
| | | </el-form> |
| | | <el-button @click="submitForm" type="primary" :disabled="formLoading">检查完成</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | <el-button @click="cancelInstall" :disabled="formLoading">放弃检查</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | <el-button @click="feeConfirm" :disabled="formLoading">确费</el-button> |
| | | <el-button @click="feeCancel" :disabled="formLoading">取消确费</el-button> |
| | | |
| | | <!-- 医生装机列表 --> |
| | | <ContentWrap> |
| | | <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true" @row-click="onRowClick" > |
| | | <el-table-column label="id" align="center" prop="id" /> |
| | | <el-table-column label="装机情况" align="center" prop="lost" > |
| | | <!-- <el-table-column label="id" align="center" prop="id" />--> |
| | | <el-table-column label="检查状态" align="center" prop="lost" > |
| | | <template #default="scope"> |
| | | <span v-if="scope.row.jobType === 60">已检查</span> |
| | | <span v-if="scope.row.jobType === 50">已放弃</span> |
| | |
| | | formData.value.roomId = props.room.roomId |
| | | formData.value.bedNo = props.room.bedNo |
| | | const data = formData.value as unknown as DevRentVO |
| | | if (formData.value.id === null || formData.value.id === undefined) { |
| | | const result = await DevRentApi.routineCheckCancel(data) |
| | | formData.value.id = result |
| | | message.success(t('操作成功')) |
| | | } else { |
| | | await DevRentApi.routineCheckCancel(data) |
| | | message.success(t('操作成功')) |
| | | } |
| | | await DevRentApi.routineCheckCancel(data) |
| | | |
| | | // 发送操作成功的事件 |
| | | emit('event_routine') |
| | | resetForm() |
| | | getList() |
| | | |
| | | message.success(t('操作成功')) |
| | | } |
| | | |
| | | const feeConfirm = async () => { |
| | | const result = await DevRentApi.feeConfirm(formData.value.id) |
| | | if (0 == result) |
| | | message.success(t('操作成功')) |
| | | } |
| | | |
| | | const feeCancel = async () => { |
| | | const result = await DevRentApi.feeCancel(formData.value.id) |
| | | if (0 == result) |
| | | message.success(t('操作成功')) |
| | | } |
| | | |
| | | /** 初始化 **/ |