index.vue 723 Bytes
<template>
  <div>
    <el-select v-model="childrenItemValue" value-key="id" placeholder="选着考勤规则" @change="handleUpdate">
      <el-option v-for="item in schedulingOptions" :key="item.id" :label="item.ruleName + '(' + item.rangeTime + ')'"
        :value="item" />
    </el-select>
  </div>
</template>

<script name="schedulingAdd" setup>


// const { proxy } = getCurrentInstance();
// emit("update:modelValue", listToString(fileList.value));
const props = defineProps({
  schedulingNowValue: {
    require: false
  },
  schedulingOptions: {
    require: true
  }
})

const childrenItemValue = ref(props.schedulingNowValue)
const handleUpdate = (val) => {
}

defineExpose({
  childrenItemValue
});

</script>