Commit d17036dd authored by 1105332245's avatar 1105332245

调整

parent a31fb61c
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<a-row :gutter="30"> <a-row :gutter="30">
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
<a-form-model-item label="病历号"> <a-form-model-item label="病历号">
<a-input v-model="form.patientNo" placeholder="请输入病历号" allow-clear /> <a-input v-model="form.mrnNo" placeholder="请输入病历号" allow-clear />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :xl="4" :lg="6" :sm="12"> <a-col :xl="4" :lg="6" :sm="12">
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
pageForm: { pageForm: {
doctorCode: "", doctorCode: "",
patientName: "", patientName: "",
patientNo: "", mrnNo: "",
paymentCode: "", paymentCode: "",
payorId: 0, payorId: 0,
visitTimeEnd: "", visitTimeEnd: "",
...@@ -187,11 +187,11 @@ export default { ...@@ -187,11 +187,11 @@ export default {
}, },
editFormObj: { editFormObj: {
id: "", id: "",
patientNo: '', mrnNo: '',
patientName: '', patientName: '',
}, },
editRules: { editRules: {
patientNo: [{ required: true, message: "病历号", trigger: "blur" }], mrnNo: [{ required: true, message: "病历号", trigger: "blur" }],
patientName: [{ required: true, message: "客户姓名", trigger: "blur" }], patientName: [{ required: true, message: "客户姓名", trigger: "blur" }],
}, },
}; };
...@@ -327,8 +327,8 @@ export default { ...@@ -327,8 +327,8 @@ export default {
}, },
// 重置 // 重置
handlerReset() { handlerReset() {
const { patientNo, patientName } = this.form; const { mrnNo, patientName } = this.form;
this.form = {patientNo, patientName}; this.form = {mrnNo, patientName};
}, },
editEvt(record) { editEvt(record) {
this.editFormObj = { this.editFormObj = {
......
...@@ -160,7 +160,7 @@ import moment from 'moment' ...@@ -160,7 +160,7 @@ import moment from 'moment'
export default { export default {
data() { data() {
const columns = [ const columns = [
{ title: "就诊日期", dataIndex: "visitTimeStart", width: 200,scopedSlots: { customRender: "visitTimeStart" } }, { title: "就诊日期", dataIndex: "receiptDate", width: 200,scopedSlots: { customRender: "receiptDate" } },
{ title: "病历号", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136}, { title: "病历号", dataIndex: "patientNo", key:"patientNo",align:'center', width: 136},
{ title: "客户姓名", dataIndex: "patientName", width: 98 }, { title: "客户姓名", dataIndex: "patientName", width: 98 },
{ title: "账单编号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136}, { title: "账单编号", dataIndex: "receiptNo", key:"receiptNo",align:'center', width: 136},
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
Y: '', Y: '',
N: '' N: ''
}; };
return data[value]; return data[value]||'';
}, },
}, },
watch: { watch: {
......
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