更改电子档案模板维护固定代码改为组件

dev-scheduling
姜雪 2 months ago
parent c1df8786e2
commit 5906743fc0
  1. 130
      src/views/qualityManagement/inspectionArchiving/rbFilePreserve/detailRb2.vue
  2. 4
      src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue
  3. 1841
      src/views/qualityManagement/inspectionArchiving/rbFilePreserve/templatePreserve2.vue
  4. 50
      src/views/qualityTe copy/Template1 copy.vue
  5. 46
      src/views/qualityTe copy/Template1.vue
  6. 32
      src/views/qualityTe copy/Template10.vue
  7. 51
      src/views/qualityTe copy/Template11.vue
  8. 37
      src/views/qualityTe copy/Template12.vue
  9. 35
      src/views/qualityTe copy/Template13.vue
  10. 57
      src/views/qualityTe copy/Template14.vue
  11. 62
      src/views/qualityTe copy/Template15.vue
  12. 53
      src/views/qualityTe copy/Template16.vue
  13. 53
      src/views/qualityTe copy/Template17.vue
  14. 34
      src/views/qualityTe copy/Template18.vue
  15. 34
      src/views/qualityTe copy/Template19.vue
  16. 46
      src/views/qualityTe copy/Template2.vue
  17. 40
      src/views/qualityTe copy/Template20.vue
  18. 34
      src/views/qualityTe copy/Template21.vue
  19. 39
      src/views/qualityTe copy/Template22.vue
  20. 42
      src/views/qualityTe copy/Template3.vue
  21. 39
      src/views/qualityTe copy/Template4.vue
  22. 46
      src/views/qualityTe copy/Template5.vue
  23. 45
      src/views/qualityTe copy/Template6.vue
  24. 34
      src/views/qualityTe copy/Template7.vue
  25. 39
      src/views/qualityTe copy/Template8.vue
  26. 49
      src/views/qualityTe copy/Template9.vue
  27. 47
      src/views/qualityTe copy/index.js
  28. 50
      src/views/qualityTemplate/Template1 copy.vue
  29. 26
      src/views/qualityTemplate/Template1.vue
  30. 26
      src/views/qualityTemplate/Template10.vue
  31. 36
      src/views/qualityTemplate/Template11.vue
  32. 28
      src/views/qualityTemplate/Template12.vue
  33. 75
      src/views/qualityTemplate/Template13.vue
  34. 127
      src/views/qualityTemplate/Template14.vue
  35. 76
      src/views/qualityTemplate/Template15.vue
  36. 80
      src/views/qualityTemplate/Template16.vue
  37. 54
      src/views/qualityTemplate/Template17.vue
  38. 17
      src/views/qualityTemplate/Template18.vue
  39. 57
      src/views/qualityTemplate/Template19.vue
  40. 30
      src/views/qualityTemplate/Template2.vue
  41. 89
      src/views/qualityTemplate/Template20.vue
  42. 6
      src/views/qualityTemplate/Template21.vue
  43. 6
      src/views/qualityTemplate/Template22.vue
  44. 35
      src/views/qualityTemplate/Template3.vue
  45. 32
      src/views/qualityTemplate/Template4.vue
  46. 72
      src/views/qualityTemplate/Template5.vue
  47. 80
      src/views/qualityTemplate/Template6.vue
  48. 18
      src/views/qualityTemplate/Template7.vue
  49. 22
      src/views/qualityTemplate/Template8.vue
  50. 38
      src/views/qualityTemplate/Template9.vue

