|
|
@@ -2,7 +2,7 @@
|
|
|
* @Author: wanglj 471442253@qq.com
|
|
|
* @Date: 2022-12-26 16:34:37
|
|
|
* @LastEditors: wanglj
|
|
|
- * @LastEditTime: 2023-01-11 16:11:44
|
|
|
+ * @LastEditTime: 2023-01-11 18:06:32
|
|
|
* @Description: file content
|
|
|
* @FilePath: \opms_frontend\src\views\customer\list.vue
|
|
|
-->
|
|
|
@@ -13,37 +13,39 @@
|
|
|
<el-tab-pane label="我的客户" name="second" />
|
|
|
<el-tab-pane label="下属的客户" name="third" />
|
|
|
</el-tabs>
|
|
|
- <el-row :gutter="10" style="margin-bottom: 10px">
|
|
|
- <el-col :span="4">
|
|
|
- <el-input v-model="queryForm.custCode" placeholder="客户编码" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-input v-model="queryForm.custName" placeholder="客户名称" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-select v-model="queryForm.custIndustry" placeholder="客户行业" style="width: 100%">
|
|
|
- <el-option v-for="item in industryOptions" :key="item.value" :label="item.value" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-select v-model="queryForm.custLevel" placeholder="客户级别" style="width: 100%">
|
|
|
- <el-option v-for="item in levelOptions" :key="item.value" :label="item.value" :value="item.value" />
|
|
|
- </el-select>
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-date-picker
|
|
|
- v-model="queryForm.followUpDate"
|
|
|
- placeholder="最后跟进时间"
|
|
|
- style="width: 100%"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- <el-button icon="el-icon-plus" type="primary" @click="fetchData">查询</el-button>
|
|
|
- <el-button icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
<vab-query-form>
|
|
|
+ <vab-query-form-top-panel>
|
|
|
+ <el-form :inline="true" :model="queryForm" @submit.native.prevent>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="queryForm.custCode" placeholder="客户编码" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="queryForm.custName" placeholder="客户名称" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-select v-model="queryForm.custIndustry" placeholder="客户行业" style="width: 100%">
|
|
|
+ <el-option v-for="item in industryOptions" :key="item.value" :label="item.value" :value="item.value" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-select v-model="queryForm.custLevel" placeholder="客户级别" style="width: 100%">
|
|
|
+ <el-option v-for="item in levelOptions" :key="item.value" :label="item.value" :value="item.value" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="queryForm.followUpDate"
|
|
|
+ placeholder="最后跟进时间"
|
|
|
+ style="width: 100%"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button icon="el-icon-plus" type="primary" @click="fetchData">查询</el-button>
|
|
|
+ <el-button icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </vab-query-form-top-panel>
|
|
|
<vab-query-form-left-panel :span="12">
|
|
|
<el-button
|
|
|
v-permissions="['customer:add']"
|
|
|
@@ -87,7 +89,7 @@
|
|
|
v-loading="listLoading"
|
|
|
border
|
|
|
:data="list"
|
|
|
- height="calc(100vh - 394px)"
|
|
|
+ :height="$baseTableHeight(3)"
|
|
|
@selection-change="setSelectRows">
|
|
|
<el-table-column align="center" show-overflow-tooltip type="selection" />
|
|
|
<el-table-column
|