|
|
@@ -103,12 +103,13 @@
|
|
|
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
- </div>
|
|
|
- <div class="space-form-btn">
|
|
|
- <el-button type="primary" v-if="disable" icon="el-icon-circle-check" @click="space.forms.NSSubmit();">保存</el-button>
|
|
|
- <el-button type="danger" v-if="disable" icon="el-icon-warning-outline" onclick='@service{ name:`article_status_submit`, params:`{articleid: "${articleid}", dcode: "71"}`, page:`toTips`, type:`event`, refresh:`true` }@'>停用</el-button>
|
|
|
- <el-button type="success" v-if="enable" icon="el-icon-warning-outline" onclick='@service{ name:`article_status_submit`, params:`{articleid: "${articleid}", dcode: "61"}`, page:`toTips`, type:`event`, refresh:`true` }@'>启用</el-button>
|
|
|
- <el-button icon="el-icon-circle-close" onclick="space.allFunction.closeDialog();">关闭</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="space-form-btn">
|
|
|
+ <el-button type="success" v-if="submitChange" icon="el-icon-circle-check" @click="space.forms.NSSubmit();">提交</el-button>
|
|
|
+ <el-button type="primary" v-if="saveChange" icon="el-icon-circle-check" @click="space.forms.submit();">保存</el-button>
|
|
|
+ <el-button type="danger" v-if="disable" icon="el-icon-warning-outline" onclick='@service{ name:`article_status_submit`, params:`{articleid: "${articleid}", dcode: "71"}`, page:`toTips`, type:`event`, refresh:`true` }@'>停用</el-button>
|
|
|
+ <el-button type="success" v-if="enable" icon="el-icon-warning-outline" onclick='@service{ name:`article_status_submit`, params:`{articleid: "${articleid}", dcode: "61"}`, page:`toTips`, type:`event`, refresh:`true` }@'>启用</el-button>
|
|
|
+ <el-button icon="el-icon-circle-close" onclick="space.allFunction.closeDialog();">关闭</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</body>
|
|
|
@@ -226,10 +227,12 @@
|
|
|
editorHeight:'',
|
|
|
sticktopDesc: '文章的置顶到期时间,到期后系统会自动将该篇文章取消置顶',
|
|
|
releaseDesc: '文章审核通过后,系统将在设定的时间自动发布此文章',
|
|
|
- navigationIssueOptions: undefined,
|
|
|
- navigationCopyOptions: undefined,
|
|
|
- disable: space.utils.dcode.isDisable("${article.dcode}"),
|
|
|
- enable: space.utils.dcode.isEnable("${article.dcode}"),
|
|
|
+ navigationIssueOptions: undefined,
|
|
|
+ navigationCopyOptions: undefined,
|
|
|
+ disable: space.utils.dcode.isDisable("${article.dcode}"),
|
|
|
+ enable: space.utils.dcode.isEnable("${article.dcode}"),
|
|
|
+ submitChange: space.utils.dcode.isDisable("${article.dcode}") || (space.utils.dcode.isRoughDraft("${article.dcode}") && "${article.ascode}" === "10010"),
|
|
|
+ saveChange: space.utils.dcode.isDisable("${article.dcode}") || (space.utils.dcode.isRoughDraft("${article.dcode}") && "${article.ascode}" === "10010"),
|
|
|
photoSizeMsg: '', // 缩略图尺寸信息
|
|
|
photoSize:{
|
|
|
width: '',
|