|
@@ -215,24 +215,33 @@
|
|
|
<Steps direction="vertical"
|
|
|
:active="0">
|
|
|
<Step v-for="(item , index) in action " :key="index">
|
|
|
- <h3 v-if="item.action.action.startsWith('删除了')">
|
|
|
- <ww-open-data type="userName" :openid="item.action.userid"></ww-open-data>
|
|
|
- {{ item.action.action }}
|
|
|
+ <h3 v-if="item.type == 1">
|
|
|
+ 添加了
|
|
|
+ <span v-if="item.handover_user_d.name">{{ item.handover_user_d.name }}</span>
|
|
|
+ <ww-open-data v-else type="userName" :openid="item.handover_user_d.userid"></ww-open-data>
|
|
|
</h3>
|
|
|
- <h3 v-else-if="item.action.action.endsWith('删除了')">
|
|
|
- {{ item.action.action }}
|
|
|
- <ww-open-data type="userName" :openid="item.action.userid"></ww-open-data>
|
|
|
+ <h3 v-if="item.type == 2">
|
|
|
+ 删除了
|
|
|
+ <span v-if="item.handover_user_d.name">{{ item.handover_user_d.name }}</span>
|
|
|
+ <ww-open-data v-else type="userName" :openid="item.handover_user_d.userid"></ww-open-data>
|
|
|
</h3>
|
|
|
- <h3 v-else-if="item.action.action.startsWith('添加了')">
|
|
|
- <ww-open-data type="userName" :openid="item.action.userid"></ww-open-data>
|
|
|
- {{ item.action.action }}
|
|
|
+ <h3 v-if="item.type == 3">
|
|
|
+ 被
|
|
|
+ <span v-if="item.handover_user_d.name">{{ item.handover_user_d.name }}</span>
|
|
|
+ <ww-open-data v-else type="userName" :openid="item.handover_user_d.userid"></ww-open-data>
|
|
|
+ 删除了
|
|
|
</h3>
|
|
|
- <h3 v-else-if="item.action.action.endsWith('分配给')">
|
|
|
- <ww-open-data type="userName" :openid="item.action.userid"></ww-open-data>
|
|
|
- {{ item.action.action }}
|
|
|
+ <h3 v-if="item.type == 4">
|
|
|
+ 由
|
|
|
+ <span v-if="item.handover_user_d.name">{{ item.handover_user_d.name }}</span>
|
|
|
+ <ww-open-data v-else type="userName" :openid="item.handover_user_d.userid"></ww-open-data>
|
|
|
+ 分配给
|
|
|
+ <span v-if="item.takeover_user_d.name">{{ item.takeover_user_d.name }}</span>
|
|
|
+ <ww-open-data v-else type="userName" :openid="item.takeover_user_d.userid"></ww-open-data>
|
|
|
</h3>
|
|
|
- <h3 v-else>
|
|
|
- {{ item.action.action }}
|
|
|
+ <h3 v-if="item.type == 5">
|
|
|
+ 浏览了
|
|
|
+ <span>{{ item.article_title }}</span>
|
|
|
</h3>
|
|
|
<p>{{ item.create_datetime }}</p>
|
|
|
</Step>
|