parent
c1df8786e2
commit
5906743fc0
50 changed files with 3991 additions and 112 deletions
@ -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> |
||||||
File diff suppressed because it is too large
Load Diff
@ -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> |
||||||
Loading…
Reference in new issue