|
@@ -42,10 +42,26 @@
|
|
|
|
|
|
<!--审批流-->
|
|
|
<el-timeline>
|
|
|
- <el-timeline-item v-for="(activity, index) in activities" :key="index" :timestamp="activity.timestamp">
|
|
|
- {{ activity.content }}
|
|
|
+ <el-timeline-item timestamp="2018/4/12" placement="top">
|
|
|
+ <el-card>
|
|
|
+ <h4>Update Github template</h4>
|
|
|
+ <p>Tom committed 2018/4/12 20:46</p>
|
|
|
+ </el-card>
|
|
|
+ </el-timeline-item>
|
|
|
+ <el-timeline-item timestamp="2018/4/3" placement="top">
|
|
|
+ <el-card>
|
|
|
+ <h4>Update Github template</h4>
|
|
|
+ <p>Tom committed 2018/4/3 20:46</p>
|
|
|
+ </el-card>
|
|
|
+ </el-timeline-item>
|
|
|
+ <el-timeline-item timestamp="2018/4/2" placement="top">
|
|
|
+ <el-card>
|
|
|
+ <h4>Update Github template</h4>
|
|
|
+ <p>Tom committed 2018/4/2 20:46</p>
|
|
|
+ </el-card>
|
|
|
</el-timeline-item>
|
|
|
</el-timeline>
|
|
|
+
|
|
|
</div>
|
|
|
<div class="flow-actions">
|
|
|
<el-button :icon="ChatLineSquare">评论</el-button>
|
|
@@ -59,21 +75,6 @@ import { computed, ref } from 'vue'
|
|
|
import { ChatLineSquare } from '@element-plus/icons-vue'
|
|
|
|
|
|
const direction = ref('rtl')
|
|
|
-const activities = [
|
|
|
- {
|
|
|
- content: 'Event start',
|
|
|
- timestamp: '2018-04-15'
|
|
|
- },
|
|
|
- {
|
|
|
- content: 'Approved',
|
|
|
- timestamp: '2018-04-13'
|
|
|
- },
|
|
|
- {
|
|
|
- content: 'Success',
|
|
|
- timestamp: '2018-04-11'
|
|
|
- }
|
|
|
-]
|
|
|
-
|
|
|
const myProps = defineProps({
|
|
|
modelValue: {
|
|
|
type: Boolean,
|