Commit 3a88e53a authored by renjintao's avatar renjintao

task

parent bce08313
...@@ -44,15 +44,6 @@ ...@@ -44,15 +44,6 @@
--> -->
</Menu> </Menu>
</div> </div>
<div class="taskTab" v-if="false">
<Tabs value="statu2">
<TabPane label="所有" name="statu1" />
<TabPane label="未关闭" name="statu2" />
<TabPane label="指派给我" name="statu3" />
<TabPane label="由我参与" name="statu4" />
<TabPane label="已延期" name="statu5" />
</Tabs>
</div>
</FormItem> </FormItem>
<FormItem prop="keys"><Input placeholder="请输入项目标题/计划名称/任务标题" v-model="easySearch.keys.value" v-width="240" /> </FormItem> <FormItem prop="keys"><Input placeholder="请输入项目标题/计划名称/任务标题" v-model="easySearch.keys.value" v-width="240" /> </FormItem>
<FormItem><Button type="primary" @click="search">查询</Button></FormItem> <FormItem><Button type="primary" @click="search">查询</Button></FormItem>
...@@ -68,11 +59,6 @@ ...@@ -68,11 +59,6 @@
<template slot="buttons"> <template slot="buttons">
<Button type="primary" @click="add" v-if="planId!=''">新增</Button> <Button type="primary" @click="add" v-if="planId!=''">新增</Button>
</template> </template>
<template slot="batch">
<Button type="primary" class="mr10 ml10">开始</Button>
<Button type="primary" class="mr10 ml10">暂停</Button>
<Button type="primary" class="mr10 ml10">继续</Button>
</template>
</DataGrid> </DataGrid>
<Modal v-model="modal" :title="title" width="1200" :fullscreen="fullScreen" footer-hide> <Modal v-model="modal" :title="title" width="1200" :fullscreen="fullScreen" footer-hide>
<component :is="detail" :eid="curId" :pid="planId" :row="rowObj" @on-close="cancel" @on-ok="ok" /> <component :is="detail" :eid="curId" :pid="planId" :row="rowObj" @on-close="cancel" @on-ok="ok" />
...@@ -110,6 +96,10 @@ export default { ...@@ -110,6 +96,10 @@ export default {
planId: { planId: {
op: "In", op: "In",
value: [] value: []
},
status: {
op: "In",
value: []
} }
}, },
theme1: 'light', theme1: 'light',
...@@ -180,7 +170,7 @@ export default { ...@@ -180,7 +170,7 @@ export default {
title: '计划起止日期', title: '计划起止日期',
align: "center", align: "center",
high: true, high: true,
width: 600, width: 200,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
...@@ -459,6 +449,19 @@ export default { ...@@ -459,6 +449,19 @@ export default {
}) })
}, },
onSelect(val) { onSelect(val) {
switch (val) {
case '1':
this.easySearch.keys.value = null
break;
case '2':
this.easySearch.status = {
op: "In",
value: '0,1,2,3'
}
break;
default:
默认代码块
}
this.$refs.grid.reload(this.easySearch) this.$refs.grid.reload(this.easySearch)
}, },
viewRecord(id, status) { viewRecord(id, status) {
......
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