Commit 8a47b3af authored by 陈明豪's avatar 陈明豪

bug修改

parent 6c3be37d
...@@ -262,13 +262,13 @@ ...@@ -262,13 +262,13 @@
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="医院名称" align="left" prop="hospitalName" show-overflow-tooltip /> <el-table-column sortable label="医院名称" align="left" prop="hospitalName" min-width="80" show-overflow-tooltip />
<el-table-column sortable label="医院ID" align="left" prop="ownId" show-overflow-tooltip> <el-table-column sortable label="医院ID" align="left" prop="ownId" min-width="80" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.ownId || '-' }}</span> <span>{{ scope.row.ownId || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="医院评级" align="left" prop="hospitalRate"> <el-table-column sortable label="医院评级" align="left" min-width="80" prop="hospitalRate">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag <dict-tag
:options="dict.type.hospital_rate" :options="dict.type.hospital_rate"
...@@ -276,25 +276,25 @@ ...@@ -276,25 +276,25 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="联系人" align="left" prop="contactPerson" show-overflow-tooltip /> <el-table-column sortable label="联系人" align="left" min-width="80" prop="contactPerson" show-overflow-tooltip />
<el-table-column sortable label="联系人手机号" align="left" prop="phonenumber" /> <el-table-column sortable label="联系人手机号" align="left" min-width="120" prop="phonenumber" />
<el-table-column sortable label="医院地址" align="left" prop="hospitalAddress" show-overflow-tooltip> <el-table-column sortable label="医院地址" align="left" min-width="80" prop="hospitalAddress" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.hospitalAllAddress }}</span> <span>{{ scope.row.hospitalAllAddress }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="入驻日期" align="left" prop="createTime" width="120"> <el-table-column sortable label="入驻日期" align="left" min-width="80" prop="createTime">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}/{m}/{d}') }}</span> <span>{{ parseTime(scope.row.createTime, '{y}/{m}/{d}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="授权到期日期" align="left" prop="authorizationExpirationDate"> <el-table-column sortable label="授权到期日期" align="left" min-width="120" prop="authorizationExpirationDate">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="getHospitalExpireDays(showDueDate(scope.row.authorizationExpirationDate)) >= 30">{{ showDueDate(scope.row.authorizationExpirationDate) || '-' }}</span> <span v-if="getHospitalExpireDays(showDueDate(scope.row.authorizationExpirationDate)) >= 30">{{ showDueDate(scope.row.authorizationExpirationDate) || '-' }}</span>
<span v-else style="color: #FF9D4E">{{ showDueDate(scope.row.authorizationExpirationDate) || '-' }}</span> <span v-else style="color: #FF9D4E">{{ showDueDate(scope.row.authorizationExpirationDate) || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="预储值余额" align="left" prop="currentBalance"> <el-table-column sortable label="预储值余额" min-width="100" align="left" prop="currentBalance">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.currentBalance ? moneyFormat(scope.row.currentBalance) + '元' : '-' }} {{ scope.row.currentBalance ? moneyFormat(scope.row.currentBalance) + '元' : '-' }}
</template> </template>
......
...@@ -247,40 +247,40 @@ ...@@ -247,40 +247,40 @@
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="宠主姓名" show-overflow-tooltip prop="name"> <el-table-column sortable label="宠主姓名" min-width="80" show-overflow-tooltip prop="name">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.name || '-' }} {{ scope.row.name || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="宠主ID" show-overflow-tooltip prop="ruleId" /> <el-table-column sortable label="宠主ID" min-width="80" show-overflow-tooltip prop="ruleId" />
<el-table-column sortable label="手机号" show-overflow-tooltip prop="phone" /> <el-table-column sortable label="手机号" min-width="80" show-overflow-tooltip prop="phone" />
<el-table-column sortable label="注册日期" show-overflow-tooltip prop="registrationDate" /> <el-table-column sortable label="注册日期" min-width="80" show-overflow-tooltip prop="registrationDate" />
<el-table-column sortable label="绑定医院数量" show-overflow-tooltip prop="hosNum"> <el-table-column sortable label="绑定医院数量" min-width="120" show-overflow-tooltip prop="hosNum">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.hosNum + ' 家' }} {{ scope.row.hosNum + ' 家' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="会员卡数量" show-overflow-tooltip prop="cardNum"> <el-table-column sortable label="会员卡数量" min-width="120" show-overflow-tooltip prop="cardNum">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.cardNum + ' 张' }} {{ scope.row.cardNum + ' 张' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="绑定宠物数量" show-overflow-tooltip prop="petNum"> <el-table-column sortable label="绑定宠物数量" min-width="120" show-overflow-tooltip prop="petNum">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.petNum + ' 只' }} {{ scope.row.petNum + ' 只' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="挂号次数" show-overflow-tooltip prop="registerNum"> <el-table-column sortable label="挂号次数" min-width="100" show-overflow-tooltip prop="registerNum">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.registerNum + ' 次' }} {{ scope.row.registerNum + ' 次' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="累计充值" show-overflow-tooltip prop="recharge"> <el-table-column sortable label="累计充值" min-width="80" show-overflow-tooltip prop="recharge">
<template slot-scope="scope"> <template slot-scope="scope">
{{ moneyFormat(scope.row.recharge) + ' 元' }} {{ moneyFormat(scope.row.recharge) + ' 元' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable label="总消费额" show-overflow-tooltip prop="consumption"> <el-table-column sortable label="总消费额" min-width="80" show-overflow-tooltip prop="consumption">
<template slot-scope="scope"> <template slot-scope="scope">
{{ moneyFormat(scope.row.consumption) + ' 元' }} {{ moneyFormat(scope.row.consumption) + ' 元' }}
</template> </template>
......
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