|
@@ -1,37 +1,37 @@
|
|
|
-<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
|
|
|
|
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
|
|
-<%@ taglib uri="/WEB-INF/SpaceCoreApp.tld" prefix="app"%>
|
|
|
|
|
-<% pageContext.setAttribute(space.core.apps.common.ConstVars.MODULE_DM_KEY, "website"); %>
|
|
|
|
|
-<!DOCTYPE html >
|
|
|
|
|
|
|
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
|
|
|
|
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
|
|
+<%@ taglib uri="/WEB-INF/SpaceCoreApp.tld" prefix="app"%>
|
|
|
|
|
+<% pageContext.setAttribute(space.core.apps.common.ConstVars.MODULE_DM_KEY, "website"); %>
|
|
|
|
|
+<!DOCTYPE html >
|
|
|
<html>
|
|
<html>
|
|
|
|
|
|
|
|
- <head> <!-- HEAD -->
|
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/css/reset.css">
|
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/element-ui@2.13.0/index.css">
|
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/layui/dist/css/layui.css">
|
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/apps/space/css/SpaceIcon/iconfont.css">
|
|
|
|
|
- <link rel="stylesheet" type="text/css" href="/css/components.css">
|
|
|
|
|
- <link rel="stylesheet" href="/css/ckeditor.css">
|
|
|
|
|
- <link rel="stylesheet" href="/apps/space/css/space.editor.css?v=20260628-pdf-inline">
|
|
|
|
|
- <script>var space = { vars: {} };</script>
|
|
|
|
|
- <script src="/js/jquery1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <script src="/apps/space/plug-in/element-resize-detector/element-resize-detector.min.js"></script>
|
|
|
|
|
- <script src="/apps/space/plug-in/vue/vue.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <script src="/apps/space/plug-in/element-ui@2.13.0/index.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <script src="/js/space.vue.pc.subassembly.js?v=20260628-pdf-inline"></script>
|
|
|
|
|
- <script src="/apps/space/plug-in/layui/dist/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <script src="/js/space.recycle.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <script src="/js/space.display.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
- <title>文章修改</title>
|
|
|
|
|
|
|
+ <head> <!-- HEAD -->
|
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/css/reset.css">
|
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/element-ui@2.13.0/index.css">
|
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/layui/dist/css/layui.css">
|
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/apps/space/css/SpaceIcon/iconfont.css">
|
|
|
|
|
+ <link rel="stylesheet" type="text/css" href="/css/components.css">
|
|
|
|
|
+ <link rel="stylesheet" href="/css/ckeditor.css">
|
|
|
|
|
+ <link rel="stylesheet" href="/apps/space/css/space.editor.css?v=20260710-article-layout2">
|
|
|
|
|
+ <script>var space = { vars: {} };</script>
|
|
|
|
|
+ <script src="/js/jquery1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <script src="/apps/space/plug-in/element-resize-detector/element-resize-detector.min.js"></script>
|
|
|
|
|
+ <script src="/apps/space/plug-in/vue/vue.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <script src="/apps/space/plug-in/element-ui@2.13.0/index.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <script src="/js/space.vue.pc.subassembly.js?v=20260710-article-layout2"></script>
|
|
|
|
|
+ <script src="/apps/space/plug-in/layui/dist/layui.all.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <script src="/js/space.recycle.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <script src="/js/space.display.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
+ <title>文章修改</title>
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
|
<div v-cloak id="space-content">
|
|
<div v-cloak id="space-content">
|
|
|
- <div class="space-form-infor">
|
|
|
|
|
- <el-form action='<app:token name='website.article_modify_submit' page='toTips' params='{articleid:"${articleid}"}' />' method="post" :model="obj" :rules="appRules" ref="obj" label-width="100px">
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
|
|
+ <div class="space-form-infor space-form-article">
|
|
|
|
|
+ <el-form action='<app:token name='website.article_modify_submit' page='toTips' params='{articleid:"${articleid}"}' />' method="post" :model="obj" :rules="appRules" ref="obj" label-width="80px">
|
|
|
|
|
+ <el-row :gutter="12">
|
|
|
|
|
|
|
|
- <el-col :span="18">
|
|
|
|
|
|
|
+ <el-col :span="20">
|
|
|
<el-form-item label="标题" prop="title" >
|
|
<el-form-item label="标题" prop="title" >
|
|
|
<el-input clearable v-model="obj.title" placeholder="请录入文章标题"></el-input>
|
|
<el-input clearable v-model="obj.title" placeholder="请录入文章标题"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -39,17 +39,17 @@
|
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item label="栏目" prop="navigationid">
|
|
<el-form-item label="栏目" prop="navigationid">
|
|
|
- <el-cascader v-model="obj.navigationid"
|
|
|
|
|
- :props="{ label: 'name', value: 'navigationid', emitPath: false }"
|
|
|
|
|
- :options="navigationIssueOptions" placeholder="请选择发布栏目" clearable
|
|
|
|
|
- @change="navigationChange" style="width: 100%;"></el-cascader>
|
|
|
|
|
|
|
+ <el-cascader v-model="obj.navigationid"
|
|
|
|
|
+ :props="{ label: 'name', value: 'navigationid', emitPath: false }"
|
|
|
|
|
+ :options="navigationIssueOptions" placeholder="请选择发布栏目" clearable
|
|
|
|
|
+ @change="navigationChange" style="width: 100%;"></el-cascader>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
<el-form-item label="抄送" prop="navIdList">
|
|
<el-form-item label="抄送" prop="navIdList">
|
|
|
- <el-cascader v-model="obj.navIdList" collapse-tags
|
|
|
|
|
- :props="{ label: 'name', value: 'navigationid', emitPath: false, multiple: true }"
|
|
|
|
|
- :options="navigationCopyOptions" placeholder="请选择抄送栏目" clearable style="width: 100%;"></el-cascader>
|
|
|
|
|
|
|
+ <el-cascader v-model="obj.navIdList" collapse-tags
|
|
|
|
|
+ :props="{ label: 'name', value: 'navigationid', emitPath: false, multiple: true }"
|
|
|
|
|
+ :options="navigationCopyOptions" placeholder="请选择抄送栏目" clearable style="width: 100%;"></el-cascader>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -59,13 +59,13 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="正文" prop="body" class="ueditor" style="margin-bottom: 0;">
|
|
<el-form-item label="正文" prop="body" class="ueditor" style="margin-bottom: 0;">
|
|
|
- <space-editor v-model="obj.body" :height="editorHeight" placeholder="请输入正文内容" ref="editor"
|
|
|
|
|
- articlepreview="true" :previewdata="obj" previewurl="<app:token name='website.article_preview' />"></space-editor>
|
|
|
|
|
|
|
+ <space-editor v-model="obj.body" :height="editorHeight" placeholder="请输入正文内容" ref="editor"
|
|
|
|
|
+ articlepreview="true" :previewdata="obj" previewurl="<app:token name='website.article_preview' />"></space-editor>
|
|
|
<pre id="body_content" style="display: none;">${editBody}</pre>
|
|
<pre id="body_content" style="display: none;">${editBody}</pre>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
- <el-col :span="6" class="article-right">
|
|
|
|
|
|
|
+ <el-col :span="4" class="article-right">
|
|
|
<el-form-item label="来源" prop="source" >
|
|
<el-form-item label="来源" prop="source" >
|
|
|
<el-input clearable v-model="obj.source"></el-input>
|
|
<el-input clearable v-model="obj.source"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -164,16 +164,16 @@
|
|
|
}
|
|
}
|
|
|
callback();
|
|
callback();
|
|
|
};
|
|
};
|
|
|
- var checkReleaseTime = (rule, value, callback) => {
|
|
|
|
|
- if ('${isShowModifyReleaseTime}' == true) {
|
|
|
|
|
- if (!value) {
|
|
|
|
|
- return callback(new Error('发布时间不能为空'));
|
|
|
|
|
- }
|
|
|
|
|
- } else if (this.obj.timeSwitch === "yes" && !value) {
|
|
|
|
|
- return callback(new Error('发布时间不能为空'));
|
|
|
|
|
- }
|
|
|
|
|
- callback();
|
|
|
|
|
- };
|
|
|
|
|
|
|
+ var checkReleaseTime = (rule, value, callback) => {
|
|
|
|
|
+ if ('${isShowModifyReleaseTime}' == true) {
|
|
|
|
|
+ if (!value) {
|
|
|
|
|
+ return callback(new Error('发布时间不能为空'));
|
|
|
|
|
+ }
|
|
|
|
|
+ } else if (this.obj.timeSwitch === "yes" && !value) {
|
|
|
|
|
+ return callback(new Error('发布时间不能为空'));
|
|
|
|
|
+ }
|
|
|
|
|
+ callback();
|
|
|
|
|
+ };
|
|
|
var validateUrl = (rule, value, callback) => {
|
|
var validateUrl = (rule, value, callback) => {
|
|
|
if (this.obj.ajtcode == 10020) {
|
|
if (this.obj.ajtcode == 10020) {
|
|
|
|
|
|
|
@@ -337,9 +337,9 @@
|
|
|
})
|
|
})
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<script type="text/javascript">space.vars.pageTypeCode = "10003";</script>
|
|
|
|
|
-<script type="text/javascript">space.vars.pageHashCode = "EVxR6zc2XfLU9OJIK5ZIIg==";</script>
|
|
|
|
|
-<script type="text/javascript" >removeTokens("<app:token name='sys.removeToken' />", '<%= pageContext.getAttribute(space.core.apps.common.ConstVars.TOKEN_SESSION_LIST_KEY) %>')</script>
|
|
|
|
|
|
|
+<script type="text/javascript">space.vars.pageTypeCode = "10003";</script>
|
|
|
|
|
+<script type="text/javascript">space.vars.pageHashCode = "EVxR6zc2XfLU9OJIK5ZIIg==";</script>
|
|
|
|
|
+<script type="text/javascript" >removeTokens("<app:token name='sys.removeToken' />", '<%= pageContext.getAttribute(space.core.apps.common.ConstVars.TOKEN_SESSION_LIST_KEY) %>')</script>
|
|
|
</html>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|