|
|
@@ -15,30 +15,22 @@
|
|
|
node-key="id"
|
|
|
:props="defaultProps"
|
|
|
@node-click="handleNodeClick" />
|
|
|
- <!-- <el-tree ref="tree" :data="deptOptions" node-key="id"
|
|
|
- :filter-node-method="filterNode" :props="defaultProps"
|
|
|
- @node-click="handleNodeClick" /> -->
|
|
|
</div>
|
|
|
- <!-- <div class="buttons">
|
|
|
- <el-button @click="getCheckedNodes($event)">添加区域</el-button>
|
|
|
- </div> -->
|
|
|
- <vab-query-form-left-panel :span="2">
|
|
|
+ <vab-query-form-left-panel>
|
|
|
<el-button icon="el-icon-plus" type="primary" @click="getCheckedNodes($event)">添加区域</el-button>
|
|
|
</vab-query-form-left-panel>
|
|
|
</el-col>
|
|
|
- <el-col :span="19" :xs="27">
|
|
|
+ <el-col :sapn="19">
|
|
|
<vab-query-form>
|
|
|
- <vab-query-form-left-panel :span="20">
|
|
|
+ <vab-query-form-top-panel>
|
|
|
<el-form :inline="true" :model="queryForm" @submit.native.prevent>
|
|
|
- <el-form-item style="letter-spacing: 12px">
|
|
|
- <el-input v-model.trim="queryForm.custCode" clearable placeholder="客户编码" />
|
|
|
+ <el-form-item prop="custCode">
|
|
|
+ <el-input v-model="queryForm.custCode" clearable placeholder="客户编码" />
|
|
|
</el-form-item>
|
|
|
-
|
|
|
|
|
|
- <el-form-item>
|
|
|
- <el-input v-model.trim="queryForm.custName" clearable placeholder="客户名称" />
|
|
|
+ <el-form-item prop="custName">
|
|
|
+ <el-input v-model="queryForm.custName" clearable placeholder="客户名称" />
|
|
|
</el-form-item>
|
|
|
-
|
|
|
<el-form-item label="" prop="custIndustry">
|
|
|
<el-select v-model="custIndustry" placeholder="请选择客户行业" style="width: 100%">
|
|
|
<el-option
|
|
|
@@ -48,20 +40,23 @@
|
|
|
:value="item.value" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item style="margin-right: 5px">
|
|
|
+
|
|
|
+ <el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" @click="queryData">查询</el-button>
|
|
|
<el-button icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <vab-query-form-left-panel :span="15">
|
|
|
- <el-button icon="el-icon-plus" type="primary" @click="handleEdit($event)">添加</el-button>
|
|
|
- </vab-query-form-left-panel>
|
|
|
- </vab-query-form-left-panel>
|
|
|
- <vab-query-form-right-panel :span="29">
|
|
|
- <el-button icon="el-icon-download" />
|
|
|
- <table-tool :check-list.sync="checkList" :columns="columns" />
|
|
|
- </vab-query-form-right-panel>
|
|
|
+ </vab-query-form-top-panel>
|
|
|
</vab-query-form>
|
|
|
+
|
|
|
+ <vab-query-form-left-panel>
|
|
|
+ <el-button icon="el-icon-plus" type="primary" @click="handleEdit($event)">添加</el-button>
|
|
|
+ </vab-query-form-left-panel>
|
|
|
+ <vab-query-form-right-panel>
|
|
|
+ <el-button icon="el-icon-download" />
|
|
|
+ <table-tool :check-list.sync="checkList" :columns="columns" />
|
|
|
+ </vab-query-form-right-panel>
|
|
|
+
|
|
|
<el-table
|
|
|
v-loading="listLoading"
|
|
|
border
|
|
|
@@ -112,6 +107,7 @@
|
|
|
import RegEdit from './components/RegEdit'
|
|
|
import regionApi from '@/api/base/region/region'
|
|
|
import TableTool from '@/components/table/TableTool'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'Distr',
|
|
|
components: { Edit, RegEdit, TableTool },
|
|
|
@@ -301,6 +297,7 @@
|
|
|
font-weight: bold;
|
|
|
background-color: #dde9ff !important;
|
|
|
}
|
|
|
+
|
|
|
.el-form-item__content {
|
|
|
margin-right: 3px;
|
|
|
}
|