commit
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
// 新建协会申请时使用的“协会介绍及宗旨”默认内容。
|
||||
const CLUB_DEFAULT_INTRODUCE = '<p>扬州工业职业技术学院教职工<u> </u>社团是学校教职工根据共同的兴趣、爱好,以自愿参加、自愿组织、自我管理为原则成立的,具有固定章程的非盈利性校内群众性团体。</p>' +
|
||||
'<p>社团必须坚持以习近平新时代中国特色社会主义思想为指导,坚持正确的政治方向,遵循社会主义核心价值观,不断增强政治性、先进性、群众性。严格遵守国家法律法规和学校各项规章制度。</p>' +
|
||||
'<p>社团以建设文明校园、繁荣校园文化为宗旨,团结和引导广大教职工积极开展各种健康的文化、体育活动,丰富教职工业余生活,促进广大教职工思想道德素质、文化艺术素质和身体素质的协调发展。</p>' +
|
||||
'<p>校工会负责社团的审批和管理,社团接受校工会的指导、管理和监督。</p>'
|
||||
|
||||
const CLUB_FORM_TEMPLATE = {
|
||||
template: `
|
||||
<div>
|
||||
@@ -90,26 +96,32 @@ const CLUB_FORM_TEMPLATE = {
|
||||
<el-row :gutter="30">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请成立报告" prop="establishReport">
|
||||
<file-upload
|
||||
:value.sync="formData.establishReport"
|
||||
:upload_number="5"
|
||||
upload_result_category="array"
|
||||
complete_result
|
||||
upload_mode="file"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||
></file-upload>
|
||||
<div style="position: relative">
|
||||
<file-upload
|
||||
:value.sync="formData.establishReport"
|
||||
:upload_number="5"
|
||||
upload_result_category="array"
|
||||
complete_result
|
||||
upload_mode="file"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||
></file-upload>
|
||||
<el-button type="primary" plain size="small" style="position: absolute; left: 115px; top: 5px" @click="downloadApplyTemplate">下载模板</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="章程草案" prop="rulesFile">
|
||||
<file-upload
|
||||
:value.sync="formData.rulesFile"
|
||||
:upload_number="5"
|
||||
upload_result_category="array"
|
||||
complete_result
|
||||
upload_mode="file"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||
></file-upload>
|
||||
<div style="position: relative">
|
||||
<file-upload
|
||||
:value.sync="formData.rulesFile"
|
||||
:upload_number="5"
|
||||
upload_result_category="array"
|
||||
complete_result
|
||||
upload_mode="file"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf"
|
||||
></file-upload>
|
||||
<el-button type="primary" plain size="small" style="position: absolute; left: 115px; top: 5px" @click="downloadRulesTemplate">下载模板</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -156,14 +168,17 @@ const CLUB_FORM_TEMPLATE = {
|
||||
return {
|
||||
formData: {
|
||||
clubName: "",
|
||||
clubType: ""
|
||||
clubType: "",
|
||||
introduce: CLUB_DEFAULT_INTRODUCE
|
||||
},
|
||||
formRules: {
|
||||
clubName: [{ required: true, message: "请填写协会名称", trigger: ["blur", "change"] }],
|
||||
clubCode: [{ required: false, message: "请填写协会编码", trigger: ["blur", "change"] }],
|
||||
clubType: [{ required: true, message: "请选择协会类型", trigger: ["blur", "change"] }],
|
||||
concatPerson: [{ required: true, message: "请选择协会联系人", trigger: ["blur", "change"] }],
|
||||
foundTime: [{ required: true, message: "请选择成立时间", trigger: ["blur", "change"] }]
|
||||
foundTime: [{ required: true, message: "请选择成立时间", trigger: ["blur", "change"] }],
|
||||
establishReport: [{ required: true, message: "请上传申请成立报告", trigger: ["blur", "change"] }],
|
||||
rulesFile: [{ required: true, message: "请上传章程草案", trigger: ["blur", "change"] }]
|
||||
// establishReport: [{ required: true, message: "请上传申请成立报告", trigger: ["blur", "change"] }]
|
||||
//rulesFile: [{ required: true, message: "请上传章程草案", trigger: ["blur", "change"] }],
|
||||
//manageFile: [{ required: true, message: "请上传经费来源及管理办法", trigger: ["blur", "change"] }],
|
||||
@@ -173,6 +188,14 @@ const CLUB_FORM_TEMPLATE = {
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
// 下载已上传的协会申请成立报告模板。
|
||||
downloadApplyTemplate() {
|
||||
window.open("/platform/club/register/clubRegisterApply/downloadTemplate")
|
||||
},
|
||||
// 下载已上传的协会章程草案模板。
|
||||
downloadRulesTemplate() {
|
||||
window.open("/platform/club/register/clubRegisterApply/downloadRulesTemplate")
|
||||
},
|
||||
/*concatPersonChange(id) {
|
||||
const user = this.$refs.userSelectRef.options.find((user) => user.id === id)
|
||||
this.$set(this.formData, "concatPersonUnitName", user.unitName)
|
||||
|
||||
@@ -64,7 +64,7 @@ layout("/layouts/platform.html"){
|
||||
nextStep() {
|
||||
let valid = true
|
||||
this.$refs.clubFormRef.$refs.form.validateField(
|
||||
["clubName", "establishReport", "rulesFile", "manageFile", "yearPlanFile"],
|
||||
["clubName", "establishReport", "rulesFile"],
|
||||
(errMsg) => {
|
||||
if (!errMsg) {
|
||||
valid = false
|
||||
|
||||
@@ -20,7 +20,6 @@ const basicForm = {
|
||||
<el-form-item label="慰问方式" prop="way">
|
||||
<el-radio-group v-model="formData.way">
|
||||
<el-radio-button label="慰问金 (A)" border>慰问金 (A)</el-radio-button>
|
||||
<el-radio-button label="提货券 (B)" border>提货券 (B)</el-radio-button>
|
||||
<el-radio-button label="慰问品 (C)" border>慰问品 (C)</el-radio-button>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
|
||||
@@ -86,6 +86,7 @@ layout("/layouts/platform.html"){
|
||||
{prop: 'money', label: '金额'},
|
||||
{prop: 'way', label: '慰问方式'},
|
||||
{prop: 'isUploadFile', label: '是否上传附件'},
|
||||
{prop: 'uploadFileDesc', label: '附件说明'},
|
||||
{prop: 'enable', label: '是否启用'},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -367,7 +367,7 @@ layout("/layouts/platform_h5.html"){
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
|
||||
<van-cell v-if="false"-group title="签字" class="form-section">
|
||||
<van-cell-group v-if="false" title="签字" class="form-section">
|
||||
<van-field v-if="false" class="direction-column-field" name="signature" label="">
|
||||
<template #input>
|
||||
<h5-signature v-if="false" v-model="formData.signature" slot="input"></h5-signature>
|
||||
@@ -562,10 +562,11 @@ layout("/layouts/platform_h5.html"){
|
||||
},
|
||||
async onSubmit() {
|
||||
this.$refs.formRef.validate().then(() => {
|
||||
if (!this.formData.signature){
|
||||
this.$toast.fail("请填写签字")
|
||||
return
|
||||
}
|
||||
// 签字功能当前已停用,暂不校验签字信息。
|
||||
// if (!this.formData.signature){
|
||||
// this.$toast.fail("请填写签字")
|
||||
// return
|
||||
// }
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交申请吗?"
|
||||
@@ -584,10 +585,11 @@ layout("/layouts/platform_h5.html"){
|
||||
},
|
||||
async onFinishTask() {
|
||||
this.$refs.formRef.validate().then(() => {
|
||||
if (!this.formData.signature){
|
||||
this.$toast.fail("请填写签字")
|
||||
return
|
||||
}
|
||||
// 签字功能当前已停用,暂不校验签字信息。
|
||||
// if (!this.formData.signature){
|
||||
// this.$toast.fail("请填写签字")
|
||||
// return
|
||||
// }
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交申请吗?"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ layout("/layouts/platform_h5.html"){
|
||||
</style>
|
||||
|
||||
<div id="app">
|
||||
<van-nav-bar title="校工会会计审核" left-text="返回" left-arrow @click-left="historyBack" fixed placeholder></van-nav-bar>
|
||||
<van-nav-bar title="校工会财务审核" left-text="返回" left-arrow @click-left="historyBack" fixed placeholder></van-nav-bar>
|
||||
|
||||
<van-sticky offset-top="46px">
|
||||
<van-search
|
||||
|
||||
+11
-9
@@ -229,7 +229,7 @@ layout("/layouts/platform_h5.html"){
|
||||
</van-field>
|
||||
</van-cell-group>
|
||||
|
||||
<van-cell v-if="false"-group title="签字" class="form-section">
|
||||
<van-cell-group v-if="false" title="签字" class="form-section">
|
||||
<van-field v-if="false" class="more-text" name="sign" label="">
|
||||
<template #input>
|
||||
<h5-signature v-if="false" v-model="formData.sign" slot="input"></h5-signature>
|
||||
@@ -348,10 +348,11 @@ layout("/layouts/platform_h5.html"){
|
||||
// 提交
|
||||
onSubmit() {
|
||||
this.$refs.formRef.validate().then(() => {
|
||||
if (!this.formData.sign){
|
||||
this.$toast.fail("请填写签字")
|
||||
return
|
||||
}
|
||||
// 签字功能当前已停用,暂不校验签字信息。
|
||||
// if (!this.formData.sign){
|
||||
// this.$toast.fail("请填写签字")
|
||||
// return
|
||||
// }
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交吗?"
|
||||
@@ -381,10 +382,11 @@ layout("/layouts/platform_h5.html"){
|
||||
|
||||
onFinishTask() {
|
||||
this.$refs.formRef.validate().then(() => {
|
||||
if (!this.formData.sign){
|
||||
this.$toast.fail("请填写签字")
|
||||
return
|
||||
}
|
||||
// 签字功能当前已停用,暂不校验签字信息。
|
||||
// if (!this.formData.sign){
|
||||
// this.$toast.fail("请填写签字")
|
||||
// return
|
||||
// }
|
||||
this.$dialog.confirm({
|
||||
title: "提示",
|
||||
message: "您确定要提交吗?"
|
||||
|
||||
Reference in New Issue
Block a user