修改禅道已知bug

This commit is contained in:
范强强
2022-08-25 11:00:22 +08:00
parent e031fa8a67
commit 20d6f05dcb
2 changed files with 24 additions and 7 deletions
@@ -1324,6 +1324,18 @@
border: 1px #00B3BE solid; border: 1px #00B3BE solid;
color: #00B3BE; color: #00B3BE;
} }
::v-deep .ant-select-tree {
width: auto;
height: 300px;
overflow: auto;
position: absolute;
/*background: #fff;*/
}
::v-deep .ant-select-tree-dropdown {
min-height: 320px;
}
</style> </style>
<style lang="less"> <style lang="less">
@@ -112,7 +112,7 @@
{{$t('edit')}} {{$t('edit')}}
</a> </a>
</span> </span>
<span slot="regulatoryEngineer" > <span slot="regulatoryEngineer">
<span :title="$t('regulatoryEngineer')"> <span :title="$t('regulatoryEngineer')">
{{$t('regulatoryEngineer')}} {{$t('regulatoryEngineer')}}
</span> </span>
@@ -218,6 +218,7 @@
<!-- :prop="'certificationEngineer'"--> <!-- :prop="'certificationEngineer'"-->
<a-form-model-item class="itemModel"> <a-form-model-item class="itemModel">
<a-select allowClear <a-select allowClear
class="box-input"
v-model="formInline.certificationEngineer" v-model="formInline.certificationEngineer"
:placeholder="$t('certifiedEngineer')+$t('areaOfResponsibility')"> :placeholder="$t('certifiedEngineer')+$t('areaOfResponsibility')">
<a-select-option v-for="(item, key) in dictOptionsValue" <a-select-option v-for="(item, key) in dictOptionsValue"
@@ -283,18 +284,18 @@
{ {
align: 'center', align: 'center',
dataIndex: 'lawEngineerName', dataIndex: 'lawEngineerName',
slots:{title:'regulatoryEngineer'}, slots: { title: 'regulatoryEngineer' },
ellipsis: true ellipsis: true
}, },
{ {
align: 'center', align: 'center',
slots:{title:'engineeringInterfacePerson'}, slots: { title: 'engineeringInterfacePerson' },
dataIndex: 'engineeringInterfacePersonName', dataIndex: 'engineeringInterfacePersonName',
ellipsis: true ellipsis: true
}, },
{ {
align: 'center', align: 'center',
slots:{title:'certifiedEngineer'}, slots: { title: 'certifiedEngineer' },
dataIndex: 'certificationEngineerName', dataIndex: 'certificationEngineerName',
ellipsis: true ellipsis: true
}, },
@@ -417,10 +418,10 @@
this.selectedRowKeys = [] this.selectedRowKeys = []
this.getList() this.getList()
}, },
handleCancel(){ handleCancel() {
this.visible = false this.visible = false
}, },
handleSubmit(){ handleSubmit() {
this.visible = false this.visible = false
}, },
batSettingClick() { batSettingClick() {
@@ -469,6 +470,9 @@
this.editVisible = true this.editVisible = true
this.$nextTick(() => { this.$nextTick(() => {
this.formInline = JSON.parse(JSON.stringify(item)) this.formInline = JSON.parse(JSON.stringify(item))
if (!(this.dictOptionsValue.some(val => val.certificationEngineer == this.formInline.certificationEngineer))) {
this.formInline.certificationEngineer = undefined
}
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate()
}) })
}, },
@@ -642,11 +646,12 @@
height: 38px; height: 38px;
/*margin-top: 2px;*/ /*margin-top: 2px;*/
} }
.drawer-bootom-button { .drawer-bootom-button {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
z-index:100; z-index: 100;
border-top: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8;
padding: 10px 16px; padding: 10px 16px;
text-align: right; text-align: right;