|
|
@ -27,16 +27,6 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<!-- <div class="pagination"> |
|
|
|
|
|
|
|
<el-pagination |
|
|
|
|
|
|
|
background |
|
|
|
|
|
|
|
@current-change="currentChange" |
|
|
|
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
|
|
|
:current-page="pageNo" |
|
|
|
|
|
|
|
:total="totals" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -48,7 +38,7 @@ |
|
|
|
<div class="flex-center"> |
|
|
|
<div class="flex-center"> |
|
|
|
<p class="fz-16 mgr10 font-blue mgl20 nowrap">清收组</p> |
|
|
|
<p class="fz-16 mgr10 font-blue mgl20 nowrap">清收组</p> |
|
|
|
<el-select v-model="searchStr.groupId" placeholder="请选择" clearable @change="search"> |
|
|
|
<el-select v-model="searchStr.groupId" placeholder="请选择" clearable @change="search"> |
|
|
|
<el-option v-for="item in liquidateSelectArr" :key="item.id" :label="item.label" :value="item.id"></el-option> |
|
|
|
<el-option v-for="item in liquidateSelectArr" :key="item.id" :label="item.groupName" :value="item.id"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
|
|
|
|
|
|
|
|
<p class="fz-16 mgr10 font-blue mgl20 nowrap">完成比例</p> |
|
|
|
<p class="fz-16 mgr10 font-blue mgl20 nowrap">完成比例</p> |
|
|
@ -59,6 +49,7 @@ |
|
|
|
placeholder="请输入整数" |
|
|
|
placeholder="请输入整数" |
|
|
|
class="wd20 mglr10" |
|
|
|
class="wd20 mglr10" |
|
|
|
style="min-width: 200px" |
|
|
|
style="min-width: 200px" |
|
|
|
|
|
|
|
:disabled="!searchStr.proportionSymbol" |
|
|
|
v-model="searchStr.proportion" |
|
|
|
v-model="searchStr.proportion" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
></el-input> |
|
|
|
></el-input> |
|
|
@ -67,7 +58,7 @@ |
|
|
|
<el-select v-model="searchStr.allAoumntSymbol" placeholder="请选择" clearable @change="search"> |
|
|
|
<el-select v-model="searchStr.allAoumntSymbol" placeholder="请选择" clearable @change="search"> |
|
|
|
<el-option v-for="item in proportion" :key="item.id" :label="item.label" :value="item.id"></el-option> |
|
|
|
<el-option v-for="item in proportion" :key="item.id" :label="item.label" :value="item.id"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
<el-input class="wd20 mglr10" placeholder="搜索业务编号/客户名称" style="min-width: 200px" v-model="searchStr.allAoumnt" clearable></el-input> |
|
|
|
<el-input :disabled="!searchStr.allAoumntSymbol" class="wd20 mglr10" placeholder="清收总额" style="min-width: 200px" v-model="searchStr.allAoumnt" clearable></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex-center"> |
|
|
|
<div class="flex-center"> |
|
|
|
<el-button v-preventReClick type="primary" size="small" round @click="clearOption">清空选项</el-button> |
|
|
|
<el-button v-preventReClick type="primary" size="small" round @click="clearOption">清空选项</el-button> |
|
|
@ -107,7 +98,6 @@ |
|
|
|
--> |
|
|
|
--> |
|
|
|
<div class="dataList" ref="table" @scroll="handleScroll"> |
|
|
|
<div class="dataList" ref="table" @scroll="handleScroll"> |
|
|
|
<el-table |
|
|
|
<el-table |
|
|
|
|
|
|
|
|
|
|
|
:data="statisticsData" |
|
|
|
:data="statisticsData" |
|
|
|
stripe |
|
|
|
stripe |
|
|
|
header-align="center" |
|
|
|
header-align="center" |
|
|
@ -117,9 +107,9 @@ |
|
|
|
:key="1" |
|
|
|
:key="1" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column> |
|
|
|
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"></el-table-column> |
|
|
|
<el-table-column prop="companyRanks" label="公司排名" align="center" width="150px"></el-table-column> |
|
|
|
<el-table-column prop="companyRanks" label="公司排名" align="center" width="120px"></el-table-column> |
|
|
|
<el-table-column prop="TeamRanks" label="小组排名" align="center" width="150px"></el-table-column> |
|
|
|
<el-table-column prop="TeamRanks" label="小组排名" align="center" width="120px"></el-table-column> |
|
|
|
<el-table-column prop="groupName" label="清收组" align="center"></el-table-column> |
|
|
|
<el-table-column prop="groupName" label="清收组" align="center" width="150px"></el-table-column> |
|
|
|
<el-table-column prop="personLiable" label="清收负责人" align="center" width="150px"></el-table-column> |
|
|
|
<el-table-column prop="personLiable" label="清收负责人" align="center" width="150px"></el-table-column> |
|
|
|
<el-table-column prop="jobNumber" label="工号" align="center"></el-table-column> |
|
|
|
<el-table-column prop="jobNumber" label="工号" align="center"></el-table-column> |
|
|
|
<el-table-column prop="enterprise" label="清收企业" align="center" width="150px"> |
|
|
|
<el-table-column prop="enterprise" label="清收企业" align="center" width="150px"> |
|
|
@ -166,10 +156,13 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ratio" label="完成比例" align="center" width="150px"> |
|
|
|
<el-table-column prop="ratio" label="完成比例" align="center" width="150px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div class="ratio"> |
|
|
|
<div class="ratio" v-show="scope.row.edit"> |
|
|
|
<div class="top">{{scope.row.totalAmount}}</div> |
|
|
|
<div class="top">{{scope.row.totalAmount}}</div> |
|
|
|
<el-input :disabled="!scope.row.edit" v-model="scope.row.proportion"></el-input> |
|
|
|
<el-input :disabled="!scope.row.edit" v-model="scope.row.proportion"></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="!scope.row.edit"> |
|
|
|
|
|
|
|
{{scope.row.percent}}% |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="remark" label="备注" align="center" width="200px"> |
|
|
|
<el-table-column prop="remark" label="备注" align="center" width="200px"> |
|
|
@ -180,7 +173,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<!-- 判断是否为查看或者编辑 --> |
|
|
|
<!-- 判断是否为查看或者编辑 --> |
|
|
|
<el-table-column label="操作" width="300" align="center"> |
|
|
|
<el-table-column v-if="!liquidWatch" label="操作" width="300" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" @click="yearEdit(scope.row)">{{scope.row.editStr}}</el-button> |
|
|
|
<el-button type="text" @click="yearEdit(scope.row)">{{scope.row.editStr}}</el-button> |
|
|
|
<!-- <el-button type="text" @click="history(scope.row)">查看</el-button> --> |
|
|
|
<!-- <el-button type="text" @click="history(scope.row)">查看</el-button> --> |
|
|
@ -235,7 +228,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import {collectionGroupList ,generateAnnualStatistics,annualList,annualStatisticsList,editAnnualStatistics,personnelSelection ,annualStatisticsDeleted,annualStatisticsListExport } from '../../../utils/api' |
|
|
|
import {collectionGroupList ,generateAnnualStatistics,annualList,annualStatisticsList,editAnnualStatistics,personnelSelection ,annualStatisticsDeleted,annualStatisticsListExport,liquidateList } from '../../../utils/api' |
|
|
|
import core from '../../../utils/core' |
|
|
|
import core from '../../../utils/core' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: '', |
|
|
|
name: '', |
|
|
@ -310,25 +303,43 @@ export default { |
|
|
|
return this.$store.state.loan.liquidate |
|
|
|
return this.$store.state.loan.liquidate |
|
|
|
},set(){} |
|
|
|
},set(){} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
liquidWatch:{ |
|
|
|
|
|
|
|
get(){ |
|
|
|
|
|
|
|
return this.$store.state.loan.liquidWatch |
|
|
|
|
|
|
|
},set(){} |
|
|
|
|
|
|
|
}, |
|
|
|
liquidateSearch:{ |
|
|
|
liquidateSearch:{ |
|
|
|
get(){ |
|
|
|
get(){ |
|
|
|
this.searchStr = this.$store.state.loan.liquidateSearch |
|
|
|
this.searchStr = this.$store.state.loan.liquidateSearch |
|
|
|
return this.$store.state.loan.liquidateSearch |
|
|
|
return this.$store.state.loan.liquidateSearch |
|
|
|
},set(){} |
|
|
|
},set(){} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
percent(){ |
|
|
|
|
|
|
|
console.log(this.statisticsData,'statisticsData') |
|
|
|
|
|
|
|
console.log(this.statisticsData.totalAmount,this.statisticsData.proportion,'计算百分比的值') |
|
|
|
|
|
|
|
return (+this.statisticsData.totalAmount/+this.statisticsData.proportion).toFixed(2) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|
this.searchStr = this.$store.state.loan.liquidateSearch |
|
|
|
this.searchStr = this.$store.state.loan.liquidateSearch |
|
|
|
this.annualList() |
|
|
|
this.annualList() |
|
|
|
|
|
|
|
console.log(this.liquidate,'li') |
|
|
|
if(this.liquidate=='2'){ |
|
|
|
if(this.liquidate=='2'){ |
|
|
|
|
|
|
|
console.log('判断为2') |
|
|
|
|
|
|
|
this.liquidateList() |
|
|
|
this.annualStatisticsList() |
|
|
|
this.annualStatisticsList() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
liquidateList(){// 清收组 |
|
|
|
|
|
|
|
liquidateList().then(res=>{ |
|
|
|
|
|
|
|
this.liquidateSelectArr = res.data.groupList |
|
|
|
|
|
|
|
console.log(this.liquidateSelectArr,'arr') |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
handleScroll:core.debounce(function(){ |
|
|
|
handleScroll:core.debounce(function(){ |
|
|
|
let box = this.$refs.table |
|
|
|
let box = this.$refs.table |
|
|
|
if(box.scrollTop+box.clientHeight+180>box.scrollHeight){ |
|
|
|
if(box.scrollTop+box.clientHeight+180>box.scrollHeight){ |
|
|
@ -368,12 +379,15 @@ export default { |
|
|
|
annualStatisticsList(){ |
|
|
|
annualStatisticsList(){ |
|
|
|
if(this.searchStr.proportionSymbol&&!this.searchStr.proportion) return this.$message('请输入完成比例整数!') |
|
|
|
if(this.searchStr.proportionSymbol&&!this.searchStr.proportion) return this.$message('请输入完成比例整数!') |
|
|
|
if(this.searchStr.allAoumntSymbol&&!this.searchStr.allAoumnt) return this.$message('请输入已清收总额!') |
|
|
|
if(this.searchStr.allAoumntSymbol&&!this.searchStr.allAoumnt) return this.$message('请输入已清收总额!') |
|
|
|
|
|
|
|
if(!this.searchStr.year) { |
|
|
|
|
|
|
|
this.searchStr = this.$store.state.loan.liquidateSearch |
|
|
|
|
|
|
|
} |
|
|
|
this.moreText = "点击加载更多数据" |
|
|
|
this.moreText = "点击加载更多数据" |
|
|
|
let param = { |
|
|
|
let param = { |
|
|
|
year:this.searchStr.year, |
|
|
|
year:this.searchStr.year, |
|
|
|
groupId:this.searchStr.groupId, |
|
|
|
groupId:this.searchStr.groupId, |
|
|
|
proportionSymbol:this.searchStr.proportionSymbol, |
|
|
|
// proportionSymbol:this.searchStr.proportionSymbol, |
|
|
|
proportion:this.searchStr.proportion, |
|
|
|
// proportion:this.searchStr.proportion, |
|
|
|
queryCondition:this.searchStr.queryCondition, |
|
|
|
queryCondition:this.searchStr.queryCondition, |
|
|
|
} |
|
|
|
} |
|
|
|
this.statisticsLoading = true |
|
|
|
this.statisticsLoading = true |
|
|
@ -404,44 +418,100 @@ export default { |
|
|
|
// 取得初次处理的数据 |
|
|
|
// 取得初次处理的数据 |
|
|
|
this.originalData = [] |
|
|
|
this.originalData = [] |
|
|
|
for(let [key,value] of arr){ |
|
|
|
for(let [key,value] of arr){ |
|
|
|
|
|
|
|
if(value.totalAmount&&value.proportion){ |
|
|
|
|
|
|
|
value.percent = ((value.totalAmount/value.proportion)*100).toFixed(2) |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
value.percent = '未填写任务额度' |
|
|
|
|
|
|
|
} |
|
|
|
this.originalData.push(value) |
|
|
|
this.originalData.push(value) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log(this.originalData,'初始处理的数据') |
|
|
|
|
|
|
|
|
|
|
|
this.radioChange('依据小组排名') |
|
|
|
this.radioChange('依据小组排名') |
|
|
|
this.radioChange('依据公司排名') |
|
|
|
this.radioChange('依据公司排名') |
|
|
|
if(this.radio==='依据小组排名'){ |
|
|
|
if(this.radio==='依据小组排名'){ |
|
|
|
this.radioChange('依据小组排名') |
|
|
|
this.radioChange('依据小组排名') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log(this.searchStr.proportionSymbol,'this.searchStr.allAoumntSymbol') |
|
|
|
|
|
|
|
switch (this.searchStr.proportionSymbol) { |
|
|
|
|
|
|
|
case '': |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case ">": |
|
|
|
|
|
|
|
if(this.searchStr.proportion){ |
|
|
|
|
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
|
|
|
|
if(e.percent!=='未填写任务额度') |
|
|
|
|
|
|
|
return +e.percent > this.searchStr.proportion |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "<": |
|
|
|
|
|
|
|
if(this.searchStr.proportion){ |
|
|
|
|
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
|
|
|
|
if(e.percent!=='未填写任务额度') |
|
|
|
|
|
|
|
return +e.percent < this.searchStr.proportion |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case ">=": |
|
|
|
|
|
|
|
if(this.searchStr.proportion){ |
|
|
|
|
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
|
|
|
|
if(e.percent!=='未填写任务额度') |
|
|
|
|
|
|
|
return +e.percent >= this.searchStr.proportion |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "<=": |
|
|
|
|
|
|
|
if(this.searchStr.proportion){ |
|
|
|
|
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
|
|
|
|
if(e.percent!=='未填写任务额度') |
|
|
|
|
|
|
|
return +e.percent <= this.searchStr.proportion |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "=": |
|
|
|
|
|
|
|
if(this.searchStr.proportion){ |
|
|
|
|
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
|
|
|
|
if(e.percent!=='未填写任务额度') |
|
|
|
|
|
|
|
return +e.percent == this.searchStr.proportion |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 查完成比例 |
|
|
|
switch (this.searchStr.allAoumntSymbol) { |
|
|
|
switch (this.searchStr.allAoumntSymbol) { |
|
|
|
case '': |
|
|
|
case '': |
|
|
|
break; |
|
|
|
break; |
|
|
|
case ">": |
|
|
|
case ">": |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
return e.totalAmount > this.searchStr.allAoumnt |
|
|
|
return e.totalAmount > this.searchStr.allAoumnt||0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "<": |
|
|
|
case "<": |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
return e.totalAmount < this.searchStr.allAoumnt |
|
|
|
return e.totalAmount < this.searchStr.allAoumnt||0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
break; |
|
|
|
break; |
|
|
|
case ">=": |
|
|
|
case ">=": |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
return e.totalAmount >= this.searchStr.allAoumnt |
|
|
|
return e.totalAmount >= this.searchStr.allAoumnt||0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "<=": |
|
|
|
case "<=": |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
return e.totalAmount <= this.searchStr.allAoumnt |
|
|
|
return e.totalAmount <= this.searchStr.allAoumnt||0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "=": |
|
|
|
case "=": |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
this.statisticsData = this.statisticsData.filter(e=>{ |
|
|
|
return e.totalAmount == this.searchStr.allAoumnt |
|
|
|
return e.totalAmount == this.searchStr.allAoumnt||0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 长度大于10,开启滚动记录数组,切割当前数组 |
|
|
|
// 长度大于10,开启滚动记录数组,切割当前数组 |
|
|
|
if (this.statisticsData.length>10) { |
|
|
|
if (this.statisticsData.length>10) { |
|
|
|
this.recordArr = JSON.parse(JSON.stringify(this.statisticsData)) |
|
|
|
this.recordArr = JSON.parse(JSON.stringify(this.statisticsData)) |
|
|
@ -472,6 +542,7 @@ export default { |
|
|
|
this.treeIds = this.$refs.tree.getCheckedKeys() |
|
|
|
this.treeIds = this.$refs.tree.getCheckedKeys() |
|
|
|
}, |
|
|
|
}, |
|
|
|
async createList(val) {// 唤起清收组弹窗 |
|
|
|
async createList(val) {// 唤起清收组弹窗 |
|
|
|
|
|
|
|
console.log(val,'val') |
|
|
|
this.showRank = true; |
|
|
|
this.showRank = true; |
|
|
|
if(val==='new'){// 新增人员 |
|
|
|
if(val==='new'){// 新增人员 |
|
|
|
this.treeIds = [] |
|
|
|
this.treeIds = [] |
|
|
@ -494,7 +565,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(arr.length===0) return this.$message.warning('请先选择人员后再生成列表!') |
|
|
|
if(arr.length===0) return this.$message.warning('请先选择人员后再生成列表!') |
|
|
|
generateAnnualStatistics({personLiableIds:arr,year:this.chooisYear}).then(res=>{ |
|
|
|
generateAnnualStatistics({personLiableIds:arr,year:this.chooisYear,flag:1}).then(res=>{ |
|
|
|
this.showRank = false |
|
|
|
this.showRank = false |
|
|
|
this.$message.success('操作成功!') |
|
|
|
this.$message.success('操作成功!') |
|
|
|
this.annualList() |
|
|
|
this.annualList() |
|
|
@ -503,6 +574,11 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}else{// 编辑 |
|
|
|
}else{// 编辑 |
|
|
|
let arr = [] |
|
|
|
let arr = [] |
|
|
|
|
|
|
|
this.ids.forEach(e=>{// 避免重复生成 |
|
|
|
|
|
|
|
if(this.treeIds.includes(+e)){ |
|
|
|
|
|
|
|
this.treeIds.splice(this.treeIds.indexOf(+e),1) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
this.treeIds.forEach((e,index)=>{ |
|
|
|
this.treeIds.forEach((e,index)=>{ |
|
|
|
if(typeof(e)=='number'){ |
|
|
|
if(typeof(e)=='number'){ |
|
|
|
arr.push(e) |
|
|
|
arr.push(e) |
|
|
@ -584,7 +660,8 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
clearOption() { |
|
|
|
clearOption() { |
|
|
|
// 清空筛选条件 |
|
|
|
// 清空筛选条件 |
|
|
|
this.$store.commit('liquidateSearch',{}) |
|
|
|
this.$store.commit('liquidateSearch',{year:this.liquidateSearch.year}) |
|
|
|
|
|
|
|
this.annualStatisticsList() |
|
|
|
}, |
|
|
|
}, |
|
|
|
search() { |
|
|
|
search() { |
|
|
|
// 暂时占位 |
|
|
|
// 暂时占位 |
|
|
@ -605,6 +682,9 @@ export default { |
|
|
|
year:row |
|
|
|
year:row |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$store.commit('liquidate','2') |
|
|
|
this.$store.commit('liquidate','2') |
|
|
|
|
|
|
|
// 判断进入查看 |
|
|
|
|
|
|
|
this.$store.commit('liquidWatch',val) |
|
|
|
|
|
|
|
console.log(val,this.liquidWatch,'liquidWatch') |
|
|
|
this.annualStatisticsList() |
|
|
|
this.annualStatisticsList() |
|
|
|
}, |
|
|
|
}, |
|
|
|
yearEdit(row, val){// 编辑功能 |
|
|
|
yearEdit(row, val){// 编辑功能 |
|
|
@ -636,6 +716,7 @@ export default { |
|
|
|
personnelSelection(val){// 人员选择 |
|
|
|
personnelSelection(val){// 人员选择 |
|
|
|
return personnelSelection({year:val}).then(res=>{ |
|
|
|
return personnelSelection({year:val}).then(res=>{ |
|
|
|
this.treeIds = res.data.list |
|
|
|
this.treeIds = res.data.list |
|
|
|
|
|
|
|
this.ids = res.data.list |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
del(row){ |
|
|
|
del(row){ |
|
|
@ -674,8 +755,8 @@ export default { |
|
|
|
.ratio{ |
|
|
|
.ratio{ |
|
|
|
.top{ |
|
|
|
.top{ |
|
|
|
border-bottom: 1px solid; |
|
|
|
border-bottom: 1px solid; |
|
|
|
height: 40px; |
|
|
|
height: 52px; |
|
|
|
line-height: 40px; |
|
|
|
line-height: 52px; |
|
|
|
margin-bottom: 15px; |
|
|
|
margin-bottom: 15px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -693,4 +774,7 @@ export default { |
|
|
|
left: 50%; |
|
|
|
left: 50%; |
|
|
|
transform: translate(-50%,0); |
|
|
|
transform: translate(-50%,0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/deep/ .el-input.is-disabled .el-input__inner{ |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|