Commit f1b287bf authored by 赵啸非's avatar 赵啸非

添加附件显示

parent 78d9a1a2
......@@ -95,7 +95,7 @@ export default {
},
data() {
return {
uploadFileUrl: "/m/file/commonupload", // 上传的地址
uploadFileUrl: "/study/file/commonupload", // 上传的地址
headers:{},
fileList: [],
};
......@@ -212,4 +212,4 @@ export default {
.ele-upload-list__item-content-action .el-link {
margin-right: 5px;
}
</style>
\ No newline at end of file
</style>
......@@ -133,7 +133,7 @@
<Field :span="22" label="是否置顶" prop="top" v-model="form.top" type="radio" :enumData="dict.top" placeholder="请选择是否置顶"/>
<Field :span="22" label="已读要求" prop="readRequest" v-model="form.readRequest" type="radio" :enumData="dict.readRequest" placeholder="请选择已读要求"/>
<Field :span="22" label="公告内容"><editor v-model="form.noticeContent" :min-height="512"/></Field>
<Field :span="22" label="公告文件路径"><fileUpload v-model="form.filePath" prePath="/file/uploadfile"/></Field>
<Field :span="22" label="公告文件路径"><fileUpload v-model="form.filePath" prePath="/file/fileupload"/></Field>
</el-row>
......
......@@ -133,7 +133,7 @@
<editor v-model="form.studyContent" :min-height="256"/>
</Field>
<Field :span="22" label="项目附件">
<fileUpload v-model="form.filePath" prePath="/file/uploadfile"/>
<fileUpload v-model="form.filePath" prePath="/file/fileupload"/>
</Field>
</el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment