| | |
| | | @on-change="changePageIndex" |
| | | show-elevator |
| | | @on-page-size-change="pagesizechange" |
| | | ref="pagesChange1" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | TotalItems:0, |
| | | seniorSearchBackup:{}, |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0, |
| | | seniorSearch:{ |
| | | finance:'', |
| | | organization:'', |
| | |
| | | //高级搜索确定 |
| | | confirmSenior(seniorSearchValidate){ |
| | | this.searchChange=2 |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | // this.$refs[seniorSearchValidate].validate((valid) => { |
| | | // if (valid) { |
| | | // alert('success') |
| | |
| | | this.optionsList = [] |
| | | } |
| | | }, |
| | | changePageIndex(page){ |
| | | // console.log(page,this.TotalPages,page>this.TotalPages) |
| | | if(page>this.TotalPages){ |
| | | this.pageIndex=1 |
| | | // console.log(page,this.TotalPages,page>this.TotalPages) |
| | | this.$nextTick(()=>{ |
| | | this.pageIndex=1 |
| | | // this.getManageFinancingList() |
| | | if(this.searchChange===1){ |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior() |
| | | } |
| | | }) |
| | | }else{ |
| | | this.pageIndex=page |
| | | // this.getManageFinancingList() |
| | | if(this.searchChange===1){ |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior() |
| | | } |
| | | // changePageIndex(page){ |
| | | // if(page>this.TotalPages){ |
| | | // this.pageIndex=1 |
| | | // this.$nextTick(()=>{ |
| | | // // this.pageIndex=1 |
| | | // // // this.getManageFinancingList() |
| | | // // if(this.searchChange===1){ |
| | | // // this.getManageFinancingList() |
| | | // // }else if(this.searchChange===2){ |
| | | // // this.confirmSenior() |
| | | // // } |
| | | // if(this.searchChange===1){ |
| | | // this.getRentList() |
| | | // }else if(this.searchChange===2){ |
| | | // console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | // this.confirmSenior() |
| | | // } else if(this.searchChange===3){ |
| | | // this.searchClick() |
| | | // } |
| | | // } |
| | | // ) |
| | | // }else{ |
| | | // // this.pageIndex=page |
| | | // // // this.getManageFinancingList() |
| | | // // if(this.searchChange===1){ |
| | | // // this.getManageFinancingList() |
| | | // // }else if(this.searchChange===2){ |
| | | // // this.confirmSenior() |
| | | // // } |
| | | // if(this.searchChange===1){ |
| | | // this.getManageFinancingList() |
| | | // }else if(this.searchChange===2){ |
| | | // console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | // this.confirmSenior() |
| | | // } else if(this.searchChange===3){ |
| | | // this.searchClick() |
| | | // } |
| | | // } |
| | | // $('.ManageFinancingScrollOut .ivu-table-body').animate({scrollTop: 0}, 'slow') |
| | | // this.pageIndex=1 |
| | | // }, |
| | | changePageIndex (page) { |
| | | if (page > this.TotalPages) { |
| | | this.pageIndex = 1 |
| | | } else { |
| | | this.pageIndex = page |
| | | } |
| | | $('.ManageFinancingScrollOut .ivu-table-body').animate({scrollTop: 0}, 'slow') |
| | | this.pageIndex=1 |
| | | if(this.searchChange===1){ |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | this.confirmSenior() |
| | | } else if(this.searchChange===3){ |
| | | this.searchClick() |
| | | } |
| | | this.pageIndex=1 |
| | | }, |
| | | /** |
| | | * 查看点击事件 |
| | |
| | | **/ |
| | | getManageFinancingList(){ |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.loadingManageFinancing=true |
| | | let data={ |
| | | PageSize:30, |
| | |
| | | * 搜索事件 |
| | | **/ |
| | | searchClick(){ |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.searchClickFirst=0 |
| | | } |
| | | this.loadingManageFinancing=true |
| | | let data={ |
| | | PageSize:30, |
| | | PageIndex:1, |
| | | PageIndex:this.pageIndex, |
| | | Name:this.ManageFinancingSearch, |
| | | SelState:parseInt(this.ManageFinancing), |
| | | // ProjectType:this.productSize, |
| | |
| | | style="text-align: right" |
| | | @on-change="changePageIndex" |
| | | show-elevator |
| | | ref="pagesChange1" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | pageIndex: 1, |
| | | TotalItems: 0, |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0, |
| | | seniorSearchBackup:{}, |
| | | seniorSearch: { |
| | | finance: '', |
| | |
| | | diffList: [], |
| | | loading_in: false, |
| | | arrlength: 9, |
| | | pageChange:0 |
| | | pageChange:0, |
| | | |
| | | } |
| | | }, |
| | | created () { |
| | |
| | | }, |
| | | confirmSenior (seniorSearchValidate) { |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | // if(this.pageIndex===1){ |
| | | // this.pageIndex=1 |
| | | // } |
| | |
| | | DateOfRegistration: this.seniorSearchModal.debtEnd, |
| | | PriContractAmount: this.seniorSearchModal.MasterContractAmount |
| | | } |
| | | this.$refs[seniorSearchValidate].validate((valid) => { |
| | | if (valid) { |
| | | // this.$refs[seniorSearchValidate].validate((valid) => { |
| | | // if (valid) { |
| | | this.AssetsSeniorSearch = false |
| | | this.loadingManageFinancing = true |
| | | axios.request({ |
| | |
| | | this.optionsList2 = [] |
| | | this.loadingManageFinancing = false |
| | | }) |
| | | } else { |
| | | this.AssetsSeniorSearch = false |
| | | this.$Message.error('请填写相关信息') |
| | | } |
| | | }) |
| | | // } else { |
| | | // this.AssetsSeniorSearch = false |
| | | // this.$Message.error('请填写相关信息') |
| | | // } |
| | | // }) |
| | | |
| | | }, |
| | | debounce2 (func, delay) { |
| | |
| | | // this.pageChange=1 |
| | | } |
| | | if(this.searchChange===1){ |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior('seniorSearchModal') |
| | | } |
| | | // this.pageIndex=1 |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior() |
| | | } else if(this.searchChange===3){ |
| | | this.searchClick() |
| | | } |
| | | this.pageIndex=1 |
| | | }, |
| | | /** |
| | | * 查看点击事件 |
| | |
| | | **/ |
| | | getManageFinancingList () { |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.loadingManageFinancing = true |
| | | let data = { |
| | | PageSize: 30, |
| | |
| | | * 搜索事件 |
| | | **/ |
| | | searchClick () { |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.searchClickFirst=0 |
| | | } |
| | | this.loadingManageFinancing = true |
| | | let data = { |
| | | PageSize: 30, |
| | | PageIndex: 1, |
| | | PageIndex: this.pageIndex, |
| | | Name: this.ManageFinancingSearch, |
| | | SelState: parseInt(this.ManageFinancing), |
| | | TypeId: 0, |
| | |
| | | style="text-align: right" |
| | | @on-change="changePageIndex" |
| | | show-elevator |
| | | ref="pagesChange1" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | pageIndex: 1, |
| | | TotalItems: 0, |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0, |
| | | seniorSearchBackup:{}, |
| | | seniorSearch: { |
| | | finance: '', |
| | |
| | | this.getManageFinancingList() |
| | | }, |
| | | confirmSenior (seniorSearchValidate) { |
| | | this.searchChange=2 |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.AssetsSeniorSearch = false |
| | | this.loadingManageFinancing = true |
| | | let data = { |
| | |
| | | RegistrationTime: this.seniorSearch.debtStarts, |
| | | DateOfRegistration: this.seniorSearch.debtEnd |
| | | } |
| | | this.seniorSearchBackup=this.seniorSearch |
| | | axios.request({ |
| | | url: '/MkPledgeRev/GetPledgeRevList', |
| | | data, |
| | |
| | | // this.getManageFinancingList() |
| | | if(this.searchChange===1){ |
| | | this.getManageFinancingList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior() |
| | | }else if(this.searchChange===2){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | this.confirmSenior() |
| | | } else if(this.searchChange===3){ |
| | | this.searchClick() |
| | | } |
| | | this.pageIndex=1 |
| | | this.pageIndex=1 |
| | | }, |
| | | /** |
| | | * 查看点击事件 |
| | |
| | | * 获取table数据 |
| | | **/ |
| | | getManageFinancingList () { |
| | | this.searchChange=1 |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.loadingManageFinancing = true |
| | | let data = { |
| | | PageSize: 30, |
| | |
| | | * 搜索事件 |
| | | **/ |
| | | searchClick () { |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.searchClickFirst=0 |
| | | } |
| | | this.loadingManageFinancing = true |
| | | let data = { |
| | | PageSize: 30, |
| | | PageIndex: 1, |
| | | PageIndex: this.pageIndex, |
| | | SelState: this.ManageFinancing, |
| | | // TypeId:parseInt(this.productSize), |
| | | Name: this.ManageFinancingSearch, |
| | |
| | | this.AssetsSeniorSearch = true |
| | | if(this.seniorSearchBackup===""){ |
| | | this.seniorSearch = { |
| | | |
| | | finance: '', |
| | | organization: '', |
| | | productSize: '', |
| | |
| | | }else{ |
| | | this.seniorSearch=this.seniorSearchBackup |
| | | } |
| | | this.seniorSearch = { |
| | | seniorSearch: { |
| | | finance: '', |
| | | organization: '', |
| | | productSize: '', |
| | | issueScale: '', |
| | | placeIssue: '', |
| | | financeSize: '', |
| | | registerSize: '', |
| | | MasterContractAmount: '', |
| | | debtStarts: '', |
| | | debtEnd: '' |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | :page-size="30" |
| | | style="text-align: right" |
| | | @on-change="changePageIndex" |
| | | ref="pagesChange1" |
| | | show-elevator |
| | | /> |
| | | </div> |
| | |
| | | diffList: [], |
| | | diffarr: [], |
| | | loading_in: false, |
| | | searchChange:1 |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0 |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | getRentList () { |
| | | // this.rentList=[] |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.loadingRent = true |
| | | let data = { |
| | | Name: this.rentSearch, |
| | |
| | | $('.receivablesScrollOut .ivu-table-body').animate({scrollTop: 0}, 'slow') |
| | | // this.$nextTick(() => { |
| | | if(this.searchChange===1){ |
| | | this.getRentList() |
| | | }else if(this.searchChange===2){ |
| | | // console.log(this.pageIndex); |
| | | this.getRentList() |
| | | }else if(this.searchChange===2){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | this.confirmSenior() |
| | | // console.log(this.pageIndex); |
| | | } |
| | | } else if(this.searchChange===3){ |
| | | this.searchClick() |
| | | } |
| | | this.pageIndex=1 |
| | | |
| | | // }) |
| | | }, |
| | |
| | | **/ |
| | | confirmSenior (seniorSearchValidate) { |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.rentList = [] |
| | | this.$nextTick(() => { |
| | | // this.$nextTick(() => { |
| | | this.rentSeniorSearch = false |
| | | this.loadingRent = true |
| | | console.log(this.pageIndex); |
| | | let data = { |
| | | NameOfTransferor: this.seniorSearch.NameOfTransferor, |
| | | NameOfPledgor: this.seniorSearch.NameOfPledgor, |
| | |
| | | DateOfRegistration: this.seniorSearch.DateOfRegistration, |
| | | LoanTypeInfo: this.seniorSearch.LoanTypeInfo |
| | | } |
| | | console.log(this.pageIndex); |
| | | this.seniorSearchBackup=this.seniorSearch |
| | | axios.request({ |
| | | url: '/MkReceivablesPledge/GetMkReceivablesPledgeList', |
| | |
| | | }, res => { |
| | | this.loadingRent = false |
| | | }) |
| | | }) |
| | | // }) |
| | | }, |
| | | searchClick () { |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.searchClickFirst=0 |
| | | } |
| | | this.rentList = [] |
| | | this.pageIndex = 1 |
| | | this.loadingRent = true |
| | |
| | | </Card> |
| | | <Card style="margin-top: 12px"> |
| | | <div v-if="topInput==='1'" class="lists_readAndEdit2" style="margin-top: 0;padding-top: 0px;font-weight:600;" > |
| | | {{`承租人:${rentSearch}`}} |
| | | {{`出租人:${rentSearch}`}} |
| | | </div> |
| | | <div class="lists_readAndEdit2" style="margin-top: 0;padding-top: 0px" v-else> |
| | | <Select v-model="rentPeople" style="width:100px;padding-right: 12px" size="large"> |
| | |
| | | <ul slot="content" style="width: 400px;"> |
| | | <!-- <li v-if="optionsList4 && optionsList4.length == 0">无匹配结果</li> --> |
| | | <li v-for="(item, index) in optionsList4" :key="index" @click="tenantAbodeChange(item)" |
| | | class="clearfix" |
| | | style="cursor:pointer;padding: 4px 2px;"> |
| | | <span style="float: left;">{{ item.Name }}</span> |
| | | <span |
| | | style="float: right;display: inline-block;border-radius: 4px;background-color: #e5f7fa;padding: 1px 4px;color: #05b6d0;">{{ |
| | | item.IsOriginalNameMatch ? '历史名称匹配' : '名称匹配' |
| | | }}</span> |
| | | </li> |
| | | </ul> |
| | | </Poptip> |
| | | </FormItem> |
| | | </div> |
| | | <div style="display: flex;align-items: center;margin-bottom: 12px"> |
| | | <label |
| | | style="width:100px;display: inline-block;text-align:left;line-height: 40px;white-space: nowrap">登记证明编号</label> |
| | | <FormItem prop="tenantAbode" style="width:calc(100% - 100px)!important;" class="rentmanClass"> |
| | | <!-- <Input size="large" v-model="seniorSearch.leaser" placeholder="请输入承租人住所" class="ipt_width" />--> |
| | | <Poptip trigger="focus" placement="bottom-start" disabled transfer> |
| | | <Input v-model="seniorSearch.regCerNumber" |
| | | size="large" |
| | | class="ipt_width" |
| | | placeholder="请输入登记证明编号" |
| | | ></Input> |
| | | <ul slot="content" style="width: 400px;"> |
| | | <!-- <li v-if="optionsList4 && optionsList4.length == 0">无匹配结果</li> --> |
| | | <li v-for="(item, index) in optionsList5" :key="index" @click="tenantAbodeChange(item)" |
| | | class="clearfix" |
| | | style="cursor:pointer;padding: 4px 2px;"> |
| | | <span style="float: left;">{{ item.Name }}</span> |
| | |
| | | optionsList2: [], |
| | | optionsList3: [], |
| | | optionsList4: [], |
| | | optionsList5: [], |
| | | rentCheckDetail: false, |
| | | defaultassetsmode: false, |
| | | pageIndex: 1, // 当前页 |
| | |
| | | boardingTime: '', |
| | | expirationTime: '', |
| | | boardingTime2: '', |
| | | expirationTime2: '' |
| | | expirationTime2: '', |
| | | regCerNumber:'' |
| | | }, |
| | | checkTableLists: [], |
| | | seniorSearchValidate: { |
| | |
| | | {required: true, trigger: 'change'} |
| | | ], |
| | | tenantAbode: [ |
| | | {required: true, trigger: 'change'} |
| | | ], |
| | | regCerNumber: [ |
| | | {required: true, trigger: 'change'} |
| | | ], |
| | | boardingSize: [ |
| | |
| | | ], |
| | | expirationTime: [ |
| | | {required: true, trigger: 'change', type: 'date'} |
| | | ] |
| | | ], |
| | | |
| | | }, |
| | | checkId: 0, |
| | | arrLength1: false, |
| | |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0 |
| | | getRentListFirst:0, |
| | | } |
| | | }, |
| | | mounted () { |
| | |
| | | // newQuery为输入的值 |
| | | this.seniorSearch.tenantAbode = newQuery |
| | | this.tenantsResidence() |
| | | }, 200)) |
| | | this.$watch('seniorSearch.regCerNumber', this.debounce4((newQuery) => { |
| | | // newQuery为输入的值 |
| | | this.seniorSearch.regCerNumber = newQuery |
| | | this.regCerNumber() |
| | | }, 200)) |
| | | }, |
| | | methods: { |
| | |
| | | this.optionsList3 = [] |
| | | } |
| | | }, |
| | | regCerNumber () { |
| | | if (this.componentsType == 'noTitle' && this.firstBool) { |
| | | console.log('只执行一次') |
| | | this.firstBool = false |
| | | return false |
| | | } |
| | | if (this.seniorSearch.regCerNumber !== '') { |
| | | let data = {keyword: this.seniorSearch.regCerNumber} |
| | | axios.request({ |
| | | url: '/qichacha/FuzzySearch', |
| | | data, |
| | | method: 'post' |
| | | }).then(res => { |
| | | if (res.data.Check) { |
| | | this.optionsList5 = JSON.parse(JSON.stringify(res.data.Data)) |
| | | } else { |
| | | this.optionsList5 = [] |
| | | } |
| | | }, res => { |
| | | this.optionsList5 = [] |
| | | }) |
| | | } else { |
| | | this.optionsList5 = [] |
| | | } |
| | | }, |
| | | regCerNumberChange(item){ |
| | | this.seniorSearch.regCerNumber = item.Name |
| | | }, |
| | | rentLeaserChange (item) { |
| | | console.log(); |
| | | this.seniorSearch.leaser = item.Name |
| | |
| | | } |
| | | }, |
| | | debounce4 (func, delay) { |
| | | let timer |
| | | return (...args) => { |
| | | if (timer) { |
| | | clearTimeout(timer) |
| | | } |
| | | timer = setTimeout(() => { |
| | | func.apply(this, args) |
| | | }, delay) |
| | | } |
| | | }, |
| | | debounce5 (func, delay) { |
| | | let timer |
| | | return (...args) => { |
| | | if (timer) { |
| | |
| | | /** |
| | | * 获取租赁数据 |
| | | **/ |
| | | getRentList () { |
| | | getRentList () { |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.searchChange=1 |
| | | |
| | | this.loadingRent = true |
| | | let data = { |
| | | Name: this.rentSearch, |
| | |
| | | if(this.searchChange===1){ |
| | | this.getRentList() |
| | | }else if(this.searchChange===2){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | // if(this.confirmSeniorFirst===1){ |
| | | // this.pageIndex=1 |
| | | // this.$refs['pagesChange1'].currentPage = 1; |
| | | // this.confirmSenior() |
| | | // this.confirmSeniorFirst=0 |
| | | // }else{ |
| | | // console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | // console.log(this.pageIndex); |
| | | |
| | | this.confirmSenior() |
| | | // } |
| | | } else if(this.searchChange===3){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | |
| | | // if(this.searchClickFirst===1){ |
| | | // this.pageIndex=1 |
| | | // this.$refs['pagesChange1'].currentPage = 1; |
| | | // this.searchClick() |
| | | // this.searchClickFirst=0 |
| | | // }else{ |
| | | this.searchClick() |
| | | // } |
| | | |
| | | this.searchClick() |
| | | } |
| | | // this.pageIndex=1 |
| | | // this.$refs['pagesChange1'].currentPage = 1; |
| | | this.pageIndex=1 |
| | | }, |
| | | /** |
| | | * 高级搜索确认 |
| | | **/ |
| | | confirmSenior (seniorSearchValidate) { |
| | | // this.confirmSeniorFirst=0 |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | console.log(this.pageIndex); |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | console.log(this.pageIndex); |
| | | // this.$refs[seniorSearchValidate].validate((valid) => { |
| | | // if (valid) { |
| | | // alert('success') |
| | |
| | | // alert('error') |
| | | // } |
| | | // }) |
| | | |
| | | this.searchChange=2 |
| | | this.rentList = [] |
| | | this.$nextTick(() => { |
| | | // this.$nextTick(() => { |
| | | this.rentSeniorSearch = false |
| | | this.loadingRent = true |
| | | let data = { |
| | |
| | | boardingTime: this.seniorSearch.boardingTime, |
| | | expirationTime: this.seniorSearch.expirationTime, |
| | | boardingTime2: this.seniorSearch.boardingTime2, |
| | | expirationTime2: this.seniorSearch.expirationTime2 |
| | | expirationTime2: this.seniorSearch.expirationTime2, |
| | | regCerNumber:this.seniorSearch.regCerNumber |
| | | } |
| | | // console.log(this.pageIndex); |
| | | if (this.componentsType == 'noTitle') { |
| | | data.FilterLtd = 1 |
| | | } |
| | |
| | | }, res => { |
| | | this.loadingRent = false |
| | | }) |
| | | }) |
| | | // }) |
| | | }, |
| | | searchClick () { |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | |
| | | this.searchClickFirst=0 |
| | | } |
| | | // this.searchClickFirst=0 |
| | | this.searchChange=3 |
| | | this.loadingRent = true |
| | | this.rentList = [] |
| | | // this.pageIndex = 1 |
| | |
| | | style="text-align: right" |
| | | @on-change="changePageIndex" |
| | | show-elevator |
| | | ref="pagesChange1" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | expirationTime2:'', |
| | | Surety:'' |
| | | }, |
| | | searchChange:1, |
| | | searchChange:1, |
| | | confirmSeniorFirst:0, |
| | | searchClickFirst:0, |
| | | getRentListFirst:0, |
| | | checkTableList:"", |
| | | seniorSearchValidate:{ |
| | | rentMan:[ |
| | |
| | | **/ |
| | | getRentList(){ |
| | | this.searchChange=1 |
| | | this.confirmSeniorFirst=1 |
| | | this.searchClickFirst=1 |
| | | if(this.getRentListFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.loadingRent=true |
| | | let data={ |
| | | Name:this.rentSearch, |
| | |
| | | this.pageIndex=page |
| | | } |
| | | $('.trustScrollOut .ivu-table-body').animate({scrollTop: 0}, 'slow') |
| | | if(this.searchChange===1){ |
| | | if(this.searchChange===1){ |
| | | this.getRentList() |
| | | }else if(this.searchChange===2){ |
| | | this.confirmSenior() |
| | | }else if(this.searchChange===2){ |
| | | console.log(this.confirmSeniorFirst,this.searchClickFirst); |
| | | this.confirmSenior() |
| | | } else if(this.searchChange===3){ |
| | | this.searchClick() |
| | | } |
| | | this.pageIndex=1 |
| | | }, |
| | |
| | | **/ |
| | | confirmSenior(seniorSearchValidate){ |
| | | this.searchChange=2 |
| | | this.searchClickFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.confirmSeniorFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.confirmSeniorFirst=0 |
| | | } |
| | | this.rentList=[] |
| | | this.$nextTick(()=>{ |
| | | // this.$nextTick(()=>{ |
| | | this.rentSeniorSearch=false |
| | | this.loadingRent=true |
| | | let data={ |
| | |
| | | }, res => { |
| | | this.loadingRent=false |
| | | }) |
| | | }) |
| | | // }) |
| | | }, |
| | | searchClick(){ |
| | | this.searchChange=3 |
| | | this.confirmSeniorFirst=1 |
| | | this.getRentListFirst=1 |
| | | if(this.searchClickFirst===1){ |
| | | this.pageIndex=1 |
| | | this.$refs['pagesChange1'].currentPage = 1; |
| | | this.searchClickFirst=0 |
| | | } |
| | | this.loadingRent=true |
| | | this.rentList=[] |
| | | this.pageIndex=1 |
| | | // this.clearAway() |
| | | let data={ |
| | | Name:this.rentSearch, |