|
@@ -99,6 +99,7 @@ defineOptions({ name: 'CommonCostDept' })
|
|
|
const { wsCache } = useCache()
|
|
|
const user = wsCache.get(CACHE_KEY.USER)
|
|
|
const userId = user.user.id ? user.user.id : ''
|
|
|
+const router = useRouter()
|
|
|
const queryParams = reactive({
|
|
|
pageNo: 1,
|
|
|
pageSize: 10,
|
|
@@ -154,6 +155,18 @@ const handleQuery = () => {
|
|
|
getOverview()
|
|
|
}
|
|
|
|
|
|
+const operateClick = (row: any) => {
|
|
|
+ router.push({
|
|
|
+ path: '/processLook',
|
|
|
+ query: {
|
|
|
+ url:
|
|
|
+ `${
|
|
|
+ import.meta.env.VITE_PROCESS_DETAIL_URI
|
|
|
+ }/IFlowInstance/redirectFlowPage?flowInstanceId=` + row.instanceId
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
/** 分页操作 */
|
|
|
const handleCurrentChange = (pageNo: number) => {
|
|
|
queryParams.pageNo = pageNo
|
|
@@ -168,5 +181,5 @@ onMounted(() => {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-@import url(./book.scss);
|
|
|
+@import url('./book.scss');
|
|
|
</style>
|