Commit 9d4aa416 by fairyly

fix: 修改接口返回部门数据

parent 74a953e2
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors : 无尘
* @LastEditTime : 2020-02-25 20:51:55
* @LastEditTime : 2020-02-26 20:41:45
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -24,7 +24,7 @@
<div class="table-condition-search m-t-20">
<el-input placeholder="请输入部门名称/CODE/ID" v-model="searchInput" class="w-293" @keyup.native="value => toInput(value, searchInput)" clearable @clear="clearInput"> </el-input
><el-select class="w-191 m-l-10" v-model="storeFlag" placeholder="所有部门类型" @change="changeType">
<el-option v-for="item in options" :key="item.id" :label="item.label" :value="item.id"> </el-option>
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select>
</div>
<div class="m-t-20">
......@@ -77,7 +77,20 @@ export default {
path: ''
}
],
options: [],
options: [
{
label: '所有部门类型',
value: ''
},
{
label: '分组',
value: '0'
},
{
label: '门店',
value: '1'
}
],
searchInput: '',
storeFlag: '',
// 分页参数
......
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