|
@@ -2,8 +2,71 @@
|
|
<div class="page">
|
|
<div class="page">
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
<!-- 搜索框-->
|
|
<!-- 搜索框-->
|
|
- <el-form-item prop="title">
|
|
|
|
- <el-input size="small" v-model="searchForm.title" placeholder="请输入标题" clearable></el-input>
|
|
|
|
|
|
+ <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 label="统一社会信用代码" prop="uscCode">
|
|
|
|
+ <el-input size="small" v-model="searchForm.uscCode" placeholder="请输入统一社会信用代码" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="企业隶属关系划分" prop="affiliation">
|
|
|
|
+ <el-select v-model="searchForm.affiliation" placeholder="请选择" style="width:100%;"clearable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_work_client_affiliation')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="按所有制性质分类" prop="cwWorkClientTypeDTO.ownershipType">
|
|
|
|
+ <el-select v-model="searchForm.cwWorkClientTypeDTO.ownershipType" placeholder="请选择" style="width:100%;"clearable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_work_client_ownership_type')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="所属行业" prop="industry">
|
|
|
|
+ <el-select v-model="searchForm.industry" placeholder="请选择" style="width:100%;"clearable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_work_client_industry')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="创建时间" prop="createDates">
|
|
|
|
+ <el-date-picker
|
|
|
|
+ placement="bottom-start"
|
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
+ v-model="searchForm.createDates"
|
|
|
|
+ type="datetimerange"
|
|
|
|
+ range-separator="至"
|
|
|
|
+ start-placeholder="开始日期"
|
|
|
|
+ end-placeholder="结束日期">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="状态" prop="status">
|
|
|
|
+ <el-select v-model="searchForm.status" placeholder="请选择" style="width:100%;"clearable>
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_status')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-button type="primary" @click="refreshList()" size="small" icon="el-icon-search">查询</el-button>
|
|
|
|
+ <el-button @click="resetSearch()" size="small" icon="el-icon-refresh-right">重置</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<div class="bg-white top" style="">
|
|
<div class="bg-white top" style="">
|
|
@@ -33,7 +96,43 @@
|
|
:checkbox-config="{}">
|
|
:checkbox-config="{}">
|
|
<vxe-column type="seq" width="60" title="序号"></vxe-column>
|
|
<vxe-column type="seq" width="60" title="序号"></vxe-column>
|
|
<vxe-column type="checkbox" width="40" ></vxe-column>
|
|
<vxe-column type="checkbox" width="40" ></vxe-column>
|
|
- <vxe-column min-width="160" align="center" title="客户名称" field="name"></vxe-column>
|
|
|
|
|
|
+ <vxe-column min-width="230" align="center" title="客户名称" field="name"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="客户编号" field="no"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="客户类型" field="type">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_type', scope.row.type, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="统一社会信用代码" field="uscCode"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="英文名称" field="englishName"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="所属行业" field="industry">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_industry', scope.row.industry, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="是否上市" field="cwWorkClientTypeDTO.isListed">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('yes_no', scope.row.cwWorkClientTypeDTO.isListed, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="企业隶属关系划分" field="affiliation">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_affiliation', scope.row.affiliation, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="按所有制性质分类" field="cwWorkClientTypeDTO.ownershipType">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_ownership_type', scope.row.cwWorkClientTypeDTO.ownershipType, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="按最终地位分类" field="cwWorkClientTypeDTO.finalStatusType"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="客户报备类型" field="reportType">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{$dictUtils.getDictLabel('cw_work_client_report_type', scope.row.reportType, '-')}}
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="创建人" field="createBy.name"></vxe-column>
|
|
|
|
+ <vxe-column min-width="160" align="center" title="创建时间" field="createDate"></vxe-column>
|
|
<vxe-column min-width="150px"align="center" fixed="right" title="状态" field="status" >
|
|
<vxe-column min-width="150px"align="center" fixed="right" title="状态" field="status" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="text" @click="detail(scope.row)" effect="dark" size="mini"
|
|
<el-button type="text" @click="detail(scope.row)" effect="dark" size="mini"
|
|
@@ -74,6 +173,16 @@
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
searchForm: {
|
|
searchForm: {
|
|
|
|
+ name: '',
|
|
|
|
+ no: '',
|
|
|
|
+ uscCode: '',
|
|
|
|
+ affiliation: '',
|
|
|
|
+ cwWorkClientTypeDTO: {
|
|
|
|
+ ownershipType: ''
|
|
|
|
+ },
|
|
|
|
+ industry: '',
|
|
|
|
+ createDates: [],
|
|
|
|
+ status: ''
|
|
},
|
|
},
|
|
dataList: [],
|
|
dataList: [],
|
|
tablePage: {
|
|
tablePage: {
|