| | |
| | | <el-step title="豁免条目" /> |
| | | <el-step title="自动评估" /> |
| | | </el-steps> |
| | | |
| | | <el-card v-if="stepIndex == 0" shadow="never"> |
| | | <template #header> |
| | | <div><el-text tag="b" size="large">选择评估范围</el-text></div> |
| | | <el-text size="small" type="info">包括区县、场景类型以及月份</el-text> |
| | | </template> |
| | | <FYForm :form-info="evaConditon" :rules="evaConditionRules" :showButtons="false"> |
| | | <template #form-item="{ formObj }"> |
| | | <!-- 区县 --> |
| | | <FYOptionLocation |
| | | :allOption="false" |
| | | :level="3" |
| | | :checkStrictly="false" |
| | | v-model:value="formObj.locations" |
| | | ></FYOptionLocation> |
| | | <!-- 场景类型 --> |
| | | <FYOptionScene |
| | | :allOption="false" |
| | | :type="2" |
| | | v-model:value="formObj.scenetype" |
| | | ></FYOptionScene> |
| | | <!-- 时间 --> |
| | | <FYOptionTime |
| | | :initValue="true" |
| | | type="month" |
| | | v-model:value="formObj.time" |
| | | ></FYOptionTime> |
| | | </template> |
| | | </FYForm> |
| | | <template #footer> |
| | | <el-row justify="space-around"> |
| | | <el-button type="primary" size="default">下一步</el-button> |
| | | </el-row> |
| | | </template> |
| | | </el-card> |
| | | <el-card v-if="stepIndex == 1" shadow="never"> Never2 </el-card> |
| | | <el-card v-if="stepIndex == 2" shadow="never"> Never3 </el-card> |
| | | <el-card v-if="stepIndex == 3" shadow="never"> Never4 </el-card> |
| | | <CompCheckArea v-show="stepIndex == 0" v-model="stepIndex"></CompCheckArea> |
| | | <CompCheckSource v-show="stepIndex == 1" v-model="stepIndex"></CompCheckSource> |
| | | <CompCheckExemption v-show="stepIndex == 2" v-model="stepIndex"></CompCheckExemption> |
| | | <CompCheckConfirm v-show="stepIndex == 3" v-model="stepIndex"></CompCheckConfirm> |
| | | </template> |
| | | |
| | | <script> |
| | | import dayjs from 'dayjs'; |
| | | import CompCheckArea from './precheck/CompCheckArea.vue'; |
| | | import CompCheckSource from './precheck/CompCheckSource.vue'; |
| | | import CompCheckExemption from './precheck/CompCheckExemption.vue'; |
| | | import CompCheckConfirm from './precheck/CompCheckConfirm.vue'; |
| | | |
| | | /** |
| | | * 自动评估条件合规性检查 |
| | | */ |
| | | export default { |
| | | name: 'CompPreCheck', |
| | | components: { CompCheckArea, CompCheckSource, CompCheckExemption, CompCheckConfirm }, |
| | | props: {}, |
| | | emits: ['preCheck'], |
| | | data() { |
| | | return { |
| | | // 操作步骤下标 |
| | | stepIndex: 0, |
| | | // 评估任务范围 |
| | | evaConditon: {}, |
| | | evaConditionRules: { |
| | | acountname: [ |
| | | { |
| | | required: true, |
| | | message: '账户名不能为空', |
| | | trigger: 'blur' |
| | | } |
| | | ] |
| | | } |
| | | stepIndex: 0 |
| | | }; |
| | | }, |
| | | methods: { |