| | |
| | | import request from '@/utils/request' |
| | | |
| | | // 捐献进度列 |
| | | export function courselist(data) { |
| | | return request({ |
| | | url: '/project/donatebaseinfo/donateBaseInfoProgressList', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | |
| | |
| | | <el-form |
| | | :model="columnForm" |
| | | label-width="80px" |
| | | ref="columnForm" |
| | | ref="columnFormB" |
| | | :rules="columnRules" |
| | | > |
| | | <el-form-item label="日期" prop="date"> |
| | |
| | | }; |
| | | this.columnDialogVisible = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.columnForm && this.$refs.columnForm.clearValidate(); |
| | | this.$refs.columnFormB && this.$refs.columnFormB.clearValidate(); |
| | | }); |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | confirmAddColumn() { |
| | | this.$refs.columnForm.validate((valid) => { |
| | | this.$refs.columnFormB.validate((valid) => { |
| | | if (!valid) { |
| | | this.$message.warning('请完善时间点信息'); |
| | | return; |
| | |
| | | time: '', |
| | | remark: '' |
| | | }; |
| | | this.$refs.columnForm && this.$refs.columnForm.clearValidate(); |
| | | this.$refs.columnFormB && this.$refs.columnFormB.clearValidate(); |
| | | }, |
| | | |
| | | disableFutureDates(time) { |
| | |
| | | <el-form |
| | | :model="columnForm" |
| | | label-width="80px" |
| | | ref="columnForm" |
| | | ref="columnFormU" |
| | | :rules="columnRules" |
| | | > |
| | | <el-form-item label="日期" prop="date"> |
| | |
| | | }; |
| | | this.columnDialogVisible = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.columnForm && this.$refs.columnForm.clearValidate(); |
| | | this.$refs.columnFormU && this.$refs.columnFormU.clearValidate(); |
| | | }); |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | confirmAddColumn() { |
| | | this.$refs.columnForm.validate((valid) => { |
| | | this.$refs.columnFormU.validate((valid) => { |
| | | if (!valid) { |
| | | this.$message.warning('请完善时间点信息'); |
| | | return; |
| | |
| | | time: '', |
| | | remark: '' |
| | | }; |
| | | this.$refs.columnForm && this.$refs.columnForm.clearValidate(); |
| | | this.$refs.columnFormU && this.$refs.columnFormU.clearValidate(); |
| | | }, |
| | | |
| | | disableFutureDates(time) { |
| | |
| | | }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="最新培养结果" |
| | | align="center" |
| | | prop="latestCultureResult" |
| | |
| | | {{ scope.row.latestCultureResult || '未检测' }} |
| | | </el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <!-- <el-table-column |
| | | label="护理核查表录入时间" |
| | | align="center" |
| | |
| | | width="100" |
| | | /> |
| | | |
| | | |
| | | <el-table-column |
| | | label="转为案例时间" |
| | | align="center" |
| | |
| | | <script> |
| | | // 导入模拟数据生成工具 |
| | | import Mock from "mockjs"; |
| | | import { courselist } from "@/api/businessApi"; |
| | | |
| | | export default { |
| | | name: "Donatebaseinfo", |
| | |
| | | }, |
| | | |
| | | /** 查询捐献基础列表 */ |
| | | getList() { |
| | | async getList() { |
| | | this.loading = true; |
| | | |
| | | const response = await courselist(this.queryParams); |
| | | // 模拟API调用延迟 |
| | | setTimeout(() => { |
| | | // 生成模拟数据 |