ZengTao
2023-09-21 dc7fb35c94dc4243d4db2fdfd8266c60a80243fd
修改提示属性
修复vue警告
1个文件已修改
28 ■■■■ 已修改文件
CanadaMes-ui/src/views/home/index.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CanadaMes-ui/src/views/home/index.vue
@@ -267,7 +267,7 @@
                        @click="showcageinfo(item['cage'])"></div>
                </div>
                <div class="blue gezi"
                    :style="{ display: flex, position: absolute, float: left, top: 105 + 'px', left: 1050 + 'px', height: loadglassheight + 'px', width: 5 + 'px' }">
                    :style="{ display: 'flex', position: 'absolute', float: 'left', top: 105 + 'px', left: 1050 + 'px', height: loadglassheight + 'px', width: 5 + 'px' }">
                </div>
                <div class="blocks-img" :style="{ left: car1 + 'px', top: '16px' }"></div>
                <div class="blocks-img" :style="{ left: car2 + 'px', top: '175px' }"></div>
@@ -543,7 +543,7 @@
                        this.$message.success(this.$t('Operation successful'));
                    } else {
                        this.$message.success(this.$t('There is no glass for this order'));
                        this.$message.error(this.$t('There is no glass for this order'));
                    }
                    this.load();
                });
@@ -554,7 +554,7 @@
        sbumitglassid() {
            if (this.form.order != "") {
                if (this.form.height < 380 || this.form.width < 390 || this.form.height > 1810 || this.form.width > 2760) {
                    this.$message.success(this.$t('The glass size is not within the range'));
                    this.$message.error(this.$t('The glass size is not within the range'));
                } else {
                    if (this.zhuangtai == true) {
                        Addglassid(this.glassid).then(res => {
@@ -562,17 +562,17 @@
                                this.$message.success(this.$t('Operation successful'));
                                this.cancal();
                            } else if (res.data.message2 == 500) {
                                this.$message.success(this.$t('There are currently tasks'));
                                this.$message.error(this.$t('There are currently tasks'));
                            }
                            else if (res.data.message2 == 300) {
                                this.$message.success(this.$t('There is no such glass'));
                                this.$message.error(this.$t('There is no such glass'));
                            }
                            else if (res.data.message2 == 400) {
                                this.$message.success(this.$t('There is no such grid'));
                                this.$message.error(this.$t('There is no such grid'));
                            }
                        });
                    } else {
                        this.$message.success(this.$t('There are currently tasks'));
                        this.$message.error(this.$t('There are currently tasks'));
                    }
                }
            }
@@ -584,7 +584,7 @@
                        this.form = res.data.form;
                        this.dialogFormVisible = true;
                    }else{
                        this.$message.success(this.$t('There is no such glass'));
                        this.$message.error(this.$t('There is no such glass'));
                    }
                });
                
@@ -630,7 +630,7 @@
                        }
                    });
                } else {
                    this.$message.success(this.$t('Password error'));//密码错误
                    this.$message.error(this.$t('Password error'));//密码错误
                }
            }).catch(() => {
                this.$message({
@@ -662,10 +662,10 @@
                            }
                        });
                    } else {
                        this.$message.success(this.$t('No delete allowed'));
                        this.$message.error(this.$t('No delete allowed'));
                    }
                } else {
                    this.$message.success(this.$t('Password error'));//密码错误
                    this.$message.error(this.$t('Password error'));//密码错误
                }
            }).catch(() => {
@@ -690,14 +690,14 @@
                                this.$message.success(this.$t('Operation successful'));
                            }
                            else if (res.data.message2 == 300) {
                                this.$message.success(this.$t('There is no such grid'));
                                this.$message.error(this.$t('There is no such grid'));
                            }
                        });
                    } else {
                        this.$message.success(this.$t('No out allowed'));
                        this.$message.error(this.$t('No out allowed'));
                    }
                } else {
                    this.$message.success(this.$t('Password error'));//密码错误
                    this.$message.error(this.$t('Password error'));//密码错误
                }
            }).catch(() => {
                this.$message({