Browse Source

优化

master
陈裕财 4 years ago
parent
commit
0295d29228
  1. 28
      src/views/xm/core/components/XmProductSelect.vue
  2. 28
      src/views/xm/core/components/XmProjectSelect.vue
  3. 1315
      src/views/xm/core/xmIteration/XmIterationMng.vue

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

@ -20,8 +20,13 @@
icon="el-icon-circle-close"
@click="clearSelect"
title="清空当前选中的产品"
>清除选中</el-button
>&nbsp;&nbsp;
>清除选中&nbsp;&nbsp;</el-button
>
<el-button
@click="addProductVisible = true"
icon="el-icon-plus"
type="text"
>创建产品</el-button>&nbsp;&nbsp;
<el-popover
placement="top-start"
title=""
@ -90,7 +95,7 @@
</el-row>
<el-button
type="text"
slot="reference"
slot="reference"
@click="moreVisible = !moreVisible"
>更多条件</el-button
>
@ -146,14 +151,6 @@
>
</el-row>
</el-row>
<el-dialog append-to-body :visible.sync="addProductVisible" width="70%">
<xm-product-add
:sel-project="{ id: linkProjectId, name: '' }"
@cancel="addProductVisible = false"
@submit="afterAddSubmit"
>
</xm-product-add>
</el-dialog>
</el-row>
<el-row>
<!--列表 XmProduct 产品表-->
@ -205,6 +202,15 @@
>
</slot>
</el-popover>
<el-dialog append-to-body :visible.sync="addProductVisible" width="70%">
<xm-product-add
:sel-project="{ id: linkProjectId, name: '' }"
@cancel="addProductVisible = false"
@submit="afterAddSubmit"
>
</xm-product-add>
</el-dialog>
</section>
</template>

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

@ -20,8 +20,13 @@
icon="el-icon-circle-close"
@click="clearSelect"
title="清空当前选中的项目"
>清除选中</el-button
>&nbsp;&nbsp;
>清除选中&nbsp;&nbsp;</el-button
>
<el-button
@click="addProjectVisible = true"
icon="el-icon-plus"
type="text"
>创建项目</el-button>
<el-popover
placement="top-start"
title=""
@ -148,15 +153,6 @@
>
</el-row>
</el-row>
<el-dialog append-to-body :visible.sync="addProjectVisible" width="70%">
<xm-project-add
:op-type="'add'"
:xm-product="{ id: linkProductId, name: '' }"
@cancel="addProjectVisible = false"
@submit="afterAddSubmit"
>
</xm-project-add>
</el-dialog>
</el-row>
<el-row>
<!--列表 XmProject 项目表-->
@ -220,6 +216,16 @@
ref="usersSelect"
></users-select>
</el-drawer>
<el-dialog append-to-body :visible.sync="addProjectVisible" width="70%" top="20px">
<xm-project-add
:op-type="'add'"
:xm-product="{ id: linkProductId, name: '' }"
@cancel="addProjectVisible = false"
@submit="afterAddSubmit"
>
</xm-project-add>
</el-dialog>
</section>
</template>

1315
src/views/xm/core/xmIteration/XmIterationMng.vue
File diff suppressed because it is too large
View File

Loading…
Cancel
Save