heyang 2 gadi atpakaļ
vecāks
revīzija
0b891dd7a3

+ 1 - 0
.env.production

@@ -12,3 +12,4 @@ VUE_APP_BASE_API = 'lab.sxitdlc.com/labSystem'
 # ####################内网接口配置####################
 
 VUE_APP_BASE_LOCAL_API = '192.168.251.2/labSystem'
+

+ 1 - 1
src/views/comprehensive/laboratoryManagement/subject/index.vue

@@ -404,7 +404,7 @@ export default {
     queryHardByTypeList(){
       let _this=this;
       let obj={
-        subjectId:'85',
+        subjectId:this.subId,
         type:'HK_DOOR',
       }
       queryHardByTypeList(obj).then( response => {

+ 5 - 0
src/views/securityCheck/checkRecord/unsubmittedInfo.vue

@@ -282,6 +282,8 @@
         imgIndex:"",
         //临时存储房间号
         fjNumber:"",
+        //临时存储隐患信息ID
+        hiddenDangerIdList:[],
         // 表单校验
         rules: {
           fjNumber: [
@@ -501,7 +503,9 @@
       },
       //删除隐患
       delDanger(index){
+        this.hiddenDangerIdList.push(this.form.detailsList[index].id)
         this.form.detailsList.splice(index,1)
+
         this.$forceUpdate();
       },
       //新增隐患项
@@ -587,6 +591,7 @@
               obj.detailsList[i].voice = null;
             }
             obj.zgStatus = 0;
+            obj.ids=this.hiddenDangerIdList
             if(type == 1){
               obj.isCg = 1;
               obj.isFabu = 0;