仲裁员接口调试 #74
@@ -11,19 +11,22 @@
|
|||||||
<i class="el-icon-loading"></i>
|
<i class="el-icon-loading"></i>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div class="deliverName">
|
<div class="noData" v-if="noData">暂无快递信息!</div>
|
||||||
{{ applicantdelivery.company }} {{ applicantdelivery.no }}
|
<div v-else>
|
||||||
|
<div class="deliverName">
|
||||||
|
{{ applicantdelivery.company }} {{ applicantdelivery.no }}
|
||||||
|
</div>
|
||||||
|
<el-divider></el-divider>
|
||||||
|
<el-timeline :reverse="reverse">
|
||||||
|
<el-timeline-item
|
||||||
|
v-for="(activity, index) in activities"
|
||||||
|
:key="index"
|
||||||
|
:timestamp="activity.timestamp"
|
||||||
|
>
|
||||||
|
{{ activity.content }}
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
<el-divider></el-divider>
|
|
||||||
<el-timeline :reverse="reverse">
|
|
||||||
<el-timeline-item
|
|
||||||
v-for="(activity, index) in activities"
|
|
||||||
:key="index"
|
|
||||||
:timestamp="activity.timestamp"
|
|
||||||
>
|
|
||||||
{{ activity.content }}
|
|
||||||
</el-timeline-item>
|
|
||||||
</el-timeline>
|
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="cancel" class="endbutton"
|
<el-button @click="cancel" class="endbutton"
|
||||||
@@ -43,6 +46,7 @@ export default {
|
|||||||
reverse: true,
|
reverse: true,
|
||||||
applicantdelivery: {}, //申请人物流信息
|
applicantdelivery: {}, //申请人物流信息
|
||||||
activities: [],
|
activities: [],
|
||||||
|
noData: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -53,11 +57,16 @@ export default {
|
|||||||
if (item.identityType == 1) {
|
if (item.identityType == 1) {
|
||||||
let applicantdata = item.logisticsInfo;
|
let applicantdata = item.logisticsInfo;
|
||||||
this.applicantdelivery = JSON.parse(applicantdata);
|
this.applicantdelivery = JSON.parse(applicantdata);
|
||||||
this.activities = this.applicantdelivery.list
|
if (this.applicantdelivery.list) {
|
||||||
this.activities.forEach(item=>{
|
this.activities = this.applicantdelivery.list;
|
||||||
item.content = item.datetime;
|
this.activities.forEach((item) => {
|
||||||
item.timestamp = item.remark;
|
item.content = item.datetime;
|
||||||
})
|
item.timestamp = item.remark;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.noData = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -108,4 +117,13 @@ export default {
|
|||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.noData {
|
||||||
|
width: 100%;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #959595;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -38,16 +38,16 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
label="仲裁员姓名"
|
label="仲裁员姓名"
|
||||||
align="center"
|
align="center"
|
||||||
prop="arbitratorName"
|
prop="nickName"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="专业分类"
|
label="介绍"
|
||||||
align="center"
|
align="center"
|
||||||
prop="professiClassifi"
|
prop="remark"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
label="当前案件数量"
|
label="当前案件数量"
|
||||||
align="center"
|
align="center"
|
||||||
prop="currentCaseNum"
|
prop="currentCaseNum"
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="closedCaseNum"
|
prop="closedCaseNum"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
/>
|
/> -->
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
@@ -110,7 +110,6 @@ export default {
|
|||||||
formateCourtData: {
|
formateCourtData: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
if (val.arbitratorName == null) {
|
if (val.arbitratorName == null) {
|
||||||
console.log("无仲裁员", val);
|
|
||||||
this.noArbitrator = true;
|
this.noArbitrator = true;
|
||||||
} else {
|
} else {
|
||||||
this.noArbitrator = false;
|
this.noArbitrator = false;
|
||||||
@@ -131,8 +130,8 @@ export default {
|
|||||||
this.arbitrators = [];
|
this.arbitrators = [];
|
||||||
val.forEach((item) => {
|
val.forEach((item) => {
|
||||||
this.arbitrators.push({
|
this.arbitrators.push({
|
||||||
id: item.id,
|
id: item.userId,
|
||||||
arbitratorName: item.arbitratorName,
|
arbitratorName: item.nickName,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user