Commit 3352547b by 田爽

应用案例保存参数

parent a90cfb66
...@@ -16,25 +16,25 @@ ...@@ -16,25 +16,25 @@
<el-input <el-input
v-model="dataForm.title" v-model="dataForm.title"
placeholder="请输入标题" placeholder="请输入标题"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="作者" prop="author"> <el-form-item label="作者" prop="author">
<el-input <el-input
v-model="dataForm.author" v-model="dataForm.author"
placeholder="请输入作者" placeholder="请输入作者"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="跳转地址" prop="directpath"> <el-form-item label="跳转地址" prop="directpath">
<el-input <el-input
v-model="dataForm.directpath" v-model="dataForm.directpath"
placeholder="请输入跳转地址" placeholder="请输入跳转地址"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="级别:" prop="levels"> <el-form-item label="级别:" prop="levels">
<el-select <el-select
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
> >
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="显示时间:" prop="showTime"> <el-form-item label="显示时间:" prop="showTime">
<el-date-picker <el-date-picker
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
placeholder="请选择显示时间" placeholder="请选择显示时间"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="内容" prop="content"> <el-form-item label="内容" prop="content">
<Ueditor <Ueditor
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
ref="ue" ref="ue"
></Ueditor> ></Ueditor>
<!-- <el-input v-model="dataForm.content" placeholder="请输入内容"></el-input> --> <!-- <el-input v-model="dataForm.content" placeholder="请输入内容"></el-input> -->
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer" v-show="!showInfo"> <span slot="footer" class="dialog-footer" v-show="!showInfo">
...@@ -176,7 +176,8 @@ export default { ...@@ -176,7 +176,8 @@ export default {
showTime: this.dataForm.showTime, showTime: this.dataForm.showTime,
directpath: this.dataForm.directpath, directpath: this.dataForm.directpath,
// pic: this.dataForm.pic, // pic: this.dataForm.pic,
content: this.dataForm.content content: this.dataForm.content,
status: 0
}) })
}).then(({ data }) => { }).then(({ data }) => {
this.loading = false this.loading = false
...@@ -275,4 +276,4 @@ export default { ...@@ -275,4 +276,4 @@ export default {
.edui-editor{ .edui-editor{
width: 100%; width: 100%;
} */ } */
</style> </style>
\ No newline at end of file
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