From c8f78c2a4e8436414d4b8d793e319be869564df2 Mon Sep 17 00:00:00 2001 From: miaojiale <1123971748@qq.com> Date: Wed, 4 Jan 2023 17:47:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E7=AE=A1=E7=90=86=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomsTable/index.vue | 49 ++++- src/components/Upload/index.vue | 42 +++- .../components/HealthPopularization.vue | 157 +++++---------- .../components/NewsMeeting.vue | 189 ++++++++---------- .../components/NoticeAnnouncement.vue | 171 +++++++++------- .../operation-management/components/mixin.js | 99 +++++++++ .../components/scientificResearch.vue | 5 - 7 files changed, 411 insertions(+), 301 deletions(-) create mode 100644 src/views/systems/operation-management/components/mixin.js diff --git a/src/components/CustomsTable/index.vue b/src/components/CustomsTable/index.vue index 652f1f8..0cbc630 100644 --- a/src/components/CustomsTable/index.vue +++ b/src/components/CustomsTable/index.vue @@ -1,10 +1,10 @@ + + + + +
+ + + + + + + {{ file.name }} +
@@ -125,7 +148,7 @@ export default { return this.value.map((_) => { return ( _.url || - `${this.httpPrefix}/cloud-upms/file/info/${_.bucket_name}/${_.prefix}-${_.uuid_name}` + `https://ds.cixincloud.com/geca-api/disease-data/file/info/${_.bucketName}/${_.uuidName}` ) }) }, @@ -136,8 +159,8 @@ export default { if (newValue === oldValue) return this.fileList = newValue.map((_) => { return { - name: _.file_name, - url: `${this.httpPrefix}/cloud-upms/file/info/${_.bucket_name}/${_.prefix}-${_.uuid_name}`, + name: _.fileName, + url: `https://ds.cixincloud.com/geca-api/disease-data/file/info/${_.bucketName}/${_.uuidName}`, } }) }, @@ -203,7 +226,7 @@ export default { let responseUrl if (file.response) { const _ = file.response.data - responseUrl = `${this.httpPrefix}/cloud-upms/file/info/${_.bucket_name}/${_.prefix}-${_.uuid_name}` + responseUrl = `https://ds.cixincloud.com/geca-api/disease-data/file/info/${_.bucketName}/${_.uuidName}` } try { if (name.match(/\.(png|jpg|jpeg)/)) { @@ -255,8 +278,8 @@ export default { justify-content: flex-end; ::v-deep .el-upload-list__item { transform: translateY(-6px); - width: 158px; - height: 40px; + // width: 158px; + height: 20px; } } ::v-deep .avatar-uploader .el-upload { @@ -273,6 +296,10 @@ export default { height: 30px; line-height: 0px; } + .el-upload--text { + height: 20px; + transform: translateY(-4px); + } } ::v-deep .avatar-uploader .el-upload:hover { border-color: #409eff; @@ -280,6 +307,9 @@ export default { ::v-deep .el-upload-list__item { width: 88px; height: 88px; + &:hover { + background-color: #fff; + } } .avatar-uploader-icon { font-size: 28px; diff --git a/src/views/systems/operation-management/components/HealthPopularization.vue b/src/views/systems/operation-management/components/HealthPopularization.vue index 622925c..4e924ba 100644 --- a/src/views/systems/operation-management/components/HealthPopularization.vue +++ b/src/views/systems/operation-management/components/HealthPopularization.vue @@ -40,7 +40,7 @@ :label-position="'right'" label-width="110px" label-suffix=":" - :rules="rules" + :disabled="readOnly" > -