format code
This commit is contained in:
parent
fd203928d7
commit
b0a3c24c07
|
@ -113,6 +113,26 @@ export const constantRouterMap = [
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: '支付宝小程序',
|
||||||
|
path: '/user',
|
||||||
|
component: Layout,
|
||||||
|
redirect: '/user/centerUserAliappKey/list',
|
||||||
|
meta: { title: '支付宝小程序', icon: 'alipaySR' },
|
||||||
|
children: [{
|
||||||
|
name: 'Appid配置',
|
||||||
|
path: 'centerUserAliappKey/list',
|
||||||
|
component: () => import('@/views/centerUserAliappKey/list'),
|
||||||
|
meta: { title: 'Appid配置', icon: 'alipaySR' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '首页',
|
||||||
|
path: 'index',
|
||||||
|
component: () => import('@/views/dashboard/index'),
|
||||||
|
meta: { title: '首页', icon: 'setting' }
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: '视频点播',
|
name: '视频点播',
|
||||||
path: '/user/apiExtVod',
|
path: '/user/apiExtVod',
|
||||||
|
@ -170,26 +190,6 @@ export const constantRouterMap = [
|
||||||
meta: { title: '拼团记录', icon: 'pingtuan' }
|
meta: { title: '拼团记录', icon: 'pingtuan' }
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '支付宝小程序',
|
|
||||||
path: '/user',
|
|
||||||
component: Layout,
|
|
||||||
redirect: '/user/centerUserAliappKey/list',
|
|
||||||
meta: { title: '支付宝小程序', icon: 'alipaySR' },
|
|
||||||
children: [{
|
|
||||||
name: 'Appid配置',
|
|
||||||
path: 'centerUserAliappKey/list',
|
|
||||||
component: () => import('@/views/centerUserAliappKey/list'),
|
|
||||||
meta: { title: 'Appid配置', icon: 'alipaySR' }
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '我的资源包2',
|
|
||||||
path: 'dashboard3',
|
|
||||||
component: () => import('@/views/dashboard/index'),
|
|
||||||
meta: { title: '我的资源包2', icon: 'setting' }
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
{ path: '*', redirect: '/404', hidden: true }
|
{ path: '*', redirect: '/404', hidden: true }
|
||||||
]
|
]
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
<h4>设置信息</h4>
|
<el-button class="filter-item" style="margin-bottom: 10px;" @click="handleCreate" type="success" icon="el-icon-edit">设置</el-button>
|
||||||
<el-button class="filter-item" style="margin-left: 10px;margin-bottom: 10px;" @click="handleCreate" type="success" icon="el-icon-edit">设置</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" :show-header="false" border fit highlight-current-row empty-text="暂无数据">
|
<el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" :show-header="false" border fit highlight-current-row empty-text="暂无数据">
|
||||||
<el-table-column prop="name" label="name"></el-table-column>
|
<el-table-column prop="name" label="name"></el-table-column>
|
||||||
|
@ -14,10 +13,10 @@
|
||||||
<el-dialog :title="pushData.dialogTitle" :visible.sync="pushData.dialogFormVisible" :close-on-click-modal="false" :close-on-press-escape="false">
|
<el-dialog :title="pushData.dialogTitle" :visible.sync="pushData.dialogFormVisible" :close-on-click-modal="false" :close-on-press-escape="false">
|
||||||
<el-form :rules="rules" ref="addEditPopForm" :model="pushData" label-position="left" label-width="100px">
|
<el-form :rules="rules" ref="addEditPopForm" :model="pushData" label-position="left" label-width="100px">
|
||||||
<el-form-item label="appid" prop="appid" >
|
<el-form-item label="appid" prop="appid" >
|
||||||
<el-input v-model.text="pushData.appid" type="text" clearable @keyup.enter.native="handleCreateSave"></el-input>
|
<el-input v-model="pushData.appid" type="text" clearable @keyup.enter.native="handleCreateSave"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="privateKey" prop="privateKey" >
|
<el-form-item label="privateKey" prop="privateKey" >
|
||||||
<el-input v-model.textarea="pushData.privateKey" type="textarea " clearable @keyup.enter.native="handleCreateSave"></el-input>
|
<el-input v-model="pushData.privateKey" type="textarea" :rows="8" clearable @keyup.enter.native="handleCreateSave"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
|
|
Loading…
Reference in New Issue