Commit 3c7b9713 authored by 黄奎's avatar 黄奎

页面修改

parent a834bf06
......@@ -1179,13 +1179,6 @@
}, res => {
if (res.data.resultCode == 1) {
let x = res.data.data;
// this.customerInfo=res.data.data
// if(this.customerInfo.address.indexOf(',')!=-1){
// this.customerInfo.address=this.customerInfo.address.split(',')[1]
// }else{
// this.customerInfo.address=this.customerInfo.address
// }
// this.contact=res.data.data.contact
this.updateMsg.contactNumber = x.contactNumber
this.updateMsg.CustomerName = x.customerName
this.updateMsg.Contact = x.contactName
......@@ -1220,9 +1213,6 @@
}, res => {
if (res.data.resultCode == 1) {
this.cityList = res.data.data;
// this.regionList=[]
// this.updateMsg.City=''
// this.updateMsg.District=''
}
}, err => {})
},
......@@ -1232,8 +1222,7 @@
"level": 3
}, res => {
if (res.data.resultCode == 1) {
this.regionList = res.data.data
// this.updateMsg.District=''
this.regionList = res.data.data;
}
}, err => {})
},
......@@ -1324,7 +1313,6 @@
}, res => {
if (res.data.resultCode == 1) {
if (res.data.data.customerInfo.customerId > 0) {
this.isOldPerson = true
let x = res.data.data.customerInfo
this.addMsg = x
......@@ -1459,7 +1447,6 @@
blank: 'y'
}
})
},
goUrlT(path, id) {
this.$router.push({
......@@ -1477,17 +1464,19 @@
this.msg.CustomerStatus = type
this.getList()
},
getList() { // 获取列表数据
// 获取列表数据
getList() {
this.dataList = []
this.loading = true;
this.apipost('app_get_my_customer_list', this.msg, res => {
if (res.data.resultCode == 0) {
this.loading = false;
this.dataList = []
} else {
this.loading = false;
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
this.total = res.data.data.count;
this.loading = false;
}
}, err => {})
}, err => {
this.loading = false;
})
},
getCustomerBrandList() { // 获取品牌
this.apipost('app_get_customer_brand', {}, res => {
......@@ -1519,7 +1508,6 @@
if (this.saveMsg && this.saveMsg.length > 0) {
this.addMsg.SigningFile = this.saveMsg[0].Path
}
}
if (this.updateMsg.Email) {
......
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