|
@@ -214,8 +214,15 @@ export default {
|
|
|
const res = await asyncRequest.detail({ returnCode: this.queryId });
|
|
|
if (res && res.code === 0 && res.data) {
|
|
|
this.sitem = res.data;
|
|
|
- this.status = res.data.status;
|
|
|
- this.orderCode = res.data.bk_code;
|
|
|
+ const {can,status,bk_code} = this.sitem
|
|
|
+ this.status = status;
|
|
|
+ this.orderCode = bk_code;
|
|
|
+ if (can && can.length > 0) {
|
|
|
+ this.sitem.class_cat =""
|
|
|
+ can.forEach((x, i) => {
|
|
|
+ this.sitem.class_cat += i === 0 ? x.name : "/" + x.name;
|
|
|
+ });
|
|
|
+ }
|
|
|
this.getNewTime();
|
|
|
} else if (res && res.code >= 100 && res.code <= 104) {
|
|
|
await this.logout();
|