|
|
|
@ -4,12 +4,12 @@ |
|
|
|
<el-form :inline="true" ref="ref_searchform" :label-width="'100px'"> |
|
|
|
<div> |
|
|
|
<el-form-item label="组织名称"> |
|
|
|
<el-input v-model.trim="formData.OrganizationName" size="small" class="item_width_1" clearable |
|
|
|
<el-input v-model.trim="formData.orgName" size="small" class="item_width_1" clearable |
|
|
|
placeholder="请输入"> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="组织类型"> |
|
|
|
<el-select v-model="formData.Organizationaltype" placeholder="请选择" clearable> |
|
|
|
<el-select v-model="formData.serviceType" placeholder="请选择" clearable> |
|
|
|
<el-option v-for="item in formData.optionstype" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
@ -43,22 +43,22 @@ |
|
|
|
<el-table-column prop="agencyName" header-align="center" align="center" label="所属组织" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="OrganizationName" header-align="center" align="center" label="组织名称" |
|
|
|
<el-table-column prop="orgName" header-align="center" align="center" label="组织名称" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.enabled === 1 ? '关闭' : '显示' }}</span> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="Servicetype" header-align="center" align="center" label="服务类型" |
|
|
|
<el-table-column prop="serviceTypeList" header-align="center" align="center" label="服务类型" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="Organizationaltype" header-align="center" align="center" label="成员数" |
|
|
|
<el-table-column prop="numberNum" header-align="center" align="center" label="成员数" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="AdministratorName" header-align="center" align="center" label="管理员" |
|
|
|
<el-table-column prop="operator" header-align="center" align="center" label="管理员" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="Administratorphone" header-align="center" align="center" label="联系电话" |
|
|
|
<el-table-column prop="mobile" header-align="center" align="center" label="联系电话" |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column prop="createdTime" header-align="center" align="center" label="注册时间" :show-overflow-tooltip="true"> |
|
|
|
@ -77,7 +77,7 @@ |
|
|
|
<el-button type="text" style="color:#1C6AFD;" size="small" |
|
|
|
@click="handleshowMember(scope.row)">成员管理</el-button> |
|
|
|
<el-button type="text" style="color:#1C6AFD;" size="small" |
|
|
|
@click="handleintegral(scope.row)">删除</el-button> |
|
|
|
@click="handleDel(scope.row)">删除</el-button> |
|
|
|
<el-button type="text" style="color:#1C6AFD;" size="small" |
|
|
|
@click="handleprocessl(scope.row)">审核</el-button> |
|
|
|
</template> |
|
|
|
@ -133,11 +133,11 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
formData: { |
|
|
|
organization: "", |
|
|
|
service_type: "", |
|
|
|
orgName: "", |
|
|
|
serviceType: "", |
|
|
|
optionstype: [ |
|
|
|
{ value: "1", label: "志愿者服务组织" }, |
|
|
|
{ value: "2", label: "志愿者服务团队" }, |
|
|
|
{ value: 1, label: "志愿者服务组织" }, |
|
|
|
{ value: 2, label: "志愿者服务团队" }, |
|
|
|
] |
|
|
|
}, |
|
|
|
showprocess:false, |
|
|
|
@ -149,238 +149,9 @@ export default { |
|
|
|
// pageType: "list", // 列表list 处理dispose 详情info 议题详情issue-info |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 20, |
|
|
|
total: 1, |
|
|
|
total: 0, |
|
|
|
tableData: [ |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic.jpg", |
|
|
|
Volunteerbrand: "阳光志愿者", |
|
|
|
Organizational: "致力于社区服务和环境保护的非营利组织。", |
|
|
|
fileList: [ |
|
|
|
"https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/dev/20240902/afc68283a231434aa8b83ec9d9be762e.jpg", |
|
|
|
], |
|
|
|
AdministratorIDCard: "11010519800101001X", |
|
|
|
Administratorphone: "13800138000", |
|
|
|
AdministratorName: "张三", |
|
|
|
Organizationaltype: "非营利组织", |
|
|
|
Servicetype: "教育支持、环境保护", |
|
|
|
OrganizationName: "绿意志愿服务中心", |
|
|
|
agencyName: "城市志愿服务联盟", |
|
|
|
longitude: 120.37280504155444 , |
|
|
|
latitude: 36.098042952884704, |
|
|
|
searchValue:"山东省青岛市市北区南宁路79-7号", |
|
|
|
Servicetype:1, |
|
|
|
searchOptions:[] |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic1.jpg", |
|
|
|
Volunteerbrand: "爱心行动", |
|
|
|
Organizational: "专注于儿童教育和社区发展的慈善组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic3.jpg", |
|
|
|
"https://example.com/path/to/cover_pic4.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "220202199003070029", |
|
|
|
Administratorphone: "13911112222", |
|
|
|
AdministratorName: "李四", |
|
|
|
Organizationaltype: "慈善机构", |
|
|
|
Servicetype: "儿童教育、社区发展", |
|
|
|
OrganizationName: "希望之光慈善会", |
|
|
|
agencyName: "慈善联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic2.jpg", |
|
|
|
Volunteerbrand: "绿色地球", |
|
|
|
Organizational: "致力于环境保护和生态平衡的非政府组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic5.jpg", |
|
|
|
"https://example.com/path/to/cover_pic6.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "330106199101090033", |
|
|
|
Administratorphone: "13722222333", |
|
|
|
AdministratorName: "王五", |
|
|
|
Organizationaltype: "非政府组织", |
|
|
|
Servicetype: "环境保护、生态平衡", |
|
|
|
OrganizationName: "自然之友环保协会", |
|
|
|
agencyName: "环保行动网络" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic3.jpg", |
|
|
|
Volunteerbrand: "文化传承", |
|
|
|
Organizational: "专注于文化遗产保护和传统艺术推广的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic7.jpg", |
|
|
|
"https://example.com/path/to/cover_pic8.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "440301199201100025", |
|
|
|
Administratorphone: "13533333444", |
|
|
|
AdministratorName: "赵六", |
|
|
|
Organizationaltype: "文化保护", |
|
|
|
Servicetype: "文化遗产、传统艺术", |
|
|
|
OrganizationName: "文化遗产保护协会", |
|
|
|
agencyName: "文化传承联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic3.jpg", |
|
|
|
Volunteerbrand: "文化传承", |
|
|
|
Organizational: "专注于文化遗产保护和传统艺术推广的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic7.jpg", |
|
|
|
"https://example.com/path/to/cover_pic8.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "440301199201100025", |
|
|
|
Administratorphone: "13533333444", |
|
|
|
AdministratorName: "赵六", |
|
|
|
Organizationaltype: "文化保护", |
|
|
|
Servicetype: "文化遗产、传统艺术", |
|
|
|
OrganizationName: "文化遗产保护协会", |
|
|
|
agencyName: "文化传承联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic4.jpg", |
|
|
|
Volunteerbrand: "科技先锋", |
|
|
|
Organizational: "推动科技创新和教育的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic9.jpg", |
|
|
|
"https://example.com/path/to/cover_pic10.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "510107199205070012", |
|
|
|
Administratorphone: "13666666777", |
|
|
|
AdministratorName: "钱七", |
|
|
|
Organizationaltype: "科技教育", |
|
|
|
Servicetype: "科技创新、教育普及", |
|
|
|
OrganizationName: "科技创新中心", |
|
|
|
agencyName: "科技教育促进会" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic5.jpg", |
|
|
|
Volunteerbrand: "健康使者", |
|
|
|
Organizational: "致力于公共健康和医疗援助的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic11.jpg", |
|
|
|
"https://example.com/path/to/cover_pic12.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "320106199301080018", |
|
|
|
Administratorphone: "13877777888", |
|
|
|
AdministratorName: "孙八", |
|
|
|
Organizationaltype: "公共健康", |
|
|
|
Servicetype: "健康教育、医疗援助", |
|
|
|
OrganizationName: "健康促进基金会", |
|
|
|
agencyName: "医疗援助网络" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic6.jpg", |
|
|
|
Volunteerbrand: "法律援助", |
|
|
|
Organizational: "提供法律咨询和援助服务的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic13.jpg", |
|
|
|
"https://example.com/path/to/cover_pic14.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "370102199401090039", |
|
|
|
Administratorphone: "13988888999", |
|
|
|
AdministratorName: "李九", |
|
|
|
Organizationaltype: "法律服务", |
|
|
|
Servicetype: "法律咨询、权益保护", |
|
|
|
OrganizationName: "法律援助中心", |
|
|
|
agencyName: "法律服务联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic7.jpg", |
|
|
|
Volunteerbrand: "动物之友", |
|
|
|
Organizational: "关注动物福利和野生动物保护的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic15.jpg", |
|
|
|
"https://example.com/path/to/cover_pic16.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "21010219950109003X", |
|
|
|
Administratorphone: "13500001111", |
|
|
|
AdministratorName: "周十", |
|
|
|
Organizationaltype: "动物保护", |
|
|
|
Servicetype: "动物福利、野生动物保护", |
|
|
|
OrganizationName: "动物保护协会", |
|
|
|
agencyName: "动物福利网络" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic8.jpg", |
|
|
|
Volunteerbrand: "城市绿化", |
|
|
|
Organizational: "致力于城市绿化和公园维护的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic17.jpg", |
|
|
|
"https://example.com/path/to/cover_pic18.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "120101199601090011", |
|
|
|
Administratorphone: "13600002222", |
|
|
|
AdministratorName: "吴十一", |
|
|
|
Organizationaltype: "环境保护", |
|
|
|
Servicetype: "城市绿化、公园维护", |
|
|
|
OrganizationName: "城市绿化促进会", |
|
|
|
agencyName: "绿化行动联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic9.jpg", |
|
|
|
Volunteerbrand: "艺术之声", |
|
|
|
Organizational: "推广艺术文化和支持艺术家的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic19.jpg", |
|
|
|
"https://example.com/path/to/cover_pic20.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "420107199701100027", |
|
|
|
Administratorphone: "13711112233", |
|
|
|
AdministratorName: "郑十二", |
|
|
|
Organizationaltype: "文化艺术", |
|
|
|
Servicetype: "艺术推广、文化活动", |
|
|
|
OrganizationName: "艺术文化中心", |
|
|
|
agencyName: "艺术支持网络" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic10.jpg", |
|
|
|
Volunteerbrand: "青年力量", |
|
|
|
Organizational: "支持青年发展和创业的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic21.jpg", |
|
|
|
"https://example.com/path/to/cover_pic22.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "330106199801100012", |
|
|
|
Administratorphone: "13822224444", |
|
|
|
AdministratorName: "王十三", |
|
|
|
Organizationaltype: "青年发展", |
|
|
|
Servicetype: "青年培训、创业支持", |
|
|
|
OrganizationName: "青年发展基金会", |
|
|
|
agencyName: "青年创业促进会" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic11.jpg", |
|
|
|
Volunteerbrand: "教育之光", |
|
|
|
Organizational: "致力于改善教育质量和提供教育资源的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic23.jpg", |
|
|
|
"https://example.com/path/to/cover_pic24.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "510107199901200015", |
|
|
|
Administratorphone: "13933335555", |
|
|
|
AdministratorName: "冯十四", |
|
|
|
Organizationaltype: "教育支持", |
|
|
|
Servicetype: "教育质量提升、资源提供", |
|
|
|
OrganizationName: "教育发展基金会", |
|
|
|
agencyName: "教育支持联盟" |
|
|
|
}, |
|
|
|
{ |
|
|
|
VolunteerPic: "https://example.com/path/to/volunteer_pic12.jpg", |
|
|
|
Volunteerbrand: "社区伙伴", |
|
|
|
Organizational: "促进社区发展和邻里互助的组织。", |
|
|
|
fileList: [ |
|
|
|
"https://example.com/path/to/cover_pic25.jpg", |
|
|
|
"https://example.com/path/to/cover_pic26.jpg" |
|
|
|
], |
|
|
|
AdministratorIDCard: "32010620000109003X", |
|
|
|
Administratorphone: "13500006666", |
|
|
|
AdministratorName: "陈十五", |
|
|
|
Organizationaltype: "社区发展", |
|
|
|
Servicetype: "社区建设、邻里互助", |
|
|
|
OrganizationName: "社区发展协会", |
|
|
|
agencyName: "社区互助网络" |
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
showInfo:false, |
|
|
|
|
|
|
|
@ -447,19 +218,19 @@ export default { |
|
|
|
//查询列表 |
|
|
|
async getTableData() { |
|
|
|
// const url = "http://yapi.elinkservice.cn/mock/245/gov/project/project/project-list"; |
|
|
|
const url = "/voluntary/volunteerInfo/page"; |
|
|
|
const url = "/voluntary/volunteerOrg/page"; |
|
|
|
|
|
|
|
let params={ |
|
|
|
pageSize:this.pageSize, |
|
|
|
pageNo:this.pageNo, |
|
|
|
mobile:this.formData.mobile, |
|
|
|
name:this.formData.name |
|
|
|
orgName: this.formData.orgName, |
|
|
|
serviceType: this.formData.serviceType, |
|
|
|
pageNo:this.pageNo, |
|
|
|
pageSize: this.pageSize |
|
|
|
} |
|
|
|
const { data, code, msg } = await requestPost(url,params); |
|
|
|
if (code === 0) { |
|
|
|
console.log("列表请求成功!!!!!!!!!!!!!!"); |
|
|
|
this.total = data.total || 0; |
|
|
|
// this.tableData = data.list |
|
|
|
this.tableData = data.list |
|
|
|
} else { |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -542,10 +313,29 @@ export default { |
|
|
|
} |
|
|
|
return fileType && isLt1M; |
|
|
|
}, |
|
|
|
handleintegral(row){ |
|
|
|
this.fmData=row |
|
|
|
this.integral=true |
|
|
|
console.log(row,"row"); |
|
|
|
handleDel(row){ |
|
|
|
console.log(row,"row"); |
|
|
|
let url="/voluntary/volunteerOrg/delete"; |
|
|
|
let params={ |
|
|
|
id:row.id |
|
|
|
} |
|
|
|
requestPost( |
|
|
|
url,params |
|
|
|
).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message({ |
|
|
|
message: '删除成功', |
|
|
|
type: 'success', |
|
|
|
duration: 1500, |
|
|
|
onClose: () => { |
|
|
|
this.getTableData() |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.$message.error(data.msg) |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
diaClose(){ |
|
|
|
this.formShow=false |
|
|
|
|