<template>
  <Modal
    class="upload-student-paper"
    v-model="modalIsShow"
    title="上传考生图片"
    :mask-closable="false"
    @on-visible-change="visibleChange"
  >
    <Form
      ref="modalFormComp"
      :model="modalForm"
      :rules="rules"
      :key="modalForm.id"
      :label-width="100"
    >
      <FormItem prop="subject" label="科目">
        <Select v-model="modalForm.subject" placeholder="请选择科目">
          <Option value=""></Option>
        </Select>
      </FormItem>
      <FormItem prop="schoolId" label="学校">
        <Checkbox v-model="modalForm.schoolId">Checkbox</Checkbox>
      </FormItem>
    </Form>
    <div slot="footer">
      <Button type="text" @click="cancel">取消</Button>
      <Button type="primary" :disabled="isSubmit" @click="submit">确认</Button>
    </div>
  </Modal>
</template>

<script>
// TODO: 原型中没有描述，暂时不做
export default {
  name: "upload-student-paper",
  data() {
    return {};
  },
  methods: {}
};
</script>
