You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
65 lines
1.3 KiB
<template>
|
|
<h1>
|
|
<!-- <span class="action-span"><a href="privilege.php?act=add">添加管理員</a></span> -->
|
|
<span class="action-span1"><a href="index.php?act=main">商城網站管理中心</a> </span><span id="search_id" class="action-span1"> - 分銷分潤管理 </span>
|
|
<div style="clear:both"></div>
|
|
</h1>
|
|
<div class="form-div">
|
|
<a-input-search
|
|
placeholder="請輸入訂單號"
|
|
style="width: 400px"
|
|
@search="onSearch"
|
|
/>
|
|
</div>
|
|
<div class="list-div" id="listDiv">
|
|
<a-table :dataSource="dataSource" :columns="columns" />
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref, onMounted } from 'vue'
|
|
|
|
const columns = [
|
|
{
|
|
title: '訂單號',
|
|
dataIndex: 'no',
|
|
},
|
|
{
|
|
title: '訂單狀態',
|
|
dataIndex: 'status',
|
|
},
|
|
{
|
|
title: '操作狀態',
|
|
dataIndex: 'status',
|
|
},
|
|
{
|
|
title: '操作信息',
|
|
dataIndex: 'status',
|
|
},
|
|
{
|
|
title: '分成類型',
|
|
dataIndex: 'status',
|
|
},
|
|
{
|
|
title: '操作',
|
|
dataIndex: 'action',
|
|
},
|
|
]
|
|
|
|
const dataSource = ref([])
|
|
|
|
onMounted(() => {
|
|
init()
|
|
})
|
|
|
|
const init = async () =>{
|
|
let res = await axios.get('https://shop.h888.fun/admin/affiliate_ck.php?act=getList')
|
|
console.log(res.data)
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
<style>
|
|
</style> |