Commit 5be3a769 authored by youjie's avatar youjie

no message

parent 3c585488
...@@ -379,10 +379,15 @@ ...@@ -379,10 +379,15 @@
methods: { methods: {
// 获取客户类型 // 获取客户类型
getType(){ getType(){
this.supplierMsg.Type = this.addMsg.Type if(this.addMsg.Type==4){
this.supplierMsg.Type = 5
}else{
this.supplierMsg.Type = this.addMsg.Type
}
if(this.addMsg.Type!=10){ if(this.addMsg.Type!=10){
this.addMsg.ObjID = null this.addMsg.ObjID = null
this.addMsg.ObjIdStr = '' this.addMsg.ObjIdStr = ''
this.supplierMsg.Name = ''
// this.getSupplierGetPageList() // this.getSupplierGetPageList()
}else{ }else{
this.addMsg.ObjID = this.$route.query.id this.addMsg.ObjID = this.$route.query.id
...@@ -406,12 +411,12 @@ ...@@ -406,12 +411,12 @@
} }
}, },
getSupplierGetPageList(){ getSupplierGetPageList(){
if(this.supplierMsg.Type==10) { if(this.addMsg.Type==10) {
return return
} }
let url = "supplier_get_GetPageList" let url = "supplier_get_GetPageList"
let msg = JSON.parse(JSON.stringify(this.supplierMsg)) let msg = JSON.parse(JSON.stringify(this.supplierMsg))
if(this.supplierMsg.Type==5) { if(this.addMsg.Type==5) {
url = "dmc_post_visa_GetCommuneInfoPageList" url = "dmc_post_visa_GetCommuneInfoPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -424,7 +429,7 @@ ...@@ -424,7 +429,7 @@
Province:"" Province:""
} }
} }
if(this.supplierMsg.Type==7) { if(this.addMsg.Type==7) {
url = "leader_post_GetPageList" url = "leader_post_GetPageList"
msg = { msg = {
Type:"0", Type:"0",
...@@ -438,7 +443,7 @@ ...@@ -438,7 +443,7 @@
LeaderGuidClass:-1 LeaderGuidClass:-1
} }
} }
if(this.supplierMsg.Type==8) { if(this.addMsg.Type==8) {
url = "app_customer_GetCustomerListForCareOf" url = "app_customer_GetCustomerListForCareOf"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -456,7 +461,7 @@ ...@@ -456,7 +461,7 @@
ExceptionCount:0, ExceptionCount:0,
} }
} }
if(this.supplierMsg.Type==9) { if(this.addMsg.Type==9) {
url = "admin_get_EmployeeList" url = "admin_get_EmployeeList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -475,7 +480,7 @@ ...@@ -475,7 +480,7 @@
IsParentCompany:1 IsParentCompany:1
} }
} }
if(this.supplierMsg.Type==11) { if(this.addMsg.Type==11) {
url = "travel_get_GetGroundingSupplierPageList" url = "travel_get_GetGroundingSupplierPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -487,7 +492,7 @@ ...@@ -487,7 +492,7 @@
Id:"" Id:""
} }
} }
if(this.supplierMsg.Type==6) { if(this.addMsg.Type==6) {
url = "airline_post_GetPageList" url = "airline_post_GetPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -516,12 +521,12 @@ ...@@ -516,12 +521,12 @@
Name: '', Name: '',
ID: 0 ID: 0
} }
if(this.supplierMsg.Type==9||this.supplierMsg.Type==8){ if(this.addMsg.Type==9||this.addMsg.Type==8){
Obj = { Obj = {
Name: x.EmName, Name: x.EmName,
ID: x.EmployeeId ID: x.EmployeeId
} }
}else if(this.supplierMsg.Type==6){ }else if(this.addMsg.Type==6){
Obj = { Obj = {
Name: x.AlName, Name: x.AlName,
ID: x.AirLineId ID: x.AirLineId
......
...@@ -572,8 +572,13 @@ export default { ...@@ -572,8 +572,13 @@ export default {
this.supplierList = [] this.supplierList = []
this.addMsg.ObjID = null this.addMsg.ObjID = null
this.addMsg.ObjIdStr = '' this.addMsg.ObjIdStr = ''
this.supplierMsg.Type = this.addMsg.Type this.supplierMsg.Name = ''
this.getSupplierGetPageList() if(this.addMsg.Type==4){
this.supplierMsg.Type = 5
}else{
this.supplierMsg.Type = this.addMsg.Type
}
// this.getSupplierGetPageList()
}, },
getObjName(){ getObjName(){
this.supplierList.filter(x=>{ this.supplierList.filter(x=>{
...@@ -592,14 +597,14 @@ export default { ...@@ -592,14 +597,14 @@ export default {
} }
}, },
getSupplierGetPageList(){ getSupplierGetPageList(){
if(this.supplierMsg.Type==10) { if(this.addMsg.Type==10) {
this.addMsg.ObjID = this.addMsg.CreateBy this.addMsg.ObjID = this.addMsg.CreateBy
return return
} }
this.addMsg.ObjID = null this.addMsg.ObjID = null
let url = "supplier_get_GetPageList" let url = "supplier_get_GetPageList"
let msg = JSON.parse(JSON.stringify(this.supplierMsg)) let msg = JSON.parse(JSON.stringify(this.supplierMsg))
if(this.supplierMsg.Type==5) { if(this.addMsg.Type==5) {
url = "dmc_post_visa_GetCommuneInfoPageList" url = "dmc_post_visa_GetCommuneInfoPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -612,7 +617,7 @@ export default { ...@@ -612,7 +617,7 @@ export default {
Province:"" Province:""
} }
} }
if(this.supplierMsg.Type==7) { if(this.addMsg.Type==7) {
url = "leader_post_GetPageList" url = "leader_post_GetPageList"
msg = { msg = {
Type:"0", Type:"0",
...@@ -626,7 +631,7 @@ export default { ...@@ -626,7 +631,7 @@ export default {
LeaderGuidClass:-1 LeaderGuidClass:-1
} }
} }
if(this.supplierMsg.Type==8) { if(this.addMsg.Type==8) {
url = "app_customer_GetCustomerListForCareOf" url = "app_customer_GetCustomerListForCareOf"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -644,7 +649,7 @@ export default { ...@@ -644,7 +649,7 @@ export default {
ExceptionCount:0 ExceptionCount:0
} }
} }
if(this.supplierMsg.Type==9) { if(this.addMsg.Type==9) {
url = "admin_get_EmployeeList" url = "admin_get_EmployeeList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -663,7 +668,7 @@ export default { ...@@ -663,7 +668,7 @@ export default {
IsParentCompany:1 IsParentCompany:1
} }
} }
if(this.supplierMsg.Type==11) { if(this.addMsg.Type==11) {
url = "travel_get_GetGroundingSupplierPageList" url = "travel_get_GetGroundingSupplierPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -675,7 +680,7 @@ export default { ...@@ -675,7 +680,7 @@ export default {
Id:"" Id:""
} }
} }
if(this.supplierMsg.Type==6) { if(this.addMsg.Type==6) {
url = "airline_post_GetPageList" url = "airline_post_GetPageList"
msg = { msg = {
pageIndex:1, pageIndex:1,
...@@ -704,12 +709,12 @@ export default { ...@@ -704,12 +709,12 @@ export default {
Name: '', Name: '',
ID: 0 ID: 0
} }
if(this.supplierMsg.Type==9||this.supplierMsg.Type==8){ if(this.addMsg.Type==9||this.addMsg.Type==8){
Obj = { Obj = {
Name: x.EmName, Name: x.EmName,
ID: x.EmployeeId ID: x.EmployeeId
} }
}else if(this.supplierMsg.Type==6){ }else if(this.addMsg.Type==6){
Obj = { Obj = {
Name: x.AlName, Name: x.AlName,
ID: x.AirLineId ID: x.AirLineId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment