diff --git a/package.json b/package.json index aa663fe..37a4c6f 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "@riophae/vue-treeselect": "0.4.0", "@vue-office/docx": "^1.6.3", "@vue/composition-api": "^1.7.2", + "autofit.js": "^3.2.2", "axios": "0.28.1", "clipboard": "2.0.8", "core-js": "3.37.1", diff --git a/src/api/ManageApi/index.js b/src/api/ManageApi/index.js index 321e56d..09440a1 100644 --- a/src/api/ManageApi/index.js +++ b/src/api/ManageApi/index.js @@ -906,7 +906,9 @@ export function deleteHandbook(idList) { return request({ url: `/gysl/handbook/delete`, method: 'delete', - params: { idList: idList.join(',') } + params:{ + idList: idList.join(',') + } }); } diff --git a/src/views/compilation/handbook/index.vue b/src/views/compilation/handbook/index.vue index a8f884b..8251005 100644 --- a/src/views/compilation/handbook/index.vue +++ b/src/views/compilation/handbook/index.vue @@ -3,59 +3,57 @@
-
-
- 手册名称 - -
-
- 创建时间 - -
-
- 查询 - 重置 -
-
+ + + + + + + + + + + + + + + + 查询 + 重置 + + + +
- 项目手册导出 + > --> 新增
- - + + @@ -203,7 +208,7 @@
-
+
@@ -222,22 +227,17 @@ 重置 - 确认勾选
{{ editingHandbook ? '更新手册' : '生成手册' }}{{ editingHandbook ? "更新手册" : "生成手册" }}
@@ -376,7 +376,7 @@ @@ -851,7 +829,11 @@ export default { padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); border: 1px solid #eee; - margin: 0.5rem + margin: 0.5rem; + .el-input { + flex: 1; + max-width: 100%; +} } .headerbox { @@ -882,9 +864,17 @@ export default { .search-input, .search-date { - width: 240px; + width: 30%; transition: all 0.3s; - + margin-right: 30px; + ::v-deep .el-input { + flex: 1!important; + max-width: 100%!important; + + } + ::v-deep .el-input__inner { + width: 100%!important; + } &:hover { box-shadow: 0 0 0 1px #409eff; } @@ -899,7 +889,7 @@ export default { .tablebtntwo { width: 100%; display: flex; - justify-content: space-between; + justify-content: right; margin: 10px 0 20px; } @@ -935,7 +925,7 @@ export default { /* PDF预览区域样式 */ .previewbox { - height: calc(100vh - 50px); + height: calc(100% - 50px); z-index: 1500; display: flex; flex-direction: column; @@ -1136,11 +1126,6 @@ export default { font-size: 14px; } -.el-input { - flex: 1; - max-width: 80%; -} - /* 上传区域样式 */ .upload-area { flex: 1;