引用参数列搜索问题

This commit is contained in:
zyx.net
2022-12-29 15:27:53 +08:00
parent 6befb0b445
commit 40f1fbec1e
3 changed files with 11 additions and 4 deletions
@@ -479,8 +479,6 @@
this.areaVisibleView = true
let url = ''
if (this.$route.query.it === undefined) {
console.log(val)
console.log(val.db_field_name)
if(val.db_field_name == 'referencesCol') {
url = `/jero-boot/params/report/queryParamsReportConfigById?id=${val.db_field_id}`
}else{
@@ -698,6 +696,11 @@
getAction('paramsCollectManifestLog/paramsCollectManifestLogEO/page', query).then((res) => {
if (res.success) {
this.dataSourcehistory = res.result.records
if(this.dataSourcehistory && this.dataSourcehistory.length > 0){
this.dataSourcehistory.forEach(val=>{
val.logContent = val.logContent.replace(/\"/g,"")
})
}
this.total = res.result.total
this.loading = false
} else {
@@ -1,6 +1,6 @@
<template>
<div class='diolag-area'>
<a-spin :spinning='spinLoading'>
<a-spin :spinning='spinLoading' @keyup.enter.native="searchQuery">
<a-form-model
class='tag-module'
ref='ruleForm'
@@ -245,6 +245,7 @@
})
},
searchQuery() {
this.pageNo = 1
this.loadData()
},
searchReset() {
@@ -59,6 +59,7 @@
<!-- v-show="!roleDisabled"-->
<a-form-item :label="$t('RoleAssignment')" :labelCol="labelCol" :wrapperCol="wrapperCol"
>
<a-select
mode="multiple"
style="width: 100%"
@@ -303,7 +304,7 @@
roleList: [],
selectedRole: [],
dutyTerritories: '',
brands: '',
brands: null,
labelCol: {
xs: { span: 24 },
sm: { span: 5 }
@@ -418,6 +419,7 @@
})
},
selectChange(value){
console.log(value,"value",this.roleList)
value.map((item,index) => {
this.roleList.map((val,index) => {
if(val.roleCode == 'Viewer' && item == val.id){
@@ -427,6 +429,7 @@
})
return
} else if(val.roleCode == 'BrandAdministrator' && item == val.id) {
this.brands = []
this.$nextTick(() => {
this.viewshowbrand = true
})