Showing
1 changed file
with
7 additions
and
7 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-07-18 10:22:22 | 2 | * @Date: 2022-07-18 10:22:22 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-31 10:14:24 | 4 | + * @LastEditTime: 2024-07-31 10:53:58 |
| 5 | * @FilePath: /data-table/src/views/index.vue | 5 | * @FilePath: /data-table/src/views/index.vue |
| 6 | * @Description: 首页 | 6 | * @Description: 首页 |
| 7 | --> | 7 | --> |
| ... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
| 60 | <p style="margin-bottom: 1rem; font-size: 0.85rem; font-weight: bold;">审批结果</p> | 60 | <p style="margin-bottom: 1rem; font-size: 0.85rem; font-weight: bold;">审批结果</p> |
| 61 | <div style="margin-bottom: 1rem; border-left: 1px solid #eee; border-right: 1px solid #eee;"> | 61 | <div style="margin-bottom: 1rem; border-left: 1px solid #eee; border-right: 1px solid #eee;"> |
| 62 | <van-collapse ref="collapseRef" v-model="active_flow_process"> | 62 | <van-collapse ref="collapseRef" v-model="active_flow_process"> |
| 63 | - <van-collapse-item v-for="(item, index) in form_flow_process_list" :value="item.node_action_id === 'commit' ? '提交' : '驳回'" :name="item.node_code"> | 63 | + <van-collapse-item v-for="(item, index) in form_flow_process_list" :value="item.node_action_id === 'commit' ? '提交' : '驳回'" :name="item.created_time"> |
| 64 | <template #title> | 64 | <template #title> |
| 65 | <div style="display: flex; align-items: center;"> | 65 | <div style="display: flex; align-items: center;"> |
| 66 | <van-icon | 66 | <van-icon |
| ... | @@ -424,11 +424,11 @@ onMounted(async () => { | ... | @@ -424,11 +424,11 @@ onMounted(async () => { |
| 424 | setTimeout(() => { | 424 | setTimeout(() => { |
| 425 | form_flow_process_list.value = flow_process_list; // 上中下游节点的审批意见 | 425 | form_flow_process_list.value = flow_process_list; // 上中下游节点的审批意见 |
| 426 | if (flow_process_list?.length) { | 426 | if (flow_process_list?.length) { |
| 427 | - // active_flow_process.value.push(flow_process_list[0]['node_code']); | 427 | + active_flow_process.value.push(flow_process_list[0]['created_time']); |
| 428 | - nextTick(() => { | 428 | + // nextTick(() => { |
| 429 | - // 全部展开 | 429 | + // // 全部展开 |
| 430 | - collapseRef.value?.toggleAll(true); | 430 | + // collapseRef.value?.toggleAll(true); |
| 431 | - }) | 431 | + // }) |
| 432 | } | 432 | } |
| 433 | }, 1000); | 433 | }, 1000); |
| 434 | } | 434 | } | ... | ... |
-
Please register or login to post a comment