|
@@ -26,17 +26,16 @@
|
|
|
<view class="touxiang">
|
|
|
<image :src="portraits" mode="" style="height: 76rpx;border-radius: 8rpx;"></image>
|
|
|
</view>
|
|
|
- <view class="" style="margin: 20rpx 30rpx;">
|
|
|
+ <view style="margin: 20rpx 0 0 30rpx;width: 72%;">
|
|
|
<view style="color: #333333;font-weight: 600;font-size: 34rpx;">{{item.compName}}</view>
|
|
|
<view style="color: #AFB3BF; margin-top: 4rpx;">{{item.updateDate}}</view>
|
|
|
</view>
|
|
|
- <view class="flex" style="width: 40%; justify-content: flex-end;margin: 40rpx;">
|
|
|
- <view style="color: #FE6430;"
|
|
|
+ <view class="flex" style="width: 16%; justify-content: flex-end;margin-top: 40rpx;">
|
|
|
+ <view style="color: #FE6430;margin-right: 16rpx;"
|
|
|
v-if="item.status == '审核中' || item.status == '未审核'|| item.status == '待审核'">{{item.status}}
|
|
|
</view>
|
|
|
- <view style="color: #22C572;" v-if="item.status == '已通过'">{{item.status}}</view>
|
|
|
- <view style="color: #FB1E1E;" v-if="item.status == '已驳回'">{{item.status}}</view>
|
|
|
-
|
|
|
+ <view style="color: #22C572;margin-right: 16rpx;" v-if="item.status == '已通过'">{{item.status}}</view>
|
|
|
+ <view style="color: #FB1E1E;margin-right: 16rpx;" v-if="item.status == '已驳回'">{{item.status}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="title">{{item.title}}</view>
|
|
@@ -136,6 +135,7 @@
|
|
|
setTimeout(function() {
|
|
|
uni.stopPullDownRefresh();
|
|
|
}, 1000);
|
|
|
+ this.release = []
|
|
|
},
|
|
|
onReachBottom() { //上拉触底函数
|
|
|
var that = this
|
|
@@ -175,17 +175,21 @@
|
|
|
this.getRelease()
|
|
|
},
|
|
|
getRelease() {
|
|
|
- this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
|
- currentPage: this.currentPage,
|
|
|
- pageSize: this.pageSize,
|
|
|
- loginPhone: this.userInfo.phone,
|
|
|
- searchType: this.searchType
|
|
|
- })
|
|
|
- .then(res => {
|
|
|
- if (res.data.code == 200) {
|
|
|
- if (!this.searchType) {
|
|
|
+ if (!this.searchType) {
|
|
|
+ this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ loginPhone: this.userInfo.phone,
|
|
|
+ searchType: this.searchType
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ if(this.currentPage = 1 ){
|
|
|
+ this.release = []
|
|
|
+ }
|
|
|
this.releaseInfo = res.data.data.records
|
|
|
if (this.releaseInfo.length > 0) {
|
|
|
+
|
|
|
this.release = this.release.concat(this.releaseInfo)
|
|
|
this.count = this.release.length
|
|
|
this.isLoadMore = false
|
|
@@ -195,9 +199,20 @@
|
|
|
} else {
|
|
|
this.loadStatus = 'nomore'
|
|
|
}
|
|
|
- } else {
|
|
|
- debugger
|
|
|
- if (this.searchTypeInfo == this.searchType) {
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.searchTypeInfo = this.searchType
|
|
|
+ } else {
|
|
|
+ if (this.searchTypeInfo == this.searchType) {
|
|
|
+ // this.loadStatus = "loading"
|
|
|
+ this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ loginPhone: this.userInfo.phone,
|
|
|
+ searchType: this.searchType
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.data.code == 200) {
|
|
|
this.releaseInfo = res.data.data.records
|
|
|
if (this.releaseInfo.length > 0) {
|
|
|
this.release = this.release.concat(this.releaseInfo)
|
|
@@ -209,30 +224,38 @@
|
|
|
} else {
|
|
|
this.loadStatus = 'nomore'
|
|
|
}
|
|
|
- }else{
|
|
|
- this.release = []
|
|
|
- this.releaseInfo = res.data.data.records
|
|
|
- if (this.releaseInfo.length > 0) {
|
|
|
- this.release = this.release.concat(this.releaseInfo)
|
|
|
- this.count = this.release.length
|
|
|
- this.isLoadMore = false
|
|
|
- for (let i = 0; i < this.release.length; i++) {
|
|
|
- this.release[i].imgList = this.release[i].address.split(",")
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.loadStatus = 'nomore'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.release = []
|
|
|
+ this.currentPage = 1
|
|
|
+ this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
|
+ currentPage: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ loginPhone: this.userInfo.phone,
|
|
|
+ searchType: this.searchType
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ this.releaseInfo = res.data.data.records
|
|
|
+ if (this.releaseInfo.length > 0) {
|
|
|
+ this.release = this.release.concat(this.releaseInfo)
|
|
|
+ this.count = this.release.length
|
|
|
+ this.isLoadMore = false
|
|
|
+ for (let i = 0; i < this.release.length; i++) {
|
|
|
+ this.release[i].imgList = this.release[i].address.split(",")
|
|
|
}
|
|
|
+ } else {
|
|
|
+ this.loadStatus = 'nomore'
|
|
|
+ }
|
|
|
}
|
|
|
- this.searchTypeInfo = this.searchType
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ })
|
|
|
+ }
|
|
|
+ this.searchTypeInfo = this.searchType
|
|
|
+ }
|
|
|
|
|
|
- }
|
|
|
- })
|
|
|
},
|
|
|
+
|
|
|
delRecord(item) {
|
|
|
var that = this
|
|
|
uni.showModal({
|