Browse Source

还回

feature
tianq 3 years ago
parent
commit
64b3bfecbb
  1. 5
      src/views/dataBoard/sida/cpts/zyqd.vue
  2. 4
      src/views/dataBoard/sida/zy/peopleRes-detail.vue
  3. 4
      src/views/dataBoard/sida/zy/peopleResList.vue

5
src/views/dataBoard/sida/cpts/zyqd.vue

@ -81,11 +81,14 @@ export default {
handleClickItem(item) { handleClickItem(item) {
let typeArr = { "全部": "all", let typeArr = { "全部": "all",
"志愿者": "volunteer", "志愿者": "volunteer",
"社区自组织": "self_org", "社区自组织": "community_org",
"联建单位": "party_unit", "联建单位": "party_unit",
"安全应急设备":"安全应急设备", "安全应急设备":"安全应急设备",
"公共服务设备":"公共服务设备", "公共服务设备":"公共服务设备",
"安全生产场所":"enterprise", "安全生产场所":"enterprise",
"应急场所":"emergency_sites", "应急场所":"emergency_sites",
"城市管理":"city_management" }; "城市管理":"city_management" };
// //

4
src/views/dataBoard/sida/zy/peopleRes-detail.vue

@ -252,7 +252,7 @@ export default {
let url = ''; let url = '';
let queryParam = {}; let queryParam = {};
let mockId = 0; let mockId = 0;
let typeArr = { all: '全部', volunteer: '志愿者', self_org: '社区自组织', party_unit: '联建单位' }; let typeArr = { all: '全部', volunteer: '志愿者', community_org: '社区自组织', party_unit: '联建单位' };
console.log('this.detailId', this.detailId); console.log('this.detailId', this.detailId);
this.title = typeArr[this.detailType] + '详情'; this.title = typeArr[this.detailType] + '详情';
@ -260,7 +260,7 @@ export default {
url = 'resident_info'; url = 'resident_info';
queryParam.resident_id = this.detailId; queryParam.resident_id = this.detailId;
mockId = 0; mockId = 0;
} else if (this.detailType == 'self_org') { } else if (this.detailType == 'community_org') {
url = 'self_org'; url = 'self_org';
queryParam.self_org_id = this.detailId; queryParam.self_org_id = this.detailId;
mockId = 69828071; mockId = 69828071;

4
src/views/dataBoard/sida/zy/peopleResList.vue

@ -8,10 +8,10 @@
<div class="title_line"></div> <div class="title_line"></div>
<div class="second-select" style="position:absolute;margin-left:300px;"> <div class="second-select" style="position:absolute;margin-left:300px;">
<el-select v-model="type2" @change="init" :clearable="true"> <el-select v-model="type2" @change="init" :clearable="true">
<!-- all\volunteer\self_org\party_unit --> <!-- all\volunteer\community_org\party_unit -->
<el-option value="all" label="全部"></el-option> <el-option value="all" label="全部"></el-option>
<el-option value="volunteer" label="志愿者"></el-option> <el-option value="volunteer" label="志愿者"></el-option>
<el-option value="self_org" label="社区自组织"></el-option> <el-option value="community_org" label="社区自组织"></el-option>
<el-option value="party_unit" label="联建单位"></el-option> <el-option value="party_unit" label="联建单位"></el-option>
</el-select> </el-select>

Loading…
Cancel
Save