bug
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd()">发起活动</el-button>
|
||||
<ai-select v-model="search.actionStatus" placeholder="请选择活动状态" :selectList="dict.getDict('activityStatus')"
|
||||
<ai-select v-model="search.actionStatus" placeholder="请选择活动状态" :selectList="dict.getDict('partyReportActionStatus')"
|
||||
@change="getListInit"></ai-select>
|
||||
<ai-select v-model="search.signupStatus" placeholder="请选择报名状态" :selectList="dict.getDict('partyReportSignupStatus')"
|
||||
@change="getListInit"></ai-select>
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
{slot: 'activeTime'},
|
||||
{prop: 'total', label: '报名人数', align: 'center', width: 120},
|
||||
{prop: 'signupStatus', label: '报名状态', align: 'center', dict: 'partyReportSignupStatus', width: 120},
|
||||
{prop: 'actionStatus', label: '活动状态', align: 'center', dict: 'activityStatus', width: 120},
|
||||
{prop: 'actionStatus', label: '活动状态', align: 'center', dict: 'partyReportActionStatus', width: 120},
|
||||
{slot: 'option'},
|
||||
],
|
||||
tableData: [],
|
||||
@@ -88,7 +88,7 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
created() {
|
||||
this.dict.load('activityStatus', 'partyReportSignupStatus').then(() => {
|
||||
this.dict.load('partyReportActionStatus', 'partyReportSignupStatus').then(() => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
|
||||
@@ -218,6 +218,7 @@
|
||||
:isShowTip="true"
|
||||
:instance="instance"
|
||||
v-model="form.fileList"
|
||||
fileType="file"
|
||||
acceptType=".zip,.rar,.doc,.docx,.xls,.ppt,.pptx,.pdf,.txt,.jpg,.png,.xlsx"
|
||||
:limit="9">
|
||||
<template slot="tips">
|
||||
@@ -592,6 +593,9 @@ export default {
|
||||
if(!this.isEdit) {
|
||||
this.form.partyOrgId = this.$route.query.partyOrgId
|
||||
}
|
||||
if (this.form.fileList.length > 0) {
|
||||
this.form.files = JSON.stringify(this.form.fileList)
|
||||
}
|
||||
this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success(this.isEdit ? "编辑成功" : "添加成功");
|
||||
|
||||
Reference in New Issue
Block a user