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