| | |
| | | <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> |
| | |
| | | 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" |
| | |
| | | </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' |
| | | |
| | | /** |
| | | * 自动评估条件合规性检查 |
| | |
| | | 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, |
| | |
| | | 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> |