Commit a5dc3fc2 by 前端

上传

1 parent 00387bc6
......@@ -32,7 +32,7 @@
</div>
</div>
<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>
</div>
</div>
......@@ -311,7 +311,7 @@ export default {
}
})
if (!this.recordForm.videoUrl && !this.recordForm.imageUrlArr.length) {
this.$message.error('请至少填写活动视频或者活动图片其中一项')
this.$message.error('请至少上传活动视频或者活动图片其中一项')
return
}
let params = JSON.parse(JSON.stringify(this.recordForm))
......@@ -405,8 +405,8 @@ export default {
input {
position: absolute;
top: 0;
left: 0;
// top: 0;
// left: 0;
width: 104px;
height: 104px;
}
......
<template>
<div class="role-home-page">
<div class="add-btn">
<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> -->
<!-- <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>
</div>
<div class="table_widget">
<div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!