Commit 027ccb14 authored by daywrite's avatar daywrite

修复文档管理

parent bcff8e59
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
v-click-outside="lmClose" v-click-outside="lmClose"
ref="leaveMessage" ref="leaveMessage"
:lmTemplate="lmTemplate" :lmTemplate="lmTemplate"
:type="9"> :type="11">
</leave-message> </leave-message>
</div> </div>
</div> </div>
...@@ -74,7 +74,6 @@ import SearchHeader from '../common/searchHeader' ...@@ -74,7 +74,6 @@ import SearchHeader from '../common/searchHeader'
import SearchForm from '../common/SearchForm' import SearchForm from '../common/SearchForm'
import Item from './documentItem' import Item from './documentItem'
import FormModal from '../document/documentModal' import FormModal from '../document/documentModal'
import LeaveMessage from '../common/leaveMessage'
import Pagenation from './documentPagenation' import Pagenation from './documentPagenation'
import clickOutside from '@/lib/bind' import clickOutside from '@/lib/bind'
import SetParams from '../common/setParams' import SetParams from '../common/setParams'
...@@ -92,7 +91,6 @@ export default { ...@@ -92,7 +91,6 @@ export default {
SearchForm, SearchForm,
Item, Item,
FormModal, FormModal,
LeaveMessage,
Pagenation Pagenation
}, },
...@@ -104,41 +102,28 @@ export default { ...@@ -104,41 +102,28 @@ export default {
return { return {
lmTemplate: [ lmTemplate: [
{ {
name: '客户名称', name: '文档名称',
value: 'client.name', value: 'title'
default: '未设置'
}, },
{ {
name: '内容', name: '文档部门',
value: 'description' value: 'department.name'
}, },
{ {
name: '待办时间', name: '文档类型',
value: 'schedule_week_display' value: 'documentTypeTag.name'
}, },
{ {
name: '状态', name: '是否为模版',
value: 'schedule_status_display' value: 'is_template_display'
}, },
{ {
name: '开始时间', name: '录入人',
value: 'start_at' value: 'createdBy.name'
},
{
name: '结束时间',
value: 'end_at'
},
{
name: '重复',
value: 'repeat_type_display'
},
{
name: '负责人',
value: 'scheduleCreator.name'
}, },
{ {
name: '创建时间', name: '创建时间',
value: 'created_at' value: 'end_at'
} }
], ],
filter: [], filter: [],
...@@ -268,12 +253,12 @@ export default { ...@@ -268,12 +253,12 @@ export default {
// 8.留言 // 8.留言
leaveMessageSch (item) { leaveMessageSch (item) {
this.$refs.leaveMessage.isShow(item) this.$refs.leaveMessage.btnShow(item)
}, },
lmClose () { lmClose () {
this.$refs.leaveMessage && this.$refs.leaveMessage &&
this.$refs.leaveMessage.isClose() this.$refs.leaveMessage.btnClose()
} }
} }
} }
......
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