This commit is contained in:
saplf
2018-10-15 00:41:25 +08:00
parent be7755c0f3
commit 19eacdc5a0
14 changed files with 594 additions and 19 deletions

View File

@@ -1,8 +1,42 @@
export default {
namespaced: true,
state: {
pageEntity: [5, 10, 25],
headers: [
{ text: 'chain.thHeight', value: 'height', align: 'center' },
{ text: 'chain.thTimestamp', value: 'timestamp', align: 'center' },
{ text: 'chain.thType', value: 'type', align: 'center' },
{ text: 'chain.thId', value: 'id', align: 'center' },
],
desserts: [
{
height: '1',
timestamp: '2011-11-20',
type: '0',
id: 'ajlk;gaklewklgjqwejj',
},
],
fetching: false,
filter: '',
modal: false,
},
mutations: {},
mutations: {
inputFilter(state, filter) {
state.filter = filter
},
showModal(state) {
state.modal = true
},
hideModal(state) {
state.modal = false
},
},
actions: {},
getters: {},
}

View File

@@ -1,7 +1,33 @@
export default {
namespaced: true,
state: {},
mutations: {},
state: {
pageEntity: [5, 10, 25],
headers: [
{ text: 'network.thIndex', value: 'index', align: 'center' },
{ text: 'network.thAddress', value: 'address', align: 'center' },
{ text: 'network.thStatus', value: 'status', align: 'center' },
{ text: 'network.thNeighbour', value: 'neighbour', align: 'center' },
],
desserts: [
{
index: '1',
address: '192.168.0.1',
status: '0',
neighbour: 'ajlk;gaklewklgjqwejj',
},
],
fetching: false,
filter: '',
},
mutations: {
inputFilter(state, filter) {
state.filter = filter
},
},
actions: {},
getters: {},
}

View File

@@ -1,7 +1,42 @@
export default {
namespaced: true,
state: {},
mutations: {},
actions: {},
state: {
pageEntity: [5, 10, 25],
headers: [
{ text: 'owner.thId', value: 'id', align: 'center' },
{ text: 'owner.thType', value: 'type', align: 'center' },
{ text: 'owner.thSender', value: 'sender', align: 'center' },
{ text: 'owner.thReceiver', value: 'receiver', align: 'center' },
{ text: 'owner.thDate', value: 'date', align: 'center' },
{ text: 'owner.thAmount', value: 'amount', align: 'center' },
{ text: 'owner.thFee', value: 'fee', align: 'center' },
{ text: 'owner.thRemark', value: 'remark', align: 'center' },
],
desserts: [
// {
// id: 'xxxxx',
// type: 'zzz',
// sender: 'xxx',
// receiver: 'dddd',
// date: '333',
// amount: '12',
// fee: 32,
// remark: 'xxxx',
// },
],
fetching: false,
filter: '',
},
mutations: {
inputFilter(state, filter) {
state.filter = filter
},
},
actions: {
},
getters: {},
}

View File

@@ -26,11 +26,6 @@ const sideMenus = [
icon: 'group',
path: '/owner',
},
{
title: 'home.titleChain',
icon: 'public',
path: '/chain',
},
{
title: 'home.titleNode',
icon: 'all_inclusive',
@@ -38,9 +33,14 @@ const sideMenus = [
},
{
title: 'home.titleNetwork',
icon: 'language',
icon: 'public',
path: '/network',
},
{
title: 'home.titleChain',
icon: 'timeline',
path: '/chain',
},
{
title: 'home.titleMarket',
icon: 'apps',