## IntentionTime 意向时间

设置学员排课意向时间（教务提供）

### 基本用法

页面中的非浮层元素，不会自动消失。

:::demo Copy 有一个默认插槽，可以选择性放入对应按钮。

```html
<template>
  <el-input
    style="width:300px"
    placeholder="请输入用户ID"
    v-model="userId"
    clearable
  >
    <el-button slot="append" @click="visible = true">选择周课时间</el-button>
  </el-input>
  <klzz-intention-time
    :visible.sync="visible"
    :userId="userId"
    :weekCourseType="1"
  ></klzz-intention-time>
</template>
<script>
  export default {
    data() {
      return {
        visible: false,
        userId: 219224916,
        weekCourseType: 1,
      };
    },
  };
</script>
```

:::

### Attributes

| 参数           | 说明                         | 类型            | 可选值              | 默认值         | 必填 |
| -------------- | ---------------------------- | --------------- | ------------------- | -------------- | ---- |
| userId         | 用户 ID                      | string / number | —                   |                | 是   |
| visible        | 显示弹窗（使用.sync）        | boolean         | —                   | false          | 是   |
| weekCourseType | 意向时间场景                 | number          | 参考 weekCourseType | 1              |      |
| dropoutId      | 停课记录 ID（复课需要）          | string / number | —                  |                | 否   |
| classId        | 原班级 ID（调课需要）          | string / number | —                  |                | 否   |

### Event

| 事件名称       | 说明           | 回调参数                  |
| -------------- | -------------- | ------------------------- |
| submit-success | 提交成功后触发 | Function(weekCourseType: number) |
### weekCourseType

| 可选值 | 说明         |
| ------ | ------------ |
| 1      | 新签排课         |
| 2      | 升阶意向     |
| 3      | 调课         |
| 4      | 复课         |
