外链
This commit is contained in:
@@ -16,11 +16,8 @@ export function getInfo(token) {
|
|||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
// type: '1',
|
|
||||||
// name: '菜单系统模块_项目角色模块列表_查询数据gj',
|
|
||||||
// param: `角色编号=${token}`
|
|
||||||
type: '3',
|
type: '3',
|
||||||
name: `select * from 基础表_角色模块信息 inner join 基础表_模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id where 角色编号=${token}`
|
name: `select * from 基础表_角色模块信息 inner join 基础表_模块信息 on 基础表_角色模块信息.id = 基础表_模块信息.id where 角色编号=${token} order by 模块顺序`
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,37 @@ import Layout from '../views/layout/Layout'
|
|||||||
export const constantRouterMap = [
|
export const constantRouterMap = [
|
||||||
{ path: '/login', component: () => import('@/views/login/index'), hidden: true },
|
{ path: '/login', component: () => import('@/views/login/index'), hidden: true },
|
||||||
{ path: '/404', component: () => import('@/views/404'), hidden: true },
|
{ path: '/404', component: () => import('@/views/404'), hidden: true },
|
||||||
|
{
|
||||||
|
path: '可视化中心',
|
||||||
|
component: Layout,
|
||||||
|
meta: { title: '可视化中心', icon: 'MaterialManagement' },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.231:8005/#/TVF',
|
||||||
|
meta: { title: '设备运行监控', icon: 'MaterialManagement' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.231:8005/#/TVA',
|
||||||
|
meta: { title: 'MES工作站', icon: 'MaterialManagement' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.231:8005/#/TVD',
|
||||||
|
meta: { title: '设备状态监控', icon: 'MaterialManagement' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.231:8005/#/TVG',
|
||||||
|
meta: { title: '项目进度监控', icon: 'MaterialManagement' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.231:8005/#/TVB',
|
||||||
|
meta: { title: 'ANDON', icon: 'MaterialManagement' }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http://192.168.1.232:8001/webpage/GJLED.html',
|
||||||
|
meta: { title: 'LED屏幕', icon: 'MaterialManagement' }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<div class="sudoku_row" >
|
<div class="sudoku_row" >
|
||||||
<div class="dashboard-text" style="color:white">用户名:{{ name }}</div>
|
<div class="dashboard-text" style="color:white">用户名:{{ name }}</div>
|
||||||
<el-divider content-position="right">消息通知</el-divider>
|
<el-divider content-position="right">消息通知</el-divider>
|
||||||
<el-card v-for="(sudoku,index) in sudokus" :class="curSelect==sudoku.id?'opacity':''" :key="index" shadow="hover" class="sudoku_item ">
|
<el-card v-for="(sudoku,index) in sudokus" :class="curSelect === sudoku.id?'opacity':''" :key="index+9999" shadow="hover" class="sudoku_item ">
|
||||||
<div>
|
<div>
|
||||||
<el-badge :value="sudoku.value">
|
<el-badge :value="sudoku.value">
|
||||||
<svg-icon :icon-class="sudoku.icon" style="border: 1px solid black;background-color: #555c66" />
|
<svg-icon :icon-class="sudoku.icon" style="" />
|
||||||
<router-link :to="sudoku.router">{{ sudoku.name }}</router-link>
|
<router-link :to="sudoku.router">{{ sudoku.name }}</router-link>
|
||||||
</el-badge>
|
</el-badge>
|
||||||
</div>
|
</div>
|
||||||
@@ -117,6 +117,7 @@ export default {
|
|||||||
for (let i = 0; i < data.data.length; i++) {
|
for (let i = 0; i < data.data.length; i++) {
|
||||||
this.getMessageNum(data.data[i].消息通知来源, data.data[i].通知条件, data, i)
|
this.getMessageNum(data.data[i].消息通知来源, data.data[i].通知条件, data, i)
|
||||||
}
|
}
|
||||||
|
console.log(this.sudokus)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async getMessageNum(tableName, condition, rawData, i) {
|
async getMessageNum(tableName, condition, rawData, i) {
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<span class="show-pwd" @click="showPwd"><svg-icon icon-class="eye" /></span>
|
<span class="show-pwd" @click="showPwd"><svg-icon icon-class="eye" /></span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div>
|
<div>
|
||||||
<el-checkbox v-model="loginForm.checked" class="remeberPassword">记住账号密码</el-checkbox>
|
<el-checkbox v-model="loginForm.checked" class="remeberPassword">记住密码</el-checkbox>
|
||||||
<el-button type="text" style="margin-left: 224px" @click="handleEdit('form')">修改密码</el-button>
|
<el-button type="text" style="margin-left: 224px" @click="handleEdit('form')">修改密码</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-button :loading="loading" class="signIn" type="primary" style="width:100%;" @click.native.prevent="handleLogin">
|
<el-button :loading="loading" class="signIn" type="primary" style="width:100%;" @click.native.prevent="handleLogin">
|
||||||
|
|||||||
Reference in New Issue
Block a user