|
|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<el-dialog v-drag title="电子档案模板维护" append-to-body :modelValue="templateOpenShow" :before-close="cancel" fullscreen @opened="open"> |
|
|
|
<el-dialog v-drag title="电子档案模板维护" :modelValue="templateOpenShow" :before-close="cancel" fullscreen @opened="open" append-to-body class="template-preserve-dialog"> |
|
|
|
<div class="templateBox"> |
|
|
|
<div class="templateBox"> |
|
|
|
<div class="leftTemplate"> |
|
|
|
<div class="leftTemplate"> |
|
|
|
<el-card class="box-card" v-for="(template, index) in 20" :key="index"> |
|
|
|
<el-card class="box-card" v-for="(template, index) in 20" :key="index"> |
|
|
|
@ -360,7 +360,7 @@ |
|
|
|
<el-input v-model="item.ask" /> |
|
|
|
<el-input v-model="item.ask" /> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td colspan="2"> |
|
|
|
<td colspan="2"> |
|
|
|
<el-switch v-model="item.qualified" disabled style="display: block" active-color="#13ce66" inactive-color="#ff4949" active-text="合格" inactive-text="不合格" /> |
|
|
|
<el-switch v-model="item.qualified" disabled style="display: flex; justify-content: center;" active-color="#13ce66" inactive-color="#ff4949" active-text="合格" inactive-text="不合格" /> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<el-button type="danger" @click="deleteRow(listIndex)">删除</el-button> |
|
|
|
<el-button type="danger" @click="deleteRow(listIndex)">删除</el-button> |
|
|
|
@ -1778,7 +1778,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss"> |
|
|
|
|
|
|
|
/* 只针对模板维护对话框的样式 */ |
|
|
|
|
|
|
|
.el-dialog.template-preserve-dialog { |
|
|
|
.templateBox { |
|
|
|
.templateBox { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
.leftTemplate { |
|
|
|
.leftTemplate { |
|
|
|
@ -1787,6 +1789,29 @@ export default { |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
.box-card { |
|
|
|
.box-card { |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
.el-card__header { |
|
|
|
|
|
|
|
border-bottom: none !important; |
|
|
|
|
|
|
|
padding-bottom: 0 !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.el-card__body { |
|
|
|
|
|
|
|
padding-top: 0 !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
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; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.rightPage { |
|
|
|
.rightPage { |
|
|
|
@ -1805,19 +1830,6 @@ export default { |
|
|
|
max-height: 85vh; |
|
|
|
max-height: 85vh; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
padding-bottom: 40px; |
|
|
|
padding-bottom: 40px; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.clearfix{ |
|
|
|
|
|
|
|
height: 50px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
:deep(.el-card__header) { |
|
|
|
|
|
|
|
border-bottom: none !important; |
|
|
|
|
|
|
|
padding-bottom: 0 !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
:deep(.el-card__body){ |
|
|
|
|
|
|
|
padding-top: 0!important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
table { |
|
|
|
table { |
|
|
|
tr { |
|
|
|
tr { |
|
|
|
page-break-inside: avoid; |
|
|
|
page-break-inside: avoid; |
|
|
|
@ -1832,9 +1844,12 @@ table { |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
padding: 0; |
|
|
|
padding: 0; |
|
|
|
margin: 0; |
|
|
|
margin: 0; |
|
|
|
:deep(.el-input__inner) { |
|
|
|
} |
|
|
|
max-width: 80%; |
|
|
|
} |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.clearfix { |
|
|
|
|
|
|
|
height: 50px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|