Commit 4610a4a3 authored by huangjie's avatar huangjie

商机列表

parent 46c78552
...@@ -206,7 +206,7 @@ export default { ...@@ -206,7 +206,7 @@ export default {
minAmount:'',//投资估算最小值 minAmount:'',//投资估算最小值
maxAmount:'',//投资估算最大值 maxAmount:'',//投资估算最大值
searchParam: { searchParam: {
userId:null,//个人项目需传,公司项目不传 isPrivate:1,//0 公司 1 个人
projectName:'',//项目名称 projectName:'',//项目名称
ownerCompany:'',//业主单位 ownerCompany:'',//业主单位
projectType:'',//项目类型 projectType:'',//项目类型
...@@ -299,9 +299,9 @@ export default { ...@@ -299,9 +299,9 @@ export default {
this.isSkeleton = true this.isSkeleton = true
this.searchParam.pageNum = pageNum this.searchParam.pageNum = pageNum
if(this.activeName == 'first'){ if(this.activeName == 'first'){
this.searchParam.userId = this.$store.state.user.userId this.searchParam.isPrivate = 1
}else{ }else{
this.searchParam.userId = null this.searchParam.isPrivate = 0
} }
this.searchParam.ownerCompany = this.searchParam.projectName this.searchParam.ownerCompany = this.searchParam.projectName
getProjectlist(this.searchParam).then(result=>{ getProjectlist(this.searchParam).then(result=>{
...@@ -332,7 +332,7 @@ export default { ...@@ -332,7 +332,7 @@ export default {
this.$refs.myCascader.$refs.panel.activePath = [] this.$refs.myCascader.$refs.panel.activePath = []
}) })
this.searchParam ={ this.searchParam ={
userId:null, isPrivate:1,
projectName:'',//项目名称 projectName:'',//项目名称
ownerCompany:'',//业主单位 ownerCompany:'',//业主单位
projectType:'',//项目类型 projectType:'',//项目类型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment