对接高级查询
This commit is contained in:
@@ -99,11 +99,11 @@
|
|||||||
rules:{
|
rules:{
|
||||||
name:[
|
name:[
|
||||||
{ required: true, message: this.$t('enterName'), trigger: 'blur' },
|
{ required: true, message: this.$t('enterName'), trigger: 'blur' },
|
||||||
{ min:1, max: 30, message: this.$t('cantExeed')+'30'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
itemText:[
|
itemText:[
|
||||||
{ required: true, message: this.$t('enterName'), trigger: 'blur' },
|
{ required: true, message: this.$t('enterName'), trigger: 'blur' },
|
||||||
{ min:1, max: 30, message: this.$t('cantExeed')+'30'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
// itemValue:[
|
// itemValue:[
|
||||||
// { required: true, message: this.$t('enterDataValue'), trigger: 'blur' },
|
// { required: true, message: this.$t('enterDataValue'), trigger: 'blur' },
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
// ],
|
// ],
|
||||||
enName:[
|
enName:[
|
||||||
{ required: true, message: this.$t('PleaseEnterYourEnglishName'), trigger: 'blur' },
|
{ required: true, message: this.$t('PleaseEnterYourEnglishName'), trigger: 'blur' },
|
||||||
{ min:1, max: 50, message: this.$t('cantExeed')+'50'+this.$t('characters'), trigger: 'blur' },
|
{ min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },
|
||||||
],
|
],
|
||||||
description:[
|
description:[
|
||||||
// { required: true, message: this.$t('PleaseEnterDescription'), trigger: 'blur' },
|
// { required: true, message: this.$t('PleaseEnterDescription'), trigger: 'blur' },
|
||||||
|
|||||||
@@ -152,7 +152,7 @@
|
|||||||
form:{},
|
form:{},
|
||||||
rules:{
|
rules:{
|
||||||
dictName:[{ required: true, message: this.$t('PleaseEnterLabelName'), trigger: 'change' },
|
dictName:[{ required: true, message: this.$t('PleaseEnterLabelName'), trigger: 'change' },
|
||||||
{ min:1, max: 30, message: this.$t('cantExeed')+'30'+this.$t('characters'), trigger: 'blur' },],
|
{ min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },],
|
||||||
attributeType:[
|
attributeType:[
|
||||||
{ required: true, message: this.$t('PleaseSelectLabelType'), trigger: 'blur' },
|
{ required: true, message: this.$t('PleaseSelectLabelType'), trigger: 'blur' },
|
||||||
|
|
||||||
|
|||||||
@@ -194,11 +194,12 @@
|
|||||||
this.replacePage()
|
this.replacePage()
|
||||||
},
|
},
|
||||||
replacePage() {
|
replacePage() {
|
||||||
|
let queryConditionVOList = JSON.parse(JSON.stringify(this.queryConditionVOList))
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.queryParam,
|
...this.queryParam,
|
||||||
queryConditionVOList: this.queryConditionVOList,
|
queryConditionVOList: JSON.stringify(queryConditionVOList),
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
postAction(this.url.addModelList, query).then((res) => {
|
postAction(this.url.addModelList, query).then((res) => {
|
||||||
|
|||||||
@@ -185,11 +185,12 @@
|
|||||||
this.replacePage()
|
this.replacePage()
|
||||||
},
|
},
|
||||||
replacePage() {
|
replacePage() {
|
||||||
|
let queryConditionVOList = JSON.parse(JSON.stringify(this.queryConditionVOList))
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.queryParam,
|
...this.queryParam,
|
||||||
queryConditionVOList: this.queryConditionVOList
|
queryConditionVOList: JSON.stringify(queryConditionVOList)
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
postAction(this.url.addModelList, query).then((res) => {
|
postAction(this.url.addModelList, query).then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user