|
|
@@ -5,6 +5,7 @@
|
|
|
width="900"
|
|
|
v-model="show"
|
|
|
trigger="click">
|
|
|
+ <el-input autosize v-model="param.content.where.condition" placeholder="搜索" @change="listData" style="width: 200px;margin-bottom: 10px"></el-input>
|
|
|
<el-table
|
|
|
border
|
|
|
height="500px"
|
|
|
@@ -17,7 +18,7 @@
|
|
|
<span >{{ scope.row.name?scope.row.name:'--' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column width="120" label="联系方式">
|
|
|
+ <el-table-column width="120" label="联系dddd方式">
|
|
|
<template slot-scope="scope">
|
|
|
<span >{{ scope.row.phonenumber?scope.row.phonenumber:'--' }}</span>
|
|
|
</template>
|
|
|
@@ -75,7 +76,7 @@
|
|
|
:total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
- <el-input slot="reference" autosize v-model="name" placeholder="请填写联系人" @focus="listData" @change="listData" :disabled="disabled"></el-input>
|
|
|
+ <el-input slot="reference" autosize v-model="name" placeholder="请填写联系人" @focus="listData" :disabled="disabled"></el-input>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -107,7 +108,6 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
async listData(){
|
|
|
- this.param.content.where.condition = this.name
|
|
|
this.param.content.ownertable = this.ownertable
|
|
|
this.param.content.ownerid = this.ownerid
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
@@ -118,6 +118,7 @@ export default {
|
|
|
contactSelect(val){
|
|
|
this.name = val.name
|
|
|
this.show = false
|
|
|
+ this.param.content.where.condition = ''
|
|
|
this.$emit('contactData',val)
|
|
|
},
|
|
|
handleSizeChange(val) {
|