| | |
| | | <el-tag style="margin: 5px;" v-for="(item,index) in row.tagNames" :key="index">{{ item }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="人员状态" prop="condition"> |
| | | <el-table-column label="人员状态" prop="condition" align="center" width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-tag type="warning" v-if="row.condition">{{ row.condition }}</el-tag> |
| | | <el-tag :type="row.condition == '正常' || row.condition == null ? 'success' : 'warning'">{{ row.condition ? row.condition : '正常' }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="conditionDetail" label="具体情况" show-overflow-tooltip="true"/> |
| | |
| | | @pagination="search"/> |
| | | |
| | | <!-- 状态弹窗 --> |
| | | <el-dialog :visible.sync="statusVisible" append-to-body :close-on-click-modal="false" :show-close="false" center width="300px"> |
| | | <el-dialog :visible.sync="statusVisible" append-to-body :close-on-click-modal="false" :show-close="false" center width="400px"> |
| | | <el-radio-group v-model="user.condition"> |
| | | <el-radio label="正常">正常</el-radio> |
| | | <el-radio label="病假">病假</el-radio> |
| | | <el-radio label="出差">出差</el-radio> |
| | | <el-radio label="其他">其他</el-radio> |