Commit 16577c8e authored by xiongjinke's avatar xiongjinke

修改

parent d2045fee
...@@ -17,7 +17,10 @@ ...@@ -17,7 +17,10 @@
</template> </template>
<el-menu-item :index="index+'-'+idx" v-for="(it, idx) in item.children" :key="idx" @click="handleItem(it)" :disabled="it.disabled">{{it.title}}</el-menu-item> <el-menu-item :index="index+'-'+idx" v-for="(it, idx) in item.children" :key="idx" @click="handleItem(it)" :disabled="it.disabled">{{it.title}}</el-menu-item>
</el-submenu> </el-submenu>
<el-menu-item :index="index.toString()" @click="handleItem(item)" :disabled="item.disabled" v-else>{{item.title}}</el-menu-item> <template v-else>
<el-menu-item :index="index.toString()" @click="handleItem(item)" :disabled="item.disabled" v-if="isCustomerId(item.pathName)">{{item.title}}</el-menu-item>
</template>
</template> </template>
</el-menu> </el-menu>
</div> </div>
...@@ -35,6 +38,10 @@ export default { ...@@ -35,6 +38,10 @@ export default {
type: String, type: String,
default: null default: null
}, },
customerId: {
type: String,
default: ''
}
}, },
data() { data() {
return { return {
...@@ -78,14 +85,20 @@ export default { ...@@ -78,14 +85,20 @@ export default {
{title: '裁判文书', pathName: 'judgment'}, {title: '裁判文书', pathName: 'judgment'},
{title: '法院公告', pathName: 'courtNotice'}, {title: '法院公告', pathName: 'courtNotice'},
{title: '开庭公告', pathName: 'openacourtsessionNotice'}, {title: '开庭公告', pathName: 'openacourtsessionNotice'},
{title: '信用中国', pathName: ''} // {title: '信用中国', pathName: ''}
]}, ]},
// {title: '商务信息', pathName: 'business'}, // {title: '商务信息', pathName: 'business'},
{title: '招标偏好', pathName: 'preference'}, {title: '招标偏好', pathName: 'preference'},
{title: '合作情况', pathName: 'cooperate'}, {title: '合作情况', pathName: 'cooperate'},
{title: '决策链条', pathName: 'decisionMaking'}, {title: '决策链条', pathName: 'decisionMaking'},
{title: '跟进记录', pathName: 'gjjl'} {title: '跟进记录', pathName: 'gjjl'}
] ],
customer:[
'preference',
'cooperate',
'decisionMaking',
'gjjl'
],
} }
}, },
computed: { computed: {
...@@ -127,6 +140,15 @@ export default { ...@@ -127,6 +140,15 @@ export default {
}, },
handleSearch(){ handleSearch(){
console.log('开始搜索了') console.log('开始搜索了')
},
isCustomerId(name){
if(this.customer.indexOf(name) != -1){
if(this.customerId){
return true
}
return false
}
return true
} }
} }
} }
......
...@@ -25,8 +25,10 @@ ...@@ -25,8 +25,10 @@
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
> >
<template slot="projcetName" slot-scope="scope"> <template slot="projectName" slot-scope="scope">
{{scope}} <span class="link-type" @click="clickDetail(scope.row.id)">
{{ scope.row.projectName }}
</span>
<!-- <router-link :to="'' + scope.row.dictId" class="link-type">--> <!-- <router-link :to="'' + scope.row.dictId" class="link-type">-->
<!-- <span>{{ scope.row.dictType }}</span>--> <!-- <span>{{ scope.row.dictType }}</span>-->
<!-- </router-link>--> <!-- </router-link>-->
...@@ -42,9 +44,6 @@ ...@@ -42,9 +44,6 @@
<el-button type="primary" class="empty-b" @click="drawer = true">添加合作情况</el-button> <el-button type="primary" class="empty-b" @click="drawer = true">添加合作情况</el-button>
</div> </div>
</template> </template>
<!-- <Detail />-->
<!-- 弹窗关联项目 --> <!-- 弹窗关联项目 -->
<el-drawer <el-drawer
title="添加合作情况" title="添加合作情况"
...@@ -120,6 +119,8 @@ ...@@ -120,6 +119,8 @@
</div> </div>
</el-drawer> </el-drawer>
<!-- <Detail :detailId="detailId" v-if="isDetailId" />-->
</div> </div>
</template> </template>
...@@ -139,16 +140,22 @@ export default { ...@@ -139,16 +140,22 @@ export default {
components: { components: {
Detail Detail
}, },
props: {
customerIds: {
type: String,
default: ''
}
},
data() { data() {
return { return {
ifEmpty:false, ifEmpty:false,
queryParams: { queryParams: {
customerId: 'f25219e73249eea0d9fddc5c7f04f97f', customerId: this.customerIds,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '项目名称', prop: 'projcetName'}, {label: '项目名称', prop: 'projectName', slot: true},
{label: '项目阶段', prop: 'projectStage', width: '120'}, {label: '项目阶段', prop: 'projectStage', width: '120'},
{label: '投资金额(万元)', prop: 'investmentAmount', width: '140'}, {label: '投资金额(万元)', prop: 'investmentAmount', width: '140'},
{label: '项目状态', prop: 'status', width: '90'} {label: '项目状态', prop: 'status', width: '90'}
...@@ -208,7 +215,10 @@ export default { ...@@ -208,7 +215,10 @@ export default {
} }
],//可见访问 ],//可见访问
//客户详情 //客户详情
info: {} info: {},
//
detailId: null,
isDetailId: false,
} }
}, },
created() { created() {
...@@ -273,7 +283,6 @@ export default { ...@@ -273,7 +283,6 @@ export default {
this.addParam.customerId = this.queryParams.customerId this.addParam.customerId = this.queryParams.customerId
this.addParam.companyId = this.info.companyId this.addParam.companyId = this.info.companyId
this.addParam.userId = this.info.userId this.addParam.userId = this.info.userId
console.log(this.addParam)
addProject(this.addParam).then(result=>{ addProject(this.addParam).then(result=>{
if(result.code == 200){ if(result.code == 200){
this.$message.success('添加成功!') this.$message.success('添加成功!')
...@@ -346,6 +355,11 @@ export default { ...@@ -346,6 +355,11 @@ export default {
//输入数字 //输入数字
number(value){ number(value){
this.addParam.investmentAmount = value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')//输入2位小数 this.addParam.investmentAmount = value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')//输入2位小数
},
//打开详情
clickDetail(id){
this.detailId = id
this.isDetailId = true
} }
} }
} }
......
...@@ -81,11 +81,17 @@ export default { ...@@ -81,11 +81,17 @@ export default {
components: { components: {
Tables Tables
}, },
props: {
customerIds: {
type: String,
default: ''
}
},
data() { data() {
return { return {
ifEmpty:false, ifEmpty:false,
queryParams:{ queryParams:{
customerId:'f25219e73249eea0d9fddc5c7f04f97f', customerId:this.customerIds,
pageNum:1, pageNum:1,
pageSize:10, pageSize:10,
}, },
...@@ -316,5 +322,8 @@ export default { ...@@ -316,5 +322,8 @@ export default {
} }
} }
} }
::v-deep .el-table__fixed::before, ::v-deep .el-table__fixed-right::before{
background-color:unset;
}
</style> </style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<Header :company-id="companyId" v-if="companyId" /> <Header :company-id="companyId" v-if="companyId" />
<div class="flex-box part-main"> <div class="flex-box part-main">
<div class="part-left"> <div class="part-left">
<side-bar @currentPath="showPartPage" :pathName="currentPath.pathName" :partBoxHeight="partBoxHeight" /> <side-bar @currentPath="showPartPage" :pathName="currentPath.pathName" :partBoxHeight="partBoxHeight" :customerId="customerId" />
</div> </div>
<div class="part-right"> <div class="part-right">
<div id="partBox" v-if="companyId"> <div id="partBox" v-if="companyId">
...@@ -42,14 +42,17 @@ ...@@ -42,14 +42,17 @@
<Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" /> <Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" />
<CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" /> <CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" />
<OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" /> <OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" />
<template v-if="customerId">
<!-- 招标偏好 --> <!-- 招标偏好 -->
<Preference v-if="currentPath.pathName=='preference'" :company-id="companyId" /> <Preference v-if="currentPath.pathName=='preference'" :customer-ids="customerId" />
<!-- 合作情况 --> <!-- 合作情况 -->
<Cooperate v-if="currentPath.pathName=='cooperate'" :company-id="companyId" /> <Cooperate v-if="currentPath.pathName=='cooperate'" :customer-ids="customerId" />
<!-- 决策链条 --> <!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :company-id="companyId" /> <DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :customer-ids="customerId" />
<!-- 跟进记录 --> <!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" :company-id="companyId" /> <Gjjl v-if="currentPath.pathName=='gjjl'" types="gjdt" :customer-ids="customerId" />
</template>
</div> </div>
</div> </div>
</div> </div>
...@@ -137,7 +140,8 @@ export default { ...@@ -137,7 +140,8 @@ export default {
}, },
data() { data() {
return { return {
companyId: 3068, //企业Id(测试默认3068) companyId: 10361319, //企业Id(测试默认3068)
customerId: '', //企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
currentPath: { currentPath: {
pathName: 'overview' //默认展示页 pathName: 'overview' //默认展示页
}, },
...@@ -152,6 +156,9 @@ export default { ...@@ -152,6 +156,9 @@ export default {
if (this.$route.query.path) { // 获取跳转对应板块 if (this.$route.query.path) { // 获取跳转对应板块
this.currentPath.pathName = this.$route.query.path this.currentPath.pathName = this.$route.query.path
} }
if (this.$route.query.customerId) { // 判断是否显示
this.customerId = this.$route.query.customerId
}
}, },
mounted() { mounted() {
const _this = this, erd = elementResizeDetectorMaker(), partBox = document.getElementById("partBox") const _this = this, erd = elementResizeDetectorMaker(), partBox = document.getElementById("partBox")
......
...@@ -159,6 +159,12 @@ export default { ...@@ -159,6 +159,12 @@ export default {
name: 'Preference', name: 'Preference',
components: { components: {
},
props: {
customerIds: {
type: String,
default: ''
}
}, },
data() { data() {
return { return {
...@@ -166,7 +172,7 @@ export default { ...@@ -166,7 +172,7 @@ export default {
minRows: 8, minRows: 8,
maxRows: 8 maxRows: 8
}, },
customerId: 'f25219e73249eea0d9fddc5c7f04f97f', customerId: this.customerIds,
queryParams:{ queryParams:{
customerId: '', customerId: '',
businessCharacteristic: '', businessCharacteristic: '',
......
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 382724726, cid: this.companyId,//382724726
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
......
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 20734, cid: this.companyId, //20734
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -52,7 +52,6 @@ export default { ...@@ -52,7 +52,6 @@ export default {
{label: '案由', prop: 'caseReason'}, {label: '案由', prop: 'caseReason'},
{label: '公告时间', prop: 'date', width: '95'}, {label: '公告时间', prop: 'date', width: '95'},
{label: '当事人', prop: 'people', width: '240'}, {label: '当事人', prop: 'people', width: '240'},
{label: '案号', prop: 'objId', width: '210'},
{label: '公告类型', prop: 'type', width: '210'}, {label: '公告类型', prop: 'type', width: '210'},
{label: '公告法院', prop: 'court', width: '280'} {label: '公告法院', prop: 'court', width: '280'}
], ],
...@@ -60,8 +59,7 @@ export default { ...@@ -60,8 +59,7 @@ export default {
{ type: 1, fieldName: 'type', value: '', placeholder: '公告类型', options: []}, { type: 1, fieldName: 'type', value: '', placeholder: '公告类型', options: []},
{ type: 1, fieldName: 'caseReason', value: '', placeholder: '案由', options: []}, { type: 1, fieldName: 'caseReason', value: '', placeholder: '案由', options: []},
{ type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []}, { type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []},
{ type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'}, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'}
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
......
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 5504335, cid: this.companyId,//5504335
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
......
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 194738907, cid: this.companyId,//194738907
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
......
<template> <template>
<div class="corePersonnel"> <div class="corePersonnel">
<head-form <head-form
title="判决文书" title="裁判文书"
:form-data="formData" :form-data="formData"
:query-params="queryParams" :query-params="queryParams"
:total="tableDataTotal" :total="tableDataTotal"
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 5504335, cid: this.companyId,//5504335
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 20734, cid: this.companyId,//20734
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -59,12 +59,12 @@ export default { ...@@ -59,12 +59,12 @@ export default {
{label: '开庭日期', prop: 'hearingDate', width: '95'}, {label: '开庭日期', prop: 'hearingDate', width: '95'},
{label: '当事人', prop: 'relatedCompanies', width: '428', slot: true}, {label: '当事人', prop: 'relatedCompanies', width: '428', slot: true},
{label: '身份', prop: 'pureRole', width: '120'}, {label: '身份', prop: 'pureRole', width: '120'},
{label: '公告内容', prop: '', width: '508'}, {label: '公告内容', prop: 'content', width: '508'},
{label: '案号', prop: 'caseNo', width: '210'}, {label: '案号', prop: 'caseNo', width: '210'},
{label: '法院', prop: 'court', width: '280'}, {label: '法院', prop: 'court', width: '280'},
{label: '法庭', prop: '', width: '180'}, {label: '法庭', prop: 'tribunal', width: '180'},
{label: '承办部门', prop: '', width: '280'}, {label: '承办部门', prop: 'department', width: '280'},
{label: '审判长/主判人', prop: '', width: '106'} {label: '审判长/主判人', prop: 'judge', width: '106'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []}, { type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []},
......
...@@ -59,9 +59,8 @@ export default { ...@@ -59,9 +59,8 @@ export default {
{label: '决定日期', prop: 'punishBegin', width: '95'}, {label: '决定日期', prop: 'punishBegin', width: '95'},
{label: '处罚结果', prop: 'punishResult', width: '264'}, {label: '处罚结果', prop: 'punishResult', width: '264'},
{label: '处罚文书号', prop: 'fileNum', width: '200'}, {label: '处罚文书号', prop: 'fileNum', width: '200'},
{label: '相关人员', prop: '', width: '88'},
{label: '处罚机关', prop: 'office', width: '264'}, {label: '处罚机关', prop: 'office', width: '264'},
{label: '处罚结束日期', prop: '', width: '100'}, {label: '处罚结束日期', prop: 'punishEnd', width: '100'},
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []}, { type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []},
......
...@@ -36,11 +36,17 @@ export default { ...@@ -36,11 +36,17 @@ export default {
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 3068, cid: this.companyId,//3068
sort: 3, sort: 3,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="flex-box query-params"> <div class="flex-box query-params">
<span class="common-title">区域经济</span> <span class="common-title">区域经济</span>
</div> </div>
<div class="params-dw"><img src="@/assets/images/addree.png" />广东省-广州市</div> <div class="params-dw"><img src="@/assets/images/addree.png" />{{ addressList }}</div>
</div> </div>
<div class="table-item"> <div class="table-item">
<el-table <el-table
...@@ -26,16 +26,27 @@ ...@@ -26,16 +26,27 @@
</template> </template>
<script> <script>
import dataRegion from '@/assets/json/dataRegion'
import { import {
regionalEconomy regionalEconomy
} from '@/api/detail/party-a/urbanLnvestment' } from '@/api/detail/party-a/urbanLnvestment'
import {
infoHeader
} from '@/api/detail/party-a/overview'
export default { export default {
name: 'regionalEconomies', name: 'regionalEconomies',
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
addressList:'',
params: { params: {
provinceId: 500000, provinceId: 500000,
cityId: 500100 cityId: 500100
...@@ -204,7 +215,7 @@ export default { ...@@ -204,7 +215,7 @@ export default {
} }
}, },
created() { created() {
this.dataRegion() this.regionalEconomys()
}, },
computed: { computed: {
getHeaders() { getHeaders() {
...@@ -218,11 +229,35 @@ export default { ...@@ -218,11 +229,35 @@ export default {
}, },
methods: { methods: {
//地区 //地区
dataRegion() { regionalEconomys() {
regionalEconomy(this.params).then(res => { this.tableLoading = true
infoHeader({companyId: this.companyId}).then(res => {
regionalEconomy({
provinceId: res.data.provinceId,
cityId: res.data.cityId
}).then(res => {
this.tableData = res.data this.tableData = res.data
this.tableLoading = false this.tableLoading = false
}) })
this.dataRegion(res.data.provinceId, res.data.cityId)
})
},
dataRegion(p,c) {
var str = [];
for (let x = 0; x < 2; x++) {
for (let i = 0; i < dataRegion.length; i++) {
if (dataRegion[i].regionLevel == x + 1 && x + 1 == 1) {
if(p == dataRegion[i].id){
str.push(dataRegion[i].regionName)
}
} else if (dataRegion[i].regionLevel == x + 1 && x + 1 == 2) {
if(c == dataRegion[i].id){
str.push(dataRegion[i].regionName)
}
}
}
}
this.addressList = str.join(' - ');
}, },
} }
} }
......
...@@ -112,17 +112,26 @@ import { ...@@ -112,17 +112,26 @@ import {
urbanInvestmentPage, urbanInvestmentPage,
uipGroupData uipGroupData
} from '@/api/detail/party-a/urbanLnvestment' } from '@/api/detail/party-a/urbanLnvestment'
import {
infoHeader
} from '@/api/detail/party-a/overview'
export default { export default {
name: 'SameRegion', name: 'SameRegion',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
provinceId: 500000, provinceId: '',
cityId: 500100, cityId: '',
uipExecutiveLevel: '', uipExecutiveLevel: '',
uipBusinessType: [], uipBusinessType: [],
bratingSubjectLevel: [], bratingSubjectLevel: [],
...@@ -191,23 +200,18 @@ export default { ...@@ -191,23 +200,18 @@ export default {
} }
}, },
created() { created() {
infoHeader({companyId: this.companyId}).then(res => {
this.queryParams.provinceId = res.data.provinceId
this.queryParams.cityId = res.data.cityId
this.handleQuery() this.handleQuery()
this.getScreen() this.getScreen()
})
}, },
computed: { computed: {
}, },
methods: { methods: {
dataRegion() { dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
var str = []; var str = [];
for (let x = 0; x < 3; x++) { for (let x = 0; x < 3; x++) {
for (let i = 0; i < dataRegion.length; i++) { for (let i = 0; i < dataRegion.length; i++) {
......
...@@ -18,10 +18,12 @@ ...@@ -18,10 +18,12 @@
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i> <i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i>
<el-option v-for="(item,index) in bffslist" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option> <el-option v-for="(item,index) in bffslist" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option>
</el-select> </el-select>
<template v-if="!customerIds">
<el-select v-if="showtype == 'gjdt'" v-model="addParam.customerId" class="w128" placeholder="关联企业"> <el-select v-if="showtype == 'gjdt'" v-model="addParam.customerId" class="w128" placeholder="关联企业">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i> <i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_1.png"></i>
<el-option v-for="(item,index) in glqylist" :key="index" :label="item.companyName" :value="item.customerId"></el-option> <el-option v-for="(item,index) in glqylist" :key="index" :label="item.companyName" :value="item.customerId"></el-option>
</el-select> </el-select>
</template>
<el-input v-model="addParam.name" placeholder="拜访对象" style="width: 100px;"> <el-input v-model="addParam.name" placeholder="拜访对象" style="width: 100px;">
<i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_2.png"></i> <i slot="prefix" class="el-input__icon"><img src="@/assets/images/project/ico_2.png"></i>
</el-input> </el-input>
...@@ -55,7 +57,7 @@ ...@@ -55,7 +57,7 @@
<div><span>{{item.content}}</span></div> <div><span>{{item.content}}</span></div>
<div class="rec_text"> <div class="rec_text">
<span v-if="item.name">拜访对象:{{item.name||'--'}}</span> <span v-if="item.name">拜访对象:{{item.name||'--'}}</span>
<span v-if="showtype == 'gjdt' && companyName != ''">关联企业:{{item.companyName}}</span> <span v-if="showtype == 'gjdt' && item.companyName != ''">关联企业:{{item.companyName}}</span>
<span v-if="item.position">职位:{{item.position}}</span> <span v-if="item.position">职位:{{item.position}}</span>
<span v-if="item.createTime">拜访时间:{{item.createTime.slice(0, 10)}}</span> <span v-if="item.createTime">拜访时间:{{item.createTime.slice(0, 10)}}</span>
<span v-if="item.nextVisitTime">下次拜访时间:{{item.createTime.slice(0, 10)}}</span> <span v-if="item.nextVisitTime">下次拜访时间:{{item.createTime.slice(0, 10)}}</span>
...@@ -122,6 +124,10 @@ ...@@ -122,6 +124,10 @@
type: String, type: String,
default: "" default: ""
}, },
customerIds: { //客户id
type: String,
default: ""
},
datas:[],//数据源 datas:[],//数据源
}, },
name: 'gjjl', name: 'gjjl',
...@@ -174,6 +180,9 @@ ...@@ -174,6 +180,9 @@
//添加跟进动态 //添加跟进动态
addFollow(){ addFollow(){
if(this.types == 'gjdt'){ if(this.types == 'gjdt'){
if(this.customerIds){
this.addParam.customerId = this.customerIds
}
addFollowRecord(this.addParam).then(result=>{ addFollowRecord(this.addParam).then(result=>{
if(result.code == 200){ if(result.code == 200){
this.$message.success(result.msg) this.$message.success(result.msg)
...@@ -236,6 +245,9 @@ ...@@ -236,6 +245,9 @@
pageNum:this.pageNum,//页码 pageNum:this.pageNum,//页码
pageSize:this.pageSize, pageSize:this.pageSize,
} }
if(this.customerIds){
param.customerId = this.customerIds
}
getFollowList(param).then(result=>{ getFollowList(param).then(result=>{
this.recordlist = result.code == 200?result:[] this.recordlist = result.code == 200?result:[]
this.recordlist.rows.forEach(item=>{ this.recordlist.rows.forEach(item=>{
......
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