Commit 05360626 authored by zhangyanni's avatar zhangyanni

自推荐

意向
parent 3724c76a
......@@ -125,7 +125,8 @@ export default {
//获取收到的自推荐列表
getSelfListAxios(params){
return api.fetchLoadingPost(baseUrl+"/purpose/getRecommendProjects",params)
// return api.fetchLoadingPost(baseUrl+"/purpose/getRecommendProjects",params)
return api.fetchLoadingPost(baseUrl+"/purpose/getProjectsBelongRequirement",params);
},
//获取自推荐详情
......@@ -145,7 +146,8 @@ export default {
//发出的意向列表
getIntentionList(params){
return api.fetchLoadingPost(baseUrl+"/purpose/getPurposeProjectList",params)
// return api.fetchLoadingPost(baseUrl+"/purpose/getPurposeProjectList",params)
return api.fetchLoadingPost(baseUrl+"/purpose/getRequirementPurposeProjects",params)
},
//获取收到的意向详情
......
......@@ -89,7 +89,7 @@
{{$t("bigBusiness.detailInfo.look")}}
</el-button>
<el-button type="text" @click="handleSelf(scope.row)" :disabled="(isFlag&&userInfo.roleList[0].roleType==5&&(scope.row.requirementStatus!='RA03'))||selfDisabledFlag>0" v-loading.fullscreen="fullscreenLoading"
v-if="publicFun.isgetUserRoleFunc(8)||publicFun.isgetUserRoleFunc(4)||publicFun.isgetUserRoleFunc(7)">
v-if="(publicFun.isgetUserRoleFunc(8)||publicFun.isgetUserRoleFunc(4)||publicFun.isgetUserRoleFunc(7))&&!operationVisible">
{{scope.row.isCommunicated==1?$t("bigBusiness.detailInfo.hasGt"):$t("bigBusiness.detailInfo.oneself")}}
</el-button>
<el-button type="text" @click="handleSold(scope.row,2)" :disabled="(isFlag&&userInfo.roleList[0].roleType==5&&(scope.row.requirementStatus!='RA03'))||saleDisabledFlag>0" v-loading.fullscreen="fullscreenLoading"
......@@ -100,6 +100,14 @@
v-if="scope.row.isSoldOn&&operationVisible">
{{$t("bigBusiness.detailInfo.soldOn")}}
</el-button>
<el-button type="text" @click="handleToSelfList(scope.row)" :disabled="(isFlag&&userInfo.roleList[0].roleType==5)" v-loading.fullscreen="fullscreenLoading"
v-if="operationVisible">
{{$t("requireInfo.sendself")}}
</el-button>
<el-button type="text" @click="handleToIntentionList(scope.row)" :disabled="(isFlag&&userInfo.roleList[0].roleType==5)" v-loading.fullscreen="fullscreenLoading"
v-if="operationVisible">
{{$t("intention.title")}}
</el-button>
</template>
</el-table-column>
</el-table>
......@@ -724,6 +732,16 @@
},
// 去字推荐列表
handleToSelfList(item){
this.$router.push("/bigBusiness/selflist?id="+item.detailId);
},
// 去意向列表
handleToIntentionList(item){
this.$router.push("/bigBusiness/intentionList?id="+item.detailId);
},
//状态
handleChangeStatus(a,b) {
this.currentStatus = a;
......@@ -817,7 +835,6 @@
this.operationVisible = true;
this.navTitleList = ["requireList", "basicInfo"];
} else {//不是自己
this.navTitleList = ["requireList", "basicInfo"];
if (this.publicFun.isgetUserRoleFunc(8)||this.publicFun.isgetUserRoleFunc(4)||this.publicFun.isgetUserRoleFunc(7)) { //科创
this.oneSelfVisible = true;
......
......@@ -133,7 +133,9 @@
numberOfPages: this.page,
number: this.pageSize
},
search: {}
search: {
detailId:this.$route.query.id
}
};
api.getIntentionList(params).then((res) => {
this.fullscreenLoading = false;
......
......@@ -148,7 +148,9 @@
numberOfPages: this.page,
number: this.pageSize
},
search: {}
search: {
detailId:this.$route.query.id
},
};
api.getSelfListAxios(params).then((res)=>{
if(res.code==0){
......
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