dengjunjie
2025-04-26 18d2f40bbf40469b033de6f07ca8a8e3bc191132
项目代码/WCS/WIDESEAWCS_Client/src/views/system/UserInfo.vue
@@ -1,11 +1,27 @@
<template>
  <VolBox :width="500" :height="270" v-model="modifyOptions.model" title="淇敼瀵嗙爜">
  <VolBox
    :width="500"
    :height="270"
    v-model="modifyOptions.model"
    title="淇敼瀵嗙爜"
  >
    <div style="padding:10px;20px;">
      <VolForm ref="pwd" :formRules="modifyOptions.data" :formFields="modifyOptions.fields"></VolForm>
      <VolForm
        ref="pwd"
        :formRules="modifyOptions.data"
        :formFields="modifyOptions.fields"
      ></VolForm>
    </div>
    <template #footer>
      <div style="text-align: center;">
        <el-button type="primary" size="mini" icon="md-checkmark-circle" long @click="savePwd">淇濆瓨</el-button>
      <div style="text-align: center">
        <el-button
          type="primary"
          size="mini"
          icon="md-checkmark-circle"
          long
          @click="savePwd"
          >淇濆瓨</el-button
        >
      </div>
    </template>
  </VolBox>
@@ -21,7 +37,14 @@
            <span>娉ㄥ唽鏃ユ湡锛歿{ userInfo.createDate }}</span>
          </p>
          <p>
            <el-button type="error" @click="modifyPwd" size="small" icon="md-lock" long>淇敼瀵嗙爜</el-button>
            <el-button
              type="error"
              @click="modifyPwd"
              size="small"
              icon="md-lock"
              long
              >淇敼瀵嗙爜</el-button
            >
            <!-- <el-button
              style="padding: 3px 16px"
              @click="modifyImg"
@@ -35,7 +58,13 @@
      </div>
    </div>
    <div class="right">
      <vol-form ref="form" :load-key="true" :width="500" :formRules="editFormOptions" :formFields="editFormFields">
      <vol-form
        ref="form"
        :load-key="true"
        :width="500"
        :formRules="editFormOptions"
        :formFields="editFormFields"
      >
        <div class="footer">
          <!-- <el-button
            style="margin-top: 2px"
@@ -49,7 +78,6 @@
        </div>
      </vol-form>
    </div>
  </div>
</template>
<script>
@@ -99,7 +127,7 @@
    },
  },
  created() {
    this.http.post("/api/Sys_User/getCurrentUserInfo", {}, true).then((x) => {
    this.http.post("/api/User/getCurrentUserInfo", {}, true).then((x) => {
      if (!x.status) {
        return this.$message(x.message);
      }
@@ -177,11 +205,12 @@
        ],
        [
          {
            columnType: "string",
            dataKey: "tree_roles",
            title: "瑙掕壊",
            field: "roleName",
            field: "role_Id",
            disabled: true,
            type: "text",
            data: [],
            type: "select",
          },
        ],
        [
@@ -234,15 +263,15 @@
  padding-bottom: 20px;
}
.binding-group>>>.ivu-cell-link {
.binding-group >>> .ivu-cell-link {
  text-align: left;
}
.binding-group>>>.ivu-card-body {
.binding-group >>> .ivu-card-body {
  padding: 0 16px;
}
.binding-group>>>.ivu-cell-title {
.binding-group >>> .ivu-cell-title {
  line-height: 24px;
  font-size: 12px;
}
@@ -277,7 +306,7 @@
      font-weight: 900;
    }
    >p {
    > p {
      padding-top: 5px;
    }
  }
@@ -292,7 +321,7 @@
    border: 3px solid #dfdfdf;
  }
  >div {
  > div {
    float: left;
    // height: 480px;
    padding-top: 10px;