法规清单把标题的搜索去掉 改成流程状态的搜索 流程状态前面加上符合和验证的下拉框

This commit is contained in:
范强强
2023-04-17 10:42:49 +08:00
parent 62d5508017
commit 57a3fe8695
6 changed files with 224 additions and 226 deletions
@@ -146,7 +146,7 @@
v-else-if="item.type == 'Personnel'"
:query="{db_field_name:'valueId',db_field_txt:'',subscript:index}"
:isInput="true"
:isClass="true"
:isClass="false"
:personneQuery="item"
@change="PersonnelSelectionChange"
v-model="item.valueName"/>
@@ -197,12 +197,22 @@
<a-select
v-else-if="item.options instanceof Array"
v-model="item.val"
:options="item.options"
allowClear
show-search
optionFilterProp="label"
class="item-input"
:placeholder="$t('pleaseSelect')"
:mode="allowMultiple(item)?'multiple':''"
/>
>
<a-select-option v-for="(itemEl, key) in item.options"
:key="key"
:label="itemEl.text || itemEl.label"
:value="itemEl.value">
<span class="itemOption-index" :title=" itemEl.text || itemEl.label ">
{{ itemEl.text || itemEl.label }}
</span>
</a-select-option>
</a-select>
<j-area-linkage v-model="item.val" v-else-if="item.type==='area-linkage' || item.type==='pca'"
style="width: 100%;display: inline-block"/>
<j-date v-else-if=" item.type=='date' " v-model="item.val"
@@ -783,4 +793,12 @@
::v-deep .ant-select{
height: 38px;
}
.itemOption-index {
display: inline-block;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
</style>