|
@@ -12,14 +12,14 @@
|
|
</div>
|
|
</div>
|
|
<div class="topTip">推荐好友入职得赏金</div>
|
|
<div class="topTip">推荐好友入职得赏金</div>
|
|
<!-- 数据 -->
|
|
<!-- 数据 -->
|
|
- <TablePage :items="items"></TablePage>
|
|
|
|
|
|
+ <!-- <TablePage :items="items"></TablePage>
|
|
<CtPagination
|
|
<CtPagination
|
|
v-if="total > 0"
|
|
v-if="total > 0"
|
|
:total="total"
|
|
:total="total"
|
|
:page="query.pageNo"
|
|
:page="query.pageNo"
|
|
:limit="query.pageSize"
|
|
:limit="query.pageSize"
|
|
@handleChange="handleChangePage"
|
|
@handleChange="handleChangePage"
|
|
- ></CtPagination>
|
|
|
|
|
|
+ ></CtPagination> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 滚动区域 -->
|
|
<!-- 滚动区域 -->
|
|
@@ -34,8 +34,11 @@ defineOptions({name: 'defineOptions-name'})
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
import { getDict } from '@/hooks/web/useDictionaries'
|
|
import { getDict } from '@/hooks/web/useDictionaries'
|
|
import { useUserStore } from '@/store/user'
|
|
import { useUserStore } from '@/store/user'
|
|
-import { getHireJobCvRelCount, getHireJobCvRelPage } from '@/api/publicRecruitment'
|
|
|
|
-import TablePage from './components/table.vue'
|
|
|
|
|
|
+import {
|
|
|
|
+ getHireJobCvRelCount,
|
|
|
|
+ // getHireJobCvRelPage
|
|
|
|
+} from '@/api/publicRecruitment'
|
|
|
|
+// import TablePage from './components/table.vue'
|
|
import bountyDisplay from './components/bountyDisplay.vue'
|
|
import bountyDisplay from './components/bountyDisplay.vue'
|
|
|
|
|
|
const active = ref(0)
|
|
const active = ref(0)
|
|
@@ -60,18 +63,18 @@ const getData = async () => {
|
|
}
|
|
}
|
|
|
|
|
|
// 列表
|
|
// 列表
|
|
-const items = ref([])
|
|
|
|
-const total = ref(0)
|
|
|
|
-const query = ref({
|
|
|
|
- pageSize: 10,
|
|
|
|
- pageNo: 1,
|
|
|
|
- status: null
|
|
|
|
-})
|
|
|
|
-const getTableList = async () => {
|
|
|
|
- const res = await getHireJobCvRelPage(query.value)
|
|
|
|
- items.value = res.list
|
|
|
|
- total.value = res.total
|
|
|
|
-}
|
|
|
|
|
|
+// const items = ref([])
|
|
|
|
+// const total = ref(0)
|
|
|
|
+// const query = ref({
|
|
|
|
+// pageSize: 10,
|
|
|
|
+// pageNo: 1,
|
|
|
|
+// status: null
|
|
|
|
+// })
|
|
|
|
+// const getTableList = async () => {
|
|
|
|
+// const res = await getHireJobCvRelPage(query.value)
|
|
|
|
+// items.value = res.list
|
|
|
|
+// total.value = res.total
|
|
|
|
+// }
|
|
|
|
|
|
// 状态
|
|
// 状态
|
|
const getStatusData = () => {
|
|
const getStatusData = () => {
|
|
@@ -80,25 +83,25 @@ const getStatusData = () => {
|
|
statisticsList.value = data.map(e => {
|
|
statisticsList.value = data.map(e => {
|
|
return { ...e, count: 0 }
|
|
return { ...e, count: 0 }
|
|
})
|
|
})
|
|
- query.value.status = data[0].value
|
|
|
|
|
|
+ // query.value.status = data[0].value
|
|
getData()
|
|
getData()
|
|
- getTableList()
|
|
|
|
|
|
+ // getTableList()
|
|
})
|
|
})
|
|
}
|
|
}
|
|
getStatusData()
|
|
getStatusData()
|
|
|
|
|
|
// 分页
|
|
// 分页
|
|
-const handleChangePage = (e) => {
|
|
|
|
- query.value.pageNo = e
|
|
|
|
- getTableList()
|
|
|
|
-}
|
|
|
|
|
|
+// const handleChangePage = (e) => {
|
|
|
|
+// query.value.pageNo = e
|
|
|
|
+// getTableList()
|
|
|
|
+// }
|
|
|
|
|
|
// 钻取
|
|
// 钻取
|
|
const handleStatisticsItem = (item, index) => {
|
|
const handleStatisticsItem = (item, index) => {
|
|
active.value = index
|
|
active.value = index
|
|
- query.value.pageNo = 1
|
|
|
|
- query.value.status = item.value
|
|
|
|
- getTableList()
|
|
|
|
|
|
+ // query.value.pageNo = 1
|
|
|
|
+ // query.value.status = item.value
|
|
|
|
+ // getTableList()
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|