@ -0,0 +1,130 @@
<template>
<el-dialog
title="详情"
:modelValue="detailOpenshow"
append-to-body
v-if="detailOpenshow"
@close="cancel"
fullscreen
>
<div class="templateBox">
<table id="cus-table" cellspacing="0" style="width: 100%">
<tbody >
<tr>
<td colspan="2">槽号序号</td>
<td colspan="2">槽位/工步</td>
<td colspan="4">工艺要求</td>
<td colspan="4">实际参数</td>
</tr>
<template v-for="(itemSlot, indexSlot) in rightList" :key="itemSlot.slotName + indexSlot">
<!-- 模板1特殊处理 -->
<component
:is="getTemplateComponent(itemSlot.rfpsType)"
:itemSlot="itemSlot"
:indexSlot="indexSlot"
/>
</template>
</tbody>
</table>
</div>
</el-dialog>
</template>
<script>
import Templates from '../../../qualityTemplate/index.js';
import { getTemplateComponent } from '@/utils/templateMapper.js';
import { getWordDetail } from '@/api/qualityManagement/inspectionArchiving/rbFilePreserve';
export default {
props: {
detailOpen: {
type: Boolean,
default: false,
},
rfpId: {
type: Number,
default: null,
},
},
components: {
...Templates,
},
data() {
return {
rightList: [],
detailOpenshow: false,
};
},
mounted() {
console.log(9999, this.detailOpen);
this.detailOpenshow = this.detailOpen;
this.open();
},
methods: {
getTemplateComponent(type) {
const componentName = getTemplateComponent(type);
return componentName;
},
open() {
// this.$ajax
// .get('dsRbFilePreserveSlot/getByRfpId/' + this.rfpId)
// .then((res) => {
// if (this.$ifAjax(res)) {
// const { preserveSlotList } = res.data;
// this.rightList = preserveSlotList;
// }
// });
console.log('rfId-------------', this.rfpId);
if (this.rfpId) {
getWordDetail({
id: this.rfpId,
}).then(res => {
console.log('res-------------', res);
this.rightList = res.data.data.preserveSlotList;
console.log('this.rightList-------------', this.rightList);
//
if (this.rightList && this.rightList.length > 0) {
console.log('数据结构示例:', JSON.stringify(this.rightList[0], null, 2));
}
});
}
},
cancel(isRefresh) {
this.rightList = [];
this.detailOpenshow = false;
this.$emit('cancel', isRefresh == true);
},
},
};
</script>
<style lang="scss">
.templateBox {
max-height: 88vh;
overflow: auto;
margin-bottom: 3px;
}
table {
tr {
page-break-inside: avoid;
}
td {
width: 168px;
height: 30px;
border: 1px solid #000;
background: transparent;
color: #000;
font-size: 14px;
text-align: center;
padding: 0;
margin: 0;
// ::v-deep .el-input__inner {
// max-width: 80%;
// text-align: center;
// }
}
}
</style>

@ -85,8 +85,8 @@
<script>
import {getList,addRecords, editRecords,deleteRecords,copyData} from '@/api/qualityManagement/inspectionArchiving/rbFilePreserve'
import { mapGetters } from 'vuex';
import detailRb from './detailRb.vue';
import templatePreserve from './templatePreserve.vue';
import detailRb from './detailRb2.vue';
import templatePreserve from './templatePreserve2.vue';
import approvalStandard from '@/views/oem/components/approval/index.vue';
import editTable from './editTable.vue';
import basicImport from '@/components/basic-import/main.vue';

