| | |
| | | </el-steps> |
| | | </div> |
| | | <!-- 凭证文件 --> |
| | | <div class="Ticket-button" > |
| | | <div class="Ticket-button"> |
| | | <el-button @click.native.prevent="Filepopup" type="success" |
| | | >凭证文件</el-button |
| | | > |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="submitForm" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer" style="min-height: 500px; margin: 20px 0; "> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer" v-show="actives == 4"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn&&workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | | > |
| | | <el-button |
| | | v-show="Reportforreview" |
| | | type="primary" |
| | | v-if="workflow != 9" |
| | | type="success" |
| | | @click="Reportforreview" |
| | | >提交</el-button |
| | | >提交归档</el-button |
| | | > |
| | | <el-button v-else type="danger" @click="Reportforreview" |
| | | >撤销归档</el-button |
| | | > |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | |
| | | > |
| | | <el-table-column |
| | | prop="annexname" |
| | | align="center" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | label="名称" |
| | | > |
| | |
| | | |
| | | <el-table-column |
| | | prop="name" |
| | | align="center" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | label="功能" |
| | | > |
| | |
| | | @click.native.prevent.stop="deletedowfile(scope.row)" |
| | | >删除</el-button |
| | | > |
| | | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | //报告人列表 |
| | | reporters: [], |
| | | //附件列表 |
| | | annextype: '1', //附件type |
| | | annextype: "1", //附件type |
| | | annexfilesList: [], //附件展示列 |
| | | potentiallist: [], //潜在附件 |
| | | medicinelist: [], //医学附件 |
| | |
| | | // 表单数据 |
| | | getDonatebaseinfo(this.infoid).then(response => { |
| | | this.form = response.data; |
| | | if(response.data.terminationCase){ |
| | | if (response.data.terminationCase) { |
| | | this.showTerminationBtn = response.data.terminationCase; |
| | | } else{ |
| | | } else { |
| | | this.showTerminationBtn = 0; |
| | | } |
| | | this.actives = response.data.workflow; |
| | |
| | | this.$modal.msgSuccess("捐献器官获取信息保存成功!"); |
| | | } |
| | | }); |
| | | console.log(this.accomplishform.id,'完成id'); |
| | | console.log(this.accomplishform.id, "完成id"); |
| | | // 保存确认信息 |
| | | if (this.accomplishform.id) { |
| | | updateDonatecompletioninfo(this.accomplishform).then(response => { |
| | |
| | | }, |
| | | // 提交归档 |
| | | Reportforreview() { |
| | | fileCase({infoId:this.infoid}).then(res=>{ |
| | | console.log(res); |
| | | }) |
| | | if (this.form.workflow == 9) { |
| | | this.form.workflow = 8; |
| | | this.submitForm(); |
| | | } else { |
| | | this.$confirm("即将进行案例归档, 确认所有数据已保存?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | fileCase({ infoId: this.infoid }).then(res => { |
| | | if (res.code == 500) { |
| | | this.$message.error(res.msg); |
| | | } else { |
| | | this.form.workflow = 9; |
| | | this.submitForm(); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "归档成功!" |
| | | }); |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | this.$message({ |
| | | type: "info", |
| | | message: "已取消归档" |
| | | }); |
| | | }); |
| | | } |
| | | }, |
| | | // 终止案例 |
| | | Terminationcase() { |
| | |
| | | this.annexfilesList.splice(indexvalue, 1); |
| | | this.Newconversion(this.annexfilesList, indexvalue, ""); |
| | | }, |
| | | |
| | | |
| | | clearFilter() { |
| | | this.$refs.filterTable.clearFilter(); |