This commit is contained in:
@jyuhsin
2026-03-10 15:51:37 +08:00
parent 30a17cb884
commit 61511ae0e9
38 changed files with 812 additions and 233 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

@@ -25,8 +25,6 @@ layout("/mobile/platform.html"){
}
.van-doc-card .van-button--small {
border-top-right-radius: 16px;
border-bottom-left-radius: 16px;
height: 26px;
}
@@ -112,6 +110,8 @@ layout("/mobile/platform.html"){
</van-search>
<van-dropdown-menu>
<van-dropdown-item v-model="pageForm.applyType" :options="applyTypeOptions"
@change="doSearch"></van-dropdown-item>
<van-dropdown-item v-model="pageForm.clubType" :options="typeOptions"
@change="doSearch"></van-dropdown-item>
</van-dropdown-menu>
@@ -154,13 +154,6 @@ layout("/mobile/platform.html"){
<van-col span="12"><span style="color: grey">会费标准:</span>{{o.dues_standard}}</van-col>
<van-col span="12"><span style="color: grey">限定人数:</span>{{o.number}}人</van-col>
</van-row>
<van-row>
<van-col span="24" class="cus_overflow">
<span style="color: grey">介绍链接:</span>
<span style="color: #236eb4"
@click.stop="window.open(o.introduce_href.indexOf('http') !== -1 ? o.introduce_href : 'https://' + o.introduce_href)">{{o.introduce_href}}</span>
</van-col>
</van-row>
</div>
<van-divider></van-divider>
@@ -208,7 +201,6 @@ layout("/mobile/platform.html"){
<span class="unit">{{obj.unitname}}</span>
<br/>
<span style="display: inline-block; width: 85px">{{obj.sex}}</span>
<span style="display: inline-block; width: 106px">13296575967</span>
<span style="display: inline-block;">{{obj.loginname}}</span>
<van-icon class="audit_icon" color="green" v-if="queryType === 'hasAudit' && obj.auditstate === true" name="passed"></van-icon>
<van-icon class="audit_icon" color="grey" v-if="queryType === 'hasAudit' && obj.auditstate === false" name="close"></van-icon>
@@ -248,6 +240,12 @@ layout("/mobile/platform.html"){
userShow: false,
clickRow: {},
typeOptions: [],
type: '',
auditType: '',
applyTypeOptions: [
{text: '申请加入', value: '1'},
{text: '申请退会', value: '2'},
],
}
},
methods: {
@@ -266,6 +264,7 @@ layout("/mobile/platform.html"){
ids: JSON.stringify(idList),
flag: auditType === 'pass',
type: 1,
applyType: this.pageForm.applyType,
})
if (resp.code === 0) {
this.doSearch()
@@ -295,11 +294,19 @@ layout("/mobile/platform.html"){
const resp = await $.post('/platform/sys/club/sh/getClubUser', {
id: o.id,
auditType: 'hasAudit',
type: 1,
applyType: this.pageForm.applyType,
})
if (resp.code === 0) {
this.userList = resp.data
this.userList.sort((a, b) => { return b.auditstate - a.auditstate })
this.userShow = true
if (this.userList.length === 0) {
vant.Toast('暂无已审人员')
} else {
this.userList.sort((a, b) => {
return b.auditstate - a.auditstate
})
this.userShow = true
}
}
},
async openView(o) {
@@ -308,6 +315,8 @@ layout("/mobile/platform.html"){
const resp = await $.post('/platform/sys/club/sh/getClubUser', {
id: o.id,
auditType: 'notAudit',
type: 1,
applyType: this.pageForm.applyType,
})
if (resp.code === 0) {
this.userList = resp.data
@@ -329,6 +338,7 @@ layout("/mobile/platform.html"){
},
async onLoad() {
this.loading = true
this.pageForm.type = 1
$.post('/platform/sys/club/sh/getMyClub', this.pageForm).then(res => {
if (res.code === 0) {
this.tableData = this.tableData.concat(res.data.list)
@@ -349,6 +359,7 @@ layout("/mobile/platform.html"){
})
this.typeOptions.unshift({text: '全部类型'})
this.$set(this.pageForm, "clubType", this.typeOptions[0].value)
this.$set(this.pageForm, "applyType", '1')
this.onLoad()
}
})
@@ -356,4 +367,4 @@ layout("/mobile/platform.html"){
<!--#
}
#-->
#-->
@@ -25,8 +25,6 @@ layout("/mobile/platform.html"){
}
.van-button--small {
border-top-right-radius: 16px;
border-bottom-left-radius: 16px;
height: 26px;
}
@@ -115,29 +113,47 @@ layout("/mobile/platform.html"){
</div>
<div style="color: grey">{{o.location}}</div>
</div>
<div style="color: #1867b0; white-space: nowrap;">
<span v-if="o.status==1">待协会审核</span>
<span v-if="o.status==2" style="color: red">协会拒绝</span>
<span v-if="o.status==3">待校工会审核</span>
<span v-if="o.status==4" style="color: red">校工会拒绝</span>
<span v-if="o.status==5" style="color: green">审核通过</span>
</div>
</div>
<div style="margin-top: 4px">
<van-row>
<van-col span="12"><span style="color: grey">联&ensp;系&ensp;人:</span>{{o.fzrname}}</van-col>
<van-col span="12"><span style="color: grey">电&emsp;&emsp;话:</span>{{o.fzr_mobile}}</van-col>
<van-col span="12">
<span style="color: grey">联&ensp;系&ensp;人:</span>
<span>{{o.fzrname}}</span>
</van-col>
<van-col span="12">
<span style="color: grey">电&emsp;&emsp;话:</span>
<span>{{o.fzr_mobile}}</span>
</van-col>
</van-row>
<van-row>
<van-col span="12"><span style="color: grey">会费标准:</span>{{o.dues_standard}}</van-col>
<van-col span="12"><span style="color: grey">限定人数:</span>{{o.number}}人</van-col>
<van-col span="12">
<span style="color: grey">会费标准:</span>
<span>{{o.dues_standard}}</span>
</van-col>
<van-col span="12">
<span style="color: grey">限定人数:</span>
<span>{{o.number}}人</span>
</van-col>
</van-row>
<van-row>
<van-col span="24" class="cus_overflow">
<span style="color: grey">介绍链接:</span>
<span style="color: #236eb4"
@click="window.open(o.introduce_href.indexOf('http') !== -1 ? o.introduce_href : 'https://' + o.introduce_href)">{{o.introduce_href}}</span>
<van-col span="12" class="cus_overflow">
<span style="color: grey">入会状态:</span>
<span v-if="o.status==1">待协会审核</span>
<span v-if="o.status==2" style="color: red">协会拒绝</span>
<span v-if="o.status==3">待校工会审核</span>
<span v-if="o.status==4" style="color: red">校工会拒绝</span>
<span v-if="o.status==5" style="color: green">审核通过</span>
<span v-if="!o.status">暂未申请</span>
</van-col>
<van-col span="12" class="cus_overflow">
<span style="color: grey">退会状态:</span>
<span v-if="o.exitstatus==1">待协会审核</span>
<span v-if="o.exitstatus==2" style="color: red">协会拒绝</span>
<span v-if="o.exitstatus==3">待校工会审核</span>
<span v-if="o.exitstatus==4" style="color: red">校工会拒绝</span>
<span v-if="o.exitstatus==5" style="color: green">审核通过</span>
<span v-if="!o.exitstatus">暂未申请</span>
</van-col>
</van-row>
</div>
@@ -146,13 +162,27 @@ layout("/mobile/platform.html"){
<div style="display: flex; justify-content: flex-end">
<div>
<van-button @click="rollback(o)" v-if="pageForm.isjr === true"
type="primary" size="small" color="#1867b0" style="margin-right: 8px">撤销申请</van-button>
<van-button @click="needJoin(o)" v-if="(o.cynum + o.approvalnum) < o.number && pageForm.isjr === false"
type="primary" size="small" color="#1867b0" style="margin-right: 8px">我要加入</van-button>
<van-button @click="needJoin(o)" v-if="(o.cynum + o.approvalnum) >= o.number && pageForm.isjr === false"
:disabled="(o.cynum + o.approvalnum) >= o.number"
type="primary" size="small" color="#1867b0" style="margin-right: 8px">人数已满</van-button>
<van-button @click="rollback(o)" color="#1867b0"
size="small" style="margin-right: 8px" type="primary"
v-if="pageForm.isjr === true && o.status==1">
撤销加入申请
</van-button>
<van-button @click="needJoin(o)"
color="#1867b0" v-if="pageForm.isjr === false"
size="small" style="margin-right: 8px" type="primary">
我要加入
</van-button>
<van-button @click="cancelExitClub(o)" color="#1867b0"
size="small" style="margin-right: 8px" type="primary"
v-if="pageForm.isjr === true && o.status!=1 && o.exitstatus==1">
撤销退会申请
</van-button>
<van-button @click="exitClub(o)"
color="#1867b0" v-if="pageForm.isjr === true && o.exitstatus!=1"
size="small" style="margin-right: 8px" type="primary">
我要退会
</van-button>
</div>
</div>
</div>
@@ -181,6 +211,24 @@ layout("/mobile/platform.html"){
}
},
methods: {
exitClub(row) {
vant.Dialog.confirm({title: '提示', message: '您确定要申请退会吗?',}).then(async () => {
const resp = await $.post('/platform/sys/club/sq/exitClub', {id: row.id})
if (resp.code === 0) {
this.doSearch()
}
vant.Toast(resp.msg)
}).catch(() => {})
},
cancelExitClub(id) {
vant.Dialog.confirm({title: '提示', message: '您确定要撤销退会申请吗?',}).then(async () => {
const resp = await $.post('/platform/sys/club/sq/cancelExitClub', {id: id})
if (resp.code === 0) {
this.doSearch()
}
vant.Toast(resp.msg)
}).catch(() => {})
},
openView(id) {
},
@@ -257,4 +305,4 @@ layout("/mobile/platform.html"){
<!--#
}
#-->
#-->
@@ -0,0 +1,385 @@
<!--#
layout("/mobile/platform.html"){
#-->
<style>
.van-index-bar__sidebar {
display: none;
}
.van-doc-card {
margin: 14px;
padding: 12px 12px 12px 12px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 8px 12px #ebedf0;
line-height: 20px;
font-size: 13px;
position: relative;
}
.van-divider {
margin: 6px 0 6px 0px;
border-color: lightgray;
}
.van-doc-card .van-button--small {
border-radius: 8px;
width: 60px !important;
height: 28px;
}
.van-col {
line-height: 24px;
}
.title_span {
font-size: 16px;
font-weight: bold;
position: absolute;
left: -1px;
top: 11px;
color: #1867b0;
}
.title {
font-size: 13px;
font-weight: bold;
flex: 1;
overflow: hidden;
white-space: nowrap;
}
.cus_overflow {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.van-dropdown-menu__item {
flex: auto;
}
.userPopup {
height: 90%;
background-color: #f6f7f9;
font-size: 14px;
}
.audit_icon {
font-size: 24px;
position: absolute;
font-weight: bolder;
right: 0;
top: 60px;
}
.userPopup .van-cell {
padding: 10px 0;
}
.van-radio-group {
width: 100%;
justify-content: center;
margin: 10px;
}
.van-cell-group__title {
padding: 5px 0 5px 0;
}
.van-form .van-field__control {
text-align: right;
}
</style>
<div id="app" v-cloak>
<m-page-loading v-if="mLoading"></m-page-loading>
<!--top栏-->
<van-nav-bar
title="会长审核"
left-arrow
placeholder
fixed
@click-left="history.go(-1)"
safe-area-inset-top
></van-nav-bar>
<!--筛选框-->
<div class="search-fixed">
<van-search
v-model="pageForm.searchKeyword"
shape="round"
maxlength="10"
@search="doSearch"
placeholder="请输入协会名称进行查询"
>
</van-search>
<van-dropdown-menu>
<van-dropdown-item v-model="pageForm.applyType" :options="applyTypeOptions"
@change="doSearch"></van-dropdown-item>
<van-dropdown-item v-model="pageForm.radioType" :options="auditOptions"
@change="doSearch"></van-dropdown-item>
<van-dropdown-item v-model="pageForm.clubId" :options="clubOptions"
@change="doSearch"></van-dropdown-item>
</van-dropdown-menu>
</div>
<!--列表-->
<div style="margin-top: 116px">
<van-list
v-model="loading"
:finished="finished" :immediate-check="false" @load="onLoad"
:finished-text="tableData.length>0?'没有更多了':''"
>
<div class="van-doc-card" v-for="o in tableData">
<div>
<div style="display: flex; justify-content: space-between">
<div style="width: 74%">
<div class="van-ellipsis title">
<span class="title_span">|</span>
<span>{{o.username}}</span>
</div>
<div style="color: #1867b0;"></div>
</div>
</div>
<van-divider></van-divider>
<div style="margin-top: 10px">
<van-row>
<van-col span="24">
<span style="color: grey">协会名称:</span>
<span>{{o.clubname}}</span>
</van-col>
</van-row>
<van-row>
<van-col span="24">
<span style="color: grey">工&emsp;&emsp;号:</span>
<span>{{o.loginname}}</span>
</van-col>
</van-row>
<van-row>
<van-col span="24">
<span style="color: grey">所属单位:</span>
<span>{{o.unitname}}</span>
</van-col>
</van-row>
<van-row>
<van-col span="24">
<span style="color: grey">申请时间:</span>
<span>{{o.applytime}}</span>
</van-col>
</van-row>
</div>
<div style="display: flex; justify-content: flex-end; margin-top: 4px">
<div>
<van-button @click.stop="openView(o)"
type="primary" size="small" color="#1867b0"
style="margin-right: 8px; width: auto;">
查看
</van-button>
<van-button @click.stop="openAudit(o)" v-if="o.status == 3"
type="primary" size="small" color="#1867b0"
style="margin-right: 8px; width: auto;">
审核
</van-button>
</div>
</div>
</div>
</div>
</van-list>
<van-empty
v-if="mLoading==false&&tableData.length==0"
class="custom-image"
image="/none.svg"
description="暂无数据"
></van-empty>
</div>
<van-popup class="info-show" v-model="infoShow" get-container="#app" position="right" :style="{ height: '100%', width: '100%' }">
<van-nav-bar
title="详细信息"
left-arrow
placeholder
fixed
@click-left="infoShow = false"
safe-area-inset-top
></van-nav-bar>
<club-user-apply-info ref="applyInfo" :handle="handle">
<template #handle>
<div class="van-cell-group__title">
<div class="van-sidebar-item van-sidebar-item--select">
会长审核
</div>
</div>
<van-form class="van-form">
<van-field
readonly
value="${@shiro.getPrincipalProperty('username')}"
name="username"
label="审核人员"
></van-field>
<van-field v-model="formData.auditTime" label="审核时间" readonly></van-field>
<van-field v-model="formData.auditOpinion"
required
rows="1"
autosize
label="审核意见"
type="textarea"
placeholder="请输入审核意见"
></van-field>
<!--<van-field label="审核签字" required style="flex-flow: column">
<template #label>
<div class="mb10">审核签字</div>
</template>
<template #input>
<mobile-sign ref="signature" v-model="formData.auditSign"></mobile-sign>
</template>
</van-field>-->
<van-row gutter="20" style="margin-top: 30px;padding: 0 25px">
<van-col span="12">
<van-button :color="themeColor" plain block @click="doReview(false)">拒 绝
</van-button>
</van-col>
<van-col span="12">
<van-button :color="themeColor" block @click="doReview(true)">通 过
</van-button>
</van-col>
</van-row>
</van-form>
</template>
</club-user-apply-info>
</van-popup>
</div>
<script>
const vue = new Vue({
el: '#app',
mixins: [mobileMixins],
data() {
return {
handle: false,
clubOptions: [],
auditOptions: [
{text: '全部', value: 1},
{text: '已审核', value: 2},
{text: '未审核', value: 3},
],
pageForm: {
radioType: 3
},
infoShow: false,
formData: {},
applyTypeOptions: [
{text: '申请加入', value: '1'},
{text: '申请退会', value: '2'},
],
}
},
components: {
'club-user-apply-info': httpVueLoader('/components/mobile/club/mobileClubUserApplyInfo.vue?v=1.0.1'),
'mobile-sign': httpVueLoader('/components/sign/mobileSign.vue'),
},
methods: {
openAudit(row) {
this.formData = {
id: row.id,
auditTime: moment().format('YYYY-MM-DD'),
username: "${@shiro.getPrincipalProperty('username')}",
auditOpinion: null,
auditSign: ""
}
this.infoShow = true
this.handle = true
this.$nextTick(() => {
this.$refs.applyInfo.getInfo(row.id)
})
},
openView(row) {
this.infoShow = true
this.handle = false
this.$nextTick(() => {
this.$refs.applyInfo.getInfo(row.id)
})
},
async doReview(flag) {
if (!this.formData.auditOpinion) {
vant.Toast('请填写审核意见');
return
}
/*if (this.$refs.signature.checkNull()) {
vant.Toast('请签字')
return
}*/
const confirm = await vant.Dialog.confirm({
title: '提示',
message: '您确定要审核吗?',
})
if (confirm === 'confirm') {
//this.$refs.signature.submitSign()
this.formData.flag = flag
this.formData.type = 2
this.formData.applyType = this.pageForm.applyType
const resp = await $.post('/platform/sys/club/sh/check', this.formData)
if (resp.code === 0) {
this.doSearch()
this.infoShow = false
}
vant.Toast(resp.msg)
}
},
doSearch() {
this.pageForm.pageNumber = 1
this.tableData = []
this.finished = false
this.onLoad()
},
async onLoad() {
this.loading = true
this.pageForm.type = 2
$.post('/platform/sys/club/sh/pageData', this.pageForm).then(res => {
if (res.code === 0) {
this.tableData = this.tableData.concat(res.data.list)
if (this.tableData.length === res.data.totalCount) {
this.finished = true
} else {
this.pageForm.pageNumber++
}
}
this.loading = false
})
},
async getMyMangeClub() {
const {data} = await $.get("/platform/sys/club/users/getMyMangeClub")
return data
},
},
async created() {
const data = await this.getMyMangeClub()
data.forEach(item => {
this.clubOptions.push({text: item.name, value: item.id})
})
this.clubOptions.unshift({text: '全部协会'})
this.$set(this.pageForm, "applyType", '1')
this.onLoad()
}
})
</script>
<!--#
}
#-->
+28 -31
View File
@@ -117,24 +117,24 @@ layout("/mobile/platform.html"){
<van-grid :border="false" :column-num="3">
<van-grid-item url="/mobile/member/detail" v-if="${@shiro.hasRole('H01')}">
<image src="/assets/mobile/icon/member/da.png"></image>
<span class="icon_text"> 会员档案</span>
<span class="icon_text">会员档案</span>
</van-grid-item>
<van-grid-item url="/mobile/member/apply" v-if="${@shiro.lacksRole('H01')}">
<image src="/assets/mobile/icon/member/apply.png"></image>
<span class="icon_text"> 申请入会</span>
<span class="icon_text">申请入会</span>
</van-grid-item>
<van-grid-item
url="/mobile/member/audit"
v-if="${@shiro.hasRole('sysadmin')||@shiro.hasRole('H04')||@shiro.hasRole('A06')}">
<image src="/assets/mobile/icon/member/audit.png"></image>
<span class="icon_text"> 会员审核</span>
<span class="icon_text">会员审核</span>
</van-grid-item>
<van-grid-item url="/mobile/member/dashBoard/index">
<image src="/assets/mobile/icon/member/dashboard.png"></image>
<span class="icon_text"> 会员看板</span>
<span class="icon_text">会员看板</span>
</van-grid-item>
</van-grid>
@@ -177,25 +177,6 @@ layout("/mobile/platform.html"){
<image src="/assets/mobile/icon/proposal/cx.png"></image>
<span class="icon_text">代表查询</span>
</van-grid-item>
<!-- <van-grid-item url="/mobile/proposal/analysis/index">-->
<!-- <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"-->
<!-- "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">-->
<!-- <svg t="1598769687916" class="icon" viewBox="0 0 1024 1024" version="1.1"-->
<!-- xmlns="http://www.w3.org/2000/svg" p-id="1332" width="32" height="32"-->
<!-- xmlns:xlink="http://www.w3.org/1999/xlink">-->
<!-- <defs>-->
<!-- <style type="text/css"></style>-->
<!-- </defs>-->
<!-- <path d="M283.84768 275.52256h473.088c37.376 0 67.584 30.208 67.584 67.584v439.296c0 37.376-30.208 67.584-67.584 67.584h-473.088c-37.376 0-67.584-30.208-67.584-67.584v-439.296c0-37.376 30.208-67.584 67.584-67.584z"-->
<!-- fill="#CAE4FF" p-id="1333"></path>-->
<!-- <path d="M253.9008 716.1856c-15.872 0-28.672-12.8-28.672-28.16 0-7.68 3.072-14.848 8.192-20.48l175.616-175.616c11.264-11.264 29.184-11.264 40.448 0l103.424 103.424 125.44-125.44-49.664-49.664 152.064-25.088-10.752 166.912-51.2-51.2-143.36 142.848c-0.512 1.024-1.536 2.048-2.56 2.56-11.264 11.264-29.184 11.264-40.448 0l-103.424-103.424-155.648 155.648c-4.608 4.608-12.288 7.68-19.456 7.68z"-->
<!-- fill="#0972E7" p-id="1334"></path>-->
<!-- <path d="M163.7888 983.4496c-37.376 0-67.072-30.208-67.584-67.584V208.2816c0-37.376 30.208-67.072 67.584-67.584h95.744v-81.92c0-15.872 12.8-28.672 28.672-28.16 15.872 0 28.16 12.8 28.16 28.16v81.92h172.544v-81.92c0-15.872 12.8-28.672 28.16-28.672 15.872 0 28.672 12.8 28.672 28.16v81.92h173.056v-81.92c0-15.872 12.8-28.672 28.16-28.672 15.872 0 28.672 12.8 28.672 28.16v81.92h95.744c37.376 0 67.072 30.208 67.584 67.584v708.096c0 37.376-30.208 67.072-67.584 67.584l-707.584 0.512z m704-71.168V212.3776H167.8848v699.904h699.904z"-->
<!-- fill="#0972E7" p-id="1335"></path>-->
<!-- </svg>-->
<!-- <span class="icon_text"> 提案分析</span>-->
<!-- </van-grid-item>-->
</van-grid>
</van-row>
</div>
@@ -216,7 +197,7 @@ layout("/mobile/platform.html"){
</van-grid-item>
<van-grid-item url="/platform/mobile/trainSignUpActivityScannerQrCode"
v-if="${@shiro.hasRole('codeScanner')}">
<image src="/assets/mobile/icon/train/my.png"></image>
<image src="/assets/mobile/icon/train/scan.png"></image>
<span class="icon_text">扫一扫</span>
</van-grid-item>
@@ -228,15 +209,15 @@ layout("/mobile/platform.html"){
</div>
<van-grid :border="false" :column-num="3">
<van-grid-item url="/mobile/activity/Sports/list/activityList">
<image src="/assets/mobile/svg/activity/bm.svg"></image>
<image src="/assets/mobile/icon/activity/sport.png"></image>
<span style="font-size: 12px;margin-top: 10px">体育活动报名</span>
</van-grid-item>
<van-grid-item url="/mobile/activity/unionActivity">
<image src="/assets/mobile/icon/activity/bm.png"></image>
<image src="/assets/mobile/icon/activity/school.png"></image>
<span class="icon_text">校活动报名</span>
</van-grid-item>
<van-grid-item url="/mobile/wmhd/apply">
<image src="/assets/mobile/svg/wmhd/apply.svg"></image>
<image src="/assets/mobile/icon/wmhd/apply.png"></image>
<span class="icon_text">教工作品征集</span>
</van-grid-item>
<!--<van-grid-item @click="toWxJsz">
@@ -368,13 +349,13 @@ layout("/mobile/platform.html"){
</div>
<van-grid :border="false" :column-num="3">
<van-grid-item url="/mobile/wakeshome/review/appraisal/index">
<image src="/assets/mobile/svg/psychology/zgpy.svg"></image>
<span class="icon_text"> 职工评议</span>
<image src="/assets/mobile/icon/jjpy/建家评议 (1).png"></image>
<span class="icon_text">职工评议</span>
</van-grid-item>
<van-grid-item url="/mobile/wakeshome/review/appraisal/mine">
<image src="/assets/mobile/svg/psychology/wdpy.svg"></image>
<span class="icon_text"> 我的评议</span>
<image src="/assets/mobile/icon/jjpy/建家评议 (我的).png"></image>
<span class="icon_text">我的评议</span>
</van-grid-item>
</van-grid>
</div>
@@ -396,6 +377,22 @@ layout("/mobile/platform.html"){
</van-grid>
</div>
<div v-if="paramType === '协会组织'">
<div class="van-sidebar-item van-sidebar-item&#45;&#45;select">
协会组织
</div>
<van-grid :border="false" :column-num="3">
<van-grid-item url="/platform/sys/club/sq/mobile">
<image src="/assets/mobile/icon/club/apply.png"></image>
<span class="icon_text">协会入会</span>
</van-grid-item>
<van-grid-item url="/platform/sys/club/sh/mobile">
<image src="/assets/mobile/icon/club/club.png"></image>
<span class="icon_text">入会审核</span>
</van-grid-item>
</van-grid>
</div>
</div>
<script src="https://res.wx.qq.com/open/js/cloudbase/1.1.0/cloud.js"></script>
+8 -2
View File
@@ -55,7 +55,7 @@ layout("/mobile/platform.html"){
<van-grid-item>
<div class="item_div" style="background-color: rgb(155,130,239)">
<div>
<van-image height="32" width="40" src="/assets/platform/img/quickentry/jy.png"
<van-image height="32" width="40" src="/assets/platform/img/quickentry/education.png"
@click="location.href='/mobile/trainEducation/index'"></van-image>
</div>
<span class="icon_text">培训教育</span>
@@ -63,7 +63,7 @@ layout("/mobile/platform.html"){
</van-grid-item>
<van-grid-item>
<div class="item_div" style="background-color: rgb(155,130,239)">
<div class="item_div" style="background-color: #FE8DB8">
<div>
<van-image height="32" width="40" src="/assets/platform/img/quickentry/jcbd.png" @click="loginOut"></van-image>
</div>
@@ -123,6 +123,12 @@ layout("/mobile/platform.html"){
text: '建言献策',
isOpen: false,
backGroundColor: '#2fbabf'
},
{
src: '/assets/platform/img/quickentry/proposal.png',
text: '协会组织',
isOpen: true,
backGroundColor: '#EEC04D'
}
]
}
@@ -29,30 +29,37 @@ layout("/layouts/platform.html"){
<div class="btn-group tool-button mt5">
<el-button @click="doSearch" icon="el-icon-search" type="primary"></el-button>
</div>
<div class="pull-right offscreen-right mt5">
<el-button :disabled="subDis" @click="check(true)" icon="el-icon-check" plain type="success">同意
</el-button>
<el-button :disabled="subDis" @click="check(false)" icon="el-icon-close" plain type="danger">拒绝
</el-button>
</div>
<div class="pull-right offscreen-right mt5" style="margin-right: 40px">
<el-radio-group v-model="pageForm.radioType" @change="(val) => doSearch()">
<el-radio-button label="1">全部</el-radio-button>
<el-radio-button label="2">已审核</el-radio-button>
<el-radio-button label="3">未审核</el-radio-button>
</el-radio-group>
</div>
</el-card>
<el-card class="mt10" shadow="never">
<vi-title2 title="温馨提醒:如下方没有数据,可能是其他理事成员已审核,审核信息请切换已审核查看">
<template #func>
<el-radio-group @change="(val) => doSearch()" style="margin-right: 6px"
v-model="pageForm.applyType">
<el-radio-button :label="1">申请加入</el-radio-button>
<el-radio-button :label="2">申请退会</el-radio-button>
</el-radio-group>
<el-radio-group @change="(val) => doSearch()" style="margin-right: 6px"
v-model="pageForm.radioType">
<el-radio-button label="1">全部</el-radio-button>
<el-radio-button label="2">已审核</el-radio-button>
<el-radio-button label="3">未审核</el-radio-button>
</el-radio-group>
<el-button :disabled="subDis" @click="check(true)" icon="el-icon-check" plain
type="success">通过
</el-button>
<el-button :disabled="subDis" @click="check(false)" icon="el-icon-close"
plain type="danger">不通过
</el-button>
</template>
</vi-title2>
<el-table :data="tableData" :key="tabKey" @selection-change="handleSelectionChange" @sort-change="pageOrder"
ref="multipleTable"
row-key="id"
style="width: 100%" v-loading="tabloading">
<el-table-column :reserve-selection="true" v-if="pageForm.radioType !== '2'" :selectable="(row, index) => {return row.status === 1}"
<el-table-column :reserve-selection="true" :selectable="(row, index) => {return row.status === 1 || row.exitStatus === 1}"
type="selection"
v-if="pageForm.radioType !== '2'"
width="55">
</el-table-column>
<el-table-column align="center" header-align="center" label="序号" type="index">
@@ -89,14 +96,24 @@ layout("/layouts/platform.html"){
prop="userState"></el-table-column>
<el-table-column align="center" header-align="center" label="所属单位" prop="unitname" show-overflow-tooltip
sortable></el-table-column>
<el-table-column align="center" header-align="center" label="审核状态"
<el-table-column v-if="pageForm.applyType === 1" align="center" header-align="center" label="入会状态"
prop="status">
<template slot-scope="scope">
<el-tag v-if="scope.row.status==1" type="primary">待协会审核</el-tag>
<el-tag v-if="scope.row.status==2" type="danger">协会拒绝</el-tag>
<el-tag v-if="scope.row.status==3" type="primary">待校工会审核</el-tag>
<el-tag v-if="scope.row.status==4" type="danger">校工会拒绝</el-tag>
<el-tag v-if="scope.row.status==5" type="success">审核通过</el-tag>
<el-tag type="primary" v-if="scope.row.status==1">待社团审核</el-tag>
<el-tag type="danger" v-if="scope.row.status==2">社团不通过</el-tag>
<el-tag type="primary" v-if="scope.row.status==3">待校工会审核</el-tag>
<el-tag type="danger" v-if="scope.row.status==4">校工会不通过</el-tag>
<el-tag type="success" v-if="scope.row.status==5">审核通过</el-tag>
</template>
</el-table-column>
<el-table-column v-if="pageForm.applyType === 2" align="center" header-align="center" label="退会状态"
prop="exitStatus">
<template slot-scope="scope">
<el-tag type="primary" v-if="scope.row.exitStatus==1">待社团审核</el-tag>
<el-tag type="danger" v-if="scope.row.exitStatus==2">社团不通过</el-tag>
<el-tag type="primary" v-if="scope.row.exitStatus==3">待校工会审核</el-tag>
<el-tag type="danger" v-if="scope.row.exitStatus==4">校工会不通过</el-tag>
<el-tag type="success" v-if="scope.row.exitStatus==5">审核通过</el-tag>
</template>
</el-table-column>
</el-table>
@@ -134,7 +151,8 @@ layout("/layouts/platform.html"){
totalCount: 0,
pageOrderName: "",
pageOrderBy: "",
radioType: 3
radioType: 3,
applyType: 1,
},
formRules: {
code: [{required: true, message: '必填', trigger: ['blur', 'change']}],
@@ -165,7 +183,12 @@ layout("/layouts/platform.html"){
return v.id
})
this.subDis = true
$.post(base + "/platform/sys/club/sh/check", {ids: JSON.stringify(ids), flag: flag, type: 1}, (data) => {
$.post(base + "/platform/sys/club/sh/check", {
ids: JSON.stringify(ids),
flag: flag,
type: 1,
applyType: this.pageForm.applyType,
}, (data) => {
this.subDis = false
if (data.code === 0) {
this.$message({
@@ -239,4 +262,4 @@ layout("/layouts/platform.html"){
</script>
<!--#
}
#-->
#-->
@@ -109,7 +109,7 @@ layout("/layouts/platform.html"){
<el-table-column align="center" header-align="center" label="退休人数" show-overflow-tooltip
prop="outnum"></el-table-column>
<el-table-column align="center" v-if="activeName=='true'" header-align="center" label="申请状态" sortable>
<el-table-column align="center" v-if="activeName=='true'" header-align="center" label="入会状态" sortable>
<template slot-scope="scope">
<el-tag v-if="scope.row.status==1" type="primary">待协会审核</el-tag>
<el-tag v-if="scope.row.status==2" type="danger">协会拒绝</el-tag>
@@ -119,6 +119,17 @@ layout("/layouts/platform.html"){
</template>
</el-table-column>
<el-table-column align="center" v-if="activeName=='true'" header-align="center" label="退会状态" sortable>
<template slot-scope="scope">
<el-tag type="primary" v-if="scope.row.exitstatus==1">待社团审核</el-tag>
<el-tag type="danger" v-if="scope.row.exitstatus==2">社团不通过</el-tag>
<el-tag type="primary" v-if="scope.row.exitstatus==3">待校工会审核</el-tag>
<el-tag type="danger" v-if="scope.row.exitstatus==4">校工会不通过</el-tag>
<el-tag type="success" v-if="scope.row.exitstatus==5">审核通过</el-tag>
<el-tag type="success" v-if="!scope.row.exitstatus">暂无</el-tag>
</template>
</el-table-column>
<el-table-column align="center" header-align="center" label="操作" fixed="right" width="250px">
<template slot-scope="scope">
<el-button size="mini" @click="openDetail(scope.row.id)">查看</el-button>
@@ -127,7 +138,16 @@ layout("/layouts/platform.html"){
</el-button>
<el-button size="mini" v-if="activeName=='true'&&scope.row.status==1" type="danger"
@click="doRevocation(scope.row.id)">
撤销申请
撤销加入申请
</el-button>
<el-button size="mini" v-if="activeName=='true' && scope.row.status==5 && !scope.row.exitstatus" type="primary" @click="exitClub(scope.row)">
申请退会
</el-button>
<el-button size="mini" v-if="activeName=='true' && scope.row.status!=1 && scope.row.exitstatus==1"
type="danger"
@click="cancelExitClub(scope.row.id)">
撤销退会申请
</el-button>
</template>
</el-table-column>
@@ -250,6 +270,44 @@ layout("/layouts/platform.html"){
}
},
methods: {
exitClub(row) {
this.$confirm('您确定要申请退会吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: async (a, b) => {
if ("confirm" === a) {//确认后再执行
const resp = await $.post('/platform/sys/club/sq/exitClub', {id: row.id})
if (resp.code === 0) {
await this.getCount()
this.pageData()
this.$message.success(resp.msg)
} else {
this.$message.warning(resp.msg)
}
}
}
});
},
cancelExitClub(id) {
this.$confirm('您确定要撤销申请吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: async (a, b) => {
if ("confirm" === a) {//确认后再执行
const resp = await $.post('/platform/sys/club/sq/cancelExitClub', {id: id})
if (resp.code === 0) {
await this.getCount()
this.pageData()
this.$message.success(resp.msg)
} else {
this.$message.warning(resp.msg)
}
}
}
});
},
doRevocation(id) {
this.$confirm('是否撤销申请?', '提示', {
confirmButtonText: '确定',
@@ -394,4 +452,4 @@ layout("/layouts/platform.html"){
</script>
<!--#
}
#-->
#-->