餐饮油烟智能监测与监管一体化平台
riku
2026-03-17 b1a0d701cf898c8b7812e66a808a1c91f2bae6cc
src/views/analysis/evalution/components/precheck/CompPreCheck.vue
@@ -2,7 +2,7 @@
  <el-steps :active="stepIndex" finish-status="success" style="" align-center>
    <el-step title="评估范围" />
    <el-step title="数据源检查" />
    <el-step title="条目豁免" />
    <!-- <el-step title="条目豁免" /> -->
    <el-step title="自动评估" />
  </el-steps>
  <CompCheckArea v-show="stepIndex == 0" v-model="stepIndex" @change="onAreaChange"></CompCheckArea>
@@ -12,13 +12,13 @@
    ref="refSource"
    @change="onDataSourceChange"
  ></CompCheckSource>
  <CompCheckExemption
  <!-- <CompCheckExemption
    v-show="stepIndex == 2"
    v-model="stepIndex"
    @change="onExemptionChange"
  ></CompCheckExemption>
  ></CompCheckExemption> -->
  <CompCheckConfirm
    v-show="stepIndex == 3"
    v-show="stepIndex == 2"
    v-model="stepIndex"
    :area-info="area"
    :data-source="dataSource"
@@ -28,11 +28,11 @@
</template>
<script>
import dayjs from 'dayjs';
import CompCheckArea from './components/CompCheckArea.vue';
import CompCheckSource from './components/CompCheckSource.vue';
import CompCheckExemption from './components/CompCheckExemption.vue';
import CompCheckConfirm from './components/CompCheckConfirm.vue';
import dayjs from 'dayjs'
import CompCheckArea from './components/CompCheckArea.vue'
import CompCheckSource from './components/CompCheckSource.vue'
import CompCheckExemption from './components/CompCheckExemption.vue'
import CompCheckConfirm from './components/CompCheckConfirm.vue'
/**
 * 自动评估条件合规性检查
@@ -48,20 +48,20 @@
      stepIndex: 0,
      area: {
        _locations: {},
        _scenetype: {}
        _scenetype: {},
      },
      dataSource: {},
      // 豁免条目
      exemptionItems: {}
    };
      exemptionItems: {},
    }
  },
  methods: {
    /**
     * 监听评估范围变更
     */
    onAreaChange(val) {
      const v = val.value;
      this.area = v;
      const v = val.value
      this.area = v
      const a = {
        provincecode: v._locations.pCode,
        provincename: v._locations.pName,
@@ -75,23 +75,23 @@
        endtime: this.$fm.formatYMDHMS(v.time),
        scensetypeid: v._scenetype.value,
        online: true,
        sourceType: v.sourceType
      };
      this.$refs.refSource.startCheck(a);
        sourceType: v.sourceType,
      }
      this.$refs.refSource.startCheck(a)
    },
    onDataSourceChange(val) {
      this.dataSource = val;
      this.dataSource = val
    },
    onExemptionChange(val) {
      this.exemptionItems = val;
      this.exemptionItems = val
    },
    /**
     * 自动评估前置合规性检查
     * 检查所选范围内各项评估数据源是否完整
     */
    onNewTask() {
      this.$emit('startTask');
    }
  }
};
      this.$emit('startTask')
    },
  },
}
</script>