|
|
@@ -22,14 +22,39 @@
|
|
|
转交下属
|
|
|
</van-button>
|
|
|
</assignAwaitDetail>
|
|
|
+ <!-- 历史跟进记录 -->
|
|
|
+ <p style="margin: 0 16px 8px; color: #888" v-if="infoData.userCustomerClueList">
|
|
|
+ 该客资历史跟进记录
|
|
|
+ </p>
|
|
|
+ <van-cell-group inset class="cardclewContentCell">
|
|
|
+ <div style="border-radius: 6px; overflow: hidden">
|
|
|
+ <van-cell
|
|
|
+ is-link
|
|
|
+ v-for="(item, index) in infoData.userCustomerClueList"
|
|
|
+ :key="index"
|
|
|
+ @click="viewFn(item.userCustomerClueId)">
|
|
|
+ <template #title>
|
|
|
+ <span class="custom-title">{{ item.nickName }}</span>
|
|
|
+ </template>
|
|
|
+ <div class="cardContent">
|
|
|
+ <p class="textLeft" style="padding-bottom: 0px; margin: 0">{{ item.createTime }}</p>
|
|
|
+ </div>
|
|
|
+ </van-cell>
|
|
|
+ </div>
|
|
|
+ </van-cell-group>
|
|
|
<!-- 跟进任务填写 -->
|
|
|
<div class="assign">
|
|
|
<div class="followUp required">跟进结果</div>
|
|
|
- <div
|
|
|
+ <!-- <div
|
|
|
class="taskGather"
|
|
|
v-if="taskGather && taskGather.customerClueItemList.customerClueOptionList">
|
|
|
<radioGroup
|
|
|
:clueOptionList="taskGather.customerClueItemList.customerClueOptionList"></radioGroup>
|
|
|
+ </div> -->
|
|
|
+ <div v-if="infoData.isClose != 1" class="tc" style="padding: 0 16px">
|
|
|
+ <van-button class="submitBtn" block type="info" color="#0057ba" @click="onSubmit">
|
|
|
+ 提交
|
|
|
+ </van-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 转交下属 -->
|
|
|
@@ -41,6 +66,16 @@
|
|
|
@confirm="confirm"
|
|
|
@cancel="showPicker = false" />
|
|
|
</van-popup>
|
|
|
+ <!-- 客资跟进历史 -->
|
|
|
+ <van-dialog
|
|
|
+ v-model="showView"
|
|
|
+ title="客资历史"
|
|
|
+ show-cancel-button
|
|
|
+ cancel-button-text="关闭"
|
|
|
+ :show-confirm-button="false"
|
|
|
+ class="dialogz">
|
|
|
+ <followUpHistory :historyId="historyId"></followUpHistory>
|
|
|
+ </van-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -55,12 +90,14 @@ import {
|
|
|
} from '@/api/assignAwait';
|
|
|
import { mapState } from 'vuex';
|
|
|
import radioGroup from './radioGroup';
|
|
|
+import followUpHistory from './followUpHistory';
|
|
|
|
|
|
export default {
|
|
|
name: 'assignPage',
|
|
|
components: {
|
|
|
assignAwaitDetail,
|
|
|
radioGroup,
|
|
|
+ followUpHistory,
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
@@ -77,6 +114,8 @@ export default {
|
|
|
showPicker: false,
|
|
|
assignTypeData: [],
|
|
|
taskGather: null, //跟进任务集合
|
|
|
+ showView: false,
|
|
|
+ historyId: '',
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
|
@@ -143,6 +182,12 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 查看历史跟进记录
|
|
|
+ viewFn(val) {
|
|
|
+ // this.viewTextShow = false;
|
|
|
+ this.historyId = val;
|
|
|
+ this.showView = true;
|
|
|
+ },
|
|
|
onSubmit() {
|
|
|
// allocationCustomer({
|
|
|
// userId: this.assignUserItem.userId || '', // string 用户ID
|