赋能案例
This commit is contained in:
parent
aff2ebda88
commit
cf0bb02b43
|
@ -30,10 +30,10 @@
|
|||
<span
|
||||
v-for="(item, index) in tabClickData"
|
||||
:key="index"
|
||||
:class="listBg == item.name ? 'down' : ''"
|
||||
@click="switchList(item.name)"
|
||||
:class="listBg == item.dictLabel ? 'down' : ''"
|
||||
@click="switchList(item.dictLabel)"
|
||||
>
|
||||
{{ item.name }}
|
||||
{{ item.dictLabel }}
|
||||
</span>
|
||||
</div>
|
||||
<a class="more" @click="lookmore(hidetext)">
|
||||
|
@ -82,6 +82,7 @@
|
|||
import { ref, onMounted } from 'vue'
|
||||
// import { useStore } from 'vuex'
|
||||
import { pageWithAttrs } from '@/api/home.js'
|
||||
import { getCategoryTreePage } from '@/api/personalCenter.js'
|
||||
import { useRouter } from 'vue-router'
|
||||
// import { pinyin } from 'pinyin-pro'
|
||||
// import { Empty } from 'ant-design-vue'
|
||||
|
@ -159,6 +160,17 @@
|
|||
name: '其他',
|
||||
},
|
||||
])
|
||||
//赋能案例tab页接口
|
||||
const tabChaXun = () => {
|
||||
const params = {
|
||||
page: 1,
|
||||
limit: 99,
|
||||
dictTypeId: '1513712507692818433',
|
||||
}
|
||||
getCategoryTreePage(params).then(({ data: res }) => {
|
||||
tabClickData.value = res.data.list
|
||||
})
|
||||
}
|
||||
const tabClickShow = ref(false)
|
||||
const number = ref(0)
|
||||
const changeCards = (val) => {
|
||||
|
@ -195,6 +207,7 @@
|
|||
}
|
||||
//查询分页接口
|
||||
const init = (list) => {
|
||||
tabChaXun()
|
||||
let params = {
|
||||
deptIds: [],
|
||||
districtId: '',
|
||||
|
|
Loading…
Reference in New Issue