潘志宝
2024-11-11 4c7918b9533a079190856c1780391527e1ae636e
src/views/model/pre/item/MmPredictItemForm.vue
@@ -39,7 +39,7 @@
          <el-form-item label="粒度" prop="mmPredictItem.granularity">
            <el-select v-model="dataForm.mmPredictItem.granularity" placeholder="请选择">
              <el-option
                v-for="dict in getIntDictOptions(DICT_TYPE.TIME_GRANULARITY)"
                v-for="dict in getIntDictOptions(DICT_TYPE.PRED_GRANULARITY)"
                :key="dict.value"
                :label="dict.label"
                :value="dict.value"
@@ -143,6 +143,7 @@
            :on-success="uploadModelSuccess"
            :on-error="uploadModelError"
            :action="uploadUrl"
            :show-file-list="false"
            :http-request="httpRequest">
            <el-button type="primary" @click="setReplaceModelOnly(false)">
              <Icon icon="ep:upload"/>