index.vue 1.6 KB
<template>
  <div class="information from-clues">
    <div class="from-clues-header">
      <el-form ref="ruleForm" :model="form" label-width="100px">
        <el-form-item>
          <Breadcrumb />
        </el-form-item>
        <el-row class="mb-5">
          <el-col :span="3" class="btnColRight">
            <btn nativeType="cx" @click="information()">基本信息</btn>
            <btn nativeType="cx" @click="password()">修改秘密</btn>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <div class="from-clues-content">
      <div class="contentbox">
        <base-set :user-info="userData" v-show="isshow" />
        <password-edit :user-info="userData" v-show="!isshow" />
      </div>
    </div>
    <edit-dialog ref="dialogForm" />
    <authorizationdiglog ref="rolesForm" />
  </div>
</template>
<script>
import BaseSet from "./base-set.vue";
import PasswordEdit from "./password-edit.vue";
export default {
  components: {
    BaseSet,
    PasswordEdit,
  },
  data() {
    return {
      active: "baseSet",
      isshow: true,
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    information() {
      this.isshow = true;
    },
    password() {
      this.isshow = false;
    },
  },
};
</script>

<style scoped lang="scss">
@import "~@/styles/public.scss";
.information{
  .btnColRight{
  margin-top: 20px;
  }
   /deep/.content {
     .el-input__inner{
       background: none;
     }
      .user-info {
    background: none;
  }
    }
/deep/.el-tabs {

  .el-tabs__content {
    height: 100%;
    width: 100%;


  }
}
.contentbox{
height: 650px;
}
}

</style>