Commit d4b5244d authored by LiXuyang's avatar LiXuyang

商城订单-列表

parent aff84e05
...@@ -27,7 +27,11 @@ ...@@ -27,7 +27,11 @@
<TableAction <TableAction
:actions="[ :actions="[
{ label: '详情', onClick: handleDetail.bind(null, record) }, { label: '详情', onClick: handleDetail.bind(null, record) },
{ label: '审核', onClick: handleDetail.bind(null, record) }, {
label: '审核',
onClick: handleDetail.bind(null, record),
ifShow: record.progress !== '已审核',
},
]" ]"
/> />
</template> </template>
...@@ -84,7 +88,7 @@ ...@@ -84,7 +88,7 @@
import { FormProps } from '@/components/Form'; import { FormProps } from '@/components/Form';
import { ref } from 'vue'; import { ref } from 'vue';
import { useMessage } from '@/hooks/web/useMessage'; import { useMessage } from '@/hooks/web/useMessage';
import { BasicTable, useTable, TableAction } from '@/components/Table'; import { BasicTable, useTable, TableAction, BasicTableProps } from '@/components/Table';
import { orderFormSchema, orderTableColumn } from './order.data'; import { orderFormSchema, orderTableColumn } from './order.data';
import { orderData } from './orderData'; import { orderData } from './orderData';
import { useModal } from '@/components/Modal'; import { useModal } from '@/components/Modal';
......
...@@ -45,7 +45,7 @@ export const orderData = [ ...@@ -45,7 +45,7 @@ export const orderData = [
}, },
{ {
name: '月度销售报告', name: '月度销售报告',
type: '文件', type: '数据服务',
version: 'v1.1', version: 'v1.1',
uploadPerson: '李伟', uploadPerson: '李伟',
money: 5000, money: 5000,
...@@ -56,7 +56,7 @@ export const orderData = [ ...@@ -56,7 +56,7 @@ export const orderData = [
}, },
{ {
name: '季度运营总结', name: '季度运营总结',
type: '文件', type: '数据服务',
version: 'v2.0', version: 'v2.0',
uploadPerson: '孙涛', uploadPerson: '孙涛',
money: 3000, money: 3000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment