yangfeng
2024-01-08 8b9777c61dad679ea40d06a25f0e4e90da5f53cf
编辑用户修改、编辑用户等级页面修改
2个文件已修改
19 ■■■■ 已修改文件
src/views/unifiedManage/userLevel/components/AddUserLevel.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/unifiedManage/userManage/components/EditUserInfo.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/unifiedManage/userLevel/components/AddUserLevel.vue
@@ -85,12 +85,6 @@
          infomation: {}
        }
      }
    },
    editRow: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  components: {},
@@ -207,7 +201,7 @@
      this.$refs[formName].validate((valid) => {
        console.log(valid)
        if (valid) {
          let submitFn = this.editRow.id ? updateRole : addRole
          let submitFn = this.editConfig.title === "编辑" ? updateRole : addRole
          let param = this.saveParams()
          submitFn(param).then((reply) => {
            if (reply && reply.code === 200) {
@@ -253,7 +247,7 @@
        subsystemIDs: subsystemIDs,
        role: {
          allMenu: allMenuIds.join(),
          id: this.editRow.id,
          id: this.editConfig.infomation.id,
          comment: data.comment || "",
          name: data.name || "",
          useType: 1
src/views/unifiedManage/userManage/components/EditUserInfo.vue
@@ -17,14 +17,7 @@
            <el-input v-model="editConfig.form.password" placeholder="--" disabled></el-input>
          </el-form-item>
          <el-form-item label="手机号:" prop="phone">
            <el-input-number
              v-model="editConfig.form.phone"
              placeholder=""
              :min="0"
              :controls="false"
              disabled
              style="width: 100%"
            ></el-input-number>
            <el-input v-model="editConfig.form.phone" placeholder="--" disabled></el-input>
          </el-form-item>
          <el-form-item label="公司名称:" prop="companyName">
            <el-input v-model="editConfig.form.company" placeholder="--" disabled></el-input>