Commit 684a998b authored by daywrite's avatar daywrite

修复项目管理

parent 027ccb14
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
v-click-outside="lmClose" v-click-outside="lmClose"
ref="leaveMessage" ref="leaveMessage"
:lmTemplate="lmTemplate" :lmTemplate="lmTemplate"
:type="20"> :type="102">
</leave-message> </leave-message>
</div> </div>
</div> </div>
...@@ -97,33 +97,24 @@ export default { ...@@ -97,33 +97,24 @@ export default {
return { return {
lmTemplate: [ lmTemplate: [
{ {
name: '报销类型', name: '项目内容',
value: 'type.name', value: 'title'
default: ''
}, },
{ {
name: '费用金额', name: '负责人',
value: 'amount' value: 'headOf.name'
}, },
{ {
name: '报销状态', name: '状态',
value: 'status_display' value: 'status_display'
}, },
{ {
name: '发生时间', name: '截止日期',
value: 'occurrence_at' value: 'target_completed_at'
}, },
{ {
name: '费用说明', name: '创建时间',
value: 'description' value: 'created_at'
},
{
name: '费用类型',
value: 'costType.name'
},
{
name: '录入人',
value: 'createdBy.name'
} }
], ],
filter: [], filter: [],
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
v-click-outside="lmClose" v-click-outside="lmClose"
ref="leaveMessage" ref="leaveMessage"
:lmTemplate="lmTemplate" :lmTemplate="lmTemplate"
:type="20"> :type="101">
</leave-message> </leave-message>
</div> </div>
</div> </div>
...@@ -86,33 +86,32 @@ export default { ...@@ -86,33 +86,32 @@ export default {
return { return {
lmTemplate: [ lmTemplate: [
{ {
name: '报销类型', name: '项目内容',
value: 'type.name', value: 'title'
default: ''
}, },
{ {
name: '费用金额', name: '负责人',
value: 'amount' value: 'headOf.name'
}, },
{ {
name: '报销状态', name: '状态',
value: 'status_display' value: 'status_display'
}, },
{ {
name: '发生时间', name: '截止日期',
value: 'occurrence_at' value: 'target_completed_at'
}, },
{ {
name: '费用说明', name: '项目列表',
value: 'description' value: 'taskGroup.name'
}, },
{ {
name: '费用类型', name: '客户名称',
value: 'costType.name' value: 'taskGroup.client.name '
}, },
{ {
name: '录入人', name: '创建时间',
value: 'createdBy.name' value: 'created_at'
} }
], ],
filter: [], filter: [],
......
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