<template>
  <cms-page-form
    :form-model="linkPageForm"
    :form-rules="linkRules"
    :form-collapse-item="formCollapseItem"
  >
    <template slot="baseInfo">
      <cms-form-item label="账号" prop="account">
        <cms-form-input v-model="linkPageForm.account"/>
      </cms-form-item>
    </template>
  </cms-page-form>
</template>

<script>
export default {
  name: "form-links-page",
  data() {
    return {
      linkPageForm: {
        account: undefined,
      },
      linkRules: {
        account: [
          {
            required: true,
            message: '必填项',
            trigger: [ 'blur', 'change' ]
          }
        ]
      },
      formCollapseItem: [
        {
          name: "baseInfo",
          title: "基本信息",
          collapse: true,
        },
        {
          name: "columns",
          title: "付款信息",
          collapse: false,
        },
      ]
    }
  }
}
</script>

<style scoped>

</style>