From b21945e7dea2daa8b30bee3cdd4bca91277e3b5f Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 29 十一月 2023 09:22:17 +0800
Subject: [PATCH] 6
---
web/src/views/modules/project/Environ-AddOrUpdate.vue | 49 +++++++------------------------------------------
1 files changed, 7 insertions(+), 42 deletions(-)
diff --git a/web/src/views/modules/project/Environ-AddOrUpdate.vue b/web/src/views/modules/project/Environ-AddOrUpdate.vue
index a74e939..9a52aad 100644
--- a/web/src/views/modules/project/Environ-AddOrUpdate.vue
+++ b/web/src/views/modules/project/Environ-AddOrUpdate.vue
@@ -1,6 +1,6 @@
<template>
<zt-dialog ref="dialog" column="2" @confirm="formSubmit" append-to-body title="娴嬭瘯鐜寤虹珛纭琛�">
- <el-form :model="dataForm" style="padding: 0" :inline="true" ref="dataForm" :disabled="dataForm.disabled" label-width="130px" class="confirmFormAuto">
+ <el-form :model="dataForm" style="padding-top: 0" :inline="true" ref="dataForm" :disabled="dataForm.disabled" label-width="130px" class="confirmFormAuto">
<div class="DConfirmForm">
<el-form-item label-width="60px" label="缂栧彿:" style="width:100%;margin-bottom: 0">
<span>{{dataForm.environ.code}}</span>
@@ -111,8 +111,8 @@
<config-uploader busi-type="test_environt_diagram" model-name="dataForm" :dataForm="dataForm"
@getImageUrl="getImageUrl"
v-model="dataForm.files"/>
- <div v-if="image.url">
- <el-image :src="image.url"></el-image>
+ <div v-if="dataForm.url">
+ <el-image :src="dataForm.url"></el-image>
</div>
</div>
</div>
@@ -214,13 +214,9 @@
export default {
data() {
return {
- image: {
- url:'',
- width:'',
- height:1,
- },
dataForm: {
id: '',
+ url:'',
environ:{
code: '1',
hardSoftwareRes: '',
@@ -295,8 +291,8 @@
})
},
getImageUrl(url){
- this.image.url = url
- console.log(this.image.url,' this.image.url')
+ this.dataForm.url = url
+ console.log(this.dataForm.url,' this.dataForm.url')
},
// 琛ㄥ崟鎻愪氦
async formSubmit() {
@@ -327,11 +323,6 @@
.DFormWidth {
width: 120px;
}
-
-.DAlign {
- text-align: center;
-}
-
.DConfirmForm {
/*border-left: 1px solid;*/
width: 100%;
@@ -383,31 +374,5 @@
margin-top: 0 !important;
margin-bottom: 10px !important;
}
-.table-container {
- position: relative;
-}
-.table-container:hover .icon-container {
- opacity: 1; /* 榧犳爣鎮仠鏃舵樉绀哄浘鏍� */
-}
-.icon-container {
- z-index: 1;
- position: absolute;
- bottom: -20px;
- left: 50%;
- width: 40px;
- height: 30px;
- text-align: center;
- line-height: 30px;
- transform: translate3d(-50%, 0, -20px);
- border: 1px solid #EBEEF5;
- background-color: #fafafa;
- box-shadow: 0 3px 6px 0 rgba(72, 119, 232, 0.14);
- border-radius: 2px;
- transition: transform 0.3s ease,box-shadow 0.3s ease,opacity 0.3s ease;
- opacity: 0;
-}
-.icon-container:hover{
- transform: translate3d(-50%, 0, 0);
- box-shadow: 0 10px 10px 0 rgba(72, 119, 232, 0.34)
-}
+
</style>
--
Gitblit v1.9.1