Commit fbec0324 authored by 小费同学阿's avatar 小费同学阿 💬

65286 已建宠物老客户-宠主信息部分缺少状态字段

parent 4c438cf9
...@@ -40,7 +40,7 @@ export function submitPrescribing(data) { ...@@ -40,7 +40,7 @@ export function submitPrescribing(data) {
data data
}) })
} }
// 录入诊断提交 // 诊断提交
export function insertDiagnosis(data) { export function insertDiagnosis(data) {
return request({ return request({
url: '/business/record/insertDiagnosis', url: '/business/record/insertDiagnosis',
......
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
row-key="id" row-key="id"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column align="center" min-width="30" reserve-selection type="selection" /> <el-table-column align="center" min-width="30" reserve-selection type="selection"/>
<el-table-column label="序号" min-width="80" show-overflow-tooltip type="index" /> <el-table-column label="序号" min-width="80" show-overflow-tooltip type="index"/>
<el-table-column label="宠主姓名" min-width="80" prop="ownerName" show-overflow-tooltip> <el-table-column label="宠主姓名" min-width="80" prop="ownerName" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.ownerName || '-' }}</span> <span>{{ scope.row.ownerName || '-' }}</span>
...@@ -102,7 +102,9 @@ ...@@ -102,7 +102,9 @@
</el-table-column> </el-table-column>
<el-table-column label="宠物性别" min-width="60" prop="petSex" show-overflow-tooltip> <el-table-column label="宠物性别" min-width="60" prop="petSex" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.pet_sex" :value="scope.row.petSex" /> <i v-if="scope.row.petSex === '1'" class="el-icon-male"/>
<i v-else-if="scope.row.petSex === '2'" class="el-icon-female"/>
<div v-else>待定</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -336,9 +338,10 @@ export default { ...@@ -336,9 +338,10 @@ export default {
} }
} }
} }
::v-deep th{
::v-deep th {
.cell { .cell {
.el-checkbox{ .el-checkbox {
display: none; display: none;
} }
} }
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<el-form-item label="体重" prop="petWeight"> <el-form-item label="体重" prop="petWeight">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<el-input v-model="registerForm.petWeight" placeholder="-" :disabled="true" maxlength="20" /> <el-input v-model="registerForm.petWeight" placeholder="-" :disabled="true" maxlength="20" />
<span class="unit-text">kg</span> <div style="margin-left:5px;display: inline-flex"><span>k</span><span>g</span></div>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -267,11 +267,26 @@ ...@@ -267,11 +267,26 @@
</el-col> </el-col>
<el-col v-if="form.customers !=='0'" :span="8"> <el-col v-if="form.customers !=='0'" :span="8">
<el-form-item label="会员卡余额"> <el-form-item label="会员卡余额">
<div style="display: flex; align-items: center;">
<el-input <el-input
v-model.trim="form.cardBalance" v-model.trim="form.cardBalance"
placeholder="-" placeholder="-"
disabled disabled
/> />
<span class="unit-text"></span>
</div>
</el-form-item>
</el-col>
<el-col :span="8" v-if="form.customers !=='0'" class="form__left">
<el-form-item label="状态">
<el-select v-model="form.status" class="vaccine-situation" placeholder="-" disabled>
<el-option
v-for="({value, label}) in statusList"
:key="label"
:label="label"
:value="value"
/>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
...@@ -287,13 +302,13 @@ ...@@ -287,13 +302,13 @@
</el-form> </el-form>
<!--进度信息--> <!--进度信息-->
<schedule-info :schedule-key="scheduleKey" /> <schedule-info :schedule-key="scheduleKey"/>
<!-- 医生卡片--> <!-- 医生卡片-->
<doctor-card @doctorDetail="handleDoctor" @registration="handleRegister" /> <doctor-card @doctorDetail="handleDoctor" @registration="handleRegister"/>
<!-- 宠物选择弹框--> <!-- 宠物选择弹框-->
<choose-pet :is-show="showPetModle" @petChoose="petChoose" @petModleClose="closePetModle" /> <choose-pet :is-show="showPetModle" @petChoose="petChoose" @petModleClose="closePetModle"/>
<!-- 医生详情弹出框 --> <!-- 医生详情弹出框 -->
<doctor-detail :doctor-id="doctorId" :is-show="showDoctorModle" @doctorModleClose="closeDoctorModle" /> <doctor-detail :doctor-id="doctorId" :is-show="showDoctorModle" @doctorModleClose="closeDoctorModle"/>
<!-- 挂号/加号弹出框--> <!-- 挂号/加号弹出框-->
<register-modle <register-modle
v-if="showRegistrationModle" v-if="showRegistrationModle"
...@@ -403,7 +418,7 @@ export default { ...@@ -403,7 +418,7 @@ export default {
personName: '', personName: '',
phone: '', phone: '',
location: '', location: '',
status: '0', status: '',
positionDescription: '' positionDescription: ''
}, },
showPetModle: false, // 选择宠物弹出框 showPetModle: false, // 选择宠物弹出框
...@@ -721,7 +736,8 @@ export default { ...@@ -721,7 +736,8 @@ export default {
.registration-add-module { .registration-add-module {
background-color: #FFFFFF; background-color: #FFFFFF;
padding: 40px; padding: 40px;
.registration-title{
.registration-title {
font-size: 24px; font-size: 24px;
font-weight: bold; font-weight: bold;
color: #333333; color: #333333;
...@@ -729,6 +745,7 @@ export default { ...@@ -729,6 +745,7 @@ export default {
text-align: center; text-align: center;
margin-bottom: 33px; margin-bottom: 33px;
} }
.basicInformation { .basicInformation {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -741,9 +758,11 @@ export default { ...@@ -741,9 +758,11 @@ export default {
display: flex; display: flex;
} }
} }
.pet-weight-single { .pet-weight-single {
margin-left: 10px; margin-left: 10px;
} }
::v-deep .el-form-item--small.el-form-item { ::v-deep .el-form-item--small.el-form-item {
margin-right: 0 !important; margin-right: 0 !important;
} }
...@@ -784,13 +803,16 @@ export default { ...@@ -784,13 +803,16 @@ export default {
</style> </style>
<style lang="scss"> <style lang="scss">
.registration-add-module { .registration-add-module {
.pet-sex, .sterilization-status, .vaccine-situation, .pet-insure{ .pet-sex, .sterilization-status, .vaccine-situation, .pet-insure {
width: 100%; width: 100%;
} }
.pet-breed-col{
display: flex; flex-basis: 0; .pet-breed-col {
display: flex;
flex-basis: 0;
flex-grow: 0; flex-grow: 0;
} }
.el-form-item.petBreed { .el-form-item.petBreed {
.el-form-item.el-form-item--small { .el-form-item.el-form-item--small {
margin-right: 0 !important; margin-right: 0 !important;
......
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