From 7bf2fb0fe59ca062ff4bf20688474ffae9856ce0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 26 二月 2024 17:02:19 +0800 Subject: [PATCH] 11 --- src/views/project/ethicalReview/index.vue | 100 +++++++++++++++++++++++++++----------------------- 1 files changed, 54 insertions(+), 46 deletions(-) diff --git a/src/views/project/ethicalReview/index.vue b/src/views/project/ethicalReview/index.vue index 358e328..ae154db 100644 --- a/src/views/project/ethicalReview/index.vue +++ b/src/views/project/ethicalReview/index.vue @@ -26,8 +26,8 @@ <el-col :span="6"> <el-form-item label="鎹愮尞杩涘害" prop="recordstate"> - <el-select v-model="queryParams.recordstate" placeholder="璇烽�夋嫨鎹愮尞杩涘害" clearable size="small"> - <el-option v-for="dict in dict.type.sys_DonationStatus" :key="dict.value" :label="dict.label" + <el-select v-model="queryParams.workflow" placeholder="璇烽�夋嫨鎹愮尞杩涘害" clearable size="small"> + <el-option v-for="dict in dict.type.sys_donornode" :key="dict.value" :label="dict.label" :value="dict.value" /> </el-select> </el-form-item> @@ -292,6 +292,7 @@ "sys_FamilyRelation", "sys_OrganizationType", "sys_EthicalReview", + 'sys_donornode' ], data() { return { @@ -682,53 +683,60 @@ this.handleQuery(); }, /** 浼︾悊瀹℃煡寮圭獥 */ - showDonationEvaluationDialog(dontateInfo) { + showDonationEvaluationDialog(row) { + this.$router.push({ + path: "/organ/donationdetails/", + query: { + id: row.id, + organType: "edit", + } + }); //鏌ユ壘鏄惁瀛樺湪浼︾悊瀹℃煡璁板綍 //this.curCase = dontateInfo; - this.curCase = { - id: dontateInfo.id, - donorno: dontateInfo.donorno, - name: dontateInfo.name, - recordstate: null, - }; + // this.curCase = { + // id: dontateInfo.id, + // donorno: dontateInfo.donorno, + // name: dontateInfo.name, + // recordstate: null, + // }; - this.reset(); - this.form.donorno = dontateInfo.donorno; - this.form.infoid = dontateInfo.id; - this.expertAdviceQueryParam.infoid = dontateInfo.id; - this.expertAdviceQueryParam.donorno = dontateInfo.donorno; - // this.listnews.ConclusionTime = this.expertAdviceForm.conclusiontime; - // this.getExpertList(); - this.form.flowname = "浼︾悊瀹℃煡"; - if (dontateInfo.fcid) { - let queryParam = { - id: dontateInfo.fcid, - flowname: "浼︾悊瀹℃煡", - }; - // flowname: "浼︾悊瀹℃煡", - listDonateflowchart(queryParam).then((response) => { - let evaluationList = response.rows; - console.log("浼︾悊瀹℃煡", response.rows); - if (evaluationList.length == 1) { - this.form = evaluationList[0]; - this.open = true; - this.$nextTick(function () { - this.$refs.ethicalannex.getAnnexList(); - }); - this.title = "淇敼浼︾悊瀹℃煡"; - } else if (evaluationList.length == 0) { - this.$modal.msgError("鏈壘鍒版湰妗堜緥鐨勪鸡鐞嗗鏌ヨ褰曪紝璇疯仈绯荤鐞嗗憳锛�"); - } else { - this.$modal.msgError("鏁版嵁閲嶅"); - } - }); - } else { - this.title = "鏂板浼︾悊瀹℃煡"; - this.open = true; - this.$nextTick(function () { - this.$refs.ethicalannex.getAnnexList(); - }); - } + // this.reset(); + // this.form.donorno = dontateInfo.donorno; + // this.form.infoid = dontateInfo.id; + // this.expertAdviceQueryParam.infoid = dontateInfo.id; + // this.expertAdviceQueryParam.donorno = dontateInfo.donorno; + // // this.listnews.ConclusionTime = this.expertAdviceForm.conclusiontime; + // // this.getExpertList(); + // this.form.flowname = "浼︾悊瀹℃煡"; + // if (dontateInfo.fcid) { + // let queryParam = { + // id: dontateInfo.fcid, + // flowname: "浼︾悊瀹℃煡", + // }; + // // flowname: "浼︾悊瀹℃煡", + // listDonateflowchart(queryParam).then((response) => { + // let evaluationList = response.rows; + // console.log("浼︾悊瀹℃煡", response.rows); + // if (evaluationList.length == 1) { + // this.form = evaluationList[0]; + // this.open = true; + // this.$nextTick(function () { + // this.$refs.ethicalannex.getAnnexList(); + // }); + // this.title = "淇敼浼︾悊瀹℃煡"; + // } else if (evaluationList.length == 0) { + // this.$modal.msgError("鏈壘鍒版湰妗堜緥鐨勪鸡鐞嗗鏌ヨ褰曪紝璇疯仈绯荤鐞嗗憳锛�"); + // } else { + // this.$modal.msgError("鏁版嵁閲嶅"); + // } + // }); + // } else { + // this.title = "鏂板浼︾悊瀹℃煡"; + // this.open = true; + // this.$nextTick(function () { + // this.$refs.ethicalannex.getAnnexList(); + // }); + // } }, /** 淇濆瓨鎹愮尞璇勪及 */ submitForm() { -- Gitblit v1.9.3