Commit ab123d88 authored by Administrator's avatar Administrator

更新案例库

parent c4e700d3
......@@ -3,7 +3,7 @@
<div class="filter-container">
<el-form ref="query" style="display: inline-block;">
<el-input placeholder="案例名称" clearable style="width: 200px;" class="filter-item" name="userskk" />
<el-input placeholder="案例id" clearable style="width: 200px;" class="filter-item" name="userskk" />
<el-input placeholder="类型" clearable style="width: 200px;" class="filter-item" name="userskk" />
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search">
{{ $t('table.search') }}
</el-button>
......@@ -20,13 +20,12 @@
</div>
<el-table :data="tableData" border style="width: 100%">
<el-table-column fixed prop="date" label="日期" width="150"></el-table-column>
<el-table-column prop="name" label="案例名称" width="120"></el-table-column>
<el-table-column prop="province" label="案例类型" width="120"></el-table-column>
<el-table-column prop="city" label="案例是否执行" width="120"></el-table-column>
<el-table-column prop="address" label="案例执行地址" width="300"></el-table-column>
<el-table-column prop="zip" label="案例内容" width="120"></el-table-column>
<el-table-column prop="title" label="案例名称" width="200"></el-table-column>
<el-table-column prop="type" label="案例类型" width="120"></el-table-column>
<el-table-column prop="body" label="案例内容"></el-table-column>
<el-table-column fixed="right" label="操作" width="150">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">查看</el-button>
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
<el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
</template>
......@@ -43,32 +42,19 @@ export default {
return {
tableData: [{
date: '2016-05-02',
name: '一级应急案例',
province: '一级案例',
city: '案例执行',
address: '上海市普陀区金沙江路 1518 弄',
zip: '石家庄第三期案例',
title: '基于无线技术气体报警空气系统的设计方案',
type: '一级案例',
body: 'GPRS/3G/4G无线通讯技术,WiFi技术等遍布人们的生活和生产活动 工业气体报警探测器系统无线化已成为工业安全生产中的发展...',
}, {
date: '2016-05-04',
name: '二级应急案例',
province: '二级应急案例',
city: '案例取消',
address: '上海市普陀区金沙江路 1517 弄',
zip: '石家庄第三期案例',
}, {
date: '2016-05-01',
name: '三级级应急案例',
province: '三级级应急案例',
city: '案例执行',
address: '上海市普陀区金沙江路 1519 弄',
zip: '石家庄第三期案例',
date: '2016-05-02',
title: '防止有毒有害气体中毒十个必须知道的内容',
type: '一级案例',
body: '关于毒气的危害本公司的专家总结出一下几点。下面就由本公司的专家为您讲解下赌气的危害。',
}, {
date: '2016-05-03',
name: '四级级级应急案例',
province: '四级级级应急案例',
city: '案例取消',
address: '上海市普陀区金沙江路 1516 弄',
zip: '石家庄第三期案例',
date: '2016-05-02',
title: '居民燃气报警及控制系统解决方案',
type: '一级案例',
body: '它能有效地避免因燃气泄漏而引起的爆炸、火灾、中毒等恶性事故 已经在世界上大部分国家或地区广泛应用。',
}],
};
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment