修改 83404,标准跟踪清单--新增--手动查找--输入查询条件不起作用
This commit is contained in:
@@ -593,6 +593,8 @@ export default {
|
|||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
getData () {
|
getData () {
|
||||||
|
this.searchForm.standType = this.searchForm.dataSource
|
||||||
|
const params = { dataSource: this.searchForm.dataSource, standType: this.searchForm.standType, page: this.searchForm.page, total: this.searchForm.total, ...this.searchForm.pageSize }
|
||||||
const config = {
|
const config = {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loading'
|
loading: 'loading'
|
||||||
@@ -602,16 +604,21 @@ export default {
|
|||||||
case 'INLAND':
|
case 'INLAND':
|
||||||
case 'FOREIGN':
|
case 'FOREIGN':
|
||||||
url = this.url.INLANDFOREIGN
|
url = this.url.INLANDFOREIGN
|
||||||
|
params.standNumber = this.searchForm.lawNumber
|
||||||
|
params.standName = this.searchForm.lawName
|
||||||
break
|
break
|
||||||
case 'FOREIGN_LAWS':
|
case 'FOREIGN_LAWS':
|
||||||
url = this.url.FOREIGN_LAWS
|
url = this.url.FOREIGN_LAWS
|
||||||
|
params.lawsNo = this.searchForm.lawNumber
|
||||||
|
params.lawsName = this.searchForm.lawName
|
||||||
break
|
break
|
||||||
case 'BUSINESS_STAND':
|
case 'BUSINESS_STAND':
|
||||||
url = this.url.BUSINESS_STAND
|
url = this.url.BUSINESS_STAND
|
||||||
|
params.standCode = this.searchForm.lawNumber
|
||||||
|
params.standName = this.searchForm.lawName
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
this.searchForm.standType = this.searchForm.dataSource
|
this.$http._getData(url, params, config).then(res => {
|
||||||
this.$http._getData(url, this.searchForm, config).then(res => {
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.standardData = res.data.list
|
this.standardData = res.data.list
|
||||||
this.searchForm.total = res.data.count
|
this.searchForm.total = res.data.count
|
||||||
@@ -644,6 +651,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
onClear () {
|
onClear () {
|
||||||
|
this.searchForm.page = 1
|
||||||
|
this.searchForm.lawNumber = ''
|
||||||
|
this.searchForm.lawName = ''
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
getDicTypeListCode () {
|
getDicTypeListCode () {
|
||||||
|
|||||||
Reference in New Issue
Block a user