-
-
-
+ -->
+ >
-
+
-
+
+
+
- {{ scope.row.年}}-{{ scope.row.月}}-{{ scope.row.日}}
+ {{ scope.row[item] }}
-
-
-
-
-
-
-
-
-
-
+
@@ -78,7 +75,7 @@ export default {
dept_name:'',
start_date:'',
},
- group: [],
+ mgroups: [],
tableData:[],
groupsProps: {
value: "name",
@@ -107,8 +104,17 @@ export default {
let that = this;
let params = {};
params.query = that.query;
- that.$API.bi.dataset.exec.req('performance', params).then((res) => {
- that.tableData = res.data2.ds0;
+ that.$API.bi.dataset.exec.req('lineDay_p', params).then((res) => {
+ let data = res.data2.ds0;
+ that.lists = [];
+ data.forEach(item=>{
+ let obj = JSON.parse(item.工段物料生产数);
+ for(let key in obj){
+ item[key]= obj[key];
+ if(that.lists.indexOf(key)>-1){}else{that.lists.push(key)}
+ }
+ })
+ that.tableData = data;
});
},
deptChange(){