AuthenticationIndex.vue 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <template>
  2. <div class="create-container">
  3. <div class="create-body">
  4. <div class="title">选择认证类型</div>
  5. <el-row type="flex" justify="center" align="middle" style="margin-top: 100px;margin-bottom: 100px;" :gutter="50">
  6. <el-col :span="6">
  7. <el-card :body-style="{ padding: '0px' }" style="cursor: pointer;">
  8. <i class="el-icon-user-solid image" style="color:#909399" @click="toIndividualAuthentication"></i>
  9. <div style="text-align: center;font-size: 12px"><span>认证为个人用户,可以创建项目</span></div>
  10. <div @click="toIndividualAuthentication" style="padding: 14px;text-align: center;font-size: 20px">
  11. <span>个人认证</span>
  12. </div>
  13. </el-card>
  14. </el-col>
  15. <!-- <el-col :span="6">-->
  16. <!-- <el-card :body-style="{ padding: '0px' }" style="cursor: pointer;">-->
  17. <!-- <i class="el-icon-s-cooperation image" style="color:#909399" @click="toEnterpriseAuthentication"></i>-->
  18. <!-- <div style="text-align: center;font-size: 12px"><span>认证为企业用户,可以创建项目</span></div>-->
  19. <!-- <div @click="toEnterpriseAuthentication" style="padding: 14px;text-align: center;font-size: 20px">-->
  20. <!-- <span>企业认证</span>-->
  21. <!-- </div>-->
  22. <!-- </el-card>-->
  23. <!-- </el-col>-->
  24. <el-col :span="6">
  25. <el-card :body-style="{ padding: '0px' }" style="cursor: pointer;">
  26. <i class="el-icon-s-tools image" style="color:#909399;" @click="toAgencyAuthentication"></i>
  27. <div style="text-align: center;font-size: 12px"><span>认证为测评机构,可以接收任务</span></div>
  28. <div @click="toAgencyAuthentication" style="padding: 14px;text-align: center;font-size: 20px">
  29. <span>机构认证</span>
  30. </div>
  31. </el-card>
  32. </el-col>
  33. </el-row>
  34. </div>
  35. </div>
  36. </template>
  37. <script>
  38. export default {
  39. name: 'AuthenticationIndex',
  40. data () {
  41. return {}
  42. },
  43. methods: {
  44. test () {
  45. console.log('click')
  46. },
  47. toIndividualAuthentication () {
  48. this.$router.push({
  49. name: 'IndividualAuthenticationCreate',
  50. // params: {projectId: projectId, taskId: taskId}
  51. })
  52. },
  53. toEnterpriseAuthentication () {
  54. this.$router.push({
  55. name: 'EnterpriseAuthenticationCreate',
  56. // params: {projectId: projectId, taskId: taskId}
  57. })
  58. },
  59. toAgencyAuthentication () {
  60. this.$router.push({
  61. name: 'AgencyAuthenticationCreate',
  62. // params: {projectId: projectId, taskId: taskId}
  63. })
  64. }
  65. }
  66. }
  67. </script>
  68. <style scoped>
  69. .image {
  70. font-size: 150px;
  71. text-align: center;
  72. display: block;
  73. }
  74. </style>