update 国内标准、车型项目库列表按钮权限,查询组件按钮权限

This commit is contained in:
赵霄
2023-09-11 18:22:57 +08:00
parent ddaa858fc1
commit bdf84b06c1
5 changed files with 91 additions and 35 deletions
+7 -1
View File
@@ -109,7 +109,7 @@
{{ !toggleSearchStatus ? $t('open') : $t('putAway') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
<a-button type="primary" @click="searchQuery" style="margin-left: 8px">{{$t('query')}}</a-button>
<a-button type="primary" @click="searchQuery" style="margin-left: 8px" v-has="searchHas">{{$t('query')}}</a-button>
<a-button style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
</div>
</a-row>
@@ -141,6 +141,12 @@ export default {
minLength: {
type: Number,
default: 3
},
// 查询权限
searchHas: {
type: String,
required: false,
default: null
}
// searchQueryList: {
// type: Array,