From 4e6c841dd09baff7fafb0e21fec36ee7faf61588 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 15:01:41 +0800
Subject: [PATCH] 测试完成
---
src/views/outsideChainwt.vue | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/src/views/outsideChainwt.vue b/src/views/outsideChainwt.vue
index 7256de2..ff02544 100644
--- a/src/views/outsideChainwt.vue
+++ b/src/views/outsideChainwt.vue
@@ -1,6 +1,6 @@
<template>
<div class="questionnaire">
- <div class="CONTENT">
+ <div class="CONTENT" v-if="!accomplish">
<div class="title">{{ taskname ? taskname : "闂嵎" }}</div>
<div class="preview-left">
<!-- 鍗曢�� -->
@@ -79,18 +79,20 @@
</el-form-item>
</el-form>
</div>
- <div class="CONTENT">
- <div class="preview-left">
+ <div class="CONTENT" v-else>
+ <div class="preview-left" style="margin-top: 100px;">
+ <div style="font-size: 24px;color: #175997; font-weight: 600; margin-bottom: 10px;">鎰熻阿鎮ㄧ殑閰嶅悎!</div>
+ <div style="font-size: 20px;">{{ revisitAfter }}</div>
</div>
</div>
- <el-dialog
+ <!-- <el-dialog
:visible.sync="dialogVisible"
width="50%"
>
<div>
<el-alert :title="revisitAfter" type="success"> </el-alert>
</div>
- </el-dialog>
+ </el-dialog> -->
</div>
</template>
@@ -111,6 +113,7 @@
revisitAfter: null,
dialogVisible:false,
Endornot: true,
+ accomplish:true,
// 鍓嶇鍏挜
publicKey:
"MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKR0yHv0rbJWQE+Sc7/FwpW66qMd9qX2k6z+SDgkSdxWh/1GbBoAP7bDQQRF6vXmoKsD2ya42H6XRLSDXAoayuMCAwEAAQ== ",
@@ -152,6 +155,7 @@
(res) => {
if (res.code == 200) {
this.questionList = res.data;
+ this.accomplish=res.data.submit
if (this.questionList[0]) {
this.questionList.forEach((item) => {
if (item.scriptResult && item.scriptType != 2) {
@@ -221,6 +225,7 @@
if (this.revisitAfter) {
this.dialogVisible=true
}
+ this.accomplish=true;
this.$modal.msgSuccess("鎻愪氦鎴愬姛");
}
});
@@ -244,7 +249,6 @@
form.svyLibTemplateScriptVOS = arr;
Cachequestionnaire(form).then((res) => {
if (res.code == 200) {
- this.$modal.msgSuccess("鎻愪氦鎴愬姛");
if (subm) {
this.submitForm();
}
@@ -318,4 +322,14 @@
}
}
}
+::v-deep.el-alert--warning.is-light {
+ background-color: #fbf9f3;
+ color: #ffba00;
+}
+::v-deep{
+ .el-alert__title {
+ font-size: 18px;
+ line-height: 18px;
+}
+}
</style>
--
Gitblit v1.9.3