|
@@ -46,10 +46,8 @@
|
|
placeholder="请选择季度"
|
|
placeholder="请选择季度"
|
|
value-format="Q"
|
|
value-format="Q"
|
|
></el-date-picker> -->
|
|
></el-date-picker> -->
|
|
-
|
|
|
|
<Season ref="Seasons" :defaultHint="true" :isActive="true" class="date-picker-width" @confirm="export_quarter_confirm"></Season>
|
|
<Season ref="Seasons" :defaultHint="true" :isActive="true" class="date-picker-width" @confirm="export_quarter_confirm"></Season>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
<!-- <el-form-item label="规则分类" label-width="70px" >
|
|
<!-- <el-form-item label="规则分类" label-width="70px" >
|
|
<el-cascader
|
|
<el-cascader
|
|
class="date-picker-width"
|
|
class="date-picker-width"
|
|
@@ -80,9 +78,6 @@
|
|
<el-table :data="table_list" style="width: 100%">
|
|
<el-table :data="table_list" style="width: 100%">
|
|
<el-table-column label="名次" width="80" align="center">
|
|
<el-table-column label="名次" width="80" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <!-- <img v-if="scope.row.rank === 1" src="/static/images/statistics_NO1.png" alt="" />
|
|
|
|
- <img v-if="scope.row.rank === 2" src="/static/images/statistics_NO2.png" alt="" />
|
|
|
|
- <img v-if="scope.row.rank === 3" src="/static/images/statistics_NO3.png" alt="" /> -->
|
|
|
|
<img v-if="scope.row.rank === 1" src="@/assets/image/statistics_NO1.png" alt="" />
|
|
<img v-if="scope.row.rank === 1" src="@/assets/image/statistics_NO1.png" alt="" />
|
|
<img v-if="scope.row.rank === 2" src="@/assets/image/statistics_NO2.png" alt="" />
|
|
<img v-if="scope.row.rank === 2" src="@/assets/image/statistics_NO2.png" alt="" />
|
|
<img v-if="scope.row.rank === 3" src="@/assets/image/statistics_NO3.png" alt="" />
|
|
<img v-if="scope.row.rank === 3" src="@/assets/image/statistics_NO3.png" alt="" />
|
|
@@ -92,12 +87,7 @@
|
|
<el-table-column label="姓名" align="left">
|
|
<el-table-column label="姓名" align="left">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div class="flex-box">
|
|
<div class="flex-box">
|
|
- <userImage
|
|
|
|
- :user_name="scope.row.name"
|
|
|
|
- :img_url="scope.row.img_url"
|
|
|
|
- width="50px"
|
|
|
|
- height="50px"
|
|
|
|
- ></userImage>
|
|
|
|
|
|
+ <userImage :user_name="scope.row.name" :img_url="scope.row.img_url" width="50px" height="50px"></userImage>
|
|
<span style="line-height: 50px; padding-left: 10px;">{{ scope.row.name }}</span>
|
|
<span style="line-height: 50px; padding-left: 10px;">{{ scope.row.name }}</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -233,7 +223,6 @@
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import EmployeeSelector from '@/components/EmployeeSelector.vue';
|
|
import EmployeeSelector from '@/components/EmployeeSelector.vue';
|
|
-// import Selectionrules from '@/views/common/selectionrules';
|
|
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
import Season from '@/components/season';
|
|
import Season from '@/components/season';
|
|
// let valuesLengths = []
|
|
// let valuesLengths = []
|
|
@@ -595,8 +584,7 @@ export default {
|
|
this.open_right(this.clickItem);
|
|
this.open_right(this.clickItem);
|
|
},
|
|
},
|
|
// 树型菜单点击筛选
|
|
// 树型菜单点击筛选
|
|
- handleCheckChange(check, param) {
|
|
|
|
- },
|
|
|
|
|
|
+ handleCheckChange(check, param) {},
|
|
getRuletableData_rule(data) {
|
|
getRuletableData_rule(data) {
|
|
let tableData_ruleP = [];
|
|
let tableData_ruleP = [];
|
|
for (let i in data) {
|
|
for (let i in data) {
|
|
@@ -615,8 +603,7 @@ export default {
|
|
return dates;
|
|
return dates;
|
|
},
|
|
},
|
|
|
|
|
|
- treeOpen() {
|
|
|
|
- },
|
|
|
|
|
|
+ treeOpen() {},
|
|
|
|
|
|
//点击编辑
|
|
//点击编辑
|
|
editGroup() {
|
|
editGroup() {
|
|
@@ -747,6 +734,9 @@ export default {
|
|
if (!self.popupType) {
|
|
if (!self.popupType) {
|
|
data.group_id = self.clickItem.id;
|
|
data.group_id = self.clickItem.id;
|
|
}
|
|
}
|
|
|
|
+ if(data.items.length==0){
|
|
|
|
+ data.items=this.valuesOrLength
|
|
|
|
+ }
|
|
self.$axios('POST', this.popupType ? '/api/integral/statistics/groups/create' : '/api/integral/statistics/groups', data)
|
|
self.$axios('POST', this.popupType ? '/api/integral/statistics/groups/create' : '/api/integral/statistics/groups', data)
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == 1) {
|
|
if (res.data.code == 1) {
|