clll
2023-12-15 68e28b5e14ba2de103921aa1ab10f6df7b445ae9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<script lang="ts" setup>
import {reactive, ref} from 'vue'
import {Search} from "@element-plus/icons-vue"
import {useRouter} from "vue-router"
const router = useRouter()
// do not use same name with ref
const value = ref('')
const options = [
  {
    value: 'Option1',
    label: 'Option1',
  },
  {
    value: 'Option2',
    label: 'Option2',
  },
  {
    value: 'Option3',
    label: 'Option3',
  },
]
const form = reactive({
  name: '',
  region: '',
  date1: '',
  date2: '',
  delivery: false,
  type: [],
  resource: '',
  desc: '',
})
 
 
const tableData = [
  {
    1: 'SB2209211',
    2: '钢化炉(22E)',
    3: '钢化炉(22E)',
    4: '2022-03-16',
    5:'2022-03-16',
    6:'313',
    7:'使用中',
    8:'0',
    9:'0',
    10:'',
    11:'',
    12:'',
    13:'',
    14:'钢化',
    15:'正常',
 
  },
  {
    1: 'SB2209211',
    2: '钢化炉(22E)',
    3: '钢化炉(22E)',
    4: '2022-03-16',
    5:'2022-03-16',
    6:'313',
    7:'使用中',
    8:'0',
    9:'0',
    10:'',
    11:'',
    12:'',
    13:'',
    14:'钢化',
    15:'正常',
 
  },
  {
    1: 'SB2209211',
    2: '钢化炉(22E)',
    3: '钢化炉(22E)',
    4: '2022-03-16',
    5:'2022-03-16',
    6:'313',
    7:'使用中',
    8:'0',
    9:'0',
    10:'',
    11:'',
    12:'',
    13:'',
    14:'钢化',
    15:'正常',
 
  },
]
</script>
 
<template>
  <div>
<!--    <div id="selectForm">-->
<!--      <el-row :gutter="0">-->
<!--        <el-select v-model="value" class="m-2" placeholder="所在工艺">-->
<!--          <el-option-->
<!--              v-for="item in options"-->
<!--              :key="item.value"-->
<!--              :label="item.label"-->
<!--              :value="item.value"-->
<!--          />-->
<!--        </el-select>-->
<!--        &nbsp;&nbsp;-->
<!--        <el-button type="primary">查询</el-button>-->
<!--      </el-row>-->
 
<!--    </div>-->
    <el-table :data="tableData" border style="width: 100%" height="100%">
      <el-table-column fixed label="操作" width="100"  >
        <el-button link type="primary" size="small">删除</el-button>
        <el-button link type="primary" size="small">编辑</el-button>
      </el-table-column>
      <el-table-column prop="1" label="设备编号" width="95" />
      <el-table-column prop="2" label="标准名称" width="105" />
      <el-table-column prop="3" label="设备名称" width="105" />
      <el-table-column prop="4" label="购买时间" :show-overflow-tooltip='true' width="115" />
      <el-table-column prop="5" label="安装时间" :show-overflow-tooltip='true' width="115" />
      <el-table-column prop="6" label="使用周期(年)" width="105" />
      <el-table-column prop="7" label="使用状态" width="85" />
      <el-table-column prop="8" label="维修次数" width="85" />
      <el-table-column prop="9" label="保养次数" width="85" />
      <el-table-column prop="10" label="最后维修时间" :show-overflow-tooltip='true' width="115" />
      <el-table-column prop="11" label="最后保养时间" width="115" />
      <el-table-column prop="12" label="维修费用" width="105" />
      <el-table-column prop="13" label="保养费用" width="85" />
      <el-table-column prop="14" label="所在工艺" width="85" />
      <el-table-column prop="15" label="作废状态" width="85" />
    </el-table><!-- <h1>{{msg}}</h1> -->
  </div>
</template>
 
<style scoped>
#selectForm {
  width: 40%;
  height: 100%;
  text-align: center;
}
 
 
</style>