|
@@ -5,7 +5,7 @@
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<div class="top">
|
|
<div class="top">
|
|
- <el-input placeholder="企业名称" class="input-demo" v-model="companyNum"></el-input>
|
|
|
|
|
|
+ <el-input placeholder="企业名称" class="input-demo" v-model="companyName"></el-input>
|
|
<el-input placeholder="经办人姓名" class="input-demo" v-model="operatorName"></el-input>
|
|
<el-input placeholder="经办人姓名" class="input-demo" v-model="operatorName"></el-input>
|
|
<el-button type="success" style="margin-left: 1%;" @click="firstLoadData">查询</el-button>
|
|
<el-button type="success" style="margin-left: 1%;" @click="firstLoadData">查询</el-button>
|
|
<el-button type="success" style="margin-left: 1%;" @click="addOperatorList = true">添加经办人</el-button>
|
|
<el-button type="success" style="margin-left: 1%;" @click="addOperatorList = true">添加经办人</el-button>
|
|
@@ -275,9 +275,10 @@ export default{
|
|
]
|
|
]
|
|
|
|
|
|
},
|
|
},
|
|
- companyNum: ``,
|
|
|
|
|
|
+ companyName: ``,
|
|
operatorName: ``,
|
|
operatorName: ``,
|
|
comPanyNumList: [],
|
|
comPanyNumList: [],
|
|
|
|
+ customerCompanytable: [],
|
|
hightt: `0px`,
|
|
hightt: `0px`,
|
|
formOperatorList: {
|
|
formOperatorList: {
|
|
'custId': ``,
|
|
'custId': ``,
|
|
@@ -451,7 +452,7 @@ httpRequest(data) {
|
|
const formData = new FormData()
|
|
const formData = new FormData()
|
|
formData.append(`current`, this.current)
|
|
formData.append(`current`, this.current)
|
|
formData.append(`size`, this.pagesize)
|
|
formData.append(`size`, this.pagesize)
|
|
- formData.append(`companyNum`, this.companyNum)
|
|
|
|
|
|
+ formData.append(`companyName`, this.companyName)
|
|
formData.append(`operatorName`, this.operatorName)
|
|
formData.append(`operatorName`, this.operatorName)
|
|
const response = await this.$http.post(`customerCompany/page`, formData)
|
|
const response = await this.$http.post(`customerCompany/page`, formData)
|
|
if (response.data.code == 0) {
|
|
if (response.data.code == 0) {
|
|
@@ -551,7 +552,7 @@ httpRequest(data) {
|
|
// 分页方法
|
|
// 分页方法
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
this.pagesize = val
|
|
this.pagesize = val
|
|
- if (this.companyNum != `` || this.operatorName != ``) {
|
|
|
|
|
|
+ if (this.companyName != `` || this.operatorName != ``) {
|
|
this.queryLook()
|
|
this.queryLook()
|
|
} else {
|
|
} else {
|
|
this.loadData()
|
|
this.loadData()
|
|
@@ -559,7 +560,7 @@ httpRequest(data) {
|
|
},
|
|
},
|
|
handleCurrentChange(val) {
|
|
handleCurrentChange(val) {
|
|
this.current = val
|
|
this.current = val
|
|
- if (this.companyNum != `` || this.operatorName != ``) {
|
|
|
|
|
|
+ if (this.companyName != `` || this.operatorName != ``) {
|
|
this.queryLook()
|
|
this.queryLook()
|
|
} else {
|
|
} else {
|
|
this.loadData()
|
|
this.loadData()
|