diff --git a/src/App.vue b/src/App.vue index 81f7f87..8126e9b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -135,9 +135,12 @@ export default { .el-dialog__body { padding: 10px 10px; } + /*隐藏自动填充密码 */ -.sbzdtcma{ - width: 0px; height: 0px; overflow: hidden; +.sbzdtcma { + width: 0px; + height: 0px; + overflow: hidden; } /*搜索区域样式 */ @@ -314,14 +317,63 @@ export default { margin-top: 10px; } } + .no-break { - page-break-inside: avoid; - } + page-break-inside: avoid; +} + /* 表格行不被分割 */ - table, tr, td, th { - page-break-inside: avoid; - } - +table, +tr, +td, +th { + page-break-inside: avoid; +} + + +.datatable { + border-collapse: collapse; + width: 100%; + font-size: 13px; +} + +.datatable thead { + border-left: 1px solid #f5f5f5; +} + +.datatable th { + padding: 5px 5px 4px 5px; + max-width: 200px; + line-height: 35px; + text-align: center; + color: #606266; + background: #f8f8f9; + border: 1px solid #f5f5f5; +} + +.el-dialog__body { + padding: 10px 20px !important; +} + +.datatable th.operate { + padding: 5px 5px 4px 5px; + width: 100px; + line-height: 35px; + background: #f8f8f9; + border: 1px solid #f5f5f5; + text-align: center; +} + + +.datatable td { + border: solid 1px #f5f5f5; + padding: 3px 5px 4px 5px; + max-width: 100px; + color: #606266; + line-height: 35px; + text-align: center; +} + /** 基础信息设置tab **/ .edit-container { @@ -357,12 +409,12 @@ export default { .is-finish { background: #409eff; - border: 1px solid #409eff; + border: 1px solid #409eff; color: #fff; } - .is-info { - border: 1px solid #d0d0d0; + .is-info { + border: 1px solid #d0d0d0; } .line { @@ -383,8 +435,9 @@ export default { padding: 10px 10px; margin-top: 10px; width: 100%; - display: flex; + display: flex; justify-content: center; + .content-right { width: 33%; margin-left: 2%; @@ -395,6 +448,7 @@ export default { .content-left { width: 65%; } + .content { width: 100%; } @@ -470,11 +524,11 @@ export default { } .template-form-item { - background: #fff; - padding: 20px; - border-radius: 8px; - box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1); - margin-top: 24px; - padding: 24px; + background: #fff; + padding: 20px; + border-radius: 8px; + box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1); + margin-top: 24px; + padding: 24px; } diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index 3755375..571a648 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -251,7 +251,7 @@ export default { margin-top: 20px; padding: 20px; border-radius: 5px 5px; - + page-break-inside: avoid; } /* 或者使用 span 语法 */ diff --git a/src/components/Template/Table.vue b/src/components/Template/Table.vue index 0545679..194c8c7 100644 --- a/src/components/Template/Table.vue +++ b/src/components/Template/Table.vue @@ -1,11 +1,24 @@ diff --git a/src/views/business/study/comp/jhbd/Xq.vue b/src/views/business/study/comp/jhbd/Xq.vue index cb9c841..dfd59fb 100644 --- a/src/views/business/study/comp/jhbd/Xq.vue +++ b/src/views/business/study/comp/jhbd/Xq.vue @@ -61,7 +61,7 @@
{{ $t('page.business.study.studyFormPlan.jcgj') }}
- +
{{ $t('page.business.study.studyFormApply.jcgj') }}
- +
{{ $t('page.business.study.studyFormFill.dcbhsjgj') }}
-
+
-
+
{{ $t('page.business.study.studyFormFill.qmxx') }}
@@ -483,57 +483,11 @@ export default { background-color: #f2f2f2; } -.datatable { - border-collapse: collapse; - width: 100%; - page-break-inside: avoid; -} .upload-file-list .el-upload-list__item { margin-bottom: 0px !important; } -.datatable thead { - border-left: 1px solid #d0d0d0; -} - -.datatable th { - padding: 5px 5px 4px 5px; - max-width: 200px; - line-height: 35px; - text-align: center; - color: #414753; - background: #F5F7FA; - border: 1px solid #d0d0d0; -} - -.el-dialog__body { - padding: 10px 20px !important; -} - -.datatable th.operate { - padding: 5px 5px 4px 5px; - width: 100px; - line-height: 35px; - background: #F5F7FA; - border: 1px solid #d0d0d0; - text-align: center; -} - -.datatable .rowAlt td, -.datatable tbody tr:nth-child(2n) td { - background: #F5F7FA; -} - -.datatable td { - border: solid 1px #d0d0d0; - padding: 3px 5px 4px 5px; - max-width: 100px; - color: #414753; - line-height: 35px; - text-align: center; -} - .html2pdf__page-break { display: none !important; }