Commit 3508cd25 authored by 周远喜's avatar 周远喜

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 2dbe7823 8f7fdcf4
...@@ -30,14 +30,14 @@ ...@@ -30,14 +30,14 @@
<Col :span="8"> <Col :span="8">
<FormItem label> <FormItem label>
<span style="float:left">计划起止日期:&nbsp;</span> <span style="float:left">计划起止日期:&nbsp;</span>
<DateRange :timeValue="timeValuePlan"> <DateRange v-model="timeValuePlan" mode='d'>
</DateRange> </DateRange>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="8"> <Col :span="8">
<FormItem label> <FormItem label>
<span style="float:left">实际起止日期:&nbsp;</span> <span style="float:left">实际起止日期:&nbsp;</span>
<DateRange :timeValue="timeValue"></DateRange> <DateRange v-model="timeValue"></DateRange>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
......
...@@ -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',
...@@ -164,7 +154,7 @@ export default { ...@@ -164,7 +154,7 @@ export default {
title: this.l("status"), title: this.l("status"),
align: "center", align: "center",
high: true, high: true,
width: 120, width: 100,
code: 'project.task.status' code: 'project.task.status'
}, },
...@@ -180,14 +170,15 @@ export default { ...@@ -180,14 +170,15 @@ export default {
title: '计划起止日期', title: '计划起止日期',
align: "center", align: "center",
high: true, high: true,
width: 200, width: 280,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
timeValue: { value: {
startDate: params.row.plansToStartDate, startDate: params.row.plansToStartDate,
endDate: params.row.plansToEndTime, endDate: params.row.plansToEndTime,
} },
mode: 'd'
} }
}) })
} }
...@@ -197,14 +188,15 @@ export default { ...@@ -197,14 +188,15 @@ export default {
title: '实际起止日期', title: '实际起止日期',
align: "center", align: "center",
high: true, high: true,
width: 200, width: 280,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
timeValue: { value: {
startDate: params.row.startDate, startDate: params.row.startDate,
endDate: params.row.endDate, endDate: params.row.endDate,
} },
mode: 'd'
} }
}) })
} }
......
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