|
|
@@ -3,6 +3,7 @@
|
|
|
<div>
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
<el-tab-pane v-for="(tab,index) in tabs" :key="index" :label="$t(tab)" :name="'tab' + index"></el-tab-pane>
|
|
|
+ <el-tab-pane v-if="isFollow" :label="$t('跟进动态')" name="follow"></el-tab-pane>
|
|
|
<el-tab-pane :label="$t('附件')" name="file"></el-tab-pane>
|
|
|
<el-tab-pane :label="$t('操作记录')" name="log"></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
@@ -11,6 +12,9 @@
|
|
|
<div v-show="'tab'+index === activeName" v-for="(item,index) in tabs" :key="index">
|
|
|
<slot v-if="'tab'+index === activeName" :name="'slot' + index"></slot>
|
|
|
</div>
|
|
|
+ <div v-show="activeName === 'follow'">
|
|
|
+ 跟进共同
|
|
|
+ </div>
|
|
|
<div v-show="activeName === 'file'">
|
|
|
<attachmentList v-if="activeName === 'file'" :disabled="disabled" :status="status" :attachmentDisabled="attachmentDisabled" :attinfos="attinfo_attachment" @onSuccess="queryAttments" @cancelEdit="queryAttments">
|
|
|
<upload slot="upload" :folderid="folderid" :status="status" :attachmentDisabled="attachmentDisabled" :disabled="disabled"
|
|
|
@@ -30,7 +34,7 @@ import upload from '@/components/upload/hw_obs_upload.vue'
|
|
|
import datalog from '../datalog/index.vue'
|
|
|
|
|
|
export default {
|
|
|
- props:['tabs','editData','ownertable','idname','status','attachmentDisabled','disabled'],
|
|
|
+ props:['tabs','editData','ownertable','idname','status','attachmentDisabled','disabled','isFollow'],
|
|
|
components:{
|
|
|
attachmentList,
|
|
|
upload,
|