| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item align="left" label="本人意愿 "> |
| | | <el-form-item align="left" label="本人意愿 " prop="selfwill"> |
| | | <el-checkbox-group v-model="form.selfwill"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_SelfWill || []" |
| | |
| | | clearable |
| | | v-model="witnessform.coordinatorSignTime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择手术结束时间" |
| | | > |
| | | </el-date-picker> |
| | |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | label="获取开始时间" |
| | | label="器官离体时间" |
| | | align="center" |
| | | width="200" |
| | | prop="organgettime" |
| | |
| | | size="small" |
| | | style="width: 100%" |
| | | v-model="scope.row.organgettime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="请输入器官离体时间" |
| | | > |
| | | </el-date-picker> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="获取开始时间" |
| | | align="center" |
| | | width="200" |
| | | prop="organStartTime" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-date-picker |
| | | clearable |
| | | size="small" |
| | | style="width: 100%" |
| | | v-model="scope.row.organStartTime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="请输入获取开始时间" |
| | |
| | | majorrelatives: [ |
| | | { required: true, message: "请输入主要亲属", trigger: "blur" } |
| | | ], |
| | | selfwill: [ |
| | | { required: true, message: "请选择本人意愿", trigger: "blur" } |
| | | ], |
| | | registerAddresss: [ |
| | | { required: true, message: "请输入现所在地", trigger: "blur" } |
| | | ], |
| | | familyrelations: [ |
| | | { required: true, message: "请选择亲属与捐献者关系", trigger: "blur" } |
| | | ], |
| | |
| | | return; |
| | | } |
| | | this.customOrganSort(); |
| | | }, |
| | | } |
| | | // deep: true // 深度监听,因为数组内容可能变化 |
| | | }, |
| | | allocateddata: { |
| | |
| | | return; |
| | | } |
| | | this.allocateddataSort(); |
| | | }, |
| | | } |
| | | // deep: true // 深度监听,因为数组内容可能变化 |
| | | } |
| | | }, |
| | |
| | | methods: { |
| | | loadRowData(row, treeNode, resolve) { |
| | | // 只有当行展开或需要时才完整渲染内部组件 |
| | | this.$set(row, 'loaded', true) |
| | | resolve() |
| | | this.$set(row, "loaded", true); |
| | | resolve(); |
| | | }, |
| | | // 获取主表及附属数据 |
| | | Getbasicinformation() { |
| | |
| | | if (response.code == 200 && response.rows[0]) { |
| | | this.affirmform = response.rows[0]; |
| | | if (this.affirmform.organdecision) { |
| | | this.organdecision = this.affirmform.organdecision.split(",").flatMap(item => item === "双肾脏" ? ["左肾", "右肾"] : item);; |
| | | this.organdecision = this.affirmform.organdecision |
| | | .split(",") |
| | | .flatMap(item => (item === "双肾脏" ? ["左肾", "右肾"] : item)); |
| | | } |
| | | if (this.affirmform.kinship) { |
| | | this.kinship = this.affirmform.kinship.split(","); |
| | |
| | | }); |
| | | } |
| | | }else{ |
| | | this.$modal.msgError("前部步骤表单信息有缺漏请排查后重新保存"); |
| | | |
| | | this.$modal.msgError("前部潜在捐献表单信息有缺漏请排查后重新保存"); |
| | | } |
| | | }); |
| | | }, |