|
@@ -10,6 +10,8 @@ import { shopInfoColumns } from '/@/views/shop-information/useColumns';
|
|
import * as api from '../api';
|
|
import * as api from '../api';
|
|
import { useTableData } from '/@/utils/useTableData';
|
|
import { useTableData } from '/@/utils/useTableData';
|
|
import { useResponse } from '/@/utils/useResponse';
|
|
import { useResponse } from '/@/utils/useResponse';
|
|
|
|
+import { Link } from '@element-plus/icons-vue';
|
|
|
|
+import router from '/@/router';
|
|
|
|
|
|
|
|
|
|
const { tableOptions, handlePageChange } = usePagination(fetchList);
|
|
const { tableOptions, handlePageChange } = usePagination(fetchList);
|
|
@@ -117,6 +119,13 @@ function parameterChange() {
|
|
fetchList();
|
|
fetchList();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+function handleNavigate(item: any) {
|
|
|
|
+ router.push({
|
|
|
|
+ path: '/shop/detail',
|
|
|
|
+ query: { platformNumber: item.platformNumber }
|
|
|
|
+ });
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
@@ -165,6 +174,14 @@ function parameterChange() {
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template #platformNumber="{ row }">
|
|
|
|
+ <el-button link style="font-weight: 700" type="primary" @click="handleNavigate(row)">
|
|
|
|
+ <el-icon>
|
|
|
|
+ <Link />
|
|
|
|
+ </el-icon>
|
|
|
|
+ {{ row.platformNumber ? row.platformNumber : '--' }}
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
<template #pager>
|
|
<template #pager>
|
|
<vxe-pager
|
|
<vxe-pager
|
|
v-model:currentPage="gridOptions.pagerConfig.page"
|
|
v-model:currentPage="gridOptions.pagerConfig.page"
|