|
@@ -24,12 +24,12 @@
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px,">{{ item.id }}</span>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.project_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in projectList"
|
|
|
:key="item.value"
|
|
@@ -37,12 +37,12 @@
|
|
|
>{{ item.msg }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.demand_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in demandList"
|
|
|
:key="item.value"
|
|
@@ -50,13 +50,13 @@
|
|
|
>{{ item.msg }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<!--是否免测-->
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.noTest_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in noTest"
|
|
|
:key="item.code"
|
|
@@ -64,13 +64,13 @@
|
|
|
>{{ item.msg }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<!--业务线-->
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.bizId_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in BusinessLine"
|
|
|
:key="item.value"
|
|
@@ -78,12 +78,12 @@
|
|
|
>{{ item.name }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.platform_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in arr_platform"
|
|
|
:key="item.value"
|
|
@@ -91,12 +91,12 @@
|
|
|
>{{ item.name }}</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
- <el-dropdown @command="handleCommand">
|
|
|
+ <el-dropdown placement="bottom" @command="handleCommand">
|
|
|
<span class="el-dropdown-link drop_down" style="cursor: pointer;">
|
|
|
{{ form_task.Modular_label }}
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
|
</span>
|
|
|
- <el-dropdown-menu slot="dropdown" align="center">
|
|
|
+ <el-dropdown-menu slot="dropdown" align="center" class="requirement_el-dropdown-menu">
|
|
|
<el-dropdown-item
|
|
|
v-for="item in arr_Modular"
|
|
|
:key="item.value"
|
|
@@ -549,10 +549,14 @@ export default {
|
|
|
font-size: 14px;
|
|
|
color: #333333;
|
|
|
}
|
|
|
-
|
|
|
-.el-dropdown-menu {
|
|
|
+.requirement_el-dropdown-menu {
|
|
|
max-height: 300px !important;
|
|
|
- max-width: 20%;
|
|
|
- overflow-x: auto;
|
|
|
+ max-width: 200px;
|
|
|
+ overflow: auto !important;
|
|
|
+}
|
|
|
+.el-dropdown-menu__item:not(.is-disabled):hover {
|
|
|
+ background-color: #f6f7fa;
|
|
|
+ color: #606266;
|
|
|
}
|
|
|
+
|
|
|
</style>
|