Kxc0822a
2022-03-30 2f87484c9fd7ed4829ba1b1a2768011ded67e89b
重大
已修改3个文件
33 ■■■■ 文件已修改
src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/majorHazardSourceMonitoring/instrumentData/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/majorHazardSourceMonitoring/equipmentAlarm/index.vue
@@ -202,8 +202,15 @@
        },
        created() {
            this.elementManagementL();
            this.alarmMajorEquipmentErt();
        },
        methods: {
            alarmMajorEquipmentErt(){
                majorEquipmentErt().then(res=>{
                    console.log(res)
                    this.equipmentName=res.data.result
                })
            },
            async elementManagementL() {
                var res = await majorEquipmentList(this.listQuery);
                console.log(res);
@@ -219,10 +226,6 @@
                this.$nextTick(() => {
                    this.$refs["form"].clearValidate();
                });
                majorEquipmentErt().then(res=>{
                    console.log(res)
                    this.equipmentName=res.data.result
                })
                if (type == "新增") {
                    this.title = "新增";
                    this.form = {
@@ -286,6 +289,7 @@
                    cancelButtonText: '取消',
                    type: 'warning'
                })
                    .then(()=>{
                majorEquipmentDel({id:val}).then((res) => {
                    if (res.data.code == 200) {
                        this.elementManagementL();
@@ -296,6 +300,9 @@
                            duration: 2000,
                        });
                    }
                        })
                    })
                    .catch(error =>{
                });
            },
            find(){
src/views/majorHazardSourceMonitoring/instrumentData/index.vue
@@ -495,6 +495,12 @@
                });
            },
            deleteById(val) {
                this.$confirm('确认删除吗','提示', {
                    confirmButtonText: '确认',
                    cancelButtonText: '取消',
                    type: 'warning'
                })
                    .then(()=>{
                majorEquipmentDel({id:val}).then((res) => {
                    if (res.data.code == 200) {
                        this.elementManagementL();
@@ -506,6 +512,9 @@
                        });
                    }
                });
                    })
                    .catch(error =>{
                    });
            },
            find(){
                this.elementManagementL();
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -286,6 +286,12 @@
                });
            },
            deleteById(val) {
                this.$confirm('确认删除吗','提示', {
                    confirmButtonText: '确认',
                    cancelButtonText: '取消',
                    type: 'warning'
                })
                    .then(()=>{
                majorEquipmentDel({id:val}).then((res) => {
                    if (res.data.code == 200) {
                        this.elementManagementL();
@@ -297,6 +303,9 @@
                        });
                    }
                });
                    })
                    .catch(error =>{
                    });
            },
            find(){
                this.elementManagementL();