@ -0,0 +1,50 @@
<template>
<template v-if="itemSlot.childrenList && itemSlot.childrenList.length > 0">
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<tr>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
</template>
<template v-else>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 2">
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,46 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<!-- <td rowspan="3" colspan="4">123</td> -->
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild"
>
<tr>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,32 @@
<template>
<tr
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="4">{{ itemSlot.slotIndex }}</td>
<td colspan="4">{{ itemSlot.slotName }}</td>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.qualified ? '合格' : '不合格' }}</td>
</tr>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,51 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="5" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="4">{{ itemChild.detailName }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,37 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
<tr >
<td v-if="indexChild ==0" :rowspan="3" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild ==0" :rowspan="3" colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,35 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="11" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
<tr >
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,57 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="13" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,62 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="15" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3 || indexChild == 4">
<td v-if="indexChild == 3" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 3" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td :colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 5">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,53 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="17" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,53 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="9" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,34 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="2" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemSlot.childrenList[0].detailName }}</td>
<td colspan="5">{{ itemSlot.childrenList[0].paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,34 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="13" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,46 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,40 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="9" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,34 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="11" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,39 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild == 0">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else>
<td colspan="3">{{ itemChild.detailName }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,42 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="5" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1">
<tr>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild > 1" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild > 1" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild > 1" colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,39 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,46 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild == 0">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
<tr
v-else
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="3">{{ itemChild.detailName }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,45 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="7" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="
itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1
">
<tr
v-if="indexChild <= 2"
>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,34 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="2" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td colspan="2">{{ itemSlot.childrenList[0].detailName }}</td>
<td colspan="2">{{ itemSlot.childrenList[0].ask }}</td>
<td colspan="3">{{ itemSlot.childrenList[0].paramValue }}</td>
</tr>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,39 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,49 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="1">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="1">{{ itemSlot.slotName }}</td>
</tr>
<!-- <tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr> -->
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="
itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1
">
<tr
v-if="indexChild <= 1"
>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -0,0 +1,47 @@
import Template1 from './Template1.vue'
import Template2 from './Template2.vue'
import Template3 from './Template3.vue'
import Template4 from './Template4.vue'
import Template5 from './Template5.vue'
import Template6 from './Template6.vue'
import Template7 from './Template7.vue'
import Template8 from './Template8.vue'
import Template9 from './Template9.vue'
import Template10 from './Template10.vue'
import Template11 from './Template11.vue'
import Template12 from './Template12.vue'
import Template13 from './Template13.vue'
import Template14 from './Template14.vue'
import Template15 from './Template15.vue'
import Template16 from './Template16.vue'
import Template17 from './Template17.vue'
import Template18 from './Template18.vue'
import Template19 from './Template19.vue'
import Template20 from './Template20.vue'
import Template21 from './Template21.vue'
import Template22 from './Template22.vue'
export default {
Template1,
Template2,
Template3,
Template4,
Template5,
Template6,
Template7,
Template8,
Template9,
Template10,
Template11,
Template12,
Template13,
Template14,
Template15,
Template16,
Template17,
Template18,
Template19,
Template20,
Template21,
Template22
}

@ -0,0 +1,50 @@
<template>
<template v-if="itemSlot.childrenList && itemSlot.childrenList.length > 0">
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<tr>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
</template>
<template v-else>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 2">
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {
props: {
itemSlot: {
type: Object,
default: () => {},
},
indexSlot: {
type: Number,
default: 0,
},
},
data() {
return {};
},
methods: {},
};
</script>
<style lang="scss" scoped>
</style>

@ -1,12 +1,21 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style!=='固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild"
>
<tr>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
@ -15,6 +24,21 @@
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
</template>
</template>
<template v-else>
<tr >
<td rowspan="3"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr >
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,14 +1,34 @@
<template>
<template v-if="itemSlot.style !== '固定'">
<tr
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="4">{{ itemSlot.slotName }}</td>
<td v-if="itemSlot.slotIndex!==undefined" colspan="2">{{ itemSlot.slotIndex }}</td>
<td v-if="itemSlot.slotIndex!==undefined" colspan="2">{{ itemSlot.slotName }}</td>
<td v-else colspan="4">{{ itemSlot.slotName }}</td>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.qualified ? '合格' : '不合格' }}</td>
</tr>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td></td>
<td ></td>
<td ></td>
<td >
<el-switch v-model="switchData" style="display: block" active-color="#13ce66" inactive-color="#ff4949" active-text="合格" inactive-text="不合格" />
</td>
</tr>
</template>
</template>
<script>
export default {
props: {
@ -22,7 +42,9 @@ export default {
},
},
data() {
return {};
return {
switchData: true,
};
},
methods: {},
};

@ -1,12 +1,17 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="5" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="5" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="5" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1"
>
<tr v-if="indexChild <= 1">
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
@ -25,6 +30,33 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="4"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td ></td>
<td></td>
</tr>
<tr>
<td ></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td ></td>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="4" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
@ -11,6 +16,27 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="3"></td>
<td rowspan="3"></td>
<td rowspan="3"></td>
<td></td>
</tr>
<tr>
<td ></td>
</tr>
<tr>
<td ></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,13 +1,70 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="11" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
<tr >
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
<template v-if="itemSlot.style !== '固定'">
<tr
v-if="itemSlot.slotIndex !== undefined"
:key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1"
>
<td rowspan="11" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="11" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="11" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="10"></td>
<td colspan="2"></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,35 +1,104 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="13" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
<template v-if="itemSlot.style !== '固定'">
<tr
v-if="itemSlot.slotIndex !== undefined"
:key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1"
>
<td rowspan="13" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="13" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="13" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 1">
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.detailName }}</td>
<td v-if="indexChild == 0" :rowspan="2" colspan="2">{{ itemChild.ask }}</td>
<td v-if="indexChild == 0">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 0" colspan="2">{{ itemChild.rfpdTime }}</td>
<td v-if="indexChild == 1">{{ itemChild.paramName }}</td>
<td v-if="indexChild == 1" colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else-if="indexChild == 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else-if="indexChild == 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td>{{ itemChild.paramName }}</td>
<td colspan="2">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="12"></td>
<td colspan="1" rowspan="2"></td>
<td colspan="1" rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="15" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="15" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="15" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -36,6 +41,75 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="14"></td>
<td colspan="1" rowspan="2"></td>
<td colspan="1" rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="17" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="17" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="17" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -31,6 +36,79 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="16"></td>
<td colspan="1" rowspan="2"></td>
<td colspan="1" rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr> <tr>
<td></td>
<td colspan="3"></td>
</tr> <tr>
<td></td>
<td colspan="3"></td>
</tr> <tr>
<td></td>
<td colspan="3"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,11 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="9" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="9" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="9" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -31,6 +37,52 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="8"></td>
<td colspan="1" rowspan="2"></td>
<td colspan="1" rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
<tr>
<td></td>
<td colspan="3"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="2" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="2" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="2" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -12,6 +17,16 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td colspan="1"></td>
<td colspan="2"></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="13" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="13" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="13" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -12,6 +17,56 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="12"></td>
<td colspan="2"></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td>
<td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
<tr>
<td colspan="2"></td><td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style!=='固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="4" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -19,6 +24,29 @@
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第二行 -->
<tr>
<td rowspan="3"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<!-- 第三行 -->
<tr>
<td></td>
<td></td>
</tr>
<!-- 第四行 -->
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,22 +1,79 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="9" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.rfpdTime }}</td>
<template v-if="itemSlot.style !== '固定'">
<tr
v-if="itemSlot.slotIndex !== undefined"
:key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1"
>
<td rowspan="9" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="9" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="9" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
</template>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 3">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.rfpdTime }}</td>
</tr>
<tr v-else>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="8"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr> <tr>
<td></td>
<td></td>
<td></td>
</tr> <tr>
<td></td>
<td></td>
<td></td>
</tr> <tr>
<td></td>
<td></td>
<td></td>
</tr> <tr>
<td></td>
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,5 +1,9 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="11" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="11" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="11" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template

