|
@@ -85,7 +85,7 @@
|
|
|
<script>
|
|
|
export default {
|
|
|
name: "index",
|
|
|
- props:['disabled','ownertable','ownerid','name','placement','isParam','newParam','isReadonly'],
|
|
|
+ props:['disabled','ownertable','ownerid','name','placement','isParam','newParam','isReadonly','phonenumber'],
|
|
|
data(){
|
|
|
return {
|
|
|
list:[],
|
|
@@ -95,6 +95,7 @@ export default {
|
|
|
param:{
|
|
|
"id": 20240531152004,
|
|
|
"content": {
|
|
|
+ "phonenumber":'',
|
|
|
"ownertable":"sa_project",// 客户 sys_enterprise 项目 sa_project
|
|
|
"ownerid":"7074",// 客户 sys_enterpriseid 项目 sa_projectid
|
|
|
"pageNumber": 1,
|
|
@@ -102,7 +103,6 @@ export default {
|
|
|
"where":{
|
|
|
"condition":""
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
nameValue:''
|
|
@@ -110,12 +110,17 @@ export default {
|
|
|
},
|
|
|
methods:{
|
|
|
async listData(){
|
|
|
+ console.log('激活')
|
|
|
+ console.log(this.phonenumber,'手机号')
|
|
|
if (this.isParam){
|
|
|
this.param = this.newParam
|
|
|
}else {
|
|
|
this.param.content.ownertable = this.ownertable
|
|
|
this.param.content.ownerid = this.ownerid
|
|
|
}
|
|
|
+ if (this.phonenumber) {
|
|
|
+ this.param.content.phonenumber = this.phonenumber
|
|
|
+ }
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
this.list = res.data
|
|
|
this.total = res.total
|