Browse Source

name=> personName

zhengkaixin 4 years ago
parent
commit
1e6827c072

+ 1 - 1
src/projects/business/views/Master/Attendance/Apply.vue

@@ -272,7 +272,7 @@
 					this.personList.forEach(function(item, index) {
 						list.push({
 							value: item.id,
-							text: item.name
+							text: item.personName
 						});
 					})
 					return list;

+ 1 - 1
src/projects/business/views/Master/Attendance/LeaveForm.vue

@@ -155,7 +155,7 @@
                     var sz=[];
 					for (var i in response.data) {
 						var mod = response.data[i]
-						mod.text = mod.name
+						mod.text = mod.personName
 						mod.value = mod.id;
                         sz.push(mod)
 					}

+ 1 - 1
src/projects/business/views/Master/Attendance/Sign.vue

@@ -365,7 +365,7 @@
 					this.personList.forEach(function(item, index) {
 						list.push({
 							value: item.id,
-							text: item.name
+							text: item.personName
 						});
 					})
 					return list;

+ 1 - 1
src/projects/business/views/Master/BusinessTravel/Form.vue

@@ -109,7 +109,7 @@
 					for (var i = 0; i < list.length; i++) {
 						approvalPersonList.push({
 							value: list[i]['id'],
-							text: list[i]['name']
+							text: list[i]['personName']
 						})
 					}
 					if (approvalPersonList.length) {

+ 1 - 1
src/projects/business/views/Master/Egress/Form.vue

@@ -109,7 +109,7 @@
 					for (var i = 0; i < list.length; i++) {
 						approvalPersonList.push({
 							value: list[i]['id'],
-                            text: list[i]['name']
+                            text: list[i]['personName']
 						})
 					}
 					if (approvalPersonList.length) {