export default {
  tabs: true,
  tabsActive: 1,
  submitBtn: false,
  emptyBtn: false,
  group: [
    {
      label: '個人信息',
      prop: 'info',
      column: [
        /*{
        label: '頭像',
        type: 'upload',
        listType: 'picture-img',
        propsHttp: {
          res: 'data',
          url: 'link',
        },
        canvasOption: {
          text: ' ',
          ratio: 0.1
        },
        action: '/api/blade-resource/oss/endpoint/put-file',
        tip: '只能上傳jpg/png用戶頭像，且不超過500kb',
        span: 12,
        row: true,
        prop: 'avatar'
      },*/
        {
        label: '姓名',
        span: 12,
        row: true,
        disabled: true,
        prop: 'name'
      }, {
        label: 'Mo碼',
        span: 12,
        row: true,
        prop: 'code',
        disabled: true,
      }, {
        label: 'EHR號',
        span: 12,
        row: true,
        prop: 'ehr',
        disabled: true,
      }, {
        label: '所屬機構',
        prop: 'deptName',
        span: 12,
        row: true,
        disabled: true,
      }, {
        label: '所屬角色',
        prop: 'roleName',
        span: 12,
        row: true,
        disabled: true,
      }]
    },
    {
      label: '修改密碼',
      prop: 'password',
      column: [{
        label: '原密碼',
        span: 12,
        row: true,
        type: 'password',
        prop: 'oldPassword',
        rules: [{
          required: true,
          message: "請輸入原密碼",
          trigger: "blur"
        }]
      }, {
        label: '新密碼',
        span: 12,
        row: true,
        type: 'password',
        prop: 'newPassword',
        rules: [{
          required: true,
          message: "請輸入新密碼",
          trigger: "blur"
        }]
      }, {
        label: '確認密碼',
        span: 12,
        row: true,
        type: 'password',
        prop: 'newPassword1',
        rules: [{
          required: true,
          message: "請重複新密碼",
          trigger: "blur"
        }]
      }]
    }
  ],
}
