Commit 479160cf authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 5b19b6e5 ed9ea5a1
...@@ -96,7 +96,8 @@ ...@@ -96,7 +96,8 @@
.ivu-page-item-active:hover { .ivu-page-item-active:hover {
background-color: @primary-color; background-color: @primary-color;
color: white; // background-color: #d7e8fb;
a {color: white!important;}
} }
.ivu-page-item-active>a { .ivu-page-item-active>a {
......
...@@ -4,6 +4,9 @@ export default { ...@@ -4,6 +4,9 @@ export default {
paged(params) { paged(params) {
return Api.get(`${apsUrl}/scheduletotal/getall`, params); return Api.get(`${apsUrl}/scheduletotal/getall`, params);
}, },
getalldetails(params) {
return Api.get(`${apsUrl}/scheduletotal/getalldetails`, params);
},
getall(params) { getall(params) {
return Api.get(`${apsUrl}/schema/getall`, params); return Api.get(`${apsUrl}/schema/getall`, params);
}, },
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<ul class="right_ul"> <ul class="right_ul">
<li class="right_ul_title"> <li class="right_ul_title">
<span class="case">{{li.scheduleId}}</span> <span class="case">{{li.scheduleId}}</span>
<span class="case_time">2020-03-22 13:26:35</span> <span class="case_time">{{li.planDate}}&nbsp;</span>
</li> </li>
<li>{{li.deferNum}}&nbsp;</li> <li>{{li.deferNum}}&nbsp;</li>
<li>{{li.deferTime}}&nbsp;</li> <li>{{li.deferTime}}&nbsp;</li>
...@@ -101,8 +101,15 @@ export default { ...@@ -101,8 +101,15 @@ export default {
items(){ items(){
var items=[]; var items=[];
this.schemas.map(p=>{ this.schemas.map(p=>{
if(this.list.length>0){
var info=this.list.filter(u=>u.scheduleId==p.schedule_Id)[0]; var info=this.list.filter(u=>u.scheduleId==p.schedule_Id)[0];
items.push(info); items.push(info);
items.forEach(itr=>{
if(itr.scheduleId==p.schedule_Id){
itr.planDate = p.plan_Date
}
})
}else{ return }
}) })
return items; return items;
} }
......
This diff is collapsed.
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
formItem: { formItem: {
equip_name: "", equip_name: "",
equip_id: "", equip_id: "",
isimportant: "", isimportant: 1,
capabilityValue: "" capabilityValue: ""
}, },
formItem1: { formItem1: {
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
this.formItem.equip_name = r.result.title; this.formItem.equip_name = r.result.title;
this.formItem.equip_id = r.result.code; this.formItem.equip_id = r.result.code;
this.formItem.capabilityValue = r.result.capabilityValue; this.formItem.capabilityValue = r.result.capabilityValue;
this.formItem.isimportant = r.result.isimportant + ""; this.formItem.isimportant = r.result.isimportant || "1";
this.formItem1.calendarwork_pk = r.result.calKey; this.formItem1.calendarwork_pk = r.result.calKey;
this.formItem2.calendarovertime_pk = r.result.holidayKey; this.formItem2.calendarovertime_pk = r.result.holidayKey;
this.formItem1.equip_pk = r.result.id; this.formItem1.equip_pk = r.result.id;
......
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