chenc il y a 4 ans
Parent
commit
b1c9e43fac
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 4 4
      js/service/produce-task.js
  2. 1 1
      pages/dashboard/line.html

+ 4 - 4
js/service/produce-task.js

@@ -335,19 +335,19 @@ var ServiceProduceTask = {
             // element.completeSum=element.qualifiedinqty
             if(element.state==='0'){
                 element.stateName="派工";
-                element.color="red";
+                element.color="yellow";
             }
             if(element.state==='1'){
                 element.stateName="上岗";
-                element.color="blueviolet";
+                element.color="green";
             }
             if(element.state==='2'){
                 element.stateName="暂停";
-                element.color="yellow";
+                element.color="red";
             }
             if(element.state==='3'&&element.latestCompletedQuantity!==element.numberOfTasks){
                 element.stateName="进行中";
-                element.color="yellow";
+                element.color="green";
             }
         })
 

+ 1 - 1
pages/dashboard/line.html

@@ -356,7 +356,7 @@
                     const dayProduceTaskList = ServiceProduceTask.getDayList();
                     this.cacheDataObject.dayProduceTaskList = {
                         data: dayProduceTaskList,
-                        pagesize: 25,
+                        pagesize: 22,
                         pageindex: 0
                     }
                     this.dayProduceTaskList = dayProduceTaskList.slice(0, this.cacheDataObject