|
@@ -6,7 +6,6 @@
|
|
|
v-dialogDrag
|
|
|
width="1300px"
|
|
|
@close="close"
|
|
|
- @keyup.enter.native="doSubmit"
|
|
|
:visible.sync="visible">
|
|
|
<el-form size="middle" :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''" :disabled="method === 'view'"
|
|
|
label-width="150px" @submit.native.prevent>
|
|
@@ -274,7 +273,7 @@
|
|
|
}
|
|
|
this.loading = true
|
|
|
this.knowledgeShareInfoService.addComment(this.commentForm).then(({data}) => {
|
|
|
- this.close()
|
|
|
+ this.init('view', this.inputForm.id)
|
|
|
this.$message.success(data)
|
|
|
this.$emit('refreshDataList')
|
|
|
this.loading = false
|
|
@@ -297,7 +296,6 @@
|
|
|
this.$refs.knowledgeShareTypePageForm.init()
|
|
|
},
|
|
|
getProgram (rows) {
|
|
|
- console.log('aaaaaaaaaaa', rows[0])
|
|
|
this.inputForm.typeId = rows[0].id
|
|
|
this.inputForm.typeName = rows[0].klgsType
|
|
|
this.$forceUpdate()
|