| | |
| | | <el-col style="width:93%;height: 20vh;margin-top: 30px; margin-left: 40px;"> |
| | | <el-button icon="el-icon-plus" @click="addcodePointsTable()" style="margin-bottom: 10px;" |
| | | type="primary">新增计量</el-button> |
| | | <el-table ref="codePointsTable" :cell-style="{ textAlign: 'center' }" |
| | | <el-table max-height="300" ref="codePointsTable" :cell-style="{ textAlign: 'center' }" |
| | | :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'center' }" |
| | | :data="codePointsTable" style="width: 100%"> |
| | | <el-table-column type="index" v-model="codePointsTable.index" label="序号" min-width="90" /> |
| | |
| | | res.data.instrumentList.forEach(item => { |
| | | this.insList.push({ label: item.equipmentName, value: item.id }) |
| | | }) |
| | | console.log(this.insList); |
| | | }, |
| | | methods: { |
| | | addcodePointsTable() { |