|
|
@@ -168,7 +168,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import H5PlayerVideo from '@/components/H5PlayerVideo/H5PlayerVideo.vue'
|
|
|
-
|
|
|
+ import { laboratoryPlanCloseRiskPlan } from '@/api/index'
|
|
|
export default {
|
|
|
name: 'subComponent',
|
|
|
components: {
|
|
|
@@ -285,8 +285,10 @@
|
|
|
}, 500);
|
|
|
},
|
|
|
offAlarm(){
|
|
|
- this.$set(this,'alarmType',false);
|
|
|
- this.$parent.setOffAlarm();
|
|
|
+ laboratoryPlanCloseRiskPlan({eventId:this.newData.alarmData.eventId}).then(response => {
|
|
|
+ this.$set(this,'alarmType',false);
|
|
|
+ this.$parent.setOffAlarm();
|
|
|
+ });
|
|
|
},
|
|
|
setOffAlarm(){
|
|
|
this.$set(this,'alarmType',false);
|