modified: src/utils/request.js
modified: src/views/laboratory/measure/Add.vue
modified: src/views/laboratory/measure/index.vue
| | |
| | | type: 'warning', |
| | | duration: 5 * 1000 |
| | | }) |
| | | localStorage.removeItem("user") |
| | | this.$router.push({ path: '/login' }) |
| | | sessionStorage.removeItem("user") |
| | | sessionStorage.setItem("flushPage",1) |
| | | this.$router.replace({path: '/login'}); |
| | | location.reload() |
| | | } |
| | | // Message({ |
| | | // message: res.message || 'Error', |
| | |
| | | <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" /> |
| | |
| | | </el-col> |
| | | </el-col> |
| | | <el-col style="width:93%;height: 20vh;margin-top: 30px; margin-left: 40px;"> |
| | | <el-table :data="measureData"> |
| | | <el-table max-height="300" :data="measureData"> |
| | | <el-table-column type="index" label="序号" /> |
| | | <el-table-column prop="equipmentCode" label="仪器设备编号" /> |
| | | <el-table-column prop="equipmentName" label="仪器设备名称" /> |