|
@@ -15,7 +15,9 @@
|
|
|
<el-form-item label="客户姓名" prop="name">
|
|
|
<el-input size="small" v-model="searchForm.name" placeholder="请输入客户姓名" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
+ <el-form-item label="客户编号" prop="no">
|
|
|
+ <el-input size="small" v-model="searchForm.no" placeholder="请输入客户编号" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" @click="list()" size="small" icon="el-icon-search">查询</el-button>
|
|
|
<el-button @click="resetSearch()" size="small" icon="el-icon-refresh-right">重置</el-button>
|
|
@@ -38,14 +40,23 @@
|
|
|
@sort-change=""
|
|
|
:sort-config="{remote:true}"
|
|
|
:data="dataList"
|
|
|
- :checkbox-config="{}">
|
|
|
+ :row-config="{isCurrent: true}"
|
|
|
+ :checkbox-config="{trigger: 'row'}">
|
|
|
<vxe-column type="seq" width="40"></vxe-column>
|
|
|
<vxe-column type="checkbox" width="40px"></vxe-column>
|
|
|
- <vxe-column width="" title="客户名称" field="name"></vxe-column>
|
|
|
- <vxe-column width="" title="客户编号" field="no"></vxe-column>
|
|
|
- <vxe-column width="" title="客户类型" field="type"></vxe-column>
|
|
|
- <vxe-column width="" title="所属行业" field="industry"></vxe-column>
|
|
|
- <vxe-column width="" title="公司级次" field="companyLevel"></vxe-column>
|
|
|
+ <vxe-column width="" title="客户名称" align="center" field="name"></vxe-column>
|
|
|
+ <vxe-column width="" title="客户编号" align="center" field="no"></vxe-column>
|
|
|
+ <vxe-column width="" title="客户类型" align="center" field="type">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_type', scope.row.type, '-')}}
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+ <vxe-column width="" title="所属行业" align="center" field="industry">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_industry', scope.row.industry, '-')}}
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+ <vxe-column width="" title="公司级次" align="center" field="companyLevel"></vxe-column>
|
|
|
</vxe-table>
|
|
|
<vxe-pager
|
|
|
background
|
|
@@ -85,7 +96,8 @@
|
|
|
},
|
|
|
dataList: [],
|
|
|
searchForm: {
|
|
|
- name: ''
|
|
|
+ name: '',
|
|
|
+ no: ''
|
|
|
}
|
|
|
}
|
|
|
},
|