Merge branch 'main' of https://dd3skj.picp.vip/JyuHsin/zhgh_jshvc
This commit is contained in:
@@ -6,93 +6,100 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<guava ref="guava">
|
<guava ref="guava">
|
||||||
<el-card v-if="isCanApply" shadow="never">
|
<custom-card v-if="isCanApply">
|
||||||
<snaker-start slot="header" label="年度优秀协会申报" define_key="XHPY"></snaker-start>
|
<snaker-start slot="header" label="年度优秀协会申报" define_key="XHPY"></snaker-start>
|
||||||
|
|
||||||
<el-form :model="formData" ref="form" :rules="formRules" label-width="120px" style="padding: 0 30px">
|
<el-form :model="formData" ref="form" :rules="formRules" label-width="120px" style="padding: 0 30px">
|
||||||
<el-row :gutter="30">
|
<el-row :gutter="30">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="开始年份" prop="applyStartYear" :rules="{required: true, message: '请选择开始年份', trigger: 'blur'}">
|
<el-form-item label="开始年份" prop="applyStartYear"
|
||||||
|
:rules="{required: true, message: '请选择开始年份', trigger: 'blur'}">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
placeholder="请选择开始年份"
|
placeholder="请选择开始年份"
|
||||||
:clearable="false"
|
:clearable="false"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:disabled="isCanApply === false"
|
:disabled="isCanApply === false"
|
||||||
type="year"
|
type="year"
|
||||||
v-model="formData.applyStartYear"
|
v-model="formData.applyStartYear"
|
||||||
value-format="yyyy"
|
value-format="yyyy"
|
||||||
></el-date-picker>
|
></el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="结束年份" prop="applyEndYear" :rules="{required: true, message: '请选择结束年份', trigger: 'blur'}">
|
<el-form-item label="结束年份" prop="applyEndYear"
|
||||||
|
:rules="{required: true, message: '请选择结束年份', trigger: 'blur'}">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
placeholder="请选择结束年份"
|
placeholder="请选择结束年份"
|
||||||
:clearable="false"
|
:clearable="false"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:disabled="isCanApply === false"
|
:disabled="isCanApply === false"
|
||||||
type="year"
|
type="year"
|
||||||
v-model="formData.applyEndYear"
|
v-model="formData.applyEndYear"
|
||||||
value-format="yyyy"
|
value-format="yyyy"
|
||||||
></el-date-picker>
|
></el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="协会名称" prop="clubId" :rules="{required: true, message: '请选择协会', trigger: 'blur'}">
|
<el-form-item label="协会名称" prop="clubId"
|
||||||
|
:rules="{required: true, message: '请选择协会', trigger: 'blur'}">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="formData.clubId"
|
v-model="formData.clubId"
|
||||||
placeholder="请选择协会"
|
placeholder="请选择协会"
|
||||||
filterable
|
filterable
|
||||||
clearable
|
clearable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:disabled="isCanApply === false"
|
:disabled="isCanApply === false"
|
||||||
>
|
>
|
||||||
<el-option v-for="item in clubList" :key="item.id" :label="item.clubName" :value="item.id"></el-option>
|
<el-option v-for="item in clubList" :key="item.id" :label="item.clubName"
|
||||||
|
:value="item.id"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="近两年获得的集体荣誉称号"
|
label="近两年获得的集体荣誉称号"
|
||||||
prop="evaluateName"
|
prop="evaluateName"
|
||||||
:rules="{required: true, message: '请填写近两年获得的集体荣誉称号', trigger: 'blur'}"
|
:rules="{required: true, message: '请填写近两年获得的集体荣誉称号', trigger: 'blur'}"
|
||||||
>
|
>
|
||||||
<text-editor v-model="formData.evaluateName"></text-editor>
|
<text-editor v-model="formData.evaluateName"></text-editor>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="近两年组织活动及完成情况"
|
label="近两年组织活动及完成情况"
|
||||||
prop="yearActivity"
|
prop="yearActivity"
|
||||||
:rules="{required: true, message: '请填写近两年年度组织活动及完成情况', trigger: 'blur'}"
|
:rules="{required: true, message: '请填写近两年年度组织活动及完成情况', trigger: 'blur'}"
|
||||||
>
|
>
|
||||||
<text-editor v-model="formData.yearActivity"></text-editor>
|
<text-editor v-model="formData.yearActivity"></text-editor>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item required label="附件上传" prop="files">
|
<el-form-item required label="附件上传" prop="files">
|
||||||
<file-upload
|
<file-upload
|
||||||
:value.sync="formData.files"
|
:value.sync="formData.files"
|
||||||
:upload_number="5"
|
:upload_number="5"
|
||||||
upload_result_category="array"
|
upload_result_category="array"
|
||||||
complete_result
|
complete_result
|
||||||
upload_mode="drag"
|
upload_mode="drag"
|
||||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||||
></file-upload>
|
></file-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row class="mt20" justify="end" type="flex">
|
<template slot="footer">
|
||||||
<el-button :disabled="isCanApply === false" type="primary" plain @click="onSave">保存</el-button>
|
<el-button :disabled="isCanApply === false" type="primary" plain @click="onSave">保存</el-button>
|
||||||
<el-button :disabled="isCanApply === false" type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<el-button :disabled="isCanApply === false" type="primary" @click="onSubmit" v-if="!taskId">提交
|
||||||
|
</el-button>
|
||||||
<el-button :disabled="isCanApply === false" type="primary" @click="onFinishTask" v-else>提交</el-button>
|
<el-button :disabled="isCanApply === false" type="primary" @click="onFinishTask" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
</el-card>
|
</custom-card>
|
||||||
|
|
||||||
<el-card v-else shadow="never">
|
<el-card v-else shadow="never">
|
||||||
<el-empty style="height: 88vh" description="抱歉,当前年份不能申请,考核周期:每两年考核一次,逢双数年进行考核。"></el-empty>
|
<el-empty style="height: 88vh"
|
||||||
|
description="抱歉,当前年份不能申请,考核周期:每两年考核一次,逢双数年进行考核。"></el-empty>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
</guava>
|
</guava>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -106,7 +113,7 @@ layout("/layouts/platform.html"){
|
|||||||
id: GetQueryString("bizId"),
|
id: GetQueryString("bizId"),
|
||||||
taskId: GetQueryString("taskId"),
|
taskId: GetQueryString("taskId"),
|
||||||
formRules: {
|
formRules: {
|
||||||
files: [{ required: true, message: "必填", trigger: ["change", "blur"] }]
|
files: [{required: true, message: "必填", trigger: ["change", "blur"]}]
|
||||||
},
|
},
|
||||||
clubList: [],
|
clubList: [],
|
||||||
formData: {
|
formData: {
|
||||||
@@ -122,7 +129,7 @@ layout("/layouts/platform.html"){
|
|||||||
components: {},
|
components: {},
|
||||||
methods: {
|
methods: {
|
||||||
onSave() {
|
onSave() {
|
||||||
this.$axios.post("/platform/club/evaluate/apply/save", { data: JSON.stringify(this.formData) }).then((res) => {
|
this.$axios.post("/platform/club/evaluate/apply/save", {data: JSON.stringify(this.formData)}).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.$message.success(res.msg)
|
this.$message.success(res.msg)
|
||||||
commonUtil.pjaxPush('/platform/club/evaluate/mine')
|
commonUtil.pjaxPush('/platform/club/evaluate/mine')
|
||||||
@@ -179,7 +186,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.$set(this.formData, "applyEndYear", new Date().getFullYear() + "")
|
this.$set(this.formData, "applyEndYear", new Date().getFullYear() + "")
|
||||||
const id = GetQueryString("bizId")
|
const id = GetQueryString("bizId")
|
||||||
if (id) {
|
if (id) {
|
||||||
const resp = await this.$axios.post("/platform/club/evaluate/apply/info", { id })
|
const resp = await this.$axios.post("/platform/club/evaluate/apply/info", {id})
|
||||||
if (resp.code === 0) {
|
if (resp.code === 0) {
|
||||||
this.formData = resp.data
|
this.formData = resp.data
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ layout("/layouts/platform.html"){
|
|||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
|
|
||||||
<guava>
|
<guava>
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<snaker-start slot="header" label="考核登记" define_key="XHNS"></snaker-start>
|
<snaker-start slot="header" label="考核登记" define_key="XHNS"></snaker-start>
|
||||||
|
|
||||||
<el-steps :active="registerTypeName" finish-status="success" simple>
|
<el-steps :active="registerTypeName" finish-status="success" simple>
|
||||||
@@ -26,14 +26,14 @@ layout("/layouts/platform.html"){
|
|||||||
<el-form-item prop="year" label="填报年度"
|
<el-form-item prop="year" label="填报年度"
|
||||||
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
@change="yearChange"
|
@change="yearChange"
|
||||||
:disabled="formData.id ? true : false"
|
:disabled="formData.id ? true : false"
|
||||||
format="yyyy"
|
format="yyyy"
|
||||||
placeholder="选择填报年度"
|
placeholder="选择填报年度"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
type="year"
|
type="year"
|
||||||
v-model="formData.year"
|
v-model="formData.year"
|
||||||
value-format="yyyy">
|
value-format="yyyy">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -45,10 +45,10 @@ layout("/layouts/platform.html"){
|
|||||||
@change="changeClub"
|
@change="changeClub"
|
||||||
style="width: 100%">
|
style="width: 100%">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in clubOptions"
|
v-for="item in clubOptions"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.clubName"
|
:label="item.clubName"
|
||||||
:value="item.id">
|
:value="item.id">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -59,10 +59,10 @@ layout("/layouts/platform.html"){
|
|||||||
<el-form-item label="本年度活动开展情况" prop="yearActivity">
|
<el-form-item label="本年度活动开展情况" prop="yearActivity">
|
||||||
<span style="color: red">说明:非赛事活动无需填写赛事举办单位、获奖情况。</span>
|
<span style="color: red">说明:非赛事活动无需填写赛事举办单位、获奖情况。</span>
|
||||||
<el-table
|
<el-table
|
||||||
:data="formData.yearActivityList"
|
:data="formData.yearActivityList"
|
||||||
border
|
border
|
||||||
size="small"
|
size="small"
|
||||||
style="width: 100%">
|
style="width: 100%">
|
||||||
<el-table-column label="活动时间" prop="activityTime" width="170">
|
<el-table-column label="活动时间" prop="activityTime" width="170">
|
||||||
<template slot-scope="{row,$index}">
|
<template slot-scope="{row,$index}">
|
||||||
<el-form-item :prop="'yearActivityList.'+$index+'.activityTime'"
|
<el-form-item :prop="'yearActivityList.'+$index+'.activityTime'"
|
||||||
@@ -135,10 +135,10 @@ layout("/layouts/platform.html"){
|
|||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item class="is-required" label="下一年度活动计划" prop="plans">
|
<el-form-item class="is-required" label="下一年度活动计划" prop="plans">
|
||||||
<el-table
|
<el-table
|
||||||
:data="formData.plans"
|
:data="formData.plans"
|
||||||
border
|
border
|
||||||
size="small"
|
size="small"
|
||||||
style="width: 100%">
|
style="width: 100%">
|
||||||
<el-table-column label="活动时间" prop="activityTime" width="170">
|
<el-table-column label="活动时间" prop="activityTime" width="170">
|
||||||
<template slot-scope="{row,$index}">
|
<template slot-scope="{row,$index}">
|
||||||
<el-form-item :prop="'plans.'+$index+'.activityTime'"
|
<el-form-item :prop="'plans.'+$index+'.activityTime'"
|
||||||
@@ -201,12 +201,12 @@ layout("/layouts/platform.html"){
|
|||||||
class="is-required" label="工作总结"
|
class="is-required" label="工作总结"
|
||||||
prop="summaryFiles">
|
prop="summaryFiles">
|
||||||
<file-upload
|
<file-upload
|
||||||
:value.sync="formData.summaryFiles"
|
:value.sync="formData.summaryFiles"
|
||||||
:upload_number="5"
|
:upload_number="5"
|
||||||
upload_result_category="array"
|
upload_result_category="array"
|
||||||
complete_result
|
complete_result
|
||||||
upload_mode="file"
|
upload_mode="file"
|
||||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||||
></file-upload>
|
></file-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -224,11 +224,11 @@ layout("/layouts/platform.html"){
|
|||||||
:rules="[{required:true,message:'必填',trigger:['change','blur']}]"
|
:rules="[{required:true,message:'必填',trigger:['change','blur']}]"
|
||||||
label-width="0">
|
label-width="0">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择日期"
|
placeholder="请选择日期"
|
||||||
type="date"
|
type="date"
|
||||||
v-model="row.date"
|
v-model="row.date"
|
||||||
value-format="yyyy-MM-dd">
|
value-format="yyyy-MM-dd">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
@@ -246,14 +246,14 @@ layout("/layouts/platform.html"){
|
|||||||
<template slot-scope="{row,$index}">
|
<template slot-scope="{row,$index}">
|
||||||
<el-form-item label-width="0">
|
<el-form-item label-width="0">
|
||||||
<el-select
|
<el-select
|
||||||
@change="changeIncomeType(row)"
|
@change="changeIncomeType(row)"
|
||||||
placeholder="请选择收支类型"
|
placeholder="请选择收支类型"
|
||||||
v-model="row.incomeType">
|
v-model="row.incomeType">
|
||||||
<el-option key="会费收入" label="会费收入"
|
<el-option key="会费收入" label="会费收入"
|
||||||
value="会费收入"></el-option>
|
value="会费收入"></el-option>
|
||||||
<el-option key="校工会拨款" label="校工会拨款"
|
<el-option key="校工会拨款" label="校工会拨款"
|
||||||
value="校工会拨款"></el-option>
|
value="校工会拨款"></el-option>
|
||||||
<el-option key="年度结余" label="年度结余"
|
<el-option key="年度结余" label="年度结余"
|
||||||
value="年度结余"></el-option>
|
value="年度结余"></el-option>
|
||||||
<el-option key="社会赞助" label="社会赞助" value="社会赞助"></el-option>
|
<el-option key="社会赞助" label="社会赞助" value="社会赞助"></el-option>
|
||||||
<el-option key="支出" label="支出" value="支出"></el-option>
|
<el-option key="支出" label="支出" value="支出"></el-option>
|
||||||
@@ -284,11 +284,11 @@ layout("/layouts/platform.html"){
|
|||||||
<template slot-scope="{row,$index}">
|
<template slot-scope="{row,$index}">
|
||||||
<el-form-item label-width="0">
|
<el-form-item label-width="0">
|
||||||
<el-button
|
<el-button
|
||||||
@click="deleteIncomeDetailed(row,$index)"
|
@click="deleteIncomeDetailed(row,$index)"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="danger"
|
type="danger"
|
||||||
></el-button>
|
></el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -310,22 +310,24 @@ layout("/layouts/platform.html"){
|
|||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row v-if="isRegister === false" class="mt10" justify="end" type="flex">
|
<template slot="footer">
|
||||||
<el-button type="primary" plain @click="onSave">保存</el-button>
|
<div v-if="isRegister === false">
|
||||||
<el-button type="primary"
|
<el-button type="primary" plain @click="onSave">保存</el-button>
|
||||||
@click="registerTypeName=registerTypeName-1"
|
<el-button type="primary"
|
||||||
v-show="registerTypeName!==0">上一步
|
@click="registerTypeName=registerTypeName-1"
|
||||||
</el-button>
|
v-show="registerTypeName!==0">上一步
|
||||||
<el-button type="primary" @click="next"
|
</el-button>
|
||||||
v-show="registerTypeName!=2">下一步
|
<el-button type="primary" @click="next"
|
||||||
</el-button>
|
v-show="registerTypeName!=2">下一步
|
||||||
<template v-show="registerTypeName===2">
|
</el-button>
|
||||||
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<template v-show="registerTypeName===2">
|
||||||
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
||||||
</template>
|
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
</el-card>
|
</custom-card>
|
||||||
</guava>
|
</guava>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -350,13 +352,13 @@ layout("/layouts/platform.html"){
|
|||||||
jgUser: [],
|
jgUser: [],
|
||||||
cwsz: {
|
cwsz: {
|
||||||
incomeDetailed: [],
|
incomeDetailed: [],
|
||||||
incomeCensus: [{ income: 0, allocate: 0, support: 0, totalExpend: 0, surplus: 0 }]
|
incomeCensus: [{income: 0, allocate: 0, support: 0, totalExpend: 0, surplus: 0}]
|
||||||
},
|
},
|
||||||
clubOptions: [],
|
clubOptions: [],
|
||||||
registerTypeName: 0,
|
registerTypeName: 0,
|
||||||
rules: {
|
rules: {
|
||||||
clubId: [{ required: true, message: "必填", trigger: ["blur", "change"] }],
|
clubId: [{required: true, message: "必填", trigger: ["blur", "change"]}],
|
||||||
year: [{ required: true, message: "必填", trigger: ["blur", "change"] }]
|
year: [{required: true, message: "必填", trigger: ["blur", "change"]}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -473,15 +475,15 @@ layout("/layouts/platform.html"){
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
async getClubMemberMoney(id) {
|
async getClubMemberMoney(id) {
|
||||||
const refs = await this.$axios.post("/platform/club/examine/apply/getClubMemberMoney", { clubId: id })
|
const refs = await this.$axios.post("/platform/club/examine/apply/getClubMemberMoney", {clubId: id})
|
||||||
this.income = refs.data ? refs.data : 0
|
this.income = refs.data ? refs.data : 0
|
||||||
},
|
},
|
||||||
async getXghBkMoney(id) {
|
async getXghBkMoney(id) {
|
||||||
const refs = await this.$axios.post("/platform/club/examine/apply/getXghBkMoney", { clubId: id })
|
const refs = await this.$axios.post("/platform/club/examine/apply/getXghBkMoney", {clubId: id})
|
||||||
this.allocate = refs.data ? refs.data : 0
|
this.allocate = refs.data ? refs.data : 0
|
||||||
},
|
},
|
||||||
async getLasYearSurplus(id) {
|
async getLasYearSurplus(id) {
|
||||||
const refs = await this.$axios.post("/platform/club/examine/apply/getLasYearSurplus", { clubId: id })
|
const refs = await this.$axios.post("/platform/club/examine/apply/getLasYearSurplus", {clubId: id})
|
||||||
this.lasYearSurplus = refs.data
|
this.lasYearSurplus = refs.data
|
||||||
},
|
},
|
||||||
deleteIncomeDetailed(row, index) {
|
deleteIncomeDetailed(row, index) {
|
||||||
@@ -622,14 +624,14 @@ layout("/layouts/platform.html"){
|
|||||||
async openEdit(id) {
|
async openEdit(id) {
|
||||||
this.clubOptions = await this.getClubsByRole()
|
this.clubOptions = await this.getClubsByRole()
|
||||||
|
|
||||||
const { data } = await this.$axios.post("/platform/club/examine/apply/info", { id: id })
|
const {data} = await this.$axios.post("/platform/club/examine/apply/info", {id: id})
|
||||||
if (!data.yearActivityList) {
|
if (!data.yearActivityList) {
|
||||||
data.yearActivityList = [{}]
|
data.yearActivityList = [{}]
|
||||||
}
|
}
|
||||||
if (!data.plans) {
|
if (!data.plans) {
|
||||||
data.plans = [{}]
|
data.plans = [{}]
|
||||||
}
|
}
|
||||||
if(data.year){
|
if (data.year) {
|
||||||
data.year = data.year.toString()
|
data.year = data.year.toString()
|
||||||
}
|
}
|
||||||
this.formData = data
|
this.formData = data
|
||||||
|
|||||||
@@ -3,14 +3,17 @@ layout("/layouts/platform.html"){
|
|||||||
#-->
|
#-->
|
||||||
|
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<snaker-start slot="header" label="文体协会会员申请" define_key="XHRH"></snaker-start>
|
<snaker-start slot="header" label="文体协会会员申请" define_key="XHRH"></snaker-start>
|
||||||
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="0" label-suffix=":" class="flow-task-form">
|
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="0" label-suffix=":"
|
||||||
|
class="flow-task-form">
|
||||||
<el-descriptions border class="descriptions-form">
|
<el-descriptions border class="descriptions-form">
|
||||||
<el-descriptions-item label="协会" :span="3">
|
<el-descriptions-item label="协会" :span="3">
|
||||||
<el-form-item prop="clubId" label="协会">
|
<el-form-item prop="clubId" label="协会">
|
||||||
<el-select v-model="formData.clubId" filterable @change="checkApplyClub" placeholder="请选择协会">
|
<el-select v-model="formData.clubId" filterable @change="checkApplyClub"
|
||||||
<el-option v-for="item in clubOptions" :label="item.clubName" :value="item.id" :key="item.id"></el-option>
|
placeholder="请选择协会">
|
||||||
|
<el-option v-for="item in clubOptions" :label="item.clubName" :value="item.id"
|
||||||
|
:key="item.id"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
@@ -78,52 +81,55 @@ layout("/layouts/platform.html"){
|
|||||||
<el-descriptions-item label="同时参加其他协会情况" :span="3">
|
<el-descriptions-item label="同时参加其他协会情况" :span="3">
|
||||||
<el-form-item prop="sameTimeJoinOtherClubSituation" label="同时参加其他协会情况">
|
<el-form-item prop="sameTimeJoinOtherClubSituation" label="同时参加其他协会情况">
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="500"
|
maxlength="500"
|
||||||
v-model="formData.sameTimeJoinOtherClubSituation"
|
v-model="formData.sameTimeJoinOtherClubSituation"
|
||||||
placeholder="请填写同时参加其他协会情况"
|
placeholder="请填写同时参加其他协会情况"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:autosize="{ minRows: 4, maxRows: 6}"
|
:autosize="{ minRows: 4, maxRows: 6}"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="文化、体育方面的活动经历、获奖情况" :span="3">
|
<el-descriptions-item label="文化、体育方面的活动经历、获奖情况" :span="3">
|
||||||
<el-form-item prop="awardsExperience" label="文化、体育方面的活动经历、获奖情况">
|
<el-form-item prop="awardsExperience" label="文化、体育方面的活动经历、获奖情况">
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="500"
|
maxlength="500"
|
||||||
v-model="formData.awardsExperience"
|
v-model="formData.awardsExperience"
|
||||||
placeholder="请填写文化、体育方面的活动经历、获奖情况"
|
placeholder="请填写文化、体育方面的活动经历、获奖情况"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:autosize="{ minRows: 4, maxRows: 6}"
|
:autosize="{ minRows: 4, maxRows: 6}"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="照片" :span="3">
|
<el-descriptions-item label="照片" :span="3">
|
||||||
<el-form-item prop="avatar" label="照片">
|
<el-form-item prop="avatar" label="照片">
|
||||||
<file-upload
|
<file-upload
|
||||||
:value.sync="formData.avatar"
|
:value.sync="formData.avatar"
|
||||||
:upload_number="1"
|
:upload_number="1"
|
||||||
upload_mode="image"
|
upload_mode="image"
|
||||||
upload_result_category="interval"
|
upload_result_category="interval"
|
||||||
upload_result_type="url"
|
upload_result_type="url"
|
||||||
></file-upload>
|
></file-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="电子签名" :span="3">
|
<el-descriptions-item label="电子签名" :span="3">
|
||||||
<el-form-item label="电子签名" prop="signature" :rules="[{required:false,message:'必填',trigger:['change','blur']}]">
|
<el-form-item label="电子签名" prop="signature"
|
||||||
|
:rules="[{required:false,message:'必填',trigger:['change','blur']}]">
|
||||||
<pc-signature v-model="formData.signature"></pc-signature>
|
<pc-signature v-model="formData.signature"></pc-signature>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row class="mt20">
|
<el-row class="mt20">
|
||||||
<el-checkbox v-model="isAgree">注:本人已仔细阅读并愿意遵守所参加本校教职工文体协会的章程和规定,自愿加入所报名协会。</el-checkbox>
|
<el-checkbox v-model="isAgree">
|
||||||
|
注:本人已仔细阅读并愿意遵守所参加本校教职工文体协会的章程和规定,自愿加入所报名协会。
|
||||||
|
</el-checkbox>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row type="flex" justify="end" class="mt10">
|
<template slot="footer">
|
||||||
<el-button type="primary" plain @click="onSave">保存</el-button>
|
<el-button type="primary" plain @click="onSave">保存</el-button>
|
||||||
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
||||||
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
</el-card>
|
</custom-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script nonce="${cspNonce!}">
|
<script nonce="${cspNonce!}">
|
||||||
@@ -136,20 +142,20 @@ layout("/layouts/platform.html"){
|
|||||||
taskId: GetQueryString("taskId"),
|
taskId: GetQueryString("taskId"),
|
||||||
formData: {},
|
formData: {},
|
||||||
formRules: {
|
formRules: {
|
||||||
clubId: [{ required: true, message: "必填", trigger: ["blur", "change"] }],
|
clubId: [{required: true, message: "必填", trigger: ["blur", "change"]}],
|
||||||
userName: [{ required: true, message: "必填", trigger: ["blur", "change"] }],
|
userName: [{required: true, message: "必填", trigger: ["blur", "change"]}],
|
||||||
loginName: [{ required: true, message: "必填", trigger: ["blur", "change"] }],
|
loginName: [{required: true, message: "必填", trigger: ["blur", "change"]}],
|
||||||
sex: [{ required: true, message: "必填", trigger: ["blur", "change"] }],
|
sex: [{required: true, message: "必填", trigger: ["blur", "change"]}],
|
||||||
// birthday: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
// birthday: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
||||||
// mobile: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
// mobile: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
||||||
// email: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
// email: [{ required: true, message: "请填写", trigger: ["blur", "change"] }],
|
||||||
position: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
position: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
technicalTitle: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
technicalTitle: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
education: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
education: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
academicDegree: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
academicDegree: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
sameTimeJoinOtherClubSituation: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
sameTimeJoinOtherClubSituation: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
awardsExperience: [{ required: false, message: "必填", trigger: ["blur", "change"] }],
|
awardsExperience: [{required: false, message: "必填", trigger: ["blur", "change"]}],
|
||||||
photo: [{ required: false, message: "必填", trigger: ["blur", "change"] }]
|
photo: [{required: false, message: "必填", trigger: ["blur", "change"]}]
|
||||||
},
|
},
|
||||||
isAgree: false,
|
isAgree: false,
|
||||||
clubOptions: []
|
clubOptions: []
|
||||||
@@ -177,7 +183,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.warning("请先阅读并同意协议")
|
this.$message.warning("请先阅读并同意协议")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$confirm("您确定要提交申请吗?", "提示", { type: "warning" }).then(() => {
|
this.$confirm("您确定要提交申请吗?", "提示", {type: "warning"}).then(() => {
|
||||||
this.$axios.post("/platform/club/join/apply/submit", this.formData).then((res) => {
|
this.$axios.post("/platform/club/join/apply/submit", this.formData).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
commonUtil.pjaxPush('/platform/club/join/mine')
|
commonUtil.pjaxPush('/platform/club/join/mine')
|
||||||
@@ -195,7 +201,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message.warning("请先阅读并同意协议")
|
this.$message.warning("请先阅读并同意协议")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$confirm("您确定要提交申请吗?", "提示", { type: "warning" }).then(() => {
|
this.$confirm("您确定要提交申请吗?", "提示", {type: "warning"}).then(() => {
|
||||||
this.$axios.post('/platform/club/join/apply/submitAgain', {
|
this.$axios.post('/platform/club/join/apply/submitAgain', {
|
||||||
data: JSON.stringify(this.formData),
|
data: JSON.stringify(this.formData),
|
||||||
taskId: GetQueryString("taskId")
|
taskId: GetQueryString("taskId")
|
||||||
@@ -210,7 +216,7 @@ layout("/layouts/platform.html"){
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
checkApplyClub(val) {
|
checkApplyClub(val) {
|
||||||
this.$axios.post("/platform/club/join/apply/checkApplyClub", { clubId: val }).then((res) => {
|
this.$axios.post("/platform/club/join/apply/checkApplyClub", {clubId: val}).then((res) => {
|
||||||
if (res.code !== 0) {
|
if (res.code !== 0) {
|
||||||
this.$message.warning(res.msg)
|
this.$message.warning(res.msg)
|
||||||
this.formData.clubId = ""
|
this.formData.clubId = ""
|
||||||
@@ -227,7 +233,7 @@ layout("/layouts/platform.html"){
|
|||||||
init() {
|
init() {
|
||||||
this.bizId = GetQueryString("bizId")
|
this.bizId = GetQueryString("bizId")
|
||||||
if (this.bizId) {
|
if (this.bizId) {
|
||||||
this.$axios.post("/platform/club/join/apply/info", { id: this.bizId }).then((res) => {
|
this.$axios.post("/platform/club/join/apply/info", {id: this.bizId}).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.formData = res.data
|
this.formData = res.data
|
||||||
this.isAgree = true
|
this.isAgree = true
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ layout("/layouts/platform.html"){
|
|||||||
#-->
|
#-->
|
||||||
|
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<!--标题-->
|
<!--标题-->
|
||||||
<snaker-start slot="header" label="注册协会" define_key="XHZC"></snaker-start>
|
<snaker-start slot="header" label="注册协会" define_key="XHZC"></snaker-start>
|
||||||
<!--步骤条-->
|
<!--步骤条-->
|
||||||
@@ -25,7 +25,7 @@ layout("/layouts/platform.html"){
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-row class="mt20" justify="end" type="flex">
|
<template slot="footer">
|
||||||
<el-button v-if="activeName === 1" type="primary" @click="activeName = 0">上一步</el-button>
|
<el-button v-if="activeName === 1" type="primary" @click="activeName = 0">上一步</el-button>
|
||||||
<el-button v-if="activeName === 2" type="primary" @click="activeName = 1">上一步</el-button>
|
<el-button v-if="activeName === 2" type="primary" @click="activeName = 1">上一步</el-button>
|
||||||
<el-button v-if="activeName === 0" type="primary" @click="nextStep">下一步</el-button>
|
<el-button v-if="activeName === 0" type="primary" @click="nextStep">下一步</el-button>
|
||||||
@@ -34,8 +34,8 @@ layout("/layouts/platform.html"){
|
|||||||
<el-button type="primary" plain @click="onSave">保存</el-button>
|
<el-button type="primary" plain @click="onSave">保存</el-button>
|
||||||
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
||||||
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
</el-card>
|
</custom-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script nonce="${cspNonce!}">
|
<script nonce="${cspNonce!}">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ layout("/layouts/platform.html"){
|
|||||||
#-->
|
#-->
|
||||||
|
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<h3 style="color: var(--color-primary)" slot="header">新建投稿</h3>
|
<h3 style="color: var(--color-primary)" slot="header">新建投稿</h3>
|
||||||
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="150px" label-suffix=":">
|
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="150px" label-suffix=":">
|
||||||
<el-form-item prop="origin" label="投稿来源">
|
<el-form-item prop="origin" label="投稿来源">
|
||||||
@@ -63,12 +63,12 @@ layout("/layouts/platform.html"){
|
|||||||
></file-upload>
|
></file-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row type="flex" justify="end">
|
<template slot="footer">
|
||||||
<el-button type="primary" plain @click="onSave">保存</el-button>
|
<el-button type="primary" plain @click="onSave">保存</el-button>
|
||||||
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
||||||
<el-button type="primary" @click="onSubmitAgain" v-else>提交</el-button>
|
<el-button type="primary" @click="onSubmitAgain" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
</el-card>
|
</custom-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script nonce="${cspNonce!}">
|
<script nonce="${cspNonce!}">
|
||||||
@@ -123,7 +123,7 @@ layout("/layouts/platform.html"){
|
|||||||
onSubmit() {
|
onSubmit() {
|
||||||
this.$refs.formRef.validate((valid) => {
|
this.$refs.formRef.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if(this.formData.clubId) {
|
if (this.formData.clubId) {
|
||||||
const club = this.permission?.clubs.find(o => o.id === this.formData.clubId)
|
const club = this.permission?.clubs.find(o => o.id === this.formData.clubId)
|
||||||
this.$set(this.formData, 'clubName', club.clubName)
|
this.$set(this.formData, 'clubName', club.clubName)
|
||||||
}
|
}
|
||||||
@@ -148,7 +148,7 @@ layout("/layouts/platform.html"){
|
|||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
type: "warning"
|
type: "warning"
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
if(this.formData.clubId) {
|
if (this.formData.clubId) {
|
||||||
const club = this.permission?.clubs.find(o => o.id === this.formData.clubId)
|
const club = this.permission?.clubs.find(o => o.id === this.formData.clubId)
|
||||||
this.$set(this.formData, 'clubName', club.clubName)
|
this.$set(this.formData, 'clubName', club.clubName)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,24 +13,22 @@ layout("/layouts/platform.html"){
|
|||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
|
|
||||||
<guava ref="guava">
|
<guava ref="guava">
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<template #header>
|
<!-- <template #header>
|
||||||
<div>
|
<div>
|
||||||
<h3 style="color: #1867b0">新建考核指标</h3>
|
<h3 style="color: #1867b0">新建考核指标</h3>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="primary" @click="doAdd('save')">暂存</el-button>
|
<el-button type="primary" @click="doAdd('save')">暂存</el-button>
|
||||||
<el-button type="primary" @click="doAdd('submit')">提交</el-button>
|
<el-button type="primary" @click="doAdd('submit')">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
</template>-->
|
||||||
|
<kh-zb :form_data="formData" @change="v=>{this.formData=v}"></kh-zb>
|
||||||
|
<template slot="footer">
|
||||||
|
<el-button type="primary" @click="doAdd('save')">暂存</el-button>
|
||||||
|
<el-button type="primary" @click="doAdd('submit')">提交</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template>
|
</custom-card>
|
||||||
<kh-zb :form_data="formData" @change="v=>{this.formData=v}"></kh-zb>
|
|
||||||
<el-row type="flex" justify="end">
|
|
||||||
<el-button type="primary" @click="doAdd('save')">暂存</el-button>
|
|
||||||
<el-button type="primary" @click="doAdd('submit')">提交</el-button>
|
|
||||||
</el-row>
|
|
||||||
</template>
|
|
||||||
</el-card>
|
|
||||||
</guava>
|
</guava>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -58,7 +56,7 @@ layout("/layouts/platform.html"){
|
|||||||
this.$message({message: "考核名称不能为空", type: 'error'})
|
this.$message({message: "考核名称不能为空", type: 'error'})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(type === 'submit') {
|
if (type === 'submit') {
|
||||||
this.formData.nrs.forEach(nr => {
|
this.formData.nrs.forEach(nr => {
|
||||||
nr.bzs.forEach(bz => {
|
nr.bzs.forEach(bz => {
|
||||||
if (!nr.content) {
|
if (!nr.content) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ layout("/layouts/platform.html"){
|
|||||||
#-->
|
#-->
|
||||||
|
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<el-card shadow="never">
|
<custom-card>
|
||||||
<snaker-start slot="header" label="职工慰问" define_key="ZGWW"></snaker-start>
|
<snaker-start slot="header" label="职工慰问" define_key="ZGWW"></snaker-start>
|
||||||
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="0" label-suffix=":"
|
<el-form :model="formData" ref="formRef" :rules="formRules" label-width="0" label-suffix=":"
|
||||||
class="flow-task-form">
|
class="flow-task-form">
|
||||||
@@ -192,12 +192,12 @@ layout("/layouts/platform.html"){
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row type="flex" justify="end" class="mt20">
|
<template slot="footer">
|
||||||
<el-button type="primary" plain @click="onSave">保存</el-button>
|
<el-button type="primary" plain @click="onSave">保存</el-button>
|
||||||
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
<el-button type="primary" @click="onSubmit" v-if="!taskId">提交</el-button>
|
||||||
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
<el-button type="primary" @click="onFinishTask" v-else>提交</el-button>
|
||||||
</el-row>
|
</template>
|
||||||
</el-card>
|
</custom-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script nonce="${cspNonce!}">
|
<script nonce="${cspNonce!}">
|
||||||
@@ -224,7 +224,7 @@ layout("/layouts/platform.html"){
|
|||||||
deadImmediateFamily: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
deadImmediateFamily: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
||||||
remark: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
remark: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
||||||
files: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
files: [{required: true, message: "必填", trigger: ["change", "blur"]}],
|
||||||
signature: [{ required: true, message: "必填", trigger: ["change", "blur"] }]
|
signature: [{required: true, message: "必填", trigger: ["change", "blur"]}]
|
||||||
},
|
},
|
||||||
chooseType: {},
|
chooseType: {},
|
||||||
payUserOptions: [],
|
payUserOptions: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user