<template>
    <el-form ref="form" :model="form" label-width="100px">
      <el-form-item :label="$t('center.security.oldpwd')">
        <el-col :span="4">
          <el-input type="password" :placeholder="$t('center.security.input_oldpwd',{oldpwd:$t('center.security.oldpwd')})"/>
        </el-col>
      </el-form-item>
      <el-form-item :label="$t('center.security.newpwd')">
        <el-col :span="4">
          <el-input type="password" :placeholder="$t('center.security.input_newpwd',{newpwd:$t('center.security.newpwd')})"/>
        </el-col>
      </el-form-item>
      <el-form-item :label="$t('center.security.confirmpwd')">
        <el-col :span="4">
          <el-input type="password" :placeholder="$t('center.security.input_confirmpwd',{newpwd:$t('center.security.newpwd')})"/>
        </el-col>
      </el-form-item>

      <el-form-item>
        <el-button type="primary" @click="onSubmit">{{$t('submit')}}</el-button>
      </el-form-item>
    </el-form>
</template>

<script lang="ts">
  import Vue from 'vue'

  export default Vue.extend({
    name: 'security',
    data(){
      return {
        form:{}
      }
    },
    methods:{
      onSubmit(){

      }
    }
  })
</script>
