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

auto commit

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