From f864d10e66e8fc66c6d2162196eeda085e35b65a Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 14 三月 2024 17:40:43 +0800
Subject: [PATCH] 11
---
src/views/project/medicalevaluation/index.vue | 108 ++++++++++++++++++++++++++++++------------------------
1 files changed, 60 insertions(+), 48 deletions(-)
diff --git a/src/views/project/medicalevaluation/index.vue b/src/views/project/medicalevaluation/index.vue
index 157fda8..3312ba8 100644
--- a/src/views/project/medicalevaluation/index.vue
+++ b/src/views/project/medicalevaluation/index.vue
@@ -51,13 +51,13 @@
<el-col :span="6">
<el-form-item label="鎹愮尞杩涘害" prop="recordstate">
<el-select
- v-model="queryParams.recordstate"
+ v-model="queryParams.workflow"
placeholder="璇烽�夋嫨鎹愮尞杩涘害"
clearable
size="small"
>
<el-option
- v-for="dict in dict.type.sys_DonationStatus"
+ v-for="dict in dict.type.sys_donornode"
:key="dict.value"
:label="dict.label"
:value="dict.value"
@@ -200,10 +200,13 @@
width="120"
>
<template slot-scope="scope">
- <dict-tag
- :options="dict.type.sys_DonationStatus"
- :value="scope.row.recordstate"
- />
+ <div v-if="!scope.row.terminationCase">
+ <dict-tag
+ :options="dict.type.sys_donornode"
+ :value="scope.row.workflow"
+ />
+ </div>
+ <div v-else>浠诲姟涓</div>
</template>
</el-table-column>
@@ -628,7 +631,8 @@
"sys_organstate",
"sys_CoreAssessConclusion",
"sys_BaseAssessConclusion",
- "sys_OrganDecision"
+ "sys_OrganDecision",
+ 'sys_donornode'
],
data() {
//杩欓噷瀛樻斁鏁版嵁
@@ -1015,53 +1019,61 @@
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd(data) {
console.log("datadata", data);
+
+ this.$router.push({
+ path: "/organ/donationdetails/",
+ query: {
+ id: data.id,
+ organType: "edit"
+ }
+ });
// if(data.recordstate != 2 && data.recordstate != 4 && data.recordstate != 5 && data.recordstate != 13){
// this.$modal.msgError("褰撳墠鎹愮尞妗堜緥涓嶈兘杩涜鍖诲鎹愮尞璇勪及");
// return
// }
- this.flowname = "鎹愮尞鍖诲璇勪及";
- this.annexno = "";
- this.reset();
- //this.curCase = data;
- this.curCase = {
- id: data.id,
- recordstate: null,
- donorno: data.donorno
- };
- //鑾峰彇鍖诲鎹愮尞璇勪及璁板綍
- this.loading = true;
- if (data.meid) {
- let searchParam = {
- id: data.meid
- };
- //listDonatebaseinfo(searchParam).then((response) => {
- listMedicalevaluation(searchParam).then(response => {
- if (response.code == 200 && response.rows.length == 1) {
- this.title = "淇敼鎹愮尞鍖诲璇勪及";
- this.form = response.rows[0];
- this.form.infoid = data.id;
- this.open = true;
- this.$nextTick(function() {
- this.$refs.evaluationannex.getAnnexList();
- });
- } else {
- this.$modal.msgError(
- "鑾峰彇鍖诲璇勪及璁板綍澶辫触锛�" + JSON.stringify(response)
- );
- }
- });
- } else {
- this.title = "鏂板鎹愮尞鍖诲璇勪及";
- this.form.infoid = data.id;
- this.form.donorno = data.donorno;
+ // this.flowname = "鎹愮尞鍖诲璇勪及";
+ // this.annexno = "";
+ // this.reset();
+ // //this.curCase = data;
+ // this.curCase = {
+ // id: data.id,
+ // recordstate: null,
+ // donorno: data.donorno
+ // };
+ // //鑾峰彇鍖诲鎹愮尞璇勪及璁板綍
+ // this.loading = true;
+ // if (data.meid) {
+ // let searchParam = {
+ // id: data.meid
+ // };
+ // //listDonatebaseinfo(searchParam).then((response) => {
+ // listMedicalevaluation(searchParam).then(response => {
+ // if (response.code == 200 && response.rows.length == 1) {
+ // this.title = "淇敼鎹愮尞鍖诲璇勪及";
+ // this.form = response.rows[0];
+ // this.form.infoid = data.id;
+ // this.open = true;
+ // this.$nextTick(function() {
+ // this.$refs.evaluationannex.getAnnexList();
+ // });
+ // } else {
+ // this.$modal.msgError(
+ // "鑾峰彇鍖诲璇勪及璁板綍澶辫触锛�" + JSON.stringify(response)
+ // );
+ // }
+ // });
+ // } else {
+ // this.title = "鏂板鎹愮尞鍖诲璇勪及";
+ // this.form.infoid = data.id;
+ // this.form.donorno = data.donorno;
- this.open = true;
- this.$nextTick(function() {
- this.$refs.evaluationannex.getAnnexList();
- });
- }
- this.loading = false;
+ // this.open = true;
+ // this.$nextTick(function() {
+ // this.$refs.evaluationannex.getAnnexList();
+ // });
+ // }
+ // this.loading = false;
},
/** 鎻愪氦鎸夐挳 */
submitForm() {
--
Gitblit v1.9.3