Browse Source

筛查过的弹框内容调整

new-ays
1747191978@qq.com 2 months ago
parent
commit
3b881a36c2
  1. 68
      acupuncture-前台/src/views/screening/h5eva.vue

68
acupuncture-前台/src/views/screening/h5eva.vue

@ -283,17 +283,22 @@
:show-close="false"
:close-on-click-modal="false"
>
<div class="popup-title">已经筛查过是否查看结论</div>
<div class="popup-box">
<el-radio v-model="popupRadio" :label="1" class="popup-radio">
编辑信息</el-radio
>
<el-radio v-model="popupRadio" :label="2" class="popup-radio"
>查看结论</el-radio
>
</div>
<div class="submit-box submit-box1">
<el-button
type="primary"
class="submit-box-but"
@click="handleContinue"
@click="handlePopupVerify"
>
编辑信息
</el-button>
<el-button type="primary" class="submit-box-but" @click="handleResult">
查看结论
确认
</el-button>
</div>
</el-dialog>
@ -313,6 +318,7 @@ export default {
name: "Notice",
data() {
return {
popupRadio: 1,
open: false,
loading: false,
disabled: true,
@ -648,22 +654,22 @@ export default {
},
methods: {
//
handleContinue() {
this.form = { ...this.form, ...this.detailList };
setTimeout(() => {
handlePopupVerify() {
if (this.popupRadio === 1) {
this.form = { ...this.form, ...this.detailList };
setTimeout(() => {
this.open = false;
}, 500);
} else {
this.$router.replace({
path: "/screening/h5Result",
query: {
tenantName: this.tenantName,
data: JSON.stringify(this.detailList),
},
});
this.open = false;
}, 500);
},
//
handleResult() {
this.$router.replace({
path: "/screening/h5Result",
query: {
tenantName: this.tenantName,
data: JSON.stringify(this.detailList),
},
});
this.open = false;
}
},
//
getqueryDetailNoToken() {
@ -985,6 +991,13 @@ export default {
</script>
<style scoped src="@/assets/styles/common.css"></style>
<style scoped>
.popup-item {
font-size: 16px;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.popup-title {
font-size: 20px;
color: #333333;
@ -1074,20 +1087,27 @@ export default {
color: #555555;
line-height: 20px;
}
.popup-box {
display: flex;
}
.submit-box {
display: flex;
justify-content: center;
align-items: center;
}
.submit-box1 .submit-box-but {
border: none;
}
.submit-box .submit-box-but {
background: #c6a268;
width: 100%;
font-size: 16px;
margin-bottom: 10px;
}
.submit-box1 .submit-box-but {
width: 65% !important;
border: none;
margin-top: 30px;
margin-bottom: 0;
}
.card {
padding: 16px;
background: #fff;

Loading…
Cancel
Save