|
@@ -133,8 +133,10 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="操作" align="center" width="80" fixed="right">
|
|
|
|
|
|
+ <el-table-column label="操作" align="center" width="120" fixed="right">
|
|
|
|
+
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
|
|
+ <el-button type="text" @click="fetchData(row.id)">同步</el-button>
|
|
<el-button type="text" @click="jumpToOldSystem(row.flowInstanceId)">跳转</el-button>
|
|
<el-button type="text" @click="jumpToOldSystem(row.flowInstanceId)">跳转</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -146,7 +148,6 @@
|
|
import YPageListLayout from '@/components/YPageListLayout'
|
|
import YPageListLayout from '@/components/YPageListLayout'
|
|
import Breadcrumb from '@/components/Breadcrumb'
|
|
import Breadcrumb from '@/components/Breadcrumb'
|
|
import PermissionButton from '@/components/PermissionButton/PermissionButton'
|
|
import PermissionButton from '@/components/PermissionButton/PermissionButton'
|
|
-import { setCookie } from '@/utils/auth'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'majorOldList',
|
|
name: 'majorOldList',
|
|
@@ -229,6 +230,15 @@ export default {
|
|
document.cookie = cookieMap[0]+"="+cookieMap[1]+"; domain=scdayou.com; path=/;";
|
|
document.cookie = cookieMap[0]+"="+cookieMap[1]+"; domain=scdayou.com; path=/;";
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ fetchData(id){
|
|
|
|
+ if (id){
|
|
|
|
+ this.$api.historyOrder.fetchAboutMajorById(id).then(res=>{
|
|
|
|
+ if (res.code ===200 && res.data){
|
|
|
|
+ this.$message.success("同步成功,请在正在进行列表中查看。")
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|