提交 e1f59679 编写于 作者: 张磊's avatar 张磊

auto commit

上级 9d9426ee
...@@ -9,10 +9,10 @@ export const getButtonStatus = (id) => { ...@@ -9,10 +9,10 @@ export const getButtonStatus = (id) => {
}; };
// 根据订单号获取跳转页状态/ // 根据订单号获取跳转页状态/
// /tis/insurance/jumpPageStatus?orderNo=1&projectEquityNo=1 // /tis/insurance/jumpPageStatus?orderNo=1&projectEquityNo=1
export const getJumpPageStatus = ({externalOrderNo, projectEquityNo}) => { export const getJumpPageStatus = ({orderNo, projectEquityNo}) => {
return request({ return request({
method: 'get', method: 'get',
url: `/tis/insurance/jumpPageStatus?externalOrderNo=${externalOrderNo}&projectEquityNo=${projectEquityNo}`, url: `/tis/insurance/jumpPageStatus?orderNo=${orderNo}&projectEquityNo=${projectEquityNo}`,
withCredentials: true, withCredentials: true,
}); });
}; };
......
import $http from 'mn-template/plugins/http'; import $http from 'mn-template/plugins/http';
import { Toast } from 'vant';
// 设置axios默认属性 // 设置axios默认属性
$http.setDefaults({ $http.setDefaults({
headers: {} headers: {}
...@@ -17,5 +18,8 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config) ...@@ -17,5 +18,8 @@ $http.addBeforeHook(config => console.log('我是新增的前置钩子', config)
// 新增后置钩子 // 新增后置钩子
$http.addAfterHook(response => { $http.addAfterHook(response => {
if (response.code !== '000000' ) {
Toast(response.data.message);
}
console.log('我是新增的后置钩子', response); console.log('我是新增的后置钩子', response);
}, 0); }, 0);
...@@ -65,6 +65,7 @@ export default { ...@@ -65,6 +65,7 @@ export default {
const data = { const data = {
externalOrderNo: this.externalOrderNo, externalOrderNo: this.externalOrderNo,
projectEquityNo: this.projectEquityNo projectEquityNo: this.projectEquityNo
}; };
getJumpPageStatus(data).then(res => { getJumpPageStatus(data).then(res => {
if (res.code == '000000') { if (res.code == '000000') {
......
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
受检人 受检人
</div> </div>
<div class="user-info"> <div class="user-info">
<span> {{ recordInfo.name }}</span> <span class="space max"> {{ recordInfo.name }}</span>
<span class="space"> <span class="space">
{{ recordInfo.sex }} {{ recordInfo.sex }}
</span> </span>
...@@ -689,14 +689,15 @@ export default { ...@@ -689,14 +689,15 @@ export default {
font-weight: 700; font-weight: 700;
font-size: 15px; font-size: 15px;
} }
.check-name{ .space{
max-width: 180px; margin-left: 10px;
max-width: 100px;
display: inline-block;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
} }
.space{ .max{
margin-left: 10px; max-width: 70px;
} }
} }
.tips{ .tips{
...@@ -714,7 +715,12 @@ export default { ...@@ -714,7 +715,12 @@ export default {
top:2px; top:2px;
} }
} }
.check-name{
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
} }
</style> </style>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册