|
@@ -247,8 +247,9 @@
|
|
|
<li
|
|
|
v-for="(item, index) in callbacks"
|
|
|
:key="index"
|
|
|
- :class="{ active: index === 0 }"
|
|
|
+ :class="{ active: backActivityIndex === index }"
|
|
|
:icon="Edit"
|
|
|
+ @click="selectCActivityHandle(item, index)"
|
|
|
>
|
|
|
<el-icon style="margin-right: 2px">
|
|
|
<DArrowRight />
|
|
@@ -270,7 +271,7 @@
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
|
<el-button @click="callbackVisible = false">关闭</el-button>
|
|
|
- <el-button type="primary" @click="callbackSumbit">提交</el-button>
|
|
|
+ <el-button type="primary" @click="callbackSumbitHandle">提交</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
@@ -492,6 +493,13 @@ const {
|
|
|
initHandleCaseCenterData()
|
|
|
}
|
|
|
})
|
|
|
+const backActivityIndex = ref<number>(0)
|
|
|
+const selectCActivityHandle = (item, index) => {
|
|
|
+ backActivityIndex.value = index
|
|
|
+}
|
|
|
+const callbackSumbitHandle = () => {
|
|
|
+ callbackSumbit(backActivityIndex.value)
|
|
|
+}
|
|
|
/**
|
|
|
* 初始化退回Hook
|
|
|
*/
|