陈婷婷
2025-11-19 00b790007f9505c2b11e429d13db94e8e431d142
src/views/system/user/xtUserList.vue
@@ -105,8 +105,7 @@
          @click="handleEdit(row = rowForm, OperationType = 3)">编辑</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="primary" icon="el-icon-share" size="mini" :disabled="single"
          @click="openQuery = true">权限</el-button>
        <el-button type="primary" icon="el-icon-share" size="mini" :disabled="single" @click="queryClick">权限</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="primary" icon="el-icon-delete" size="mini" :disabled="single" @click="handleDelete">删除
@@ -147,7 +146,7 @@
          :copyType="copyType" @editClose="editClose" v-if="editShow" />
      </el-dialog>
      <el-dialog title="用户权限" :visible.sync="openQuery" width="1480px" append-to-body class="xsckdBox">
        <Query />
        <Query HSouceBillType="yh" @editQueryClose="editQueryClose" :linterid=this.rowForm.用户编码 v-if="queryShow" />
      </el-dialog>
    </div>
  </div>
@@ -157,7 +156,7 @@
import axios from 'axios'
import RowSettings from '@/views/component/rowSettings'
import Edit from '@/views/system/user/xtUserListEdit.vue'
import Query from '@/views/system/user/xtUserRightQuery.vue'
import Query from '@/views/system/user/powerInformation.vue'
export default {
@@ -172,6 +171,7 @@
      activeSeach: '',
      HModName: 'Xt_UserList',
      editShow: false,
      queryShow: false,
      openEdit: false,
      totalNameList: [],
      tableShow: true,
@@ -213,7 +213,7 @@
      open: false,
      // 查询参数
      queryParams: {
        HUSEORGID: null,
        HUSEORGID: sessionStorage["OrganizationID"] - 0,
        HName: null,
        HNumber: null,
        Comparator1: '',
@@ -350,7 +350,6 @@
      if (this.pageSize == 0) {
        this.pageSize = 50
      }
      this.queryParams.HUSEORGID = sessionStorage["OrganizationID"] - 0
      // this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
      //列表
      axios.get(this.baseURL + '/Xt_User/list', {
@@ -667,7 +666,7 @@
    resetQuery() {
      this.sWhere = ''
      this.queryParams = {
        // HOrgID: null,
        HOrgID: null,
        HName: null,
        HNumber: null,
        Comparator1: '',
@@ -684,6 +683,7 @@
    //退出
    close() {
      this.tableShow = true
      this.single= true
      this.openEdit = false
      this.editShow = false
      this.getList()
@@ -695,7 +695,6 @@
        this.openEdit = true
        this.editShow = true
      })
    },
    //打开修改组件弹窗
    handleEdit() {
@@ -708,7 +707,19 @@
    editClose(val) {
      this.editShow = false
      this.openEdit = false
      this.multiple = true
      this.single= true
      this.ids = []
      this.getList()
    },
    queryClick() {
      this.queryShow = true
      this.openQuery = true
    },
    editQueryClose(val) {
      this.queryShow = false
      this.openQuery = false
      this.single= true
      this.ids = []
      this.getList()
    },
    /** 删除按钮操作 */