<template>
  <div>
    <el-form :model="property" label-width="72px">
      <SerailNumber :property="property" />

      <el-form-item label="排列">
        <el-radio
          v-for="{ value, label } in arrangeTypeList"
          :key="value"
          v-model="property.arrange_type"
          :label="value"
        >
          {{ label }}
        </el-radio>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
import SettingMixin from '@/views/book/courseware/create/components/common/SettingMixin';

import { arrangeTypeList, getSelectProperty } from '@/views/book/courseware/data/select';

export default {
  name: 'SelectSetting',
  mixins: [SettingMixin],
  data() {
    return {
      arrangeTypeList,
      property: getSelectProperty(),
    };
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as *;

.el-form {
  @include setting-base;
}
</style>
