|
|
@@ -79,11 +79,14 @@
|
|
|
:columns="columns"
|
|
|
:showBatchDelete="false"
|
|
|
:showOperation="showOperation"
|
|
|
- editButtonName="详情"
|
|
|
+ button2Name="详情"
|
|
|
@findPage="findPage"
|
|
|
:isshowpagination="true"
|
|
|
- @handleEdit="handleDetail"
|
|
|
- ></kt-common-table>
|
|
|
+ @handleButton2="handleDetail"
|
|
|
+ button3Name="人员详情"
|
|
|
+ @handleButton3="handlePersonnelDetail"
|
|
|
+ >
|
|
|
+ </kt-common-table>
|
|
|
</SplitArea>
|
|
|
</Split>
|
|
|
|
|
|
@@ -123,6 +126,7 @@
|
|
|
align="center"
|
|
|
:label="item.label"
|
|
|
></el-table-column>
|
|
|
+ <el-table-column v-if="isPersonnel" prop="userName" label="人员姓名" align="center" ></el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -149,6 +153,7 @@
|
|
|
components: { KtCommonTable, KtButton },
|
|
|
data() {
|
|
|
return {
|
|
|
+ isPersonnel:false,
|
|
|
provinceOptions:[],
|
|
|
cityOptions:[],
|
|
|
flag:false,
|
|
|
@@ -177,7 +182,7 @@
|
|
|
loading: true,
|
|
|
detailDialog: false,
|
|
|
showOperation:true,
|
|
|
- operationWidth: 100, //操作列宽度
|
|
|
+ operationWidth: 160, //操作列宽度
|
|
|
queryFrom: {
|
|
|
//查询条件
|
|
|
},
|
|
|
@@ -214,45 +219,37 @@
|
|
|
prop: "insCompany",
|
|
|
label: "保险公司",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{
|
|
|
prop: "quoteNum",
|
|
|
label: "报价次数",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{
|
|
|
prop: "submitNum",
|
|
|
label: "提交核保次数",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{
|
|
|
prop: "hasInsuredNum",
|
|
|
label: "已承保数量",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{
|
|
|
prop: "syPremiumSum",
|
|
|
label: "商业保费",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{ prop: "taxaMountSum", label: "车船税", type: "text" },
|
|
|
{
|
|
|
prop: "jqPremiumSum",
|
|
|
label: "交强险费用",
|
|
|
type: "text",
|
|
|
- minWidth: "100",
|
|
|
},
|
|
|
{
|
|
|
prop: "totalSumpremium",
|
|
|
label: "总承保保费总数",
|
|
|
type: "text",
|
|
|
- minWidth: "120",
|
|
|
},
|
|
|
],
|
|
|
};
|
|
|
@@ -281,6 +278,8 @@
|
|
|
this.rightSplitWidth = 100 - this.leftSplitWidth;
|
|
|
},
|
|
|
async findLeftTreeData() {
|
|
|
+ this.formData.areaCode='140000'
|
|
|
+ this.formData.level='1'
|
|
|
let data=await this.$api.user.personnelFindTree()
|
|
|
if(data.code==200){
|
|
|
this.ztreeNodes = data.data;
|
|
|
@@ -333,11 +332,18 @@
|
|
|
handleDetail(index) {
|
|
|
this.detailParams.areaCode = index.row.areaCode;
|
|
|
this.detailDialog = true;
|
|
|
- this.getDetailData()
|
|
|
+ this.getDetailData(1)
|
|
|
+ this.isPersonnel=false
|
|
|
},
|
|
|
- getDetailData(){
|
|
|
+ handlePersonnelDetail(index) {
|
|
|
+ this.detailParams.areaCode = index.row.areaCode;
|
|
|
+ this.detailDialog = true;
|
|
|
+ this.getDetailData(2)
|
|
|
+ this.isPersonnel=true
|
|
|
+ },
|
|
|
+ getDetailData(quMarks){
|
|
|
this.loading = true;
|
|
|
- this.$api.user.quUserNumDetail({...this.detailParams,userId:this.userId,createTimeStart:this.formData.createTimeStart,createTimeEnd:this.formData.createTimeEnd }).then((res) => {
|
|
|
+ this.$api.user.quUserNumDetail({...this.detailParams,userId:this.userId,createTimeStart:this.formData.createTimeStart,createTimeEnd:this.formData.createTimeEnd,quMarks }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.detailData = res.data.records;
|
|
|
this.detailParams.pageNum = res.data.current;
|
|
|
@@ -358,15 +364,15 @@
|
|
|
this.formData.pageSize = data.pageRequest.pageSize;
|
|
|
}
|
|
|
let areaCode=''
|
|
|
- this.formData.level=''
|
|
|
- if(this.formData.cityCode){
|
|
|
- areaCode=this.formData.cityCode
|
|
|
- this.formData.level='2'
|
|
|
- }
|
|
|
- else{
|
|
|
- areaCode=this.formData.areaCode
|
|
|
- this.formData.level='1'
|
|
|
- }
|
|
|
+ this.formData.level=''
|
|
|
+ if(this.formData.cityCode){
|
|
|
+ areaCode=this.formData.cityCode
|
|
|
+ this.formData.level='2'
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ areaCode=this.formData.areaCode
|
|
|
+ this.formData.level='1'
|
|
|
+ }
|
|
|
this.loading = true;
|
|
|
let res=await this.$api.user.quUserNumList({...this.formData,userId: this.userId,areaCode })
|
|
|
if (res.code == 200) {
|