|
@ -28,6 +28,7 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<el-button @click="getDataList()">{{ $t('query') }}</el-button> |
|
|
<el-button @click="getDataList()">{{ $t('query') }}</el-button> |
|
|
|
|
|
<el-button @click="exportList()">{{ $t('export') }}</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-table v-loading="dataListLoading" |
|
|
<el-table v-loading="dataListLoading" |
|
@ -154,6 +155,8 @@ import volunteerinfoDetail from './volunteerinfo-detail' |
|
|
import volunteerinfoPointsAdjust from '../points/volunteerinfo-points-adjust' |
|
|
import volunteerinfoPointsAdjust from '../points/volunteerinfo-points-adjust' |
|
|
import volunteerPointsLog from '../points/volunteer-points-log' |
|
|
import volunteerPointsLog from '../points/volunteer-points-log' |
|
|
import volunteerinfoCheck from './volunteerinfo-check' |
|
|
import volunteerinfoCheck from './volunteerinfo-check' |
|
|
|
|
|
import Cookies from 'js-cookie' |
|
|
|
|
|
import qs from 'qs' |
|
|
export default { |
|
|
export default { |
|
|
mixins: [mixinViewModule], |
|
|
mixins: [mixinViewModule], |
|
|
data () { |
|
|
data () { |
|
@ -162,7 +165,8 @@ export default { |
|
|
getDataListURL: '/app-user/volunteerinfo/page', |
|
|
getDataListURL: '/app-user/volunteerinfo/page', |
|
|
getDataListIsPage: true, |
|
|
getDataListIsPage: true, |
|
|
deleteURL: '/app-user/volunteerinfo', |
|
|
deleteURL: '/app-user/volunteerinfo', |
|
|
deleteIsBatch: true |
|
|
deleteIsBatch: true, |
|
|
|
|
|
exportURL: '/app-user/volunteerinfo/export' |
|
|
}, |
|
|
}, |
|
|
dataForm: { |
|
|
dataForm: { |
|
|
id: '', |
|
|
id: '', |
|
@ -295,6 +299,19 @@ export default { |
|
|
} else if (state === '3') { |
|
|
} else if (state === '3') { |
|
|
return '已拉入黑名单' |
|
|
return '已拉入黑名单' |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
// 导出 |
|
|
|
|
|
exportList () { |
|
|
|
|
|
var params = qs.stringify({ |
|
|
|
|
|
'token': Cookies.get('token'), |
|
|
|
|
|
'streetId': this.dataForm.streetId, |
|
|
|
|
|
'communityId': this.dataForm.communityId, |
|
|
|
|
|
'gridId': this.dataForm.gridId, |
|
|
|
|
|
'realName': this.dataForm.realName, |
|
|
|
|
|
'mobile': this.dataForm.mobile, |
|
|
|
|
|
'volunteerNickname': this.dataForm.volunteerNickname |
|
|
|
|
|
}) |
|
|
|
|
|
window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportURL}?${params}` |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|