|
@@ -1463,10 +1463,10 @@ export default {
|
|
{name:'平方米克重',path:'/imp-07',title:'',code:"07"},
|
|
{name:'平方米克重',path:'/imp-07',title:'',code:"07"},
|
|
{name:'纱线规格',path:'/imp-08',title:'',code:"08",type:"impWin"},
|
|
{name:'纱线规格',path:'/imp-08',title:'',code:"08",type:"impWin"},
|
|
{name:'送经量',path:'/imp-09',title:'',code:"09"},
|
|
{name:'送经量',path:'/imp-09',title:'',code:"09"},
|
|
- {name:'生产绩效日报',path:'/imp-10',title:'',code:"10",type:"impWin"},
|
|
|
|
- {name:'生产绩效月报',path:'/imp-11',title:'',code:"11",type:"impWin"},
|
|
|
|
- {name:'车间能耗日报',path:'/imp-12',title:'',code:"12",type:"impWin"},
|
|
|
|
- {name:'车间能耗月报',path:'/imp-13',title:'',code:"13",type:"impWin"},
|
|
|
|
|
|
+ //{name:'生产绩效日报',path:'/imp-10',title:'',code:"10",type:"impWin"},
|
|
|
|
+ //{name:'生产绩效月报',path:'/imp-11',title:'',code:"11",type:"impWin"},
|
|
|
|
+ //{name:'车间能耗日报',path:'/imp-12',title:'',code:"12",type:"impWin"},
|
|
|
|
+ //{name:'车间能耗月报',path:'/imp-13',title:'',code:"13",type:"impWin"},
|
|
{name:'白坯布靶向预测',path:'/imp-14',title:'',code:"14",type:"impWin"},
|
|
{name:'白坯布靶向预测',path:'/imp-14',title:'',code:"14",type:"impWin"},
|
|
{name:'能耗统计报表',path:'/imp-15',title:'',code:"15",type:"impWin"},
|
|
{name:'能耗统计报表',path:'/imp-15',title:'',code:"15",type:"impWin"},
|
|
]);
|
|
]);
|
|
@@ -1945,7 +1945,7 @@ export default {
|
|
//player.Native.Camera.moveToAabbWithDistance([calcInfo.localAabb.min, calcInfo.localAabb.max], 0.2, 21, 4);
|
|
//player.Native.Camera.moveToAabbWithDistance([calcInfo.localAabb.min, calcInfo.localAabb.max], 0.2, 21, 4);
|
|
api.GetDeviceInfo(name).then((res)=>{
|
|
api.GetDeviceInfo(name).then((res)=>{
|
|
console.log(res)
|
|
console.log(res)
|
|
- if (res.code!=0) {
|
|
|
|
|
|
+ if (res==null || res.code!=0) {
|
|
//NoneDevice(name)
|
|
//NoneDevice(name)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -1986,7 +1986,7 @@ export default {
|
|
})
|
|
})
|
|
*/
|
|
*/
|
|
api.GetDeviceInfo(name ,{week:1}).then(res=> {
|
|
api.GetDeviceInfo(name ,{week:1}).then(res=> {
|
|
- if (res.code!=0) {
|
|
|
|
|
|
+ if (res==null || res.code!=0) {
|
|
//NoneDevice(name)
|
|
//NoneDevice(name)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -2927,7 +2927,7 @@ export default {
|
|
function OpenMaoGaoWin(){
|
|
function OpenMaoGaoWin(){
|
|
isShowMaogaoWin.value = true;
|
|
isShowMaogaoWin.value = true;
|
|
api.GetMaoGao().then(res=>{
|
|
api.GetMaoGao().then(res=>{
|
|
- if(res.code!=0){
|
|
|
|
|
|
+ if(res==null ||res.code!=0){
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
maogaoData.value = res.data;
|
|
maogaoData.value = res.data;
|
|
@@ -2942,7 +2942,7 @@ export default {
|
|
function OpenMaoGaoDetailWin(item){
|
|
function OpenMaoGaoDetailWin(item){
|
|
maogaoDetailHeight = item.height //当前查看详细的比重
|
|
maogaoDetailHeight = item.height //当前查看详细的比重
|
|
api.GetMaoGaoDetail(maogaoDetailHeight).then(res=>{
|
|
api.GetMaoGaoDetail(maogaoDetailHeight).then(res=>{
|
|
- if(res.code!=0){
|
|
|
|
|
|
+ if(res==null ||res.code!=0){
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
isShowMaogaoDetailWin.value = true;
|
|
isShowMaogaoDetailWin.value = true;
|