@ -1,5 +1,9 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="6" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style!=='固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="5" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="5" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="5" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1">
@ -16,6 +21,34 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第二行 -->
<tr>
<td rowspan="4"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<!-- 第三行 -->
<tr>
<td></td>
<td></td>
</tr>
<!-- 第四行 -->
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style!=='固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="4" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="4" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -13,6 +18,31 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第二行 -->
<tr>
<td rowspan="3"></td>
<td></td>
<td></td>
<td></td>
</tr>
<!-- 第三行 -->
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<!-- 第四行 -->
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,24 +1,62 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild == 0">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
<template v-if="itemSlot.style !== '固定'">
<tr
v-else
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
v-if="itemSlot.slotIndex !== undefined"
:key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="3">{{ itemChild.detailName }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
<td rowspan="6" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="6" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
</template>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild == 0">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
<tr
v-else
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="3">{{ itemChild.detailName }}</td>
<td colspan="4">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="5"></td>
<td></td>
<td></td>
<td></td>
</tr>
<!-- 第2行 -->
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<!-- 第3行 -->
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,23 +1,67 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="7" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="
itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1
">
<tr
v-if="indexChild <= 2"
<template v-if="itemSlot.style !== '固定'">
<tr
v-if="itemSlot.slotIndex !== undefined"
:key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1"
>
<td rowspan="7" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="7" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="7" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
v-for="(itemChild, indexChild) in itemSlot.childrenList"
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<tr v-if="indexChild <= 2">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr
v-else
:key="itemSlot.slotName + indexSlot + indexChild + Math.floor(Math.random() * 100000) + 1"
>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="6"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<!-- 第2行 -->
<tr>
<td></td>
<td colspan="2"></td>
>
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="2">{{ itemChild.ask }}</td>
<td colspan="3">{{ itemChild.paramValue }}</td>
</tr>
<tr v-else :key="itemSlot.slotName+indexSlot+indexChild+Math.floor(Math.random()*100000)+1">
<td colspan="2">{{ itemChild.detailName }}</td>
<td colspan="5">{{ itemChild.paramValue }}</td>
</tr>
</template>
</tr>
<!-- 第3行 -->
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="2" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="2" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="2" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
@ -8,6 +13,17 @@
<td colspan="3">{{ itemSlot.childrenList[0].paramValue }}</td>
</tr>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td ></td>
<td></td>
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="3" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="3" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="3" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template
@ -13,6 +18,21 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="2"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td ></td>
<td></td>
<td></td>
</tr>
</template>
</template>
<script>
export default {
props: {

@ -1,5 +1,10 @@
<template>
<tr :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<template v-if="itemSlot.style !== '固定'">
<tr v-if="itemSlot.slotIndex!==undefined" :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td rowspan="6" colspan="2">{{ itemSlot.slotIndex }}</td>
<td rowspan="6" colspan="2">{{ itemSlot.slotName }}</td>
</tr>
<tr v-else :key="itemSlot.slotName + indexSlot + Math.floor(Math.random() * 100000) + 1">
<td :rowspan="6" colspan="4">{{ itemSlot.slotName }}</td>
</tr>
<template v-for="(itemChild, indexChild) in itemSlot.childrenList" :key="
@ -23,6 +28,37 @@
</tr>
</template>
</template>
<template v-else>
<!-- 第1行 -->
<tr>
<td rowspan="5"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td ></td>
<td></td>
</tr>
<tr>
<td ></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td ></td>
<td></td>
<td colspan="2"></td>
</tr>
<tr>
<td ></td>
<td></td>
<td colspan="2"></td>
</tr>
</template>
</template>
<script>
export default {
props: {

Loading…
Cancel
Save