订单管理

This commit is contained in:
邓皓元 2019-02-11 09:56:19 +08:00
parent e86ec35810
commit 8a34d21d4f
7 changed files with 41 additions and 8 deletions

View File

@ -135,12 +135,39 @@ class PermissionSeeder extends Seeder
'open' => 3,
'children' => [
[
'name' => 'virtual.orders.index', 'title' => '销售订单', 'path' => '/orders/0', 'icon' => 'logo-yen', 'type' => 0, 'open' => 3,
'name' => 'virtual.orders.0.index', 'title' => '销售订单', 'path' => '/orders/0', 'icon' => 'ios-bulb', 'type' => 0, 'open' => 3,
'children' => [
['name' => 'virtual.orders.show', 'title' => '查看', 'description' => 'show', 'type' => 1],
['name' => 'virtual.orders.create', 'title' => '创建', 'description' => 'create', 'type' => 1],
['name' => 'virtual.orders.update', 'title' => '编辑', 'description' => 'update', 'type' => 1],
['name' => 'virtual.orders.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
['name' => 'virtual.orders.0.show', 'title' => '查看', 'description' => 'show', 'type' => 1],
['name' => 'virtual.orders.0.create', 'title' => '创建', 'description' => 'create', 'type' => 1],
['name' => 'virtual.orders.0.update', 'title' => '编辑', 'description' => 'update', 'type' => 1],
['name' => 'virtual.orders.0.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
],
],
[
'name' => 'virtual.orders.1.index', 'title' => '续费订单', 'path' => '/orders/1', 'icon' => 'md-pulse', 'type' => 0, 'open' => 3,
'children' => [
['name' => 'virtual.orders.1.show', 'title' => '查看', 'description' => 'show', 'type' => 1],
['name' => 'virtual.orders.1.create', 'title' => '创建', 'description' => 'create', 'type' => 1],
['name' => 'virtual.orders.1.update', 'title' => '编辑', 'description' => 'update', 'type' => 1],
['name' => 'virtual.orders.1.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
],
],
[
'name' => 'virtual.orders.2.index', 'title' => '续费包订单', 'path' => '/orders/2', 'icon' => 'md-basket', 'type' => 0, 'open' => 3,
'children' => [
['name' => 'virtual.orders.2.show', 'title' => '查看', 'description' => 'show', 'type' => 1],
['name' => 'virtual.orders.2.create', 'title' => '创建', 'description' => 'create', 'type' => 1],
['name' => 'virtual.orders.2.update', 'title' => '编辑', 'description' => 'update', 'type' => 1],
['name' => 'virtual.orders.2.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
],
],
[
'name' => 'virtual.orders.3.index', 'title' => '加油包订单', 'path' => '/orders/3', 'icon' => 'ios-color-fill', 'type' => 0, 'open' => 3,
'children' => [
['name' => 'virtual.orders.3.show', 'title' => '查看', 'description' => 'show', 'type' => 1],
['name' => 'virtual.orders.3.create', 'title' => '创建', 'description' => 'create', 'type' => 1],
['name' => 'virtual.orders.3.update', 'title' => '编辑', 'description' => 'update', 'type' => 1],
['name' => 'virtual.orders.3.destroy', 'title' => '删除', 'description' => 'destroy', 'type' => 1],
],
],
],

View File

@ -44,7 +44,7 @@ export default {
{
title: '订单编号',
key: 'sn',
width: 200
width: 250
},
{
title: '企业名称',
@ -77,7 +77,7 @@ export default {
{
title: '订单金额',
key: 'custom_price',
width: 100
width: 120
},
{
title: '订单状态',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-7b1dff40.ca5cf5af.css rel=prefetch><link href=/js/chunk-00ae0766.9e6b7bf3.js rel=prefetch><link href=/js/chunk-7b1dff40.1a6f8476.js rel=prefetch><link href=/css/app.36043160.css rel=preload as=style><link href=/css/chunk-vendors.3c3b2e85.css rel=preload as=style><link href=/js/app.6f556f20.js rel=preload as=script><link href=/js/chunk-vendors.02a4e5bc.js rel=preload as=script><link href=/css/chunk-vendors.3c3b2e85.css rel=stylesheet><link href=/css/app.36043160.css rel=stylesheet></head><body><noscript><strong>很抱歉如果没有启用JavaScript程序不能正常工作若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.02a4e5bc.js></script><script src=/js/app.6f556f20.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=\favicon.ico><script src=\config.js></script><title></title><link href=/css/chunk-7b1dff40.ca5cf5af.css rel=prefetch><link href=/js/chunk-00ae0766.9e6b7bf3.js rel=prefetch><link href=/js/chunk-7b1dff40.671da947.js rel=prefetch><link href=/css/app.36043160.css rel=preload as=style><link href=/css/chunk-vendors.3c3b2e85.css rel=preload as=style><link href=/js/app.37da84d4.js rel=preload as=script><link href=/js/chunk-vendors.02a4e5bc.js rel=preload as=script><link href=/css/chunk-vendors.3c3b2e85.css rel=stylesheet><link href=/css/app.36043160.css rel=stylesheet></head><body><noscript><strong>很抱歉如果没有启用JavaScript程序不能正常工作若要继续使用请启用它。</strong></noscript><div id=app></div><script src=/js/chunk-vendors.02a4e5bc.js></script><script src=/js/app.37da84d4.js></script></body></html>