| | |
| | | <el-table-column label="超时天数" align="center" prop="timeout"/> |
| | | <el-table-column label="工单阈值" align="center" prop="indicator"> |
| | | <template slot-scope="scope"> |
| | | <div v-for="item in JSON.parse(scope.row.indicator)" :key="item"> |
| | | {{ item.label }}:{{ item.value }} |
| | | <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row"> |
| | | <div style="width: 120px;text-align: right">{{ item.label }}</div> |
| | | <div style="width: 60px;text-align: right">{{ item.value}}</div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="下发阈值" align="center" prop="indicator"> |
| | | <template slot-scope="scope"> |
| | | <div v-for="item in JSON.parse(scope.row.indicator)" :key="item"> |
| | | {{ item.label }}:{{ item.value2 }} |
| | | <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row"> |
| | | <div style="width: 120px;text-align: right">{{ item.label }}</div> |
| | | <div style="width: 60px;text-align: right">{{ item.value2}}</div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | } |
| | | </script> |
| | | <style> |
| | | .el-input-half-width { |
| | | width: calc(50% - 6px); /* 减去一些间隔 */ |
| | | .el-input-half-width { |
| | | width: calc(50% - 6px); /* 减去一些间隔 */ |
| | | } |
| | | </style> |
| | | </style> |