|
@@ -10,11 +10,22 @@
|
|
<div class="hc-task-body relative flex">
|
|
<div class="hc-task-body relative flex">
|
|
<div class="hc-task-time">
|
|
<div class="hc-task-time">
|
|
<hc-body class="hc-task-body-card" padding="10px" scrollbar>
|
|
<hc-body class="hc-task-body-card" padding="10px" scrollbar>
|
|
- 111
|
|
|
|
|
|
+ <el-timeline class="hc-time-line">
|
|
|
|
+ <template v-for="(item, index) in flowList" :key="index">
|
|
|
|
+ <el-timeline-item :class="item.currentBol ? 'success' : item.current ? 'primary' : ''" size="large">
|
|
|
|
+ <div class="timeline-item-icon">
|
|
|
|
+ <hc-icon v-if="item.currentBol" class="check-icon" name="check" />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="reply-name">{{ item.name }}</div>
|
|
|
|
+ <div class="reply-time">{{ item.time }}</div>
|
|
|
|
+ <div class="reply-content" v-html="item.content" />
|
|
|
|
+ </el-timeline-item>
|
|
|
|
+ </template>
|
|
|
|
+ </el-timeline>
|
|
</hc-body>
|
|
</hc-body>
|
|
</div>
|
|
</div>
|
|
<div class="hc-task-table">
|
|
<div class="hc-task-table">
|
|
- <hc-body class="hc-task-body-card" padding="10px" scrollbar>
|
|
|
|
|
|
+ <hc-body class="hc-task-body-card" padding="10px">
|
|
222
|
|
222
|
|
</hc-body>
|
|
</hc-body>
|
|
</div>
|
|
</div>
|
|
@@ -74,9 +85,16 @@ watch(isShow, (val) => {
|
|
|
|
|
|
//设置任务信息
|
|
//设置任务信息
|
|
const setTaskInfo = async () => {
|
|
const setTaskInfo = async () => {
|
|
-
|
|
|
|
|
|
+ const { taskName } = rowInfo.value
|
|
|
|
+ taskInfo.value.taskName = taskName
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+//流程信息
|
|
|
|
+const flowList = ref([
|
|
|
|
+ { currentBol: true, current: false, name: '张三', time: '2023-10-17 10:00:21', content: '上报' },
|
|
|
|
+ { currentBol: false, current: true, name: '李四', time: '2023-11-01 09:00:21', content: '结束流程</br>同意' },
|
|
|
|
+])
|
|
|
|
+
|
|
//表格数据
|
|
//表格数据
|
|
const tableColumn = ref([
|
|
const tableColumn = ref([
|
|
{ key: 'key1', name: '名称' },
|
|
{ key: 'key1', name: '名称' },
|
|
@@ -116,7 +134,7 @@ const cancelClick = () => {
|
|
position: relative;
|
|
position: relative;
|
|
height: 100%;
|
|
height: 100%;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
- width: 200px;
|
|
|
|
|
|
+ width: 170px;
|
|
}
|
|
}
|
|
.hc-task-table, .hc-task-form {
|
|
.hc-task-table, .hc-task-form {
|
|
position: relative;
|
|
position: relative;
|