Commit 9aca38b8 by Lyan

后台页面修改

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