From ab0081166e9d695445234e221c143cf39e856349 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Sat, 2 Jul 2022 15:32:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ParameterLibraryAdd/index.vue | 205 +++++++++++++++++- .../components/PersonnelSelection/index.vue | 12 + .../src/components/searchalonesplit/index.vue | 2 +- .../parameter/ParameterTemplate/index.vue | 1 + .../ParameterItemCollectionList.vue | 2 +- .../dialog/ParameterTemplateAdd.vue | 137 +++++++++++- 6 files changed, 336 insertions(+), 23 deletions(-) diff --git a/jero-web/src/components/ParameterLibraryAdd/index.vue b/jero-web/src/components/ParameterLibraryAdd/index.vue index 80c226ea3..f77f108c5 100644 --- a/jero-web/src/components/ParameterLibraryAdd/index.vue +++ b/jero-web/src/components/ParameterLibraryAdd/index.vue @@ -12,16 +12,44 @@ > - - - +
+
+ + {{$t('NiONumber')}} +
+ + + + + + + +
+ + + +
- - - +
+
+ + {{$t('ParameterName')}} +
+ + + + + + + +
+ + + +
{{ $t('query') }} @@ -29,15 +57,32 @@
- - - + +
+
+ + {{$t('areaOfResponsibility')}} +
+ + + + + - +
+ + + + + + + +
@@ -291,6 +336,89 @@ export default { display: flex; justify-content: center; } +.box-title-text { + line-height: 1.4; + display: flex; + /*align-items: center;*/ +} + +.title-text { + width: 114px; + text-align: right; + display: inline-block; + font-weight: 500; + font-size: 14px; + margin-right: 16px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + height: 42px; + line-height: 42px; +} + +.box-input { + display: inline-block; + height: 38px; + width: 100%; +} + +.itemModel { + width: calc(100% - 130px); + display: inline-block; + margin-top: 2px; + height: 40px; + margin-bottom: 24px; +} + +.itemModel-text { + width: calc(100% - 130px); + display: inline-block; + margin-top: 2px; +} + +.Required { + color: red; + margin-right: 4px; +} + +.title-text-text { + margin-top: 9px; +} + +.header-text { + font-size: 16px; + font-weight: bold; + margin-left: 15px; + /*border-bottom: 1px #d9d9d9 dashed;*/ + height: 30px; + margin-bottom: 30px; +} + +.formAdd { + margin-bottom: 40px; +} + +.button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; +} + +.button-text-text { + position: absolute; + right: -10px; + top: -21px; + display: inline-block; + padding: 6px; + border-radius: 50%; + background: red; + text-align: center; + line-height: 6px; + color: #fff; +} + \ No newline at end of file diff --git a/jero-web/src/components/PersonnelSelection/index.vue b/jero-web/src/components/PersonnelSelection/index.vue index 51c2f5a7a..cacd06643 100644 --- a/jero-web/src/components/PersonnelSelection/index.vue +++ b/jero-web/src/components/PersonnelSelection/index.vue @@ -3,10 +3,14 @@
{{this.$t('PersonnelSelection')}} + + {{this.$t('delete')}} +
{{item.db_field_txt}}
-
diff --git a/jero-web/src/views/parameter/ParameterTemplate/index.vue b/jero-web/src/views/parameter/ParameterTemplate/index.vue index 3929a5a96..bfa9d8529 100644 --- a/jero-web/src/views/parameter/ParameterTemplate/index.vue +++ b/jero-web/src/views/parameter/ParameterTemplate/index.vue @@ -200,6 +200,7 @@ export default { methods: { handleCancel() { this.areaVisible=false + this.$refs['ruleForm'].resetFields() }, handleSubmit() { if( this.formInline.paramsTemplateName !== undefined) { diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 9bc09aff5..36cc966c7 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -164,7 +164,7 @@
- + diff --git a/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue b/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue index d50ea3fc4..bf8781520 100644 --- a/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue +++ b/jero-web/src/views/projectManagement/dialog/ParameterTemplateAdd.vue @@ -5,7 +5,7 @@ class='tag-module' ref='ruleForm' :model='formData' - :rules='rules' + :rules="rules" :label-col='labelCol' :wrapper-col='wrapperCol' > @@ -24,21 +24,57 @@
- - +
+
+ + {{$t('zoneOfApplication')}} +
+ + + + + + + + - +
+ + + + + + + +
- - - +
+
+ + {{$t('parameterTemplate')}} +
+ + + + + + + +
+ + + + +
{{ $t('query') }} @@ -346,6 +382,89 @@ color: red; margin-right: 4px; } + .box-title-text { + line-height: 1.4; + display: flex; + /*align-items: center;*/ + } + + .title-text { + width: 114px; + text-align: right; + display: inline-block; + font-weight: 500; + font-size: 14px; + margin-right: 16px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + height: 42px; + line-height: 42px; + } + + .box-input { + display: inline-block; + height: 38px; + width: 100%; + } + + .itemModel { + width: calc(100% - 130px); + display: inline-block; + margin-top: 2px; + height: 40px; + margin-bottom: 24px; + } + + .itemModel-text { + width: calc(100% - 130px); + display: inline-block; + margin-top: 2px; + } + + .Required { + color: red; + margin-right: 4px; + } + + .title-text-text { + margin-top: 9px; + } + + .header-text { + font-size: 16px; + font-weight: bold; + margin-left: 15px; + /*border-bottom: 1px #d9d9d9 dashed;*/ + height: 30px; + margin-bottom: 30px; + } + + .formAdd { + margin-bottom: 40px; + } + + .button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; + } + + .button-text-text { + position: absolute; + right: -10px; + top: -21px; + display: inline-block; + padding: 6px; + border-radius: 50%; + background: red; + text-align: center; + line-height: 6px; + color: #fff; + }