diff --git a/src/components/CustomsTable/index.vue b/src/components/CustomsTable/index.vue index 652f1f80b6725119f283f3188f6a46e8eaca353a..0cbc6305c51aeec2ca2865cb9898c60579547655 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 622925cc91a3f254888754ac22800aec16c12f31..4e924ba7ceca58a67e82bdf19c6425def5d44703 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" > -