diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
new file mode 100644
index 0000000..582561b
--- /dev/null
+++ b/.hbuilderx/launch.json
@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+ // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+ "version": "0.0",
+ "configurations": [{
+ "app-plus" :
+ {
+ "launchtype" : "local"
+ },
+ "default" :
+ {
+ "launchtype" : "local"
+ },
+ "type" : "uniCloud"
+ }
+ ]
+}
diff --git a/pages.json b/pages.json
index 7094c63..7795814 100644
--- a/pages.json
+++ b/pages.json
@@ -50,6 +50,17 @@
"navigationStyle": "custom"
}
+ },
+ {
+ "path" : "pages/allprocess/allprocess",
+ "style" :
+ {
+ "navigationBarTitleText": "工序",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom",
+ "onReachBottomDistance": 100
+ }
+
}
],
"globalStyle": {
@@ -81,6 +92,12 @@
"text": "待检测",
"iconPath": "static/t2.png",
"selectedIconPath": "static/t22.png"
+ },
+ {
+ "pagePath": "pages/allprocess/allprocess",
+ "text": "工序",
+ "iconPath": "static/t33.png",
+ "selectedIconPath": "static/t3.png"
}
]
}
diff --git a/pages/allprocess/allprocess.vue b/pages/allprocess/allprocess.vue
new file mode 100644
index 0000000..2e83ceb
--- /dev/null
+++ b/pages/allprocess/allprocess.vue
@@ -0,0 +1,223 @@
+
+
+
+
+
+ ...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 名称:{{item.name}}
+
+
+
+
+
+ 编码:{{info.code?info.code:'-'}}
+
+
+ 数量:{{item.num}}
+
+
+
+
+ 状态:{{ item.status == 1 ? '未完成' : (item.status == 2 ? '进行中' : '已完成')}}
+
+
+ 开始
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
diff --git a/pages/processList/processList.vue b/pages/processList/processList.vue
index c95e016..5374c80 100644
--- a/pages/processList/processList.vue
+++ b/pages/processList/processList.vue
@@ -159,7 +159,7 @@
background: #F6F6F6;
border-radius: 4upx;
padding:25upx 20upx;
- margin-top:30upx;
+ // margin-top:30upx;
.rowItem{
margin-bottom:25upx;
display: flex;
diff --git a/pages/taskList/taskList.vue b/pages/taskList/taskList.vue
index 84dba3e..215f432 100644
--- a/pages/taskList/taskList.vue
+++ b/pages/taskList/taskList.vue
@@ -14,7 +14,55 @@
-
+
+
+
+
+
+
+
+
+
+
+ 炉号:{{i.heat_number?i.heat_number:'-'}}
+
+
+ 状态:{{i.status == 1 ? '未完成' : '已完成'}}
+
+
+
+ 编号:{{i.art_number}}
+
+
+ 当前工序:{{i.procedure}}
+
+
+
+ 数量:{{i.total}}
+
+
+ 面次:{{i.face}}
+
+
+
+
+ 计划完成时间:{{i.real_time ? i.real_time : '-'}}
+
+
+ 查看详情
+
+
+
+ 备注:{{i.remake}}
+
+
+
+
+
@@ -70,17 +118,36 @@
data() {
return {
taskList:[],
- show:false
+ show:false,
+ list1:[],
+ taskListFinish:[]
};
},
methods:{
+ tabClick(val){
+ console.log(val.name.substr(5))
+ if(val){
+ let str = val.name.substr(5);
+ let arr = this.taskList.filter(item=>{
+ if(str.indexOf(item.name)!=-1){
+ return item
+ }
+ })
+ this.taskListFinish =arr[0].list
+ }
+
+ },
close() {
this.show = false
},
getData(){
getTaskList().then(res=>{
- console.log(res,"000")
- this.taskList = res.data
+ this.taskList = res.data;
+ let arr = res.data;
+ this.taskListFinish = res.data[0].list
+ arr.forEach(item=>{
+ this.list1.push({name:'机器编号:'+item.name+'#'})
+ })
})
},
changeUser(){
@@ -136,6 +203,9 @@
font-weight: 400;
color: #333333;
}
+ &>:first-child{
+ margin-top:0upx !important;
+ }
.item{
background: #F6F6F6;
border-radius: 4upx;
diff --git a/static/t3.png b/static/t3.png
new file mode 100644
index 0000000..9101f24
Binary files /dev/null and b/static/t3.png differ
diff --git a/static/t33.png b/static/t33.png
new file mode 100644
index 0000000..46bf6e3
Binary files /dev/null and b/static/t33.png differ