| | |
| | | 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,
|
| | | .el-table th {
|
| | | padding: 0px 0;
|
| | |
| | | home().then(res => {
|
| | | this.tableData = res.data.list;
|
| | | });
|
| | | SelectCageInfo(1).then(res => {
|
| | | this.cageinfo = res.data.cageinfo;
|
| | | this.currentPages = 1;
|
| | | });
|
| | | //加载理片笼玻璃数据
|
| | | home2().then(res => {
|
| | | this.cagelist1 = res.data.list1;
|
| | |
| | | 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: `action: ${action}`
|
| | | });
|
| | | }
|
| | | });
|
| | | }
|
| | | this.disabled1 = true;
|
| | | } else {
|
| | | this.disabled1 = false;
|
| | | }
|
| | | // 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 {
|
| | | this.disabled1 = false;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | </script> |