Browse Source

优化

master
陈裕财 3 years ago
parent
commit
603c0aca38
  1. 4
      src/views/xm/core/components/XmProductSelect.vue
  2. 30
      src/views/xm/core/components/XmProjectSelect.vue

4
src/views/xm/core/components/XmProductSelect.vue

@ -89,7 +89,7 @@
<el-button @click="setFiltersPmUserAsMySelf()">我的</el-button> <el-button @click="setFiltersPmUserAsMySelf()">我的</el-button>
</el-row> </el-row>
<el-row> <el-row>
<el-button type="primary" style="float:right;" @click="searchXmProducts"
<el-button type="primary" style="float:right;" @click="searchXmProducts" icon="el-icon-search"
>查询</el-button >查询</el-button
> >
</el-row> </el-row>
@ -97,7 +97,7 @@
<el-button <el-button
type="text" type="text"
slot="reference" slot="reference"
@click="moreVisible = !moreVisible"
@click="moreVisible = !moreVisible" icon="el-icon-search"
>更多条件</el-button >更多条件</el-button
> >
</el-popover> </el-popover>

30
src/views/xm/core/components/XmProjectSelect.vue

@ -29,13 +29,16 @@
>创建项目</el-button> >创建项目</el-button>
<el-popover <el-popover
placement="top-start" placement="top-start"
title=""
title="更多条件、操作"
width="400" width="400"
v-model="moreVisible" v-model="moreVisible"
trigger="manual" trigger="manual"
> >
<el-button type="text" icon="el-icon-close" @click="moreVisible = false" style="float:right;margin-top:-40px;"
>关闭</el-button
>
<el-row> <el-row>
<el-col :span="24" style="padding-top: 5px">
<el-row>
<font class="more-label-font">项目编号:</font> <font class="more-label-font">项目编号:</font>
<el-input <el-input
v-model="filters.id" v-model="filters.id"
@ -44,9 +47,9 @@
@keyup.enter.native="searchXmProjects" @keyup.enter.native="searchXmProjects"
> >
</el-input> </el-input>
</el-col>
</el-row>
<el-col :span="24" style="padding-top: 5px">
<el-row>
<font class="more-label-font">创建时间:</font> <font class="more-label-font">创建时间:</font>
<el-date-picker <el-date-picker
v-model="dateRanger" v-model="dateRanger"
@ -60,9 +63,9 @@
:default-time="['00:00:00', '23:59:59']" :default-time="['00:00:00', '23:59:59']"
:picker-options="pickerOptions" :picker-options="pickerOptions"
></el-date-picker> ></el-date-picker>
</el-col>
</el-row>
<el-col :span="24" style="padding-top: 5px">
<el-row>
<font class="more-label-font"> 项目名称: </font> <font class="more-label-font"> 项目名称: </font>
<el-input <el-input
v-model="filters.key" v-model="filters.key"
@ -70,8 +73,8 @@
placeholder="输入项目名字关键字" placeholder="输入项目名字关键字"
> >
</el-input> </el-input>
</el-col>
<el-col :span="24" style="padding-top: 5px">
</el-row>
<el-row>
<font class="more-label-font"> 项目经理: </font> <font class="more-label-font"> 项目经理: </font>
<el-tag <el-tag
v-if="filters.pmUser" v-if="filters.pmUser"
@ -86,19 +89,18 @@
<el-button @click="setFiltersPmUserAsMySelf()" <el-button @click="setFiltersPmUserAsMySelf()"
>我的</el-button >我的</el-button
> >
</el-col>
<el-col :span="24" style="padding-top: 5px">
<el-button type="text" @click="moreVisible = false"
>关闭</el-button
><el-button type="primary" @click="searchXmProjects"
</el-row>
<el-row>
<el-button type="primary" @click="searchXmProjects" style="float:right;"
>查询</el-button >查询</el-button
> >
</el-col>
</el-row>
</el-row> </el-row>
<el-button <el-button
type="text" type="text"
slot="reference" slot="reference"
@click="moreVisible = !moreVisible" @click="moreVisible = !moreVisible"
icon="el-icon-search"
>更多条件</el-button >更多条件</el-button
> >
</el-popover> </el-popover>

Loading…
Cancel
Save