Merge pull request 'feat : 需求上报加上保存按钮' (#923) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/923
This commit is contained in:
@@ -27,7 +27,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" style="margin-left: 10px">
|
<el-col :span="24" style="margin-left: 10px">
|
||||||
<el-form-item label="文章内容" prop="articleContent">
|
<el-form-item label="文章内容" prop="articleContent">
|
||||||
<Tinymce v-model:value="formData.articleContent" imageUrl="/workflow/process/file/upload" :height="500" v-if="showTinymce" :toolbar="['undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image axupimgs']" />
|
<!-- axupimgs-->
|
||||||
|
<Tinymce v-model:value="formData.articleContent" imageUrl="/workflow/process/file/upload" :height="500" v-if="showTinymce" :toolbar="['undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image ']" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
|
|||||||
@@ -326,7 +326,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="oper-page-btn">
|
<div class="oper-page-btn">
|
||||||
<!-- <el-button type="info" @click="staging">存为草稿</el-button>-->
|
<el-button color="#DED0B2" @click="staging">保存</el-button>
|
||||||
<el-button color="#DED0B2" v-if="name==='Summary/add'" @click="handleSubmit(summaryForm)">发布</el-button>
|
<el-button color="#DED0B2" v-if="name==='Summary/add'" @click="handleSubmit(summaryForm)">发布</el-button>
|
||||||
<el-button color="#DED0B2" v-else @click="handleResubmit(summaryForm)">重新发布</el-button>
|
<el-button color="#DED0B2" v-else @click="handleResubmit(summaryForm)">重新发布</el-button>
|
||||||
<el-button @click="handleBack">返回</el-button>
|
<el-button @click="handleBack">返回</el-button>
|
||||||
@@ -741,6 +741,11 @@ onMounted(async () => {
|
|||||||
await init()
|
await init()
|
||||||
})
|
})
|
||||||
const staging = async () => {
|
const staging = async () => {
|
||||||
|
ElNotification({
|
||||||
|
title: '提示',
|
||||||
|
message: '保存成功!',
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user