引用参数列搜索问题
This commit is contained in:
@@ -479,8 +479,6 @@
|
|||||||
this.areaVisibleView = true
|
this.areaVisibleView = true
|
||||||
let url = ''
|
let url = ''
|
||||||
if (this.$route.query.it === undefined) {
|
if (this.$route.query.it === undefined) {
|
||||||
console.log(val)
|
|
||||||
console.log(val.db_field_name)
|
|
||||||
if(val.db_field_name == 'referencesCol') {
|
if(val.db_field_name == 'referencesCol') {
|
||||||
url = `/jero-boot/params/report/queryParamsReportConfigById?id=${val.db_field_id}`
|
url = `/jero-boot/params/report/queryParamsReportConfigById?id=${val.db_field_id}`
|
||||||
}else{
|
}else{
|
||||||
@@ -698,6 +696,11 @@
|
|||||||
getAction('paramsCollectManifestLog/paramsCollectManifestLogEO/page', query).then((res) => {
|
getAction('paramsCollectManifestLog/paramsCollectManifestLogEO/page', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSourcehistory = res.result.records
|
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.total = res.result.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class='diolag-area'>
|
<div class='diolag-area'>
|
||||||
<a-spin :spinning='spinLoading'>
|
<a-spin :spinning='spinLoading' @keyup.enter.native="searchQuery">
|
||||||
<a-form-model
|
<a-form-model
|
||||||
class='tag-module'
|
class='tag-module'
|
||||||
ref='ruleForm'
|
ref='ruleForm'
|
||||||
@@ -245,6 +245,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
|
this.pageNo = 1
|
||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
<!-- v-show="!roleDisabled"-->
|
<!-- v-show="!roleDisabled"-->
|
||||||
<a-form-item :label="$t('RoleAssignment')" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
<a-form-item :label="$t('RoleAssignment')" :labelCol="labelCol" :wrapperCol="wrapperCol"
|
||||||
>
|
>
|
||||||
|
|
||||||
<a-select
|
<a-select
|
||||||
mode="multiple"
|
mode="multiple"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -303,7 +304,7 @@
|
|||||||
roleList: [],
|
roleList: [],
|
||||||
selectedRole: [],
|
selectedRole: [],
|
||||||
dutyTerritories: '',
|
dutyTerritories: '',
|
||||||
brands: '',
|
brands: null,
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
sm: { span: 5 }
|
sm: { span: 5 }
|
||||||
@@ -418,6 +419,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
selectChange(value){
|
selectChange(value){
|
||||||
|
console.log(value,"value",this.roleList)
|
||||||
value.map((item,index) => {
|
value.map((item,index) => {
|
||||||
this.roleList.map((val,index) => {
|
this.roleList.map((val,index) => {
|
||||||
if(val.roleCode == 'Viewer' && item == val.id){
|
if(val.roleCode == 'Viewer' && item == val.id){
|
||||||
@@ -427,6 +429,7 @@
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
} else if(val.roleCode == 'BrandAdministrator' && item == val.id) {
|
} else if(val.roleCode == 'BrandAdministrator' && item == val.id) {
|
||||||
|
this.brands = []
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.viewshowbrand = true
|
this.viewshowbrand = true
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user