Compare commits

..

2 Commits

7 changed files with 1306 additions and 1218 deletions

View File

@ -346,6 +346,7 @@ export function getZwyBusinessList(params) {
params,
})
}
//
export function getZwyBusinessInfoById(params) {
return request({
@ -354,7 +355,22 @@ export function getZwyBusinessInfoById(params) {
params,
})
}
//
export function getZwyVideoList(params) {
return request({
url: '/act/task/getZwyVideoList',
method: 'get',
params,
})
}
//
export function getZwyVideoInfoById(params) {
return request({
url: '/act/task/getZwyVideoInfoById',
method: 'get',
params,
})
}
//
export function treminders(data) {
return request({

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -30,16 +30,20 @@
<script setup>
import { onMounted, defineProps, ref } from 'vue'
import {
getZwyBusinessInfoById
getZwyBusinessInfoById,
getZwyVideoInfoById
} from '@/api/personalCenter'
const props = defineProps({
BSNUM: { type: String, default: '' },
baseInfo: { type: Object, default: null },
chooseTab: { type: Number, default: 0 },
})
const BSNUM = ref('')
const chooseTab = ref(0)
const baseInfo = ref({})
BSNUM.value = props.BSNUM
chooseTab.value=props.chooseTab
baseInfo.value = props.baseInfo
const columns = ref([
{
@ -57,17 +61,27 @@ const xVideoList = ref([
])
onMounted(() => {
const params={
"id":BSNUM.value
}
if(chooseTab.value===2){
getZwyBusinessInfoById(params).then(
(res) => {
xVideoList.value = res.data.data
num.value = []
total.value = res.data.data.total
// total.value = res.data.data.length
}
)
}else if(chooseTab.value===3){
getZwyVideoInfoById(params).then(
(res) => {
xVideoList.value = res.data.data
// total.value = res.data.data.length
}
)
}
})
</script>

File diff suppressed because it is too large Load Diff