对接搜索中心
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<span class="text-sel" :title="$t('problemClassification')">{{$t('problemClassification')}}</span>
|
<span class="text-sel" :title="$t('problemClassification')">{{$t('problemClassification')}}</span>
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('problemClassification')"
|
<a-select :placeholder="$t('PleaseSelect')+$t('problemClassification')"
|
||||||
class="text-select"
|
class="text-select"
|
||||||
|
allowClear
|
||||||
v-model="queryParamOne.showPermissions">
|
v-model="queryParamOne.showPermissions">
|
||||||
<a-select-option v-for="(item, key) in tagList"
|
<a-select-option v-for="(item, key) in tagList"
|
||||||
:key="key"
|
:key="key"
|
||||||
@@ -125,13 +126,11 @@
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
selectModel: '',
|
|
||||||
fileList: [],
|
fileList: [],
|
||||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
||||||
queryParamSeach: '',
|
queryParamSeach: '',
|
||||||
mapOne: {},
|
mapOne: {},
|
||||||
mapTwo: {},
|
mapTwo: {},
|
||||||
selectModelName: '',
|
|
||||||
queryParamOne: {},
|
queryParamOne: {},
|
||||||
searchQueryOne: {},
|
searchQueryOne: {},
|
||||||
orderBy: '1',
|
orderBy: '1',
|
||||||
@@ -157,7 +156,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getCondition()
|
|
||||||
this.replacePage()
|
this.replacePage()
|
||||||
this.getParagraphInfoList()
|
this.getParagraphInfoList()
|
||||||
},
|
},
|
||||||
@@ -213,22 +211,18 @@
|
|||||||
this.queryParamSeach = ''
|
this.queryParamSeach = ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
searchData(data, selectModel, name) {
|
searchData(data) {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.searchQueryOne = data || {}
|
this.searchQueryOne = data || {}
|
||||||
this.queryParam = { ...this.queryParamOne, ...data }
|
this.queryParam = { ...this.queryParamOne, ...data }
|
||||||
this.selectModel = selectModel
|
|
||||||
this.selectModelName = name
|
|
||||||
this.ParamSeach()
|
this.ParamSeach()
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getParagraphInfoList(1)
|
this.getParagraphInfoList(1)
|
||||||
},
|
},
|
||||||
searchDataTwo(data, selectModel, name) {
|
searchDataTwo(data) {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.searchQueryOne = data || {}
|
this.searchQueryOne = data || {}
|
||||||
this.queryParam = { ...this.queryParamOne, ...data }
|
this.queryParam = { ...this.queryParamOne, ...data }
|
||||||
this.selectModel = selectModel
|
|
||||||
this.selectModelName = name
|
|
||||||
this.ParamSeach()
|
this.ParamSeach()
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getParagraphInfoList(2)
|
this.getParagraphInfoList(2)
|
||||||
@@ -239,8 +233,6 @@
|
|||||||
this.searchQueryOne = {}
|
this.searchQueryOne = {}
|
||||||
this.checkboxText = []
|
this.checkboxText = []
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
this.selectModel = ''
|
|
||||||
this.selectModelName = ''
|
|
||||||
this.ParamSeach()
|
this.ParamSeach()
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getParagraphInfoList(1)
|
this.getParagraphInfoList(1)
|
||||||
@@ -359,6 +351,7 @@
|
|||||||
|
|
||||||
.text-select {
|
.text-select {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
height: 38px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -515,17 +508,4 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textName {
|
|
||||||
width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
display: -webkit-box;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
/*! autoprefixer: off */
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-line-clamp: 1;
|
|
||||||
/*! autoprefixer: on;*/
|
|
||||||
text-justify: inter-ideograph;
|
|
||||||
word-break: break-all
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -148,6 +148,8 @@
|
|||||||
this.$refs.DocumentLibraryRef.ResetSearch()
|
this.$refs.DocumentLibraryRef.ResetSearch()
|
||||||
}else if (this.$refs.monthlyReportRegulationsRef) {
|
}else if (this.$refs.monthlyReportRegulationsRef) {
|
||||||
this.$refs.monthlyReportRegulationsRef.ResetSearch()
|
this.$refs.monthlyReportRegulationsRef.ResetSearch()
|
||||||
|
}else if(this.$refs.problemKnowledgeBaseRef){
|
||||||
|
this.$refs.problemKnowledgeBaseRef.ResetSearch()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSearch(event) {
|
onSearch(event) {
|
||||||
@@ -168,6 +170,8 @@
|
|||||||
this.$refs.wholeRef.searchData(event)
|
this.$refs.wholeRef.searchData(event)
|
||||||
}else if(this.$refs.monthlyReportRegulationsRef){
|
}else if(this.$refs.monthlyReportRegulationsRef){
|
||||||
this.$refs.monthlyReportRegulationsRef.searchData(event)
|
this.$refs.monthlyReportRegulationsRef.searchData(event)
|
||||||
|
}else if(this.$refs.problemKnowledgeBaseRef){
|
||||||
|
this.$refs.problemKnowledgeBaseRef.searchData(event)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
wholeTextSearch(event) {
|
wholeTextSearch(event) {
|
||||||
@@ -183,6 +187,8 @@
|
|||||||
}
|
}
|
||||||
}else if(this.$refs.monthlyReportRegulationsRef){
|
}else if(this.$refs.monthlyReportRegulationsRef){
|
||||||
this.$refs.monthlyReportRegulationsRef.searchDataTwo(event)
|
this.$refs.monthlyReportRegulationsRef.searchDataTwo(event)
|
||||||
|
}else if(this.$refs.problemKnowledgeBaseRef){
|
||||||
|
this.$refs.problemKnowledgeBaseRef.searchDataTwo(event)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getCondition() {
|
getCondition() {
|
||||||
|
|||||||
Reference in New Issue
Block a user