diff --git a/src/views/enm_coal/workshopAnalysis.vue b/src/views/enm_coal/workshopAnalysis.vue
index 01d3c24e..20be239e 100644
--- a/src/views/enm_coal/workshopAnalysis.vue
+++ b/src/views/enm_coal/workshopAnalysis.vue
@@ -38,7 +38,7 @@
>
-
+ |
煤磨工序车间单位产品电耗月度分析表
|
@@ -51,6 +51,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
@@ -59,8 +60,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 8 ? '300px' : '100px',display: ind == 9 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -75,6 +77,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
@@ -219,6 +232,8 @@ export default {
that.monthGoal[ind] !== undefined
? that.monthGoal[ind]
: "/";
+ arr[3] = item.note;
+ arr[4] = item.id;
wrapArr.push(arr);
});
wrapArr.forEach((item, index) => {
@@ -289,6 +304,8 @@ export default {
sameRate = "/";
}
arrs[7] = sameRate;
+ arrs[8] = item[3];
+ arrs[9] = item[4];
wrapArrs.push(arrs);
});
that.tableDatas = wrapArrs;
@@ -319,6 +336,12 @@ export default {
this.$XLSX("#myTable", this.tableName);
this.exportLoading = false;
},
+ enstatNoteChange(val, item){
+ this.$API.enm.enstat_update.req(item[9], {"note": val}).then((res)=>{
+ this.$message.success("修改成功");
+ }
+ )
+ }
},
};
diff --git a/src/views/enm_kiln/workshopAnalysis.vue b/src/views/enm_kiln/workshopAnalysis.vue
index efa49ae0..872a981d 100644
--- a/src/views/enm_kiln/workshopAnalysis.vue
+++ b/src/views/enm_kiln/workshopAnalysis.vue
@@ -52,7 +52,7 @@
>
- 车间单位产品电耗月度分析表 |
+ 车间单位产品电耗月度分析表 |
月份 |
@@ -63,6 +63,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
@@ -71,8 +72,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 8 ? '300px' : '100px',display: ind == 9 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -87,6 +89,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item, ind)})" v-model="item[ind]">
+
+
@@ -102,7 +115,7 @@
>
-
+ |
车间单位产品综合电耗月度分析表
|
@@ -114,6 +127,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
1级 |
@@ -127,8 +141,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 9 ? '300px' : '100px',display: ind == 10 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -143,6 +158,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item, ind)})" v-model="item[ind]">
+
+
@@ -158,7 +184,7 @@
>
-
+ |
车间单位产品标煤耗月度分析表
|
@@ -170,6 +196,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
1级 |
@@ -183,8 +210,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 9 ? '300px' : '100px',display: ind == 10 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -199,6 +227,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item, ind)})" v-model="item[ind]">
+
+
@@ -214,7 +253,7 @@
>
-
+ |
车间单位产品综合能耗月度分析表
|
@@ -226,6 +265,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
1级 |
@@ -239,8 +279,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 9 ? '300px' : '100px',display: ind == 10 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -255,6 +296,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item, ind)})" v-model="item[ind]">
+
+
@@ -608,6 +660,8 @@ export default {
sameRate = "/";
}
arrs[7] = sameRate;
+ arrs[8] = item.note;
+ arrs[9] = item.id;
wrapArrs.push(arrs);
arrs2[1] = item.celec_consume_unit;
arrs2[2] =
@@ -668,6 +722,8 @@ export default {
sameRate2 = "/";
}
arrs2[8] = sameRate2;
+ arrs2[9] = item.note;
+ arrs2[10] = item.id;
wrapArrs2.push(arrs2);
arrs3[1] = item.coal_consume_unit;
@@ -729,6 +785,8 @@ export default {
sameRate3 = "/";
}
arrs3[8] = sameRate3;
+ arrs3[9] = item.note;
+ arrs3[10] = item.id;
wrapArrs3.push(arrs3);
arrs4[1] = item.cen_consume_unit;
@@ -790,6 +848,8 @@ export default {
sameRate4 = "/";
}
arrs4[8] = sameRate4;
+ arrs4[9] = item.note;
+ arrs4[10] = item.id;
wrapArrs4.push(arrs4);
});
that.tableDatas = wrapArrs;
@@ -985,6 +1045,13 @@ export default {
this.$XLSX("#myTable", this.tableName);
this.exportLoading = false;
},
+ enstatNoteChange(val, item, ind){
+ console.log(item, ind)
+ this.$API.enm.enstat_update.req(item[ind+1], {"note": val}).then((res)=>{
+ this.$message.success("修改成功");
+ }
+ )
+ }
},
};
diff --git a/src/views/enm_mill/workshopAnalysis.vue b/src/views/enm_mill/workshopAnalysis.vue
index fce29913..a8f3c59d 100644
--- a/src/views/enm_mill/workshopAnalysis.vue
+++ b/src/views/enm_mill/workshopAnalysis.vue
@@ -51,7 +51,7 @@
>
-
+ |
水泥粉磨工序车间单位产品电耗月度分析表
|
@@ -63,6 +63,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
1级 |
@@ -76,8 +77,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 9 ? '300px' : '100px',display: ind == 10 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -86,6 +88,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
@@ -101,7 +114,7 @@
>
-
+ |
水泥粉磨工序车间单位产品综合能耗月度分析表
|
@@ -113,6 +126,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
1级 |
@@ -126,8 +140,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 9 ? '300px' : '100px',display: ind == 10 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -136,6 +151,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
@@ -318,6 +344,8 @@ export default {
arr[4] = that.monthGoal2[ind] !== undefined
? that.monthGoal2[ind]
: "/";
+ arr[5] = item.note;
+ arr[6] = item.id;
wrapArr.push(arr);
});
wrapArr.forEach((item, index) => {
@@ -383,6 +411,8 @@ export default {
sameRate = "/";
}
arrs[8] = sameRate;
+ arrs[9] = item[5];
+ arrs[10] = item[6];
wrapArrs.push(arrs);
arrs2[0] = item[0];
@@ -442,6 +472,8 @@ export default {
sameRate2 = "/";
}
arrs2[8] = sameRate2;
+ arrs2[9] = item[5];
+ arrs2[10] = item[6];
wrapArrs2.push(arrs2);
});
that.tableDatas = wrapArrs;
@@ -467,6 +499,12 @@ export default {
this.$XLSX("#myTable", this.tableName);
this.exportLoading = false;
},
+ enstatNoteChange(val, item){
+ this.$API.enm.enstat_update.req(item[10], {"note": val}).then((res)=>{
+ this.$message.success("修改成功");
+ }
+ )
+ }
},
};
diff --git a/src/views/enm_pack/workshopAnalysis.vue b/src/views/enm_pack/workshopAnalysis.vue
index 6024612a..0e1dcee0 100644
--- a/src/views/enm_pack/workshopAnalysis.vue
+++ b/src/views/enm_pack/workshopAnalysis.vue
@@ -38,7 +38,7 @@
>
-
+ |
水泥包装工序车间单位产品电耗月度分析表
|
@@ -51,6 +51,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
@@ -59,8 +60,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 8 ? '300px' : '100px',display: ind == 9 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -75,6 +77,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
@@ -220,6 +233,8 @@ export default {
that.monthGoal[ind] !== undefined
? that.monthGoal[ind]
: "/";
+ arr[3] = item.note;
+ arr[4] = item.id;
wrapArr[ind] = arr;
});
wrapArr.forEach((item, index) => {
@@ -291,6 +306,8 @@ export default {
sameRate = "/";
}
arrs[7] = sameRate;
+ arrs[8] = item[3];
+ arrs[9] = item[4];
wrapArrs.push(arrs);
});
that.tableDatas = wrapArrs;
@@ -323,6 +340,12 @@ export default {
this.$XLSX("#myTable", this.tableName);
this.exportLoading = false;
},
+ enstatNoteChange(val, item){
+ this.$API.enm.enstat_update.req(item[9], {"note": val}).then((res)=>{
+ this.$message.success("修改成功");
+ }
+ )
+ }
},
};
diff --git a/src/views/enm_rm/workshopAnalysis.vue b/src/views/enm_rm/workshopAnalysis.vue
index a7899d94..89f41cc3 100644
--- a/src/views/enm_rm/workshopAnalysis.vue
+++ b/src/views/enm_rm/workshopAnalysis.vue
@@ -38,7 +38,7 @@
>
-
+ |
生料工序车间单位产品电耗月度分析表
|
@@ -51,6 +51,7 @@
当期与环期差值(KW·h/t) |
环比增长率(%) |
同比增长率(%) |
+ 分析说明 |
@@ -59,8 +60,9 @@
v-for="(item1, ind) in item"
:key="ind"
class="numCell"
+ :style="{width: ind == 8 ? '300px' : '100px',display: ind == 9 ? 'none' : 'table-cell'}"
>
-
+
▲
@@ -75,6 +77,17 @@
>
{{ item1 }}
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
@@ -220,6 +233,8 @@ export default {
that.monthGoal[ind] !== undefined
? that.monthGoal[ind]
: "/";
+ arr[3] = item.note;
+ arr[4] = item.id;
wrapArr.push(arr);
});
wrapArr.forEach((item, index) => {
@@ -291,6 +306,8 @@ export default {
sameRate = "/";
}
arrs[7] = sameRate;
+ arrs[8] = item[3];
+ arrs[9] = item[4];
wrapArrs.push(arrs);
});
that.tableDatas = wrapArrs;
@@ -314,6 +331,12 @@ export default {
this.$XLSX("#myTable", this.tableName);
this.exportLoading = false;
},
+ enstatNoteChange(val, item){
+ this.$API.enm.enstat_update.req(item[9], {"note": val}).then((res)=>{
+ this.$message.success("修改成功");
+ }
+ )
+ }
},
};
diff --git a/src/views/enm_slag/workshopAnalysis.vue b/src/views/enm_slag/workshopAnalysis.vue
index d42a6dc1..bba32f11 100644
--- a/src/views/enm_slag/workshopAnalysis.vue
+++ b/src/views/enm_slag/workshopAnalysis.vue
@@ -75,7 +75,18 @@
>
{{ item1 }}
- {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
+ {enstatNoteChange(val, item)})" v-model="item[ind]">
+
+
+