|
|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <basicLayout
|
|
|
+ <basicLayout
|
|
|
ref="basicLayout"
|
|
|
- formPath="publicCustomer"
|
|
|
- tableName="publicCustomerTable"
|
|
|
- idName="sa_customersid"
|
|
|
+ formPath="publicCustomer"
|
|
|
+ tableName="publicCustomerTable"
|
|
|
+ idName="sa_customersid"
|
|
|
:apiId="{query:20221011133602,del:''}"
|
|
|
:options="options"
|
|
|
:autoQuery="false"
|
|
|
@@ -255,7 +255,7 @@ export default {
|
|
|
/* 获取客户等级 */
|
|
|
let res2 = await this.$store.dispatch('optiontypeselect','customergrade')
|
|
|
this.customerLead = res2.data
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
/* 获取公海数据 */
|
|
|
async getPublicList() {
|
|
|
@@ -280,22 +280,6 @@ export default {
|
|
|
})
|
|
|
this.arealist = this.tool.createMenu(res.data)
|
|
|
},
|
|
|
- /*/!*获取公海列表*!/
|
|
|
- async queryPool(){
|
|
|
- const res = await this.$api.requested({
|
|
|
- "id": 20221009100702,
|
|
|
- "content": {
|
|
|
- "pageNumber": 1,
|
|
|
- "pageSize": 99,
|
|
|
- "where": {
|
|
|
- "condition": "",
|
|
|
- "startdate": "",
|
|
|
- "enddate": ""
|
|
|
- }
|
|
|
- },
|
|
|
- })
|
|
|
- this.option.poolList = res.data
|
|
|
- },*/
|
|
|
handleCommand(command){
|
|
|
this.tabIndex = command.sa_customerpoolid
|
|
|
this.poolValue = command.poolname
|
|
|
@@ -335,16 +319,7 @@ 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
|
|
|
- }else{
|
|
|
- this.options.gradeData[i] = res.data[i].value
|
|
|
- }
|
|
|
- }*/
|
|
|
this.option.customerClassification = res.data
|
|
|
- console.log("处理后客户等级",this.options.customerClassification)
|
|
|
},
|
|
|
/*客户等级*/
|
|
|
queryCustomerGrade(){
|
|
|
@@ -483,4 +458,4 @@ export default {
|
|
|
.s_panel{
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|