|
|
@@ -204,10 +204,10 @@ export default {
|
|
|
this.$refs.basicLayout.param.content.isAll = 0
|
|
|
this.$refs.basicLayout.param.content.type = 0
|
|
|
this.$refs.basicLayout.param.content.deleted = 1
|
|
|
+ this.$refs.basicLayout.param.content.sort = [{reversed:0,sorted:1,sortid:183,sortname:'作废时间倒序'}]
|
|
|
this.$refs.basicLayout.listData()
|
|
|
},
|
|
|
applicationChange(val){
|
|
|
- console.log(val)
|
|
|
this.$emit("changeApplication",val)
|
|
|
},
|
|
|
/*客户类型列表*/
|
|
|
@@ -226,8 +226,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.option.typeData = res.data
|
|
|
- console.log("客户类型",res.data)
|
|
|
- console.log(this.option.typeData)
|
|
|
|
|
|
},
|
|
|
/*客户等级*/
|
|
|
@@ -245,7 +243,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- console.log("客户等级",res.data)
|
|
|
/*for (var i=0;i<res.data.length; i++){
|
|
|
if (res.data[i].remarks !== ''){
|
|
|
this.options.gradeData[i] = res.data[i].value + "——" + res.data[i].remarks
|
|
|
@@ -254,7 +251,6 @@ export default {
|
|
|
}
|
|
|
}*/
|
|
|
this.option.gradeData = res.data
|
|
|
- console.log("处理后客户等级",this.option.gradeData)
|
|
|
},
|
|
|
/*行业列表*/
|
|
|
async industryList(){
|
|
|
@@ -288,14 +284,12 @@ export default {
|
|
|
this.$refs['basicLayout'].listData()
|
|
|
},
|
|
|
checkboxCallBack(val){
|
|
|
- console.log(val,"客户")
|
|
|
this.selectData = []
|
|
|
val.forEach((item,index) => {
|
|
|
this.selectData[index] = item.sa_customersid
|
|
|
})
|
|
|
this.$refs.batchDeletion.length = this.selectData.length
|
|
|
this.$refs.batchRecovery.length = this.selectData.length
|
|
|
- console.log(this.selectData)
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|