Browse Source

爱心互助

master
jiangyy 3 years ago
parent
commit
097cf72e05
  1. 53
      src/views/modules/communityParty/heart/heartForm.vue

53
src/views/modules/communityParty/heart/heartForm.vue

@ -132,7 +132,7 @@
prop="auditSwitch" prop="auditSwitch"
label-width="150px" label-width="150px"
style="display: block"> style="display: block">
<el-checkbox v-model="formData.noauditSwitch"></el-checkbox> <el-checkbox v-model="noauditSwitch"></el-checkbox>
<span class="div-tooltip">选中后报名参加活动人员可以直接审核通过</span> <span class="div-tooltip">选中后报名参加活动人员可以直接审核通过</span>
</el-form-item> </el-form-item>
@ -397,6 +397,7 @@ export default {
valActTime: valActTime, valActTime: valActTime,
valSigninTime: valSigninTime, valSigninTime: valSigninTime,
noauditSwitch: false,
formData: { formData: {
actAddress: "", actAddress: "",
actContentHtml: "", actContentHtml: "",
@ -409,7 +410,7 @@ export default {
actQuota: undefined, actQuota: undefined,
actStartTime: "", actStartTime: "",
actType: "heart", actType: "heart",
noauditSwitch: false,
auditSwitch: true, auditSwitch: true,
coverPic: "", coverPic: "",
coverPicAuditStatus: "", coverPicAuditStatus: "",
@ -437,44 +438,6 @@ export default {
volunteerLimit: false, volunteerLimit: false,
}, },
formDataTemp: {
actAddress: "山东省青岛市市北区安达路",
actContent: {},
actContentHtml: "",
actDraftId: "",
actEndTime: "2022-07-20 00:00",
actId: "",
actLatitude: 36.102321679746424,
actLongitude: 120.37441423359928,
actQuota: 50,
actStartTime: "2022-07-15 00:00",
actType: "heart",
noauditSwitch: false,
auditSwitch: true,
coverPic: "",
coverPicAuditStatus: "",
customerId: "",
noticePassedPeople: false,
requirement: "报名条件报名条件报名条件",
reward: 100,
signInAddress: "山东省青岛市市南区南京路79号丁",
signInEndTime: "2022-07-14 11:00",
signInLatitude: 36.07208450171733,
signInLongitude: 120.38920734352655,
signInRadius: 100,
signInStartTime: "2022-07-14 10:00",
signUpEndTime: "2022-07-13 00:00",
sponsorContacts: "王二麻",
sponsorPath: "7b6f9a9f9f38d5f9fa7ce94a93d6eb28,63d5ff92ea981b1c58e4914ac894c610",
sponsorId: "7b6f9a9f9f38d5f9fa7ce94a93d6eb28",
sponsorName: "市北区",
sponsorTel: "1511111111",
sponsorType: "agency",
target: "",
title: "31231",
volunteerLimit: true,
},
orgOptions: [], orgOptions: [],
orgOptionProps: { orgOptionProps: {
@ -608,7 +571,9 @@ export default {
this.formData.summaryContentHtml = this.formData.summaryContent[0].content this.formData.summaryContentHtml = this.formData.summaryContent[0].content
} }
} }
this.formData.noauditSwitch = !this.formData.auditSwitch
this.noauditSwitch = !this.formData.auditSwitch
if (this.formData.coverPic) { if (this.formData.coverPic) {
@ -682,7 +647,8 @@ export default {
this.formData.customerId = this.customerId this.formData.customerId = this.customerId
this.formData.noticePassedPeople = false this.formData.noticePassedPeople = false
this.formData.auditSwitch = !this.formData.noauditSwitch
this.formData.auditSwitch = !this.noauditSwitch
let url = "/heart/work/act/publishV2" let url = "/heart/work/act/publishV2"
if (this.actId) { if (this.actId) {
@ -925,6 +891,7 @@ export default {
this.replayImgList = [] this.replayImgList = []
this.agencyIdArray = [] this.agencyIdArray = []
this.hideUploadBtn = false this.hideUploadBtn = false
this.noauditSwitch = false
this.formData = { this.formData = {
actAddress: "", actAddress: "",
actContentHtml: "", actContentHtml: "",
@ -937,7 +904,7 @@ export default {
actQuota: undefined, actQuota: undefined,
actStartTime: "", actStartTime: "",
actType: "heart", actType: "heart",
noauditSwitch: false,
auditSwitch: true, auditSwitch: true,
coverPic: "", coverPic: "",
coverPicAuditStatus: "", coverPicAuditStatus: "",

Loading…
Cancel
Save