|
@@ -4,16 +4,16 @@
|
4
|
4
|
<topCaseInfo :data="topCaseInfoData" :userName="userInfo.customer.RealName ? userInfo.customer.RealName : userInfo.customer.CustomerName"></topCaseInfo>
|
5
|
5
|
</div>
|
6
|
6
|
<div class="info">
|
7
|
|
- <span><em>姓名</em>:顶顶顶</span>
|
8
|
|
- <span><em>手机号</em>:13888888888</span>
|
|
7
|
+ <span><em>姓名</em>:{{list[0].CustomerName}}</span>
|
|
8
|
+ <span><em>手机号</em>:{{list[0].Phone}}</span>
|
9
|
9
|
</div>
|
10
|
10
|
<div class="list-content">
|
11
|
|
- <div class="list-year">2018年备注记录</div>
|
|
11
|
+ <div class="list-year">备注记录</div>
|
12
|
12
|
<div class="list-card" v-for="(item,index) in list" :key="index">
|
13
|
13
|
<div class="point-top"></div>
|
14
|
14
|
<div class="point-bottom"></div>
|
15
|
|
- <div class="card-time">7.29</div>
|
16
|
|
- <div class="card-content">更多备注信息更多备注信息,更多备注信息更多备注信息更多备注信息更多备注信息。更多备注信息更多备注信息。</div>
|
|
15
|
+ <div class="card-time">{{toolClass.dateFormat(item.CreateDate,'MM-dd')}}</div>
|
|
16
|
+ <div class="card-content">{{item.Remark}}</div>
|
17
|
17
|
</div>
|
18
|
18
|
</div>
|
19
|
19
|
</div>
|
|
@@ -23,12 +23,11 @@
|
23
|
23
|
import topCaseInfo from '../../../components/topCaseInfo/index'
|
24
|
24
|
import { mapState, createNamespacedHelpers } from 'vuex'
|
25
|
25
|
const { mapActions: actions } = createNamespacedHelpers('app')
|
26
|
|
-const { mapState: mpRemarkState, mapActions: mapRemarkActions } = createNamespacedHelpers('remark')
|
|
26
|
+const { mapState: mapRemarkState, mapActions: mapRemarkActions } = createNamespacedHelpers('remark')
|
27
|
27
|
export default {
|
28
|
28
|
name: '',
|
29
|
29
|
data () {
|
30
|
30
|
return {
|
31
|
|
- // list: [1,1,1,1,1],
|
32
|
31
|
topCaseInfoData: {
|
33
|
32
|
caseName: '',
|
34
|
33
|
caseId: '',
|
|
@@ -44,7 +43,7 @@ export default {
|
44
|
43
|
userInfo: x => x.userCenter.userInfo,
|
45
|
44
|
CaseList: x => x.app.CaseList,
|
46
|
45
|
}),
|
47
|
|
- ...mapRemarkActions({
|
|
46
|
+ ...mapRemarkState({
|
48
|
47
|
list: x => x.remarkList
|
49
|
48
|
}),
|
50
|
49
|
},
|
|
@@ -56,8 +55,9 @@ export default {
|
56
|
55
|
this.topCaseInfoData.caseName = this.CaseList[i].CaseName
|
57
|
56
|
}
|
58
|
57
|
}
|
59
|
|
- console.log(this.userInfo)
|
60
|
|
- this.getRemark({ salesId: this.userInfo.MappingId, customerId: this.$route.query.customerId })
|
|
58
|
+ this.getRemark({ salesId: this.userInfo.customer.MapUser, customerId: this.$route.query.customerId }).then(() => {
|
|
59
|
+ console.log(this.list)
|
|
60
|
+ })
|
61
|
61
|
})
|
62
|
62
|
},
|
63
|
63
|
methods: {
|