| | |
| | | <el-table-column :width="100" prop="state" :label="$t('State')">
|
| | | <template slot-scope='scope'>
|
| | | {{
|
| | | scope.row.state == 1 ? $t('Normal') : scope.row.state == 2 ? $t('Entering') : scope.row.state == 3 ? $t('Outing') : ""
|
| | | scope.row.state == 1 ? $t('Normal') : scope.row.state == 2 ? $t('Entering') : scope.row.state == 3 ?
|
| | | $t('Outing') : ""
|
| | | }}
|
| | | </template>
|
| | | </el-table-column>
|
| | |
| | | if (this.form5.glassheight < 380 || this.form5.glasswidth < 390 || this.form5.glassheight > 1810 || this.form5.glasswidth > 2760) {
|
| | | if (this.disabled1 == false) {
|
| | | this.disabled1 = true;
|
| | | this.$confirm(this.$t('The glass size is not within the range'), this.$t('confirm'), {
|
| | | // inputType: 'password',
|
| | | // inputPlaceholder: this.$t('Please enter the password'),
|
| | | |
| | | 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.$message.error(this.$t('The glass size is not within the range'));
|
| | | }
|
| | |
|
| | | } else {
|
| | | this.disabled1 = false;
|
| | | }
|