From 7fb0a8f0ab16c149484bf043754cd10cfa94de2f Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 19 一月 2026 14:48:05 +0800
Subject: [PATCH] 增加了业务员,保管员和验收员的对应的显示

---
 src/views/system/user/Xt_UserGroupList.vue |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/src/views/system/user/Xt_UserGroupList.vue b/src/views/system/user/Xt_UserGroupList.vue
index a0a7808..ace6296 100644
--- a/src/views/system/user/Xt_UserGroupList.vue
+++ b/src/views/system/user/Xt_UserGroupList.vue
@@ -148,11 +148,11 @@
       </el-dialog>
       <!-- 缂栬緫 -->
       <el-dialog title="缂栬緫" :visible.sync="openEdit" width="1480px" append-to-body class="xsckdBox" @close="close">
-        <edit :OperationType=OperationType :linterid="this.rowForm.hmainid" @editClose="editClose" v-if="editShow" />
+        <edit :OperationType="OperationType" :linterid="this.rowForm.HGroupID" @editClose="editClose" v-if="editShow" />
       </el-dialog>
       <!-- 鏉冮檺 -->
       <el-dialog title="瑙掕壊鏉冮檺" :visible.sync="openQuery" width="1480px" append-to-body class="xsckdBox">
-        <Query HSouceBillType="js" @editQueryClose="editQueryClose" :linterid=this.rowForm.HGroupID v-if="queryShow" />
+        <Query HSouceBillType="js" @editQueryClose="editQueryClose" :linterid="this.rowForm.HGroupID" v-if="queryShow" />
       </el-dialog>
     </div>
   </div>
@@ -282,7 +282,7 @@
     //#region 閫変腑琛岄珮浜牱寮�
     rowStyle({ row, rowIndex }) {
       if (this.ids.includes(row.hmainid)) {
-        return { "background": "#ecf5ff" }
+        return {  }
       }
     },
     //#endregion
@@ -290,7 +290,7 @@
     //#region 鍙屽嚮琛�
     handleDblclick(row, column, cell, event) {
       this.OperationType = 3
-      this.handleEdit()
+      this.handleEdit(row)
     },
     //#endregion
 
@@ -308,7 +308,7 @@
     
     //#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
     fetchData() {
-      axios.get(this.baseURL + "/Web/GetOrganizations", {
+      axios.get(this.$baseUrl + "/Web/GetOrganizations", {
       }).then(response => {
         if (response.data.count == 1) {
           this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -432,7 +432,7 @@
       this.loading = true
       
       // 鍒楄〃鏌ヨ
-      axios.get(this.baseURL + '/Xt_UserGroup/list', {
+      axios.get(this.$baseUrl + '/Xt_UserGroup/list', {
         params: {
           "sWhere": this.sWhere,
         },
@@ -519,7 +519,9 @@
 
     //#region 鏂板
     handleAddEdit() {
-      this.rowForm.hmainid = 0
+      this.OperationType = 1
+      this.rowForm.HGroupID = 0
+      console.log(' OperationType=', this.OperationType, 'rowForm.HGroupID=', this.rowForm.HGroupID)
       this.editShow = true
       this.openEdit = true
     },
@@ -528,6 +530,7 @@
     //#region 缂栬緫
     handleEdit(row) {
       this.rowForm = row
+      console.log('OperationType=', this.OperationType, 'rowForm=', this.rowForm)
       this.editShow = true
       this.openEdit = true
     },
@@ -542,7 +545,7 @@
     //#region 鍒犻櫎
     handleDelete() {
       this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
-        axios.get(this.baseURL + "/Xt_UserGroup/DelXt_UserGroupList", {
+        axios.get(this.$baseUrl + "/Xt_UserGroup/DelXt_UserGroupList", {
             params: { 'HInterID': this.rowForm.HGroupID.toString(), 'user': sessionStorage["HUserName"] }
           }).then(response => {
             if (response.data.count == 1) {
@@ -571,7 +574,7 @@
     },
     DisPlay_HideColumn(HModName, user, option, dataOption) {
       this.totalNameList = []
-      axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+      axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
         params: {
           "HModName": HModName,
           "user": user,
@@ -737,7 +740,7 @@
     //#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
     defaintOperationByCompanyName() {
       var result = false;
-      axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+      axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
         var data1 = response.data
         if (data1.count == 1) {
           if (data1.data == "姘村姟") {

--
Gitblit v1.9.1