Commit 51805025 authored by 吴婷慧's avatar 吴婷慧

测试问题修改

parent 28d55d42
......@@ -285,8 +285,8 @@ export default {
let data = res.content || {};
// type === '2'说明是新增保单,需要把客户信息清空
if(type === '2') {
const { mrnNo, idNo, patientName, birthday, sex } = data
this.form = { ...this.form, mrnNo, idNo, patientName, birthday, sex }
const { mrnNo, idNo, patientName, birthday, sex, id } = data
this.form = { ...this.form, mrnNo, idNo, patientName, birthday, sex, id }
this.medCardCopeFiles = [];
this.idCardCopeFiles = [];
return true
......
......@@ -2,12 +2,14 @@
<div>
<!-- 分类 -->
<div class="classify clearfix">
<a-button @click="specialtyChange(null)" :type="!type || !type.length ? 'primary' : ''">
全部
</a-button>
<a-button @click="specialtyChange(item.specialtyCode)" :type="type.indexOf(item.specialtyCode) > -1 ? 'primary' : ''" v-for="item in welfareType" :key="item.specialtyCode">
{{ item.specialtyDesc }}
</a-button>
<div class="classify-btns">
<a-button @click="specialtyChange(null)" :type="!type || !type.length ? 'primary' : ''">
全部
</a-button>
<a-button @click="specialtyChange(item.specialtyCode)" :type="type.indexOf(item.specialtyCode) > -1 ? 'primary' : ''" v-for="item in welfareType" :key="item.specialtyCode">
{{ item.specialtyDesc }}
</a-button>
</div>
<div class="save-btn">
<!-- <a-button type="primary" @click="addNew">
<Icon name="ssiadd" :size="14" />新增
......@@ -183,14 +185,25 @@ export default {
}
}
.classify {
.pa(10, 20, 10, 20);
.pa(0, 20, 0, 20);
.mg-t(30);
.mg-b(10);
display: flex;
align-items: center;
justify-content: space-between;
background-color: #f8fafb;
.ant-btn:not(:first-child) {
.mg-l(30);
}
.classify-btns{
.pa(10, 0, 10, 0);
flex: 1;
overflow-x: auto;
white-space: nowrap;
}
.save-btn {
width: 160px;
text-align: center;
float: right;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment