Commit ca059733 authored by zhoumaotao's avatar zhoumaotao

单位类型下拉框

parent 091bec0c
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-option <el-option
v-for="item in systemType" v-for="item in systemType"
:key="item.id" :key="item.id"
:label="item.bmmc" :label="item.name"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
......
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">单位类型:</span> <span class="search-span">单位类型:</span>
<el-select v-model="queryParams.type" placeholder="请选择"> <el-select v-model="queryParams.dwlx" clearable placeholder="请选择">
<el-option <el-option
v-for="(item,index) in options" v-for="item in systemType"
:key="index" :key="item.id"
:label="item.label" :label="item.name"
:value="item.value" :value="item.id">
></el-option> </el-option>
</el-select> </el-select>
</div> </div>
</el-col> </el-col>
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="单位类型" prop="type"> <el-form-item label="单位类型" prop="dwlx">
<RelSelect <RelSelect
src="/aqgl/wxgl/wxdwsb/init/dwlx" src="/aqgl/wxgl/wxdwsb/init/dwlx"
:match="{value:'id',label:'bmmc'}" :match="{value:'id',label:'name'}"
v-model="form.dwlx" v-model="form.dwlx">
></RelSelect> </RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-option <el-option
v-for="item in systemType" v-for="item in systemType"
:key="item.id" :key="item.id"
:label="item.bmmc" :label="item.name"
:value="item.id"> :value="item.id">
</el-option> </el-option>
</el-select> </el-select>
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">单位类型:</span> <span class="search-span">单位类型:</span>
<el-select v-model="queryParams.type" placeholder="请选择"> <el-select v-model="queryParams.dwlx" clearable placeholder="请选择">
<el-option <el-option
v-for="(item,index) in options" v-for="item in systemType"
:key="index" :key="item.id"
:label="item.label" :label="item.name"
:value="item.value" :value="item.id">
></el-option> </el-option>
</el-select> </el-select>
</div> </div>
</el-col> </el-col>
...@@ -113,6 +113,7 @@ export default { ...@@ -113,6 +113,7 @@ export default {
return { return {
activeName: "first", activeName: "first",
/*需要的额外参数 */ /*需要的额外参数 */
systemType:[],
showDialog: false, showDialog: false,
DialogName: "", DialogName: "",
type: "", type: "",
......
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