| | |
| | | > |
| | | <el-form-item label="体检号" prop="tjNum"> |
| | | <el-input |
| | | ref="inputName" |
| | | v-model="queryParams.tjNum" |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | style="width: 170px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | prop="customer.cusSex" |
| | | width="60px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <!-- {{scope.row.customer.cusSex}} --> |
| | | <!-- <template slot-scope="scope"> |
| | | {{ scope.row.customer.cusSex === 0 ? "男" : "女" }} |
| | | <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> --> |
| | | </template> --> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.cusSex == '0'">男</span> |
| | | <span v-if="scope.row.cusSex == '1'">女</span> |
| | | <span v-if="scope.row.cusSex == '2'">未知</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | }, |
| | | methods: { |
| | | handleSizeChange(val) { |
| | | this.size = val; |