|
@@ -159,7 +159,7 @@ export default {
|
|
|
summaryNum:100,
|
|
|
knowledgeForm: {
|
|
|
categoryId: [],
|
|
|
- type: undefined,
|
|
|
+ type: '1',
|
|
|
bastype:undefined,
|
|
|
titles: '',
|
|
|
summary: '',
|
|
@@ -168,7 +168,11 @@ export default {
|
|
|
attachmentName: '',
|
|
|
createBy: '',
|
|
|
author: '',
|
|
|
- organizationIds: {}
|
|
|
+ organizationIds: {
|
|
|
+ organizationId: ["C0000"],
|
|
|
+ organizationName: ["惠科集团"],
|
|
|
+ organizationTree: ["惠科集团"]
|
|
|
+ }
|
|
|
},
|
|
|
options: [
|
|
|
{
|
|
@@ -195,7 +199,7 @@ export default {
|
|
|
classifyList: [],
|
|
|
knowledgeList: [
|
|
|
{value: '1', label: '文档知识'},
|
|
|
- {value: '2', label: '维基知识'}
|
|
|
+ //{value: '2', label: '维基知识'}
|
|
|
],
|
|
|
showOnlyOffice: false,
|
|
|
knowledgeRules: {
|
|
@@ -267,9 +271,13 @@ export default {
|
|
|
headers: {},
|
|
|
isSubmit:false,
|
|
|
widthVar: 800,
|
|
|
- authName: undefined,
|
|
|
+ authName: '组织:[惠科集团]',
|
|
|
checkedTarget: {},
|
|
|
- checkedTargets: {},
|
|
|
+ checkedTargets: {
|
|
|
+ organizationId:["C0000"],
|
|
|
+ organizationName:["惠科集团"],
|
|
|
+ organizationTree:["惠科集团"]
|
|
|
+ },
|
|
|
// 职系
|
|
|
sequencesInfo: {},
|
|
|
// 职等
|
|
@@ -447,7 +455,11 @@ export default {
|
|
|
},
|
|
|
// 简介修改限制数量
|
|
|
summaryChange(){
|
|
|
- this.summaryNum=100-this.knowledgeForm.summary.length
|
|
|
+ if(this.knowledgeForm.summary!=null){
|
|
|
+ this.summaryNum=100-this.knowledgeForm.summary.length
|
|
|
+ }else{
|
|
|
+ this.summaryNum=100
|
|
|
+ }
|
|
|
},
|
|
|
// 提交数据
|
|
|
handleSaveClick(type) {
|