|
@@ -10,20 +10,51 @@
|
|
|
</a-select-option>
|
|
|
</a-select>
|
|
|
|
|
|
- <a-select v-model='queryList' style='width:50%;margin-left: 3%'>
|
|
|
- <a-select-option v-for='(item,index) in this.queryLists' :key='item.id' :value='item.queryname'>
|
|
|
+ <a-select v-model='queryList' style='width:50%;margin-left: 3%' @pressEnter='handleSearch'>
|
|
|
+ <a-select-option v-for='(item,index) in this.queryLists' :key='item.id' :value='item.queryname'>
|
|
|
{{ item.chinesename }}
|
|
|
</a-select-option>
|
|
|
</a-select>
|
|
|
- <a-input-search allow-clear :loading='isLoading' style='width: 88%;margin-top: 3%' v-model='keyword'
|
|
|
+
|
|
|
+ <a-select v-if="this.queryList.includes('SF')" @pressEnter='handleSearch' v-model='keyword' style='width:76%;margin-top: 3%'>
|
|
|
+ <a-select-option value='是'>
|
|
|
+ 是
|
|
|
+ </a-select-option>
|
|
|
+ <a-select-option value='否'>
|
|
|
+ 否
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <a-select v-if="this.queryList.includes('SY')" @pressEnter='handleSearch' v-model='keyword' style='width:76%;margin-top: 3%'>
|
|
|
+ <a-select-option value='出让'>
|
|
|
+ 出让
|
|
|
+ </a-select-option>
|
|
|
+ <a-select-option value='划拨'>
|
|
|
+ 划拨
|
|
|
+ </a-select-option>
|
|
|
+ <a-select-option value='转让'>
|
|
|
+ 正常使用
|
|
|
+ </a-select-option>
|
|
|
+ <a-select-option value='作价出资'>
|
|
|
+ 作价出资
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ <a-input-search v-else allow-clear :loading='isLoading' style='width: 86%;margin-top: 3%' v-model='keyword'
|
|
|
@search='handleSearch' :placeholder='placeholder'
|
|
|
@pressEnter='handleSearch'/>
|
|
|
|
|
|
+ <a-tooltip placement='bottom' v-if="this.queryList.includes('SF')||this.queryList.includes('SY')">
|
|
|
+ <template slot='title'>
|
|
|
+ <span>搜索</span>
|
|
|
+ </template>
|
|
|
+ <a-button icon="search" style='width: 10%;margin-top: 3%' @click='handleSearch'></a-button>
|
|
|
+ </a-tooltip>
|
|
|
+
|
|
|
<a-tooltip placement='bottom'>
|
|
|
<template slot='title'>
|
|
|
<span>重置</span>
|
|
|
</template>
|
|
|
- <a-button type='primary' icon='reload' style='width: 10%;margin-top: 3%' @click='reset'></a-button>
|
|
|
+ <a-button type='primary' icon='reload' style='width: 10%;margin-top: 3%;margin-left: 2%'
|
|
|
+ @click='reset'></a-button>
|
|
|
</a-tooltip>
|
|
|
</a-input-group>
|
|
|
<template v-if='returntree'>
|
|
@@ -55,9 +86,9 @@
|
|
|
<!-- <a-tag color='blue' style='padding-left: 0.5em;'>-->
|
|
|
<!-- {{ item.layerName }}-->
|
|
|
<!-- </a-tag>-->
|
|
|
-<!-- <a-button slot='actions' type='primary' ghost size='small' @click='handleDetail(item)'>-->
|
|
|
-<!-- 详情-->
|
|
|
-<!-- </a-button>-->
|
|
|
+ <!-- <a-button slot='actions' type='primary' ghost size='small' @click='handleDetail(item)'>-->
|
|
|
+ <!-- 详情-->
|
|
|
+ <!-- </a-button>-->
|
|
|
</a-list-item>
|
|
|
</a-list>
|
|
|
</template>
|
|
@@ -155,12 +186,13 @@ export default {
|
|
|
this.$message.warn('没有查询到配置信息,请联系管理员!');
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.selectChange()
|
|
|
- },
|
|
|
+ mounted() {
|
|
|
+ this.selectChange()
|
|
|
+ },
|
|
|
methods: {
|
|
|
async handleSearch() {
|
|
|
- if (this.queryType && this.keyword && this.queryList.length>0) {
|
|
|
+
|
|
|
+ if (this.queryType && this.keyword && this.queryList.length > 0) {
|
|
|
this.infoShow = false;
|
|
|
if (this.queryType !== this.lastType) {
|
|
|
this.pagination.current = 1;
|