Commit 5be3a769 authored by youjie's avatar youjie

no message

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