fixed bug
This commit is contained in:
0
src/api/Outsourcing/OutsourcingQCSearch.js
Normal file
0
src/api/Outsourcing/OutsourcingQCSearch.js
Normal file
@@ -29,7 +29,7 @@
|
|||||||
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-form-item label="选择模块名称" prop="选择模块名称">
|
<el-form-item label="选择模块名称" prop="选择模块名称">
|
||||||
<el-select v-model="modelName" size="mini" clearable placeholder="请选择模块名称" filterable @change="getModelData">
|
<el-select v-model="modelName" size="mini" clearable placeholder="请选择模块名称" filterable @change="getModelData" @clear="clearModel">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in modelNames"
|
v-for="item in modelNames"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -108,6 +108,9 @@ export default {
|
|||||||
this.getAllModules()
|
this.getAllModules()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
clearModel() {
|
||||||
|
this.modelName = ''
|
||||||
|
},
|
||||||
getRoleName() {
|
getRoleName() {
|
||||||
getRole().then(response => {
|
getRole().then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
|
|||||||
13
src/views/Outsourcing/OutsourcingQCSearch/index.vue
Normal file
13
src/views/Outsourcing/OutsourcingQCSearch/index.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>123</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'OutsourcingQCSearch'
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user