Commit 9aca38b8 by Lyan

后台页面修改

parent 5eb1a9c0
......@@ -215,8 +215,8 @@
'status': this.dataForm.status,
'levels': this.dataForm.levels,
'classnum': this.dataForm.classnum,
'inputDataStart': this.releaseDate[0] === undefined ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate[1] === undefined ? '' : this.releaseDate[1]
'inputDataStart': this.releaseDate === null ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate === null ? '' : this.releaseDate[1]
})
}).then(({data}) => {
......
......@@ -120,7 +120,7 @@
data () {
return {
loading: false,
showInfo: this.$route.query.showInfo || true,
showInfo: this.$route.query.showInfo,
defaultProps: {
children: 'children',
label: 'label'
......
......@@ -225,10 +225,10 @@
'editor': this.dataForm.editor,
'keyword': this.dataForm.keyword,
'status': this.dataForm.status,
'releaseTimeStart': this.releaseDate[0] === undefined ? '' : this.releaseDate[0],
'releaseTimeEnd': this.releaseDate[1] === undefined ? '' : this.releaseDate[1],
'updateTimeStart': this.updateDate[0] === undefined ? '' : this.updateDate[0],
'updateTimeEnd': this.updateDate[1] === undefined ? '' : this.updateDate[1],
'releaseTimeStart': this.releaseDate === null ? '' : this.releaseDate[0],
'releaseTimeEnd': this.releaseDate === null ? '' : this.releaseDate[1],
'updateTimeStart': this.updateDate === null ? '' : this.updateDate[0],
'updateTimeEnd': this.updateDate === null ? '' : this.updateDate[1],
'auditor': this.dataForm.auditor
})
}).then(({data}) => {
......
......@@ -263,10 +263,10 @@
'keyword': this.dataForm.keyword,
'status': this.dataForm.status,
'clanguage': this.dataForm.clanguage,
'releaseTimeStart': this.releaseDate[0] === undefined ? '' : this.releaseDate[0],
'releaseTimeEnd': this.releaseDate[1] === undefined ? '' : this.releaseDate[1],
'updateTimeStart': this.updateDate[0] === undefined ? '' : this.updateDate[0],
'updateTimeEnd': this.updateDate[1] === undefined ? '' : this.updateDate[1],
'releaseTimeStart': this.releaseDate === null ? '' : this.releaseDate[0],
'releaseTimeEnd': this.releaseDate === null ? '' : this.releaseDate[1],
'updateTimeStart': this.updateDate === null ? '' : this.updateDate[0],
'updateTimeEnd': this.updateDate === null ? '' : this.updateDate[1],
'auditor': this.dataForm.auditor
})
}).then(({data}) => {
......
......@@ -191,8 +191,8 @@
'title': this.dataForm.title,
'status': this.dataForm.status,
'levels': this.dataForm.levels,
'inputDataStart': this.releaseDate[0] === undefined ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate[1] === undefined ? '' : this.releaseDate[1]
'inputDataStart': this.releaseDate === null ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate === null ? '' : this.releaseDate[1]
})
}).then(({data}) => {
if (data && data.code === 0) {
......
......@@ -178,8 +178,8 @@
'keyword': this.dataForm.keyword,
'status': this.dataForm.status,
'pictureType': this.dataForm.pictureType,
'inputDataStart': this.releaseDate[0] === undefined ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate[1] === undefined ? '' : this.releaseDate[1]
'inputDataStart': this.releaseDate === null ? '' : this.releaseDate[0],
'inputDataEnd': this.releaseDate === null ? '' : this.releaseDate[1]
})
}).then(({data}) => {
if (data && data.code === 0) {
......
......@@ -35,16 +35,16 @@
// 工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
toolbars: [[
'fullscreen', 'source', '|', 'undo', 'redo', '|',
'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|'
// 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
// 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
// 'directionalityltr', 'directionalityrtl', 'indent', '|',
// 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
// 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
// 'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
// 'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
// 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
// 'print', 'preview', 'searchreplace', 'drafts', 'help'
'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
'directionalityltr', 'directionalityrtl', 'indent', '|',
'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
'print', 'preview', 'searchreplace', 'drafts', 'help'
]],
// 当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
//, labelMap:{
......
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