Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

manufacturer.vue 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <template>
  2. <div class="page_manufacturer">
  3. <div style="display:flex;justify-content: space-between;width:100%;margin-bottom:20px;">
  4. <div class="cell clearfix" style="margin-bottom:0;">
  5. <el-input style="width: 180px;margin-right:10px;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
  6. <el-button style="margin-right:10px;" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
  7. </div>
  8. <el-button type="primary" @click="openForm(0)">新增</el-button>
  9. </div>
  10. <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}">
  11. <el-table-column prop="date" label="自编码" width="80" align="center"></el-table-column>
  12. <el-table-column prop="date" label="名称" align="center"></el-table-column>
  13. <el-table-column prop="date" label="拼音助记符" align="center"></el-table-column>
  14. <el-table-column prop="date" label="五笔助记符" align="center"></el-table-column>
  15. <el-table-column prop="date" label="操作" width="200" align="center">
  16. <template slot-scope="scope">
  17. <el-button @click="openForm(scope.row)" type="primary" size="small">编辑</el-button>
  18. <el-button type="danger" size="small">删除</el-button>
  19. </template>
  20. </el-table-column>
  21. </el-table>
  22. <add-manufacturer ref="addManufacturer"></add-manufacturer>
  23. </div>
  24. </template>
  25. <script>
  26. import addManufacturer from './addManufacturer'
  27. export default {
  28. components:{
  29. addManufacturer
  30. },
  31. data(){
  32. return{
  33. search_input:'',
  34. options: [{
  35. value: '1',
  36. label: '是'
  37. }, {
  38. value: '2',
  39. label: '否'
  40. },],
  41. value: '',
  42. tableData: [{
  43. date: '2016-05-02',
  44. name: '王小虎',
  45. address: '上海市普陀区金沙江路 1518 弄'
  46. }, {
  47. date: '2016-05-04',
  48. name: '王小虎',
  49. address: '上海市普陀区金沙江路 1517 弄'
  50. }, {
  51. date: '2016-05-01',
  52. name: '王小虎',
  53. address: '上海市普陀区金沙江路 1519 弄'
  54. }, {
  55. date: '2016-05-03',
  56. name: '王小虎',
  57. address: '上海市普陀区金沙江路 1516 弄'
  58. }]
  59. }
  60. },
  61. methods:{
  62. searchAction(){},
  63. clickSelfPayment(){
  64. this.$refs.selfPayment.show();
  65. },
  66. clickMainTain(){
  67. // this.$refs.maintain.show();
  68. },
  69. openForm(id){
  70. this.$refs.addManufacturer.show(id);
  71. }
  72. }
  73. }
  74. </script>