Quellcode durchsuchen

录用人和接口字段更改线上问题

Shan9312 vor 3 Monaten
Ursprung
Commit
ad81ce05c2

BIN
dist-现代牧业-正式-20241127.zip


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/index.html


+ 1 - 1
src/views/cost/diesel/index.vue

@@ -101,7 +101,7 @@
       </el-table-column>
         <el-table-column label="录用人" width="80px" align="center">
         <template slot-scope="scope">
-          <span>{{ employename }}</span>
+          <span>{{ scope.row.employName }}</span>
         </template>
       </el-table-column>
         <el-table-column label="柴油类型" width="80px" align="center">

+ 6 - 3
src/views/custom/receive/index.vue

@@ -634,7 +634,9 @@ export default {
         total: 0,
         getdataListParm: {
           name: 'getPartapplyWebListNO', page: 1, offset: 1, getTotal: 'total3', pagecount: 50, returntype: 'Map',
-          parammaps: {}
+          parammaps: {
+            empId: Cookies.get('employeid'),
+          }
         }
       },
       depids: []
@@ -755,7 +757,7 @@ export default {
       this.pending.getdataListParm.parammaps.menu = this.getdataListParm.parammaps.menu
       this.pending.getdataListParm.parammaps.logindeptId = this.getdataListParm.parammaps.logindeptId
       this.pending.getdataListParm.parammaps.loginpastureId = this.getdataListParm.parammaps.loginpastureId
-      this.pending.getdataListParm.parammaps.empId = this.getdataListParm.parammaps.empId
+      this.pending.getdataListParm.parammaps.empId = this.getdataListParm.parammaps.empId || Cookies.get('employeid'),
       this.pending.getdataListParm.parammaps.pastureId =this.getdataListParm.parammaps.pastureId || Cookies.get('pastureid')
       this.pending.getdataListParm.parammaps.deptId = Cookies.get('departmentid')
       GetDataByName(this.pending.getdataListParm).then(response => {
@@ -846,7 +848,8 @@ export default {
           loginpastureId: Cookies.get('pastureid'),
           empId: Cookies.get('employeid'),
           pastureId:this.getdataListParm.parammaps.pastureId ||  Cookies.get('pastureid'),
-          deptId: Cookies.get('departmentid')
+          deptId: Cookies.get('departmentid'),
+          empId: Cookies.get('employeid'),
         }
         this.get_table_data()
       } else if (this.radioAll === '已处理') {

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.