|
@@ -18,7 +18,7 @@
|
|
<el-input v-model="search.fastSearch" style="width: 350px" placeholder="请输入项目名称/主企业名称/核心企业名称/业务编号" clearable />
|
|
<el-input v-model="search.fastSearch" style="width: 350px" placeholder="请输入项目名称/主企业名称/核心企业名称/业务编号" clearable />
|
|
</div>
|
|
</div>
|
|
<div class="leftBtn">
|
|
<div class="leftBtn">
|
|
- <el-button type="primary" @click="page = 1, fetchData()">查询</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="fetchData('search')">查询</el-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -67,7 +67,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.fetchData()
|
|
|
|
|
|
+ this.fetchData('search')
|
|
this.getStatusList()
|
|
this.getStatusList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -80,7 +80,10 @@ export default {
|
|
this.statusList = data || []
|
|
this.statusList = data || []
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- fetchData() {
|
|
|
|
|
|
+ fetchData(type) {
|
|
|
|
+ if(type == 'search') {
|
|
|
|
+ this.page = 1
|
|
|
|
+ }
|
|
request({
|
|
request({
|
|
url: this.activeName == 'all' ? '/creditResolution/allList' : '/businessProcessingTask/doMyPendingList',
|
|
url: this.activeName == 'all' ? '/creditResolution/allList' : '/businessProcessingTask/doMyPendingList',
|
|
data: {
|
|
data: {
|
|
@@ -100,7 +103,7 @@ export default {
|
|
this.search.status = ''
|
|
this.search.status = ''
|
|
this.activeName = tab.name
|
|
this.activeName = tab.name
|
|
this.page = 1
|
|
this.page = 1
|
|
- this.fetchData()
|
|
|
|
|
|
+ this.fetchData('search')
|
|
},
|
|
},
|
|
handlerOperate(type, row) {
|
|
handlerOperate(type, row) {
|
|
if (type === 'see') {
|
|
if (type === 'see') {
|