From 173766e82d7cde9a7ae30b8896a9a287dff411f8 Mon Sep 17 00:00:00 2001 From: zjk <852185829@qq.com> Date: 星期二, 02 九月 2025 10:17:59 +0800 Subject: [PATCH] feat: 打包配置 --- laboratory/src/views/dataManagement/testResultReport/components/checkout-result.vue | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 52 insertions(+), 5 deletions(-) diff --git a/laboratory/src/views/dataManagement/testResultReport/components/checkout-result.vue b/laboratory/src/views/dataManagement/testResultReport/components/checkout-result.vue index 0a76e44..095e4f2 100644 --- a/laboratory/src/views/dataManagement/testResultReport/components/checkout-result.vue +++ b/laboratory/src/views/dataManagement/testResultReport/components/checkout-result.vue @@ -1,7 +1,7 @@ <template> <el-dialog title="检验数据结果汇总" - :visible.sync="visible" + :visible="dialogVisible" width="80%" :close-on-click-modal="false" @close="handleClose" @@ -16,12 +16,31 @@ <span>本次检验结果总表</span> </div> </div> + <div class="content-box"> + <AiEditor + ref="descriptionEditor" + :readOnly="true" + :value="data?.testReason || ''" + height="400px" + placeholder="暂无检验说明..." + /> + </div> <div class="header-title"> <div class="header-title-left"> <img src="@/assets/public/headercard.png" /> <span>本次检验说明</span> </div> + </div> + + <div class="content-box"> + <AiEditor + ref="descriptionEditor" + :readOnly="true" + :value="data?.testReason || ''" + height="400px" + placeholder="暂无检验说明..." + /> </div> </template> </Card> @@ -31,21 +50,39 @@ </template> <script> + import AiEditor from "@/components/AiEditor"; + export default { name: "CheckoutResult", + components: { + AiEditor + }, props: { visible: { type: Boolean, default: false, }, - content: { + data: { type: Object, default: () => ({}), }, }, + data() { + return { + dialogVisible: false + } + }, + watch: { + visible: { + handler(val) { + this.dialogVisible = val; + }, + immediate: true + } + }, methods: { handleClose() { - this.$emit("update:visible", false); + this.$emit("close"); }, }, }; @@ -58,7 +95,7 @@ .approval-dialog { display: flex; - height: 300px; + height: 600px; .approval-content { flex: 1; @@ -77,12 +114,12 @@ align-items: center; flex-wrap: wrap; gap: 13px; + margin-top: 38px; .header-title-left { display: flex; align-items: center; gap: 13px; - margin-top: 38px; img { width: 12px; @@ -101,8 +138,18 @@ } .header-title:first-child { + margin-top: 0; .header-title-left { margin-top: 0; } } + + .rwuTable { + width: 100%; + margin: 20px 0; + } + + .content-box { + margin: 20px 0; + } </style> \ No newline at end of file -- Gitblit v1.7.1