riku
2023-12-25 440522ea896377c45ffd80f4b70927d27e701c64
src/views/fysp/evaluation/components/precheck/CompCheckArea.vue
@@ -4,38 +4,35 @@
      <div><el-text tag="b" size="large">选择评估范围</el-text></div>
      <el-text size="small" type="info">包括区县、场景类型以及月份</el-text>
    </template>
    <FYForm
      ref="formRef"
      :rules="evaConditionRules"
      :showButtons="false"
      @submit="nextStep"
    >
      <template #form-item="{ formObj }">
        <CompQuickSet @quick-set="setOptions"></CompQuickSet>
        <!-- 区县 -->
        <FYOptionLocation
          :allOption="false"
          :level="3"
          :initValue="false"
          :checkStrictly="false"
          v-model:value="formObj._locations"
        ></FYOptionLocation>
        <!-- 场景类型 -->
        <FYOptionScene
          :allOption="false"
          :initValue="false"
          :type="2"
          v-model:value="formObj._scenetype"
        ></FYOptionScene>
        <!-- 时间 -->
        <FYOptionTime
          prop="time"
          :initValue="true"
          type="month"
          v-model:value="formObj.time"
        ></FYOptionTime>
      </template>
    </FYForm>
    <FormCol>
      <FYForm ref="formRef" :rules="evaConditionRules" :showButtons="false" @submit="nextStep">
        <template #form-item="{ formObj }">
          <CompQuickSet @quick-set="setOptions"></CompQuickSet>
          <!-- 区县 -->
          <FYOptionLocation
            :allOption="false"
            :level="3"
            :initValue="false"
            :checkStrictly="false"
            v-model:value="formObj._locations"
          ></FYOptionLocation>
          <!-- 场景类型 -->
          <FYOptionScene
            :allOption="false"
            :initValue="false"
            :type="2"
            v-model:value="formObj._scenetype"
          ></FYOptionScene>
          <!-- 时间 -->
          <FYOptionTime
            prop="time"
            :initValue="true"
            type="month"
            v-model:value="formObj.time"
          ></FYOptionTime>
        </template>
      </FYForm>
    </FormCol>
    <template #footer>
      <el-row justify="space-around">
        <el-button type="primary" size="default" :loading="loading" @click="submit"
@@ -83,6 +80,9 @@
    },
    // 跳转下一步
    nextStep() {
      // todo: 检查是否已有评估记录,提示用户可直接跳转查看或继续下一步
      this.loading = true;
      return new Promise((reslove, reject) => {
        setTimeout(() => {