Commit a5dc3fc2 by 前端

上传

1 parent 00387bc6
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<el-form-item label="活动介绍:" prop="activityEvent"> <el-form-item label="活动介绍:" prop="activityEvent">
<el-input type="textarea" v-model="recordForm.activityEvent" maxlength="500" :disabled="routeInfo.addOrEdit == 2"></el-input> <el-input type="textarea" v-model="recordForm.activityEvent" maxlength="500"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
} }
}) })
if (!this.recordForm.videoUrl && !this.recordForm.imageUrlArr.length) { if (!this.recordForm.videoUrl && !this.recordForm.imageUrlArr.length) {
this.$message.error('请至少填写活动视频或者活动图片其中一项') this.$message.error('请至少上传活动视频或者活动图片其中一项')
return return
} }
let params = JSON.parse(JSON.stringify(this.recordForm)) let params = JSON.parse(JSON.stringify(this.recordForm))
...@@ -405,8 +405,8 @@ export default { ...@@ -405,8 +405,8 @@ export default {
input { input {
position: absolute; position: absolute;
top: 0; // top: 0;
left: 0; // left: 0;
width: 104px; width: 104px;
height: 104px; height: 104px;
} }
......
<template> <template>
<div class="role-home-page"> <div class="role-home-page">
<div class="add-btn"> <div class="add-btn">
<GLButton :size="size" fn="新建活动记录" type="primary" @click="toCreatePage(1)" mode="el-button">新增活动记录</GLButton> <!-- <GLButton :size="size" fn="新建活动记录" type="primary" @click="toCreatePage(1)" mode="el-button">新增活动记录</GLButton> -->
<!-- <el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage(1)">新增活动记录</el-button> --> <el-button size="small" icon="el-icon-plus" type="primary" @click="toCreatePage(1)">新增活动记录</el-button>
</div> </div>
<div class="table_widget"> <div class="table_widget">
<div> <div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!