检测设备,自定义页面颜色
parent
f7c5550bb1
commit
915a926816
Binary file not shown.
After Width: | Height: | Size: 553 KiB |
@ -1,132 +1,184 @@
|
|||||||
import Vue from 'vue'
|
import Vue from "vue";
|
||||||
import VueRouter from 'vue-router'
|
import VueRouter from "vue-router";
|
||||||
|
|
||||||
Vue.use(VueRouter)
|
Vue.use(VueRouter);
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: "/",
|
||||||
redirect: '/stritl'
|
redirect: "/stritl",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/',
|
path: "/",
|
||||||
component: () => import(/* webpackChunkName: "home" */ '../components/common/Home.vue'),
|
component: () =>
|
||||||
meta: { title: '首页' },
|
import(/* webpackChunkName: "home" */ "../components/common/Home.vue"),
|
||||||
|
meta: { title: "首页" },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/stritl',
|
path: "/stritl",
|
||||||
component: () => import(/* webpackChunkName: "dashboard" */ '../views/stritl/index.vue'),
|
component: () =>
|
||||||
meta: {
|
import(
|
||||||
title: '系统首页',
|
/* webpackChunkName: "dashboard" */ "../views/stritl/index.vue"
|
||||||
icon: 'el-icon-s-home',
|
),
|
||||||
}
|
meta: {
|
||||||
},
|
title: "系统首页",
|
||||||
{
|
icon: "el-icon-s-home",
|
||||||
path: '/realTimeMonitor',
|
},
|
||||||
component: () => import(/* webpackChunkName: "icon" */ '../views/realTimeMonitor/index.vue'),
|
},
|
||||||
meta: {
|
{
|
||||||
title: '实时监控',
|
path: "/realTimeMonitor",
|
||||||
permission: true,
|
component: () =>
|
||||||
icon: 'el-icon-camera',
|
import(
|
||||||
},
|
/* webpackChunkName: "icon" */ "../views/realTimeMonitor/index.vue"
|
||||||
},
|
),
|
||||||
{
|
meta: {
|
||||||
path: '/pictureRotation',
|
title: "实时监控",
|
||||||
component: () => import(/* webpackChunkName: "table" */ '../views/pictureRotation/index.vue'),
|
permission: true,
|
||||||
meta: {
|
icon: "el-icon-camera",
|
||||||
title: '图片轮巡',
|
},
|
||||||
permission: true,
|
},
|
||||||
icon: 'el-icon-film',
|
{
|
||||||
}
|
path: "/pictureRotation",
|
||||||
},
|
component: () =>
|
||||||
{
|
import(
|
||||||
path: '/videoMonitor',
|
/* webpackChunkName: "table" */ "../views/pictureRotation/index.vue"
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/videoMonitor/index.vue'),
|
),
|
||||||
meta: { title: '监控视频', icon: 'el-icon-video-camera', }
|
meta: {
|
||||||
},
|
title: "图片轮巡",
|
||||||
{
|
permission: true,
|
||||||
path: '/videoHistory',
|
icon: "el-icon-film",
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/videoMonitor/videoHistory.vue'),
|
},
|
||||||
meta: { title: '视频回放', icon: 'el-icon-video-camera' }
|
},
|
||||||
},
|
{
|
||||||
{
|
path: "/videoMonitor",
|
||||||
path: '/photoAlarm',
|
component: () =>
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/alarmHandling/index.vue'),
|
import(
|
||||||
meta: { title: '告警处理', icon: 'el-icon-bell', }
|
/* webpackChunkName: "tabs" */ "../views/videoMonitor/index.vue"
|
||||||
},
|
),
|
||||||
|
meta: { title: "监控视频", icon: "el-icon-video-camera" },
|
||||||
{
|
},
|
||||||
path: '/lineInformation',
|
{
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/userEquipment/lineInformation/index.vue'),
|
path: "/videoHistory",
|
||||||
meta: { title: '线路信息管理', icon: '', }
|
component: () =>
|
||||||
},
|
import(
|
||||||
{
|
/* webpackChunkName: "tabs" */ "../views/videoMonitor/videoHistory.vue"
|
||||||
path: '/groupInformation',
|
),
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/userEquipment/groupInformation/index.vue'),
|
meta: { title: "视频回放", icon: "el-icon-video-camera" },
|
||||||
meta: { title: '分组信息管理', icon: '', }
|
},
|
||||||
},
|
{
|
||||||
{
|
path: "/photoAlarm",
|
||||||
path: '/towerInformation',
|
component: () =>
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/userEquipment/towerInformation/index.vue'),
|
import(
|
||||||
meta: { title: '杆塔信息管理', icon: '', }
|
/* webpackChunkName: "tabs" */ "../views/alarmHandling/index.vue"
|
||||||
},
|
),
|
||||||
{
|
meta: { title: "告警处理", icon: "el-icon-bell" },
|
||||||
path: '/towerTeam',
|
},
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/userEquipment/towerTeam/index.vue'),
|
|
||||||
meta: { title: '杆塔班组用户', icon: '', }
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/deviceVisualization',
|
path: "/lineInformation",
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/monitoringEquipment/deviceVisualization/index.vue'),
|
component: () =>
|
||||||
meta: { title: '装置分布可视化', icon: '', }
|
import(
|
||||||
},
|
/* webpackChunkName: "tabs" */ "../views/management/userEquipment/lineInformation/index.vue"
|
||||||
{
|
),
|
||||||
path: '/photographicDevice',
|
meta: { title: "线路信息管理", icon: "" },
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/monitoringEquipment/photographicDevice/index.vue'),
|
},
|
||||||
meta: { title: '拍照装置管理', icon: '', }
|
{
|
||||||
},
|
path: "/groupInformation",
|
||||||
{
|
component: () =>
|
||||||
path: '/SIMCard',
|
import(
|
||||||
component: () => import(/* webpackChunkName: "tabs" */ '../views/management/monitoringEquipment/SIMCard/index.vue'),
|
/* webpackChunkName: "tabs" */ "../views/management/userEquipment/groupInformation/index.vue"
|
||||||
meta: { title: 'SIM卡管理', icon: '', }
|
),
|
||||||
},
|
meta: { title: "分组信息管理", icon: "" },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// 权限页面
|
path: "/towerInformation",
|
||||||
path: '/permission',
|
component: () =>
|
||||||
component: () => import(/* webpackChunkName: "permission" */ '../views/Permission.vue'),
|
import(
|
||||||
meta: { title: '权限测试', permission: true, icon: 'el-icon-setting', }
|
/* webpackChunkName: "tabs" */ "../views/management/userEquipment/towerInformation/index.vue"
|
||||||
},
|
),
|
||||||
{
|
meta: { title: "杆塔信息管理", icon: "" },
|
||||||
path: '/404',
|
},
|
||||||
component: () => import(/* webpackChunkName: "404" */ '../views/404.vue'),
|
{
|
||||||
meta: { title: '404' }
|
path: "/towerTeam",
|
||||||
},
|
component: () =>
|
||||||
{
|
import(
|
||||||
path: '/403',
|
/* webpackChunkName: "tabs" */ "../views/management/userEquipment/towerTeam/index.vue"
|
||||||
component: () => import(/* webpackChunkName: "403" */ '../views/403.vue'),
|
),
|
||||||
meta: { title: '403' }
|
meta: { title: "杆塔班组用户", icon: "" },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
path: "/deviceVisualization",
|
||||||
|
component: () =>
|
||||||
|
import(
|
||||||
|
/* webpackChunkName: "tabs" */ "../views/management/monitoringEquipment/deviceVisualization/index.vue"
|
||||||
|
),
|
||||||
|
meta: { title: "装置分布可视化", icon: "" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/photographicDevice",
|
||||||
|
component: () =>
|
||||||
|
import(
|
||||||
|
/* webpackChunkName: "tabs" */ "../views/management/monitoringEquipment/photographicDevice/index.vue"
|
||||||
|
),
|
||||||
|
meta: { title: "拍照装置管理", icon: "" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/SIMCard",
|
||||||
|
component: () =>
|
||||||
|
import(
|
||||||
|
/* webpackChunkName: "tabs" */ "../views/management/monitoringEquipment/SIMCard/index.vue"
|
||||||
|
),
|
||||||
|
meta: { title: "SIM卡管理", icon: "" },
|
||||||
|
},
|
||||||
|
|
||||||
]
|
{
|
||||||
},
|
// 权限页面
|
||||||
{
|
path: "/permission",
|
||||||
path: '/login',
|
component: () =>
|
||||||
component: () => import(/* webpackChunkName: "login" */ '../views/Login.vue'),
|
import(
|
||||||
meta: { title: '登录' }
|
/* webpackChunkName: "permission" */ "../views/Permission.vue"
|
||||||
},
|
),
|
||||||
{
|
meta: { title: "权限测试", permission: true, icon: "el-icon-setting" },
|
||||||
path: '*',
|
},
|
||||||
redirect: '/404'
|
{
|
||||||
}
|
path: "/404",
|
||||||
]
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "404" */ "../views/404.vue"),
|
||||||
|
meta: { title: "404" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/403",
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "403" */ "../views/403.vue"),
|
||||||
|
meta: { title: "403" },
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/login",
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "login" */ "../views/Login.vue"),
|
||||||
|
meta: { title: "登录" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "*",
|
||||||
|
redirect: "/404",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
mode: 'history',
|
mode: "history",
|
||||||
base: process.env.BASE_URL,
|
base: process.env.BASE_URL,
|
||||||
routes
|
routes,
|
||||||
})
|
});
|
||||||
|
/**
|
||||||
export default router
|
* 重写 router.prototype.push 避免同时跳转相同路径报错
|
||||||
|
*/
|
||||||
|
const originalPush = VueRouter.prototype.push;
|
||||||
|
VueRouter.prototype.push = function push(location, onResolve, onReject) {
|
||||||
|
if (onResolve || onReject)
|
||||||
|
return originalPush.call(this, location, onResolve, onReject);
|
||||||
|
return originalPush.call(this, location).catch((err) => err);
|
||||||
|
};
|
||||||
|
export default router;
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
import Vue from 'vue'
|
import Vue from "vue";
|
||||||
import Vuex from 'vuex'
|
import Vuex from "vuex";
|
||||||
|
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex);
|
||||||
|
|
||||||
export default new Vuex.Store({
|
export default new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
|
//用户登录token 存储
|
||||||
|
token: localStorage.getItem("token") ? localStorage.getItem("token") : "",
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {},
|
||||||
},
|
|
||||||
mutations: {
|
mutations: {
|
||||||
|
//修改token 并将token存入localstorage
|
||||||
|
setToken(state, user) {
|
||||||
|
state.token = user.token;
|
||||||
|
localStorage.setItem("token", user.token);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {},
|
||||||
},
|
modules: {},
|
||||||
modules: {
|
});
|
||||||
}
|
|
||||||
})
|
|
||||||
|
@ -1,12 +1,153 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>SIM卡管理</div>
|
<div class="simCardcontain">
|
||||||
|
<div class="simBtnGroup">
|
||||||
|
<el-button type="primary">新增</el-button>
|
||||||
|
<el-button type="primary">修改</el-button>
|
||||||
|
<el-button type="primary">删除</el-button>
|
||||||
|
<el-button type="primary">查询</el-button>
|
||||||
|
<el-button type="primary">质保延期</el-button>
|
||||||
|
<el-button type="primary">导入</el-button>
|
||||||
|
<el-button type="primary">导入模板下载</el-button>
|
||||||
|
<el-button type="primary">导出</el-button>
|
||||||
|
</div>
|
||||||
|
<div class="searchForm">
|
||||||
|
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
||||||
|
<el-form-item label="单位:">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="网络类型:">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="状态:">
|
||||||
|
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否已使用">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="电话号码:">
|
||||||
|
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<div class="simTable">
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="tableData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
>
|
||||||
|
<el-table-column type="index" width="55"> </el-table-column>
|
||||||
|
<el-table-column type="selection" width="55"> </el-table-column>
|
||||||
|
<el-table-column label="单位">
|
||||||
|
<template slot-scope="scope">{{ scope.row.date }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="name" label="电话号码"> </el-table-column>
|
||||||
|
<el-table-column prop="address" label="网络类型" show-overflow-tooltip>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="name" label="质保到期日"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="流量包(M)"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="告警阀值(%)"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="状态"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="是否已使用"> </el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {
|
||||||
}
|
formInline: {
|
||||||
|
user: "",
|
||||||
|
region: "",
|
||||||
|
},
|
||||||
|
tableData: [
|
||||||
|
{
|
||||||
|
date: "2016-05-03",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-02",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-04",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-01",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-08",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-06",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-07",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
multipleSelection: [],
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
onSubmit() {
|
||||||
|
console.log("submit!");
|
||||||
|
},
|
||||||
|
toggleSelection(rows) {
|
||||||
|
if (rows) {
|
||||||
|
rows.forEach((row) => {
|
||||||
|
this.$refs.multipleTable.toggleRowSelection(row);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$refs.multipleTable.clearSelection();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleSelectionChange(val) {
|
||||||
|
this.multipleSelection = val;
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
.simCardcontain {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: @color-white;
|
||||||
|
.simBtnGroup {
|
||||||
|
padding: 16px 8px;
|
||||||
|
}
|
||||||
|
.searchForm {
|
||||||
|
padding: 0px 8px;
|
||||||
|
.el-form {
|
||||||
|
.el-form-item {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.simTable {
|
||||||
|
padding: 16px 8px 0 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -1,12 +1,153 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>拍照装置管理</div>
|
<div class="photoGraphicDevice">
|
||||||
|
<div class="photoGraphicBtnGroup">
|
||||||
|
<el-button type="primary">新增</el-button>
|
||||||
|
<el-button type="primary">修改</el-button>
|
||||||
|
<el-button type="primary">删除</el-button>
|
||||||
|
<el-button type="primary">查询</el-button>
|
||||||
|
<el-button type="primary">质保延期</el-button>
|
||||||
|
<el-button type="primary">导入</el-button>
|
||||||
|
<el-button type="primary">导入模板下载</el-button>
|
||||||
|
<el-button type="primary">导出</el-button>
|
||||||
|
</div>
|
||||||
|
<div class="searchForm">
|
||||||
|
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
||||||
|
<el-form-item label="单位:">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="网络类型:">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="状态:">
|
||||||
|
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="是否已使用">
|
||||||
|
<el-select v-model="formInline.region" placeholder="活动区域">
|
||||||
|
<el-option label="区域一" value="shanghai"></el-option>
|
||||||
|
<el-option label="区域二" value="beijing"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="电话号码:">
|
||||||
|
<el-input v-model="formInline.user" placeholder="审批人"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<div class="photoGraphicTable">
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="tableData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
>
|
||||||
|
<el-table-column type="index" width="55"> </el-table-column>
|
||||||
|
<el-table-column type="selection" width="55"> </el-table-column>
|
||||||
|
<el-table-column label="单位">
|
||||||
|
<template slot-scope="scope">{{ scope.row.date }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="name" label="电话号码"> </el-table-column>
|
||||||
|
<el-table-column prop="address" label="网络类型" show-overflow-tooltip>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="name" label="质保到期日"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="流量包(M)"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="告警阀值(%)"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="状态"> </el-table-column>
|
||||||
|
<el-table-column prop="name" label="是否已使用"> </el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {
|
||||||
}
|
formInline: {
|
||||||
|
user: "",
|
||||||
|
region: "",
|
||||||
|
},
|
||||||
|
tableData: [
|
||||||
|
{
|
||||||
|
date: "2016-05-03",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-02",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-04",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-01",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-08",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-06",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: "2016-05-07",
|
||||||
|
name: "王小虎",
|
||||||
|
address: "上海市普陀区金沙江路 1518 弄",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
multipleSelection: [],
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
onSubmit() {
|
||||||
|
console.log("submit!");
|
||||||
|
},
|
||||||
|
toggleSelection(rows) {
|
||||||
|
if (rows) {
|
||||||
|
rows.forEach((row) => {
|
||||||
|
this.$refs.multipleTable.toggleRowSelection(row);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$refs.multipleTable.clearSelection();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleSelectionChange(val) {
|
||||||
|
this.multipleSelection = val;
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
.photoGraphicDevice {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: @color-white;
|
||||||
|
.photoGraphicBtnGroup {
|
||||||
|
padding: 16px 8px;
|
||||||
|
}
|
||||||
|
.searchForm {
|
||||||
|
padding: 0px 8px;
|
||||||
|
.el-form {
|
||||||
|
.el-form-item {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.photoGraphicTable {
|
||||||
|
padding: 16px 8px 0 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue