From cf00f005c1e3fa4b19caf1efd61501da0331c876 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期二, 05 十二月 2023 08:15:37 +0800 Subject: [PATCH] 修改提示框大小 --- CanadaMes-ui/src/views/home/index.vue | 77 ++++++++++++++++++++++++++++++++------ 1 files changed, 64 insertions(+), 13 deletions(-) diff --git a/CanadaMes-ui/src/views/home/index.vue b/CanadaMes-ui/src/views/home/index.vue index 0ef8a09..54fffcf 100644 --- a/CanadaMes-ui/src/views/home/index.vue +++ b/CanadaMes-ui/src/views/home/index.vue @@ -182,8 +182,32 @@ } } + +.blocks { + transform: scale(1, 1); +} + + .el-dialog { width: 90%; +} + +.el-message-box__message { + font-size: 27px; +} + +.el-message-box { + height: 200px; + width: 600px; +} + +.el-button--small { + font-size: 25px; +} + +.el-message-box__btns { + padding: 0px 15px 0; + text-align: right; } /* .el-table td, @@ -873,8 +897,19 @@ }, load() { //鍔犺浇绗煎瓙浣跨敤鎯呭喌鏁版嵁 + let cookies = document.cookie; + var cooks = cookies.split(";")[0]; + var value = cooks.substring(cooks.indexOf("=") + 1); + console.log(value); + // let cookie=cookies.split(';'); + // console.log() + // console.log(cookies.get('name')); home().then(res => { this.tableData = res.data.list; + }); + SelectCageInfo(1).then(res => { + this.cageinfo = res.data.cageinfo; + this.currentPages = 1; }); //鍔犺浇鐞嗙墖绗肩幓鐠冩暟鎹� home2().then(res => { @@ -1542,25 +1577,41 @@ if (this.disabled == false) { this.disabled = true; this.$message.error(this.$t('The glass size is not within the range')); - this.$confirm(this.$t('The glass size is not within the range'), this.$t('confirm'), { - // confirmwidth: 7000, - // height: 8000, - // confirmButtonText: this.$t('Yes'), - // cancelButtonText: this.$t('No'), - type: 'warning' - }).then(() => { - this.$message.success(this.$t('Operation successful')); - }).catch(() => { - this.$message({ - type: 'info', - message: this.$t('Operation canceled') - }); + this.$alert(this.$t('The glass size is not within the range'), this.$t('confirm'), { + confirmButtonText: this.$t('Yes'), + callback: action => { + this.$message({ + type: 'info', + message: this.DeleteBarcodeGlass() + }); + } }); } + // this.$message(this.$t('The glass size is not within the range'), this.$t('confirm'), { + // // confirmwidth: 7000, + // // height: 8000, + // confirmButtonText: this.$t('Yes'), + // type: 'info' + // }).then(() => { + // this.$message.success(this.$t('Operation successful')); + // }).catch(() => { + // this.$message({ + // type: 'warning', + // message: this.$t('Operation canceled') + // }); + // }); + // } this.disabled1 = true; } else { + // if(isConfirmStates==true){ + // this.InsertQueueGlass(); + // } this.disabled1 = false; } + + }, + DeleteBarcodeGlass(){ + this.form5={}; } } } -- Gitblit v1.8.0