Commit 027ccb14 authored by daywrite's avatar daywrite

修复文档管理

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