修改禅道已知bug

This commit is contained in:
sunFlower
2022-10-12 17:14:19 +08:00
parent 0ae4b1e3a1
commit 5bf92e1769
@@ -13,6 +13,7 @@
<a-col :span='9'> <a-col :span='9'>
<a-form-model-item class="itemAddAdmin" :label="$t('title')" prop='title'> <a-form-model-item class="itemAddAdmin" :label="$t('title')" prop='title'>
<a-input style='width: 420px' <a-input style='width: 420px'
class='box-input'
:placeholder="$t('PleaseEnter')+$t('title')" :placeholder="$t('PleaseEnter')+$t('title')"
v-model='formData.title'/> v-model='formData.title'/>
</a-form-model-item> </a-form-model-item>
@@ -24,7 +25,7 @@
</a-row> </a-row>
<a-row :gutter='24'> <a-row :gutter='24'>
<a-col :span='9'> <a-col :span='9'>
<div class="box-title-text" style="margin-left: -58px;"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<!-- <span class="Required">*</span>--> <!-- <span class="Required">*</span>-->
<span class="title-text-text" :title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span> <span class="title-text-text" :title="$t('zoneOfApplication')">{{$t('zoneOfApplication')}}</span>
@@ -34,9 +35,9 @@
<!-- :disabled="disabled"--> <!-- :disabled="disabled"-->
<!-- v-model="formInline[item.db_field_name]"--> <!-- v-model="formInline[item.db_field_name]"-->
<!-- :placeholder="$t('PleaseEnter')+item.db_field_txt"/>--> <!-- :placeholder="$t('PleaseEnter')+item.db_field_txt"/>-->
<!-- <a-input--> <!-- <a-input-->
<!-- :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"--> <!-- :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"-->
<!-- v-model='form.paramsTemplateName'/>--> <!-- v-model='form.paramsTemplateName'/>-->
<j-dict-select-tag class='box-input' v-model='form.region' <j-dict-select-tag class='box-input' v-model='form.region'
:placeholder="$t('PleaseSelect')+$t('zoneOfApplication')" :placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"
:type="'select'" :type="'select'"
@@ -44,14 +45,14 @@
:triggerChange='false' :dictCode="'region'"/> :triggerChange='false' :dictCode="'region'"/>
</a-form-model-item> </a-form-model-item>
</div> </div>
<!-- <a-form-model-item ref='region' :label="$t('zoneOfApplication')" prop='region'>--> <!-- <a-form-model-item ref='region' :label="$t('zoneOfApplication')" prop='region'>-->
<!-- <a-form-model-item class='itemModel' prop='region'>--> <!-- <a-form-model-item class='itemModel' prop='region'>-->
<!-- <j-dict-select-tag class='box-input' v-model='form.region'--> <!-- <j-dict-select-tag class='box-input' v-model='form.region'-->
<!-- :placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"--> <!-- :placeholder="$t('PleaseSelect')+$t('zoneOfApplication')"-->
<!-- :type="'select'"--> <!-- :type="'select'"-->
<!-- :triggerChange='false' :dictCode="'region'"/>--> <!-- :triggerChange='false' :dictCode="'region'"/>-->
<!-- </a-form-model-item>--> <!-- </a-form-model-item>-->
<!-- </a-form-model-item>--> <!-- </a-form-model-item>-->
</a-col> </a-col>
<a-col :span='9'> <a-col :span='9'>
<div class="box-title-text"> <div class="box-title-text">
@@ -65,16 +66,17 @@
<!-- v-model="formInline[item.db_field_name]"--> <!-- v-model="formInline[item.db_field_name]"-->
<!-- :placeholder="$t('PleaseEnter')+item.db_field_txt"/>--> <!-- :placeholder="$t('PleaseEnter')+item.db_field_txt"/>-->
<a-input <a-input
class='box-input'
:placeholder="$t('PleaseEnter')+$t('parameterTemplate')" :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"
:title="$t('PleaseSelect')+$t('parameterTemplate')" :title="$t('PleaseSelect')+$t('parameterTemplate')"
v-model='form.paramsTemplateName'/> v-model='form.paramsTemplateName'/>
</a-form-model-item> </a-form-model-item>
</div> </div>
<!-- <a-form-model-item ref='paramsTemplateName' :label="$t('parameterTemplate')" prop='paramsTemplateName'>--> <!-- <a-form-model-item ref='paramsTemplateName' :label="$t('parameterTemplate')" prop='paramsTemplateName'>-->
<!-- <a-input--> <!-- <a-input-->
<!-- :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"--> <!-- :placeholder="$t('PleaseEnter')+$t('parameterTemplate')"-->
<!-- v-model='form.paramsTemplateName'/>--> <!-- v-model='form.paramsTemplateName'/>-->
<!-- </a-form-model-item>--> <!-- </a-form-model-item>-->
</a-col> </a-col>
<a-col :span='6' style='margin-top: 5px'> <a-col :span='6' style='margin-top: 5px'>
<a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button> <a-button class='box-button' type='primary' @click='searchQuery'>{{ $t('query') }}</a-button>
@@ -92,7 +94,7 @@
:dataSource='areaTable' :dataSource='areaTable'
:pagination='false' :pagination='false'
:loading='loading' :loading='loading'
:scroll='{x: 600}' :scroll='{x: 600,y:300}'
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}' :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
@change='handleTableChange'> @change='handleTableChange'>
</a-table> </a-table>
@@ -376,13 +378,14 @@
.drawer-bootom-button { .drawer-bootom-button {
display: flex; display: flex;
justify-content: center; justify-content: flex-end;
} }
.Required { .Required {
color: red; color: red;
margin-right: 4px; margin-right: 4px;
} }
.box-title-text { .box-title-text {
line-height: 1.4; line-height: 1.4;
display: flex; display: flex;
@@ -390,7 +393,7 @@
} }
.title-text { .title-text {
width: 114px; width: 85px;
text-align: right; text-align: right;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
@@ -410,7 +413,7 @@
} }
.itemModel { .itemModel {
width: calc(100% - 130px); width: calc(100% - 101px);
display: inline-block; display: inline-block;
margin-top: 2px; margin-top: 2px;
height: 40px; height: 40px;
@@ -466,6 +469,10 @@
line-height: 6px; line-height: 6px;
color: #fff; color: #fff;
} }
.box-button {
height: 38px;
}
</style> </style>
<style lang='less'> <style lang='less'>
.area-module { .area-module {
@@ -481,7 +488,7 @@
} }
</style> </style>
<style> <style>
.itemAddAdmin .ant-form-item-control-wrapper .has-error .ant-form-explain { .itemAddAdmin .ant-form-item-control-wrapper .has-error .ant-form-explain {
white-space: nowrap!important; white-space: nowrap !important;
} }
</style> </style>