Commit fb296035 authored by danfuman's avatar danfuman

修改

parent 5c7c3147
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<label class="label label1">招标代理机构</label> <label class="label label1">招标代理机构</label>
<span class="span1">{{info.agency||"--"}}</span> <span class="span1">{{info.agency||"--"}}</span>
</p> </p>
</div> </div>
<div class="tip"> <div class="tip">
<span>温馨提示:</span>本栏信息全部来自政府建设主管单位,可作为该公司资质电报、招标投标业绩核实、优质工程(奖杯)申请、信用评估等用途使用。 <span>温馨提示:</span>本栏信息全部来自政府建设主管单位,可作为该公司资质电报、招标投标业绩核实、优质工程(奖杯)申请、信用评估等用途使用。
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</div> </div>
<div class="content main3"> <div class="content main3">
<div class="common-title">信息快照</div> <div class="common-title">信息快照</div>
<div class="main3-box" > <div class="main3-box" >
<img class="tip-img" :src="'https://imgs.jiansheku.com/'+info.snapshootPic" v-if="info.snapshootPic" /> <img class="tip-img" :src="'https://imgs.jiansheku.com/'+info.snapshootPic" v-if="info.snapshootPic" />
<div v-else class="no-data"> <div v-else class="no-data">
...@@ -92,8 +92,8 @@ ...@@ -92,8 +92,8 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
...@@ -125,7 +125,7 @@ export default { ...@@ -125,7 +125,7 @@ export default {
this.info = res.data this.info = res.data
} }
}).catch(error => { }).catch(error => {
}); });
} }
} }
...@@ -184,6 +184,7 @@ export default { ...@@ -184,6 +184,7 @@ export default {
font-size: 14px; font-size: 14px;
border-bottom: 1px solid #EFEFEF; border-bottom: 1px solid #EFEFEF;
padding-bottom: 14px; padding-bottom: 14px;
position: relative;
.list-titel { .list-titel {
font-size: 16px; font-size: 16px;
...@@ -324,7 +325,7 @@ export default { ...@@ -324,7 +325,7 @@ export default {
} }
.app-container { .app-container {
padding: 0; /*padding: 0;*/
} }
.qyzx-details { .qyzx-details {
...@@ -428,7 +429,7 @@ export default { ...@@ -428,7 +429,7 @@ export default {
.blue { .blue {
color: #0081FF !important; color: #0081FF !important;
cursor: pointer; cursor: pointer;
} }
} }
...@@ -439,4 +440,4 @@ export default { ...@@ -439,4 +440,4 @@ export default {
} }
</style> </style>
\ No newline at end of file
...@@ -296,6 +296,7 @@ export default { ...@@ -296,6 +296,7 @@ export default {
}, },
pathName: { pathName: {
handler(newValue) { handler(newValue) {
console.log(newValue,"|||||||")
this.searchIndex = this.findNodeIndex(this.sideRoute, newValue).index; this.searchIndex = this.findNodeIndex(this.sideRoute, newValue).index;
} }
} }
...@@ -349,7 +350,7 @@ export default { ...@@ -349,7 +350,7 @@ export default {
const _sideBarData = JSON.parse(JSON.stringify(value)); const _sideBarData = JSON.parse(JSON.stringify(value));
// {basic,behavior,business,combineMember,credit,evaluation,global,performance,personnel,qualification} // {basic,behavior,business,combineMember,credit,evaluation,global,performance,personnel,qualification}
/** /**
* @type {Map<string,string>} * @type {Map<string,string>}
*/ */
const _tempMap = detailSideBar; const _tempMap = detailSideBar;
......
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
v-html="scope.row.counterpartCompanyName">{{scope.row.counterpartCompanyName}}</span> v-html="scope.row.counterpartCompanyName">{{scope.row.counterpartCompanyName}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 合作总金额-->
<template slot="amount" slot-scope="scope">
<span v-if="scope.row.amount">{{scope.row.amount.toFixed(2)}}</span>
<span v-else>-</span>
</template>
<!-- 合作项目数量 --> <!-- 合作项目数量 -->
<template slot="count" slot-scope="scope"> <template slot="count" slot-scope="scope">
<span v-if="scope.row.count" style="color: #0081FF;cursor: pointer;" @click="viewProject(scope.row)">{{scope.row.count}}</span> <span v-if="scope.row.count" style="color: #0081FF;cursor: pointer;" @click="viewProject(scope.row)">{{scope.row.count}}</span>
...@@ -18,7 +23,7 @@ ...@@ -18,7 +23,7 @@
</template> </template>
</tables> </tables>
<el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" <el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" :modal-append-to-body="false"
class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false"> class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false">
<div class="cooperation-record-dialog-innner"> <div class="cooperation-record-dialog-innner">
<dialog-head-form-new title="" :form-data="dialogFormData" :query-params="dialogQueryParams" :total="dialogtableDataTotal" :isExcel="false" <dialog-head-form-new title="" :form-data="dialogFormData" :query-params="dialogQueryParams" :total="dialogtableDataTotal" :isExcel="false"
...@@ -32,7 +37,18 @@ ...@@ -32,7 +37,18 @@
@sort-change="dialogSortChange" :maxHeight="true"> @sort-change="dialogSortChange" :maxHeight="true">
<!-- 合作项目/工程名称--> <!-- 合作项目/工程名称-->
<template slot="projectName" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<span v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" v-html="scope.row.projectName">{{scope.row.projectName}}</span> <template v-if="scope.row.dataSource ==='中标业绩'">
<router-link :to="`/biddetail/${scope.row.sourceId}`" tag="a" class="a-link" v-if="scope.row.sourceId" v-html="scope.row.projectName"></router-link>
<div v-else v-html="scope.row.projectName || '--'"></div>
</template>
<template>
<span @click="linkTo1(scope.row.sourceId)" v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" v-html="scope.row.projectName">{{scope.row.projectName}}</span>
<span v-else>-</span>
</template>
</template>
<!-- 合作总金额-->
<template slot="amount" slot-scope="scope">
<span v-if="scope.row.amount">{{scope.row.amount.toFixed(2)}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 省市区 --> <!-- 省市区 -->
...@@ -53,6 +69,7 @@ import DialogHeadFormNew from "../component/HeadFormNew"; ...@@ -53,6 +69,7 @@ import DialogHeadFormNew from "../component/HeadFormNew";
import DialogTables from "../component/Tables"; import DialogTables from "../component/Tables";
import { replaceDomTags } from "@/utils"; import { replaceDomTags } from "@/utils";
import { encodeStr } from "@/assets/js/common"; import { encodeStr } from "@/assets/js/common";
import {skyProjectDetail} from '@/api/detail/party-a/dealings'
export default { export default {
name: "cooperativeConstructionUnit", name: "cooperativeConstructionUnit",
mixins: [mixin], mixins: [mixin],
...@@ -76,7 +93,7 @@ export default { ...@@ -76,7 +93,7 @@ export default {
{ label: '施工单位名称', prop: 'counterpartCompanyName', width: '295', slot: true, showOverflowTooltip: true }, { label: '施工单位名称', prop: 'counterpartCompanyName', width: '295', slot: true, showOverflowTooltip: true },
{ label: '合作项目数量', prop: 'count', minWidth: '190', align: "right", slot: true, sortable: "custom" }, { label: '合作项目数量', prop: 'count', minWidth: '190', align: "right", slot: true, sortable: "custom" },
{ label: '最近一次合作时间', prop: 'time', minWidth: '214', sortable: "custom" }, { label: '最近一次合作时间', prop: 'time', minWidth: '214', sortable: "custom" },
{ label: '合作总金额(万元)', prop: 'amount', minWidth: '226', align: "right", sortable: "custom" }, { label: '合作总金额(万元)', prop: 'amount', slot: true, minWidth: '226', align: "right", sortable: "custom" },
], ],
formData: [ formData: [
{ type: 4, fieldName: 'businessTypes', value: '', placeholder: '咨询机构业务', options: [], uid: this.getUid() }, { type: 4, fieldName: 'businessTypes', value: '', placeholder: '咨询机构业务', options: [], uid: this.getUid() },
...@@ -107,7 +124,7 @@ export default { ...@@ -107,7 +124,7 @@ export default {
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '105' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '100' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', prop: 'amount', slot: true, width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
{ label: '数据来源', prop: 'dataSource', width: '90' }, { label: '数据来源', prop: 'dataSource', width: '90' },
], ],
...@@ -347,6 +364,15 @@ export default { ...@@ -347,6 +364,15 @@ export default {
this.dialogFormData = data.dialogFormData; this.dialogFormData = data.dialogFormData;
this.dialogtableDataTotal = data.dialogtableDataTotal; this.dialogtableDataTotal = data.dialogtableDataTotal;
this.dialogTableData = data.dialogTableData; this.dialogTableData = data.dialogTableData;
},
linkTo1(id){
let url = ""
skyProjectDetail({sourceId:id}).then(res=>{
if(res.data&&res.data.sourceUrl){
url = res.data.sourceUrl
window.open(url, "_blank")
}
})
} }
}, },
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:queryParams="queryParams" @handle-current-change="handleCurrentChange" @sort-change="sortChange"> :queryParams="queryParams" @handle-current-change="handleCurrentChange" @sort-change="sortChange">
<!-- 业主名称 --> <!-- 业主名称 -->
<template slot="combineName" slot-scope="scope"> <template slot="combineName" slot-scope="scope">
<span v-if="scope.row.combineName" style="color: #0081FF;cursor: pointer;" @click="viewEnterprise(scope.row)" <span v-if="scope.row.combineName" @click="viewEnterprise(scope.row)"
v-html="scope.row.combineName">{{scope.row.combineName}}</span> v-html="scope.row.combineName">{{scope.row.combineName}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</template> </template>
</tables> </tables>
<el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" <el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" :modal-append-to-body="false"
class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false"> class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false">
<!-- tab切换栏 --> <!-- tab切换栏 -->
...@@ -64,8 +64,18 @@ ...@@ -64,8 +64,18 @@
@sort-change="dialogSortChange" :maxHeight="true"> @sort-change="dialogSortChange" :maxHeight="true">
<!-- 合作项目/工程名称--> <!-- 合作项目/工程名称-->
<template slot="projectName" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<span v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" <template v-if="scope.row.dataSource ==='中标业绩'">
v-html="scope.row.projectName">{{scope.row.projectName}}</span> <router-link :to="`/biddetail/${scope.row.sourceId}`" tag="a" class="a-link" v-if="scope.row.sourceId" v-html="scope.row.projectName"></router-link>
<div v-else v-html="scope.row.projectName || '--'"></div>
</template>
<template>
<span @click="linkTo1(scope.row.sourceId)" v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" v-html="scope.row.projectName">{{scope.row.projectName}}</span>
<span v-else>-</span>
</template>
</template>
<!-- 合作总金额-->
<template slot="amount" slot-scope="scope">
<span v-if="scope.row.amount">{{scope.row.amount.toFixed(2)}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 合作成员 --> <!-- 合作成员 -->
...@@ -95,6 +105,7 @@ import DialogTables from "../component/Tables"; ...@@ -95,6 +105,7 @@ import DialogTables from "../component/Tables";
import DskTabToggle from "@/components/DskTabToggle"; import DskTabToggle from "@/components/DskTabToggle";
import { replaceDomTags } from "@/utils"; import { replaceDomTags } from "@/utils";
import { encodeStr } from "@/assets/js/common"; import { encodeStr } from "@/assets/js/common";
import {skyProjectDetail} from '@/api/detail/party-a/dealings'
export default { export default {
name: "cooperativeGroup", name: "cooperativeGroup",
mixins: [mixin], mixins: [mixin],
...@@ -140,7 +151,7 @@ export default { ...@@ -140,7 +151,7 @@ export default {
// { type: 4, fieldName: 'projectTypes', value: '', placeholder: '合作工程类型', options: [], uid: this.getUid() }, // { type: 4, fieldName: 'projectTypes', value: '', placeholder: '合作工程类型', options: [], uid: this.getUid() },
// { type: 5, fieldName: 'time', value: '', placeholder: '合作频率', startTime: 'beginTime', endTime: 'endTime', uid: this.getUid() }, // { type: 5, fieldName: 'time', value: '', placeholder: '合作频率', startTime: 'beginTime', endTime: 'endTime', uid: this.getUid() },
// { type: 6, fieldName: 'money', value: '', placeholder: '合作金额', uid: this.getUid() }, // { type: 6, fieldName: 'money', value: '', placeholder: '合作金额', uid: this.getUid() },
{ type: 3, fieldName: 'keyword', value: '', placeholder: '请输入', uid: this.getUid() }, { type: 3, fieldName: 'keyword', value: '', placeholder: '请输入集团名称', uid: this.getUid() },
], ],
//列表 //列表
tableLoading: false, tableLoading: false,
...@@ -172,7 +183,7 @@ export default { ...@@ -172,7 +183,7 @@ export default {
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '105' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '100' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', slot: true, prop: 'amount', width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
], ],
dialogFormData: [ dialogFormData: [
...@@ -440,6 +451,15 @@ export default { ...@@ -440,6 +451,15 @@ export default {
async tabToggle() { async tabToggle() {
await this.resetDialogQuery(); await this.resetDialogQuery();
await this.dialogHandleQurey(); await this.dialogHandleQurey();
},
linkTo1(id){
let url = ""
skyProjectDetail({sourceId:id}).then(res=>{
if(res.data&&res.data.sourceUrl){
url = res.data.sourceUrl
window.open(url, "_blank")
}
})
} }
}, },
} }
......
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
v-html="scope.row.companyName">{{scope.row.companyName}}</span> v-html="scope.row.companyName">{{scope.row.companyName}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 合作总金额-->
<template slot="amount" slot-scope="scope">
<span v-if="scope.row.amount">{{scope.row.amount.toFixed(2)}}</span>
<span v-else>-</span>
</template>
<!-- 合作项目数量 --> <!-- 合作项目数量 -->
<template slot="count" slot-scope="scope"> <template slot="count" slot-scope="scope">
<span v-if="scope.row.count" style="color: #0081FF;cursor: pointer;" @click="viewProject(scope.row)">{{scope.row.count}}</span> <span v-if="scope.row.count" style="color: #0081FF;cursor: pointer;" @click="viewProject(scope.row)">{{scope.row.count}}</span>
...@@ -18,7 +23,7 @@ ...@@ -18,7 +23,7 @@
</template> </template>
</tables> </tables>
<el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" <el-dialog title="合作项目/工程明细" :visible.sync="cooperationRecordDialog" width="1100px" @close="dialogClose" @open="dialogOPen" :modal-append-to-body="false"
class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false"> class="cooperation-record-dialog-container" custom-class="cooperation-record-dialog" :destroy-on-close="true" :close-on-click-modal="false">
<div class="cooperation-record-dialog-innner"> <div class="cooperation-record-dialog-innner">
<dialog-head-form-new title="" :form-data="dialogFormData" :query-params="dialogQueryParams" :total="dialogtableDataTotal" :isExcel="false" <dialog-head-form-new title="" :form-data="dialogFormData" :query-params="dialogQueryParams" :total="dialogtableDataTotal" :isExcel="false"
...@@ -32,7 +37,18 @@ ...@@ -32,7 +37,18 @@
@sort-change="dialogSortChange" :maxHeight="true"> @sort-change="dialogSortChange" :maxHeight="true">
<!-- 合作项目/工程名称--> <!-- 合作项目/工程名称-->
<template slot="projectName" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
<span v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" v-html="scope.row.projectName">{{scope.row.projectName}}</span> <template v-if="scope.row.dataSource ==='中标业绩'">
<router-link :to="`/biddetail/${scope.row.sourceId}`" tag="a" class="a-link" v-if="scope.row.sourceId" v-html="scope.row.projectName"></router-link>
<div v-else v-html="scope.row.projectName || '--'"></div>
</template>
<template>
<span @click="linkTo1(scope.row.sourceId)" v-if="scope.row.projectName" style="color: #0081FF;cursor: pointer;" v-html="scope.row.projectName">{{scope.row.projectName}}</span>
<span v-else>-</span>
</template>
</template>
<!-- 合作总金额-->
<template slot="amount" slot-scope="scope">
<span v-if="scope.row.amount">{{parseFloat(Number(scope.row.amount).toFixed(2))}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 省市区 --> <!-- 省市区 -->
...@@ -53,6 +69,7 @@ import DialogHeadFormNew from "../component/HeadFormNew"; ...@@ -53,6 +69,7 @@ import DialogHeadFormNew from "../component/HeadFormNew";
import DialogTables from "../component/Tables"; import DialogTables from "../component/Tables";
import { replaceDomTags } from "@/utils"; import { replaceDomTags } from "@/utils";
import { encodeStr } from "@/assets/js/common"; import { encodeStr } from "@/assets/js/common";
import {skyProjectDetail} from '@/api/detail/party-a/dealings'
export default { export default {
name: "cooperativeOwnerUnits", name: "cooperativeOwnerUnits",
mixins: [mixin], mixins: [mixin],
...@@ -67,7 +84,7 @@ export default { ...@@ -67,7 +84,7 @@ export default {
queryParams: { queryParams: {
companyId: this.companyId, companyId: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 50,
companyType: 1, companyType: 1,
sort: "" sort: ""
}, },
...@@ -76,7 +93,7 @@ export default { ...@@ -76,7 +93,7 @@ export default {
{ label: '业主名称', prop: 'companyName', width: '295', slot: true, showOverflowTooltip: true }, { label: '业主名称', prop: 'companyName', width: '295', slot: true, showOverflowTooltip: true },
{ label: '合作项目数量', prop: 'count', minWidth: '190', align: "right", slot: true, sortable: "custom" }, { label: '合作项目数量', prop: 'count', minWidth: '190', align: "right", slot: true, sortable: "custom" },
{ label: '最近一次合作时间', prop: 'time', minWidth: '214', sortable: "custom" }, { label: '最近一次合作时间', prop: 'time', minWidth: '214', sortable: "custom" },
{ label: '合作总金额(万元)', prop: 'amount', minWidth: '226', align: "right", sortable: "custom" }, { label: '合作总金额(万元)', prop: 'amount', slot: true, minWidth: '226', align: "right", sortable: "custom" },
], ],
formData: [ formData: [
{ type: 4, fieldName: 'businessTypes', value: '', placeholder: '咨询机构业务', options: [], uid: this.getUid() }, { type: 4, fieldName: 'businessTypes', value: '', placeholder: '咨询机构业务', options: [], uid: this.getUid() },
...@@ -107,7 +124,7 @@ export default { ...@@ -107,7 +124,7 @@ export default {
{ label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' }, { label: '咨询机构承担角色', prop: 'agencyBusinessType', width: '140' },
{ label: '项目类型', prop: 'counterpartRole', minWidth: '105' }, { label: '项目类型', prop: 'counterpartRole', minWidth: '105' },
{ label: '工程类型', prop: 'projectType', minWidth: '100' }, { label: '工程类型', prop: 'projectType', minWidth: '100' },
{ label: '项目/工程金额(万元)', prop: 'amount', width: '190', sortable: "custom", align: "right", }, { label: '项目/工程金额(万元)', prop: 'amount', slot: true, width: '190', sortable: "custom", align: "right", },
{ label: '项目地区', prop: 'area', width: '245', slot: true }, { label: '项目地区', prop: 'area', width: '245', slot: true },
{ label: '数据来源', prop: 'dataSource', width: '90' }, { label: '数据来源', prop: 'dataSource', width: '90' },
], ],
...@@ -348,6 +365,15 @@ export default { ...@@ -348,6 +365,15 @@ export default {
this.dialogFormData = data.dialogFormData; this.dialogFormData = data.dialogFormData;
this.dialogtableDataTotal = data.dialogtableDataTotal; this.dialogtableDataTotal = data.dialogtableDataTotal;
this.dialogTableData = data.dialogTableData; this.dialogTableData = data.dialogTableData;
},
linkTo1(id){
let url = ""
skyProjectDetail({sourceId:id}).then(res=>{
if(res.data&&res.data.sourceUrl){
url = res.data.sourceUrl
window.open(url, "_blank")
}
})
} }
}, },
} }
......
...@@ -17,19 +17,20 @@ ...@@ -17,19 +17,20 @@
</template> </template>
<!-- 业主单位 --> <!-- 业主单位 -->
<template slot="ownerName" slot-scope="scope"> <template slot="ownerName" slot-scope="scope">
<span v-if="scope.row.ownerName" style="color: #0081FF;cursor: pointer;" @click="viewEnterprise(scope.row)">{{scope.row.ownerName}}</span> <!--<span v-if="scope.row.ownerName" style="color: #0081FF;cursor: pointer;" @click="viewEnterprise(scope.row)">{{scope.row.ownerName}}</span>-->
<!--<span v-if="scope.row.ownerName" @click="viewEnterprise(scope.row)">{{scope.row.ownerName}}</span>-->
<router-link :to="`/enterprise/${encodeStr(scope.row.ownerCid)}}`" tag="a" class="a-link" v-if="scope.row.ownerCid" v-html="scope.row.ownerName"></router-link>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 项目承接单位 --> <!-- 项目承接单位 -->
<template slot="contractOrgName" slot-scope="scope"> <template slot="contractOrgName" slot-scope="scope">
<span v-if="scope.row.contractOrgName" style="color: #0081FF;cursor: pointer;" <!--<span v-if="scope.row.contractOrgName" @click="viewEnterprise(scope.row)">{{scope.row.contractOrgName}}</span>-->
@click="viewEnterprise(scope.row)">{{scope.row.contractOrgName}}</span> <router-link :to="`/enterprise/${encodeStr(scope.row.contractOrgCid)}}`" tag="a" class="a-link" v-if="scope.row.contractOrgCid" v-html="scope.row.contractOrgName"></router-link>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
<!-- 咨询机构名称 --> <!-- 咨询机构名称 -->
<template slot="advisoryBodyName" slot-scope="scope"> <template slot="advisoryBodyName" slot-scope="scope">
<span v-if="scope.row.advisoryBodyName" style="color: #0081FF;cursor: pointer;" <router-link :to="`/enterprise/${encodeStr(scope.row.advisoryBodyCid)}}`" tag="a" class="a-link" v-if="scope.row.advisoryBodyCid" v-html="scope.row.advisoryBodyName"></router-link>
@click="viewEnterprise(scope.row)">{{scope.row.advisoryBodyName}}</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</tables> </tables>
...@@ -41,6 +42,7 @@ import mixin from '@/views/detail/party-a/mixins/mixin'; ...@@ -41,6 +42,7 @@ import mixin from '@/views/detail/party-a/mixins/mixin';
import { getConsultingAgencyCooperationListApi, getConsultingAgencyCooperationTypesApi, exportRecordOfCooperationExcelApi } from "@/api/internalCooperation"; import { getConsultingAgencyCooperationListApi, getConsultingAgencyCooperationTypesApi, exportRecordOfCooperationExcelApi } from "@/api/internalCooperation";
import { getAllAreaApi } from "@/api/common"; import { getAllAreaApi } from "@/api/common";
import { getTreeSelectAreaList } from "@/utils"; import { getTreeSelectAreaList } from "@/utils";
import { encodeStr } from "@/assets/js/common";
export default { export default {
name: "consultingAgencyCooperation", name: "consultingAgencyCooperation",
mixins: [mixin], mixins: [mixin],
...@@ -50,6 +52,7 @@ export default { ...@@ -50,6 +52,7 @@ export default {
props: ['companyId'], props: ['companyId'],
data() { data() {
return { return {
encodeStr,
queryParams: { queryParams: {
advisoryBodyCid: this.companyId, advisoryBodyCid: this.companyId,
pageNum: 1, pageNum: 1,
......
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