fix:mpoint更改查询条件

This commit is contained in:
shijing 2024-05-11 10:33:01 +08:00
parent 3a5185ed58
commit 610c4ae52c
3 changed files with 31 additions and 31 deletions

View File

@ -52,40 +52,40 @@
</tr>
</thead>
<tr v-for="(item, index) in tableDatas" :key="index">
<td class="numCell" v-if="index == 0">
<td class="numCell" v-if="index == 0" rowspan="4">
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 1"
v-else-if="index == 4"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 6"
v-else-if="index == 9"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 11"
v-else-if="index == 14"
rowspan="4"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 15"
rowspan="2"
v-else-if="index == 18"
rowspan="3"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 17"
v-else-if="index == 21"
rowspan="5"
>
{{ item[0] }}
@ -93,7 +93,7 @@
<td
class="numCell"
v-else-if="
index == 22 || index == 23 || index == 24
index == 26 || index == 27 || index == 28
"
>
{{ item[0] }}
@ -278,11 +278,11 @@ export default {
enabled: 1,
need_display: 1,
ordering: "report_sortstr",
material__code: "elec",
material__code__in: "elec,elec_0",
query: "{ id, name, nickname, mgroup_name, unit }",
})
.then((res) => {
let data = res.slice(3);
// let data = res.slice(3);
that.mpointList = data;
that.dataLoop();
});

View File

@ -52,40 +52,40 @@
</tr>
</thead>
<tr v-for="(item, index) in tableDatas" :key="index">
<td class="numCell" v-if="index == 0">
<td class="numCell" v-if="index == 0" rowspan="4">
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 1"
v-else-if="index == 4"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 6"
v-else-if="index == 9"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 11"
v-else-if="index == 14"
rowspan="4"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 15"
rowspan="2"
v-else-if="index == 18"
rowspan="3"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 17"
v-else-if="index == 21"
rowspan="5"
>
{{ item[0] }}
@ -93,7 +93,7 @@
<td
class="numCell"
v-else-if="
index == 22 || index == 23 || index == 24
index == 26 || index == 27 || index == 28
"
>
{{ item[0] }}
@ -339,12 +339,12 @@ export default {
enabled: 1,
need_display: 1,
ordering: "report_sortstr",
material__code: "elec",
material__code__in: "elec,elec_0",
query: "{ id, name, nickname, mgroup_name, unit }",
})
.then((res) => {
let data = res.slice(3);
that.mpointList = data;
// let data = res.slice(3);
that.mpointList = res;
that.dataLoop();
});
},

View File

@ -52,40 +52,40 @@
</tr>
</thead>
<tr v-for="(item, index) in tableDatas" :key="index">
<td class="numCell" v-if="index == 0">
<td class="numCell" v-if="index == 0" rowspan="4">
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 1"
v-else-if="index == 4"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 6"
v-else-if="index == 9"
rowspan="5"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 11"
v-else-if="index == 14"
rowspan="4"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 15"
rowspan="2"
v-else-if="index == 18"
rowspan="3"
>
{{ item[0] }}
</td>
<td
class="numCell"
v-else-if="index == 17"
v-else-if="index == 21"
rowspan="5"
>
{{ item[0] }}
@ -93,7 +93,7 @@
<td
class="numCell"
v-else-if="
index == 22 || index == 23 || index == 24
index == 26 || index == 27 || index == 28
"
>
{{ item[0] }}
@ -268,11 +268,11 @@ export default {
enabled: 1,
need_display: 1,
ordering: "report_sortstr",
material__code: "elec",
material__code__in: "elec,elec_0",
query: "{ id, name, nickname, mgroup_name, unit }",
})
.then((res) => {
let data = res.slice(3);
// let data = res.slice(3);
that.mpointList = data;
that.dataLoop();
});