|
@@ -146,13 +146,7 @@
|
|
<b>{{ index == 5 ? '倒数第2' : index == 6 ? '倒数第1' : '' }}</b>
|
|
<b>{{ index == 5 ? '倒数第2' : index == 6 ? '倒数第1' : '' }}</b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <userImage
|
|
|
|
- :img_url="item.employee_img_url"
|
|
|
|
- fontSize="1"
|
|
|
|
- :user_name="item.employee_name"
|
|
|
|
- width="60px"
|
|
|
|
- height="60px"
|
|
|
|
- ></userImage>
|
|
|
|
|
|
+ <userImage :img_url="item.employee_img_url" fontSize="1" :user_name="item.employee_name" width="60px" height="60px"></userImage>
|
|
</div>
|
|
</div>
|
|
<span
|
|
<span
|
|
style="color:#303133;font-size:14px;text-align:center;margin-top:10px;display: inline-block;width:100%;display: block;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;"
|
|
style="color:#303133;font-size:14px;text-align:center;margin-top:10px;display: inline-block;width:100%;display: block;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;"
|
|
@@ -288,45 +282,69 @@
|
|
<el-col :span="6" style="min-width:280px;">
|
|
<el-col :span="6" style="min-width:280px;">
|
|
<el-row v-if="!creatorJurisdiction">
|
|
<el-row v-if="!creatorJurisdiction">
|
|
<div class="right-all-style" style="background-color:#fff;padding:20px;;text-align:left;margin-bottom: 10px;">
|
|
<div class="right-all-style" style="background-color:#fff;padding:20px;;text-align:left;margin-bottom: 10px;">
|
|
- <span class="title">常用</span>
|
|
|
|
- <div>
|
|
|
|
- <span v-for="(item,index) in inCommonUse" :key="index" @click="$router.push({ path: item.push })" class="inCommonUseStyle">
|
|
|
|
- <img :src="item.image" alt="" style="width:31px;height:31px;margin:11px 10% 0 8%;">
|
|
|
|
- <b>{{item.name}}</b>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <span class="title">常用</span>
|
|
|
|
+ <div>
|
|
|
|
+ <span v-for="(item, index) in inCommonUse" :key="index" @click="$router.push({ path: item.push })" class="inCommonUseStyle">
|
|
|
|
+ <img :src="item.image" alt="" style="width:31px;height:31px;margin:11px 10% 0 8%;" />
|
|
|
|
+ <b>{{ item.name }}</b>
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<div class="right-all-style" v-loading="highestPrizeBuckleloading" style="background:#fff;padding: 20px 20px 0;">
|
|
<div class="right-all-style" v-loading="highestPrizeBuckleloading" style="background:#fff;padding: 20px 20px 0;">
|
|
- <span class="title">待我审批({{auditList.length}})</span>
|
|
|
|
-
|
|
|
|
- <div class="nopoint_box" v-if="auditList.length==0">
|
|
|
|
|
|
+ <span class="title">待我审批({{ auditList.length }})</span>
|
|
|
|
+
|
|
|
|
+ <div class="nopoint_box" v-if="auditList.length == 0">
|
|
<div class="noimg"></div>
|
|
<div class="noimg"></div>
|
|
<span class="title1" style="padding-bottom:20px;">还没有待我审批</span>
|
|
<span class="title1" style="padding-bottom:20px;">还没有待我审批</span>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div v-else style="padding:20px 0 20px 0;" class="flex-box-v">
|
|
<div v-else style="padding:20px 0 20px 0;" class="flex-box-v">
|
|
- <div v-for="(item,index) in auditList" class="List_border" :key="index" style="cursor:pointer;display:flex;padding-top:10px;" @click="openDetail(item)">
|
|
|
|
- <userImage
|
|
|
|
- width="45px"
|
|
|
|
- height="45px"
|
|
|
|
- :id="item.employee_id"
|
|
|
|
- :user_name="item.employee_name"
|
|
|
|
- style="margin-right:8px"
|
|
|
|
- ></userImage>
|
|
|
|
- <div class="rightexamineAndApproveList2">
|
|
|
|
- <p style="width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#303133;font-size:16px"><b>{{item.employee_name}}{{item.source_type==1?'的积分任务':item.source_type==2?'的积分申请':item.source_type==3?'的积分录入':item.source_type==4?'的绩效工作':''}}</b></p>
|
|
|
|
- <p style="padding:10px 0;font-size:13px;line-height:20px;color:#303133;overflow:hidden; text-overflow:ellipsis;display:-webkit-box; -webkit-box-orient:vertical;-webkit-line-clamp:2; ">{{item.remark.rule || item.remark.customize}}</p>
|
|
|
|
- <div style="display:flex;padding-bottom:10px;justify-content: space-between;">
|
|
|
|
- <span style="color:#909399">{{item.event_time}}</span>
|
|
|
|
- <div>
|
|
|
|
- <span style="color:#26A2FF;cursor:pointer" >去审批</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div
|
|
|
|
+ v-for="(item, index) in auditList"
|
|
|
|
+ class="List_border"
|
|
|
|
+ :key="index"
|
|
|
|
+ style="cursor:pointer;display:flex;padding-top:10px;"
|
|
|
|
+ @click="openDetail(item)"
|
|
|
|
+ >
|
|
|
|
+ <userImage width="45px" height="45px" :id="item.employee_id" :user_name="item.employee_name" style="margin-right:8px"></userImage>
|
|
|
|
+ <div class="rightexamineAndApproveList2">
|
|
|
|
+ <p style="width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#303133;font-size:16px">
|
|
|
|
+ <b>
|
|
|
|
+ {{ item.employee_name
|
|
|
|
+ }}{{
|
|
|
|
+ item.source_type == 1
|
|
|
|
+ ? '的积分任务'
|
|
|
|
+ : item.source_type == 2
|
|
|
|
+ ? '的积分申请'
|
|
|
|
+ : item.source_type == 3
|
|
|
|
+ ? '的积分录入'
|
|
|
|
+ : item.source_type == 4
|
|
|
|
+ ? '的绩效工作'
|
|
|
|
+ : ''
|
|
|
|
+ }}
|
|
|
|
+ </b>
|
|
|
|
+ </p>
|
|
|
|
+ <p
|
|
|
|
+ style="padding:10px 0;font-size:13px;line-height:20px;color:#303133;overflow:hidden; text-overflow:ellipsis;display:-webkit-box; -webkit-box-orient:vertical;-webkit-line-clamp:2; "
|
|
|
|
+ >
|
|
|
|
+ {{ item.remark.rule || item.remark.customize }}
|
|
|
|
+ </p>
|
|
|
|
+ <div style="display:flex;padding-bottom:10px;justify-content: space-between;">
|
|
|
|
+ <span style="color:#909399">{{ item.event_time }}</span>
|
|
|
|
+ <div><span style="color:#26A2FF;cursor:pointer">审批</span></div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="more" v-show="auditList.length >= 3" style="text-align: center;color: #909399;font-size: 14px; padding:16px 16px 0 16px; cursor: pointer;" @click="$router.push({path: '/approval_list'})">查看更多</div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="more"
|
|
|
|
+ v-show="auditList.length >= 3"
|
|
|
|
+ style="text-align: center;color: #909399;font-size: 14px; padding:16px 16px 0 16px; cursor: pointer;"
|
|
|
|
+ @click="$router.push({ path: '/approval_list' })"
|
|
|
|
+ >
|
|
|
|
+ 查看更多
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -340,7 +358,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div v-else style="display:flex;padding:20px 0 20px 0;">
|
|
<div v-else style="display:flex;padding:20px 0 20px 0;">
|
|
- <userImage width="45px" height="45px" :user_name="prize.name" fontSize=".9" style="margin-right:8px"></userImage>
|
|
|
|
|
|
+ <userImage width="45px" height="45px" :user_name="prize.name" fontSize=".9" style="margin-right:8px"></userImage>
|
|
<div class="rightexamineAndApproveList" style="border:0px">
|
|
<div class="rightexamineAndApproveList" style="border:0px">
|
|
<p
|
|
<p
|
|
style="width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#73767c;font-size:16px;display:flex;justify-content: space-between;"
|
|
style="width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#73767c;font-size:16px;display:flex;justify-content: space-between;"
|
|
@@ -371,7 +389,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div v-else style="display:flex;padding:20px 0 20px 0;">
|
|
<div v-else style="display:flex;padding:20px 0 20px 0;">
|
|
- <userImage width="45px" height="45px" :user_name="buckle.name" fontSize=".9" style="margin-right:8px"></userImage>
|
|
|
|
|
|
+ <userImage width="45px" height="45px" :user_name="buckle.name" fontSize=".9" style="margin-right:8px"></userImage>
|
|
<div class="rightexamineAndApproveList">
|
|
<div class="rightexamineAndApproveList">
|
|
<p
|
|
<p
|
|
style="width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#73767c;font-size:16px;display:flex;justify-content: space-between;"
|
|
style="width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#73767c;font-size:16px;display:flex;justify-content: space-between;"
|
|
@@ -388,7 +406,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
|
|
+
|
|
<el-row>
|
|
<el-row>
|
|
<div class="right-all-style" v-loading="announLoad" style="background:#fff;padding: 20px 20px 20px 20px;">
|
|
<div class="right-all-style" v-loading="announLoad" style="background:#fff;padding: 20px 20px 20px 20px;">
|
|
<div style="display:flex;justify-content: space-between;">
|
|
<div style="display:flex;justify-content: space-between;">
|
|
@@ -396,50 +414,41 @@
|
|
<span v-if="announcement.title" @click="$router.push({ path: '/update_notice' })" class="announcementc" style="font-size:13px;">查看详情</span>
|
|
<span v-if="announcement.title" @click="$router.push({ path: '/update_notice' })" class="announcementc" style="font-size:13px;">查看详情</span>
|
|
</div>
|
|
</div>
|
|
<div v-if="announcement.title" class="announs">
|
|
<div v-if="announcement.title" class="announs">
|
|
- <b style="font-size:15px;margin:10px 0 0 10px;display: inline-block;">{{announcement.title}}</b>
|
|
|
|
|
|
+ <b style="font-size:15px;margin:10px 0 0 10px;display: inline-block;">{{ announcement.title }}</b>
|
|
<div class="announDetails" style="padding:0 0 0 18px;margin-top:10px;" v-html="announcement.focus"></div>
|
|
<div class="announDetails" style="padding:0 0 0 18px;margin-top:10px;" v-html="announcement.focus"></div>
|
|
</div>
|
|
</div>
|
|
<div v-else class="nopoint_box">
|
|
<div v-else class="nopoint_box">
|
|
<div class="noimg"></div>
|
|
<div class="noimg"></div>
|
|
<span class="title1" style="padding-bottom:10px;">暂无系统公告</span>
|
|
<span class="title1" style="padding-bottom:10px;">暂无系统公告</span>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<div class="updateNotice">
|
|
<div class="updateNotice">
|
|
<el-dialog title="系统公告" :visible.sync="updateVisible" width="500px" top="20vh" :before-close="updateClose">
|
|
<el-dialog title="系统公告" :visible.sync="updateVisible" width="500px" top="20vh" :before-close="updateClose">
|
|
- <b style="font-size:16px;margin:0 0 10px 0;display: inline-block;">{{announcement.title}}</b>
|
|
|
|
|
|
+ <b style="font-size:16px;margin:0 0 10px 0;display: inline-block;">{{ announcement.title }}</b>
|
|
<div class="announDetails" style="padding:0 0 0 0" v-html="announcement.focus"></div>
|
|
<div class="announDetails" style="padding:0 0 0 0" v-html="announcement.focus"></div>
|
|
- <span slot="footer" class="dialog-footer">
|
|
|
|
- <el-button @click="$router.push({ path: '/update_notice' })" type="primary" round>查看详情</el-button>
|
|
|
|
- </span>
|
|
|
|
|
|
+ <span slot="footer" class="dialog-footer"><el-button @click="$router.push({ path: '/update_notice' })" type="primary" round>查看详情</el-button></span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
- <examinePopup
|
|
|
|
- :title="'审核详情'"
|
|
|
|
- :id="detail_id"
|
|
|
|
- :show.sync="detailShow"
|
|
|
|
- ></examinePopup>
|
|
|
|
|
|
+ <examinePopup :title="'审核详情'" :id="detail_id" :show.sync="detailShow"></examinePopup>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
var bool = true; // 五秒执行一次变量
|
|
var bool = true; // 五秒执行一次变量
|
|
-import examinePopup from "@/components/examinePopup";
|
|
|
|
|
|
+import examinePopup from '@/components/examinePopup';
|
|
export default {
|
|
export default {
|
|
- components:{examinePopup},
|
|
|
|
|
|
+ components: { examinePopup },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- announLoad:false,
|
|
|
|
- announcement:{},
|
|
|
|
|
|
+ announLoad: false,
|
|
|
|
+ announcement: {},
|
|
|
|
|
|
- updateVisible:false,
|
|
|
|
|
|
+ updateVisible: false,
|
|
|
|
|
|
- employeeRout:this.$authoritys('employee'),
|
|
|
|
|
|
+ employeeRout: this.$authoritys('employee'),
|
|
|
|
|
|
authorityManagerHeaderLoad: false, //管理员头部loading
|
|
authorityManagerHeaderLoad: false, //管理员头部loading
|
|
authorityManagerHeaders: {}, //管理员头部 数据
|
|
authorityManagerHeaders: {}, //管理员头部 数据
|
|
@@ -526,17 +535,17 @@ export default {
|
|
highestPrizeBuckleloading: false, //奖扣分最高loading
|
|
highestPrizeBuckleloading: false, //奖扣分最高loading
|
|
prize: {}, //奖分
|
|
prize: {}, //奖分
|
|
buckle: {}, //扣分
|
|
buckle: {}, //扣分
|
|
-
|
|
|
|
- inCommonUse:[
|
|
|
|
- {name:'奖扣积分',image:require('./assets/image/entry_list.png'),push:'/award_punish'},
|
|
|
|
- {name:'发布任务',image:require('./assets/image/my_publish.png'),push:'/my_issue'},
|
|
|
|
- {name:'申请积分',image:require('./assets/image/a_apply.png'),push:'/apply_list'},
|
|
|
|
- {name:'领任务',image:require('./assets/image/task_hall.png'),push:'/get_task'},
|
|
|
|
|
|
+
|
|
|
|
+ inCommonUse: [
|
|
|
|
+ { name: '奖扣积分', image: require('./assets/image/entry_list.png'), push: '/award_punish' },
|
|
|
|
+ { name: '发布任务', image: require('./assets/image/my_publish.png'), push: '/my_issue' },
|
|
|
|
+ { name: '申请积分', image: require('./assets/image/a_apply.png'), push: '/apply_list' },
|
|
|
|
+ { name: '领任务', image: require('./assets/image/task_hall.png'), push: '/get_task' }
|
|
],
|
|
],
|
|
// 待我审批模块
|
|
// 待我审批模块
|
|
- auditList:[],
|
|
|
|
- detail_id:0,
|
|
|
|
- detailShow:false,
|
|
|
|
|
|
+ auditList: [],
|
|
|
|
+ detail_id: 0,
|
|
|
|
+ detailShow: false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -546,12 +555,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- if(this.employeeRout){
|
|
|
|
- this.inCommonUse = []
|
|
|
|
|
|
+ if (this.employeeRout) {
|
|
|
|
+ this.inCommonUse = [];
|
|
this.inCommonUse.push(
|
|
this.inCommonUse.push(
|
|
- {name:'申请积分',image:require('./assets/image/a_apply.png'),push:'/apply_list'},
|
|
|
|
- {name:'领任务',image:require('./assets/image/task_hall.png'),push:'/get_task'},
|
|
|
|
- )
|
|
|
|
|
|
+ { name: '申请积分', image: require('./assets/image/a_apply.png'), push: '/apply_list' },
|
|
|
|
+ { name: '领任务', image: require('./assets/image/task_hall.png'), push: '/get_task' }
|
|
|
|
+ );
|
|
}
|
|
}
|
|
this.function_All();
|
|
this.function_All();
|
|
window.addEventListener('resize', this.selfAdaption);
|
|
window.addEventListener('resize', this.selfAdaption);
|
|
@@ -563,65 +572,68 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.authorityManagerHeader();
|
|
this.authorityManagerHeader();
|
|
}
|
|
}
|
|
- this.noticeList()//系统公告
|
|
|
|
|
|
+ this.noticeList(); //系统公告
|
|
this.integralForm(); //积分构成
|
|
this.integralForm(); //积分构成
|
|
this.getDepartment(); //获取部门列表
|
|
this.getDepartment(); //获取部门列表
|
|
this.rankingListname(); //获取自定义排行榜名
|
|
this.rankingListname(); //获取自定义排行榜名
|
|
this.monthlyIntegral(); //本月积分情况
|
|
this.monthlyIntegral(); //本月积分情况
|
|
- this.getSpList();//待我审批列表
|
|
|
|
- if(!this.employeeRout){
|
|
|
|
|
|
+ this.getSpList(); //待我审批列表
|
|
|
|
+ if (!this.employeeRout) {
|
|
this.ManagerSAward(); //管理者奖扣任务执行情况
|
|
this.ManagerSAward(); //管理者奖扣任务执行情况
|
|
}
|
|
}
|
|
this.highestPrizeBuckle(); //奖扣分最高积分事件
|
|
this.highestPrizeBuckle(); //奖扣分最高积分事件
|
|
},
|
|
},
|
|
//审批
|
|
//审批
|
|
openDetail(item) {
|
|
openDetail(item) {
|
|
- this.detail_id = item.id;
|
|
|
|
- this.detailShow = true;
|
|
|
|
|
|
+ this.detail_id = item.id;
|
|
|
|
+ this.detailShow = true;
|
|
},
|
|
},
|
|
// 待我审批列表
|
|
// 待我审批列表
|
|
- getSpList(){
|
|
|
|
|
|
+ getSpList() {
|
|
let params = {
|
|
let params = {
|
|
source_type: 0,
|
|
source_type: 0,
|
|
type: 'waiting',
|
|
type: 'waiting',
|
|
page: 1,
|
|
page: 1,
|
|
pt_id: 0,
|
|
pt_id: 0,
|
|
- page_size: '3',
|
|
|
|
- }
|
|
|
|
- this.$axios('get','/api/integral/review/list',params).then((res)=>{
|
|
|
|
- if(res.data.code == 1){
|
|
|
|
- this.auditList = res.data.data.list
|
|
|
|
- }
|
|
|
|
- }).finally(()=>{
|
|
|
|
-
|
|
|
|
- })
|
|
|
|
|
|
+ page_size: '3'
|
|
|
|
+ };
|
|
|
|
+ this.$axios('get', '/api/integral/review/list', params)
|
|
|
|
+ .then(res => {
|
|
|
|
+ if (res.data.code == 1) {
|
|
|
|
+ this.auditList = res.data.data.list;
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ .finally(() => {});
|
|
},
|
|
},
|
|
- noticeList(){//系统公告
|
|
|
|
- this.announLoad = true
|
|
|
|
|
|
+ noticeList() {
|
|
|
|
+ //系统公告
|
|
|
|
+ this.announLoad = true;
|
|
let params = {
|
|
let params = {
|
|
- page:1,
|
|
|
|
- page_size:10,
|
|
|
|
- }
|
|
|
|
- this.$axios('get','/api/announcement/list',params).then((res)=>{
|
|
|
|
- if(res.data.code == 1){
|
|
|
|
- let list = res.data.data.list[0]
|
|
|
|
- if(localStorage.getItem('noticeId')){
|
|
|
|
- if(localStorage.getItem('noticeId') != list.id){
|
|
|
|
- this.updateVisible = true
|
|
|
|
- localStorage.setItem("noticeId",list.id);
|
|
|
|
|
|
+ page: 1,
|
|
|
|
+ page_size: 10
|
|
|
|
+ };
|
|
|
|
+ this.$axios('get', '/api/announcement/list', params)
|
|
|
|
+ .then(res => {
|
|
|
|
+ if (res.data.code == 1) {
|
|
|
|
+ let list = res.data.data.list[0];
|
|
|
|
+ if (localStorage.getItem('noticeId')) {
|
|
|
|
+ if (localStorage.getItem('noticeId') != list.id) {
|
|
|
|
+ this.updateVisible = true;
|
|
|
|
+ localStorage.setItem('noticeId', list.id);
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ localStorage.setItem('noticeId', list.id);
|
|
|
|
+ this.updateVisible = true;
|
|
}
|
|
}
|
|
- }else{
|
|
|
|
- localStorage.setItem("noticeId",list.id);
|
|
|
|
- this.updateVisible = true
|
|
|
|
|
|
+ this.announcement = list;
|
|
}
|
|
}
|
|
- this.announcement = list
|
|
|
|
- }
|
|
|
|
- }).finally(()=>{
|
|
|
|
- this.announLoad = false
|
|
|
|
- })
|
|
|
|
|
|
+ })
|
|
|
|
+ .finally(() => {
|
|
|
|
+ this.announLoad = false;
|
|
|
|
+ });
|
|
},
|
|
},
|
|
- updateClose(none){
|
|
|
|
- none()
|
|
|
|
|
|
+ updateClose(none) {
|
|
|
|
+ none();
|
|
},
|
|
},
|
|
//echarts自适应
|
|
//echarts自适应
|
|
selfAdaption() {
|
|
selfAdaption() {
|
|
@@ -828,7 +840,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
(params.dept_id = null), (params.month = this.$moment().format('YYYY-MM'));
|
|
(params.dept_id = null), (params.month = this.$moment().format('YYYY-MM'));
|
|
}
|
|
}
|
|
- if(this.employeeRout){
|
|
|
|
|
|
+ if (this.employeeRout) {
|
|
params.employee_id = this.$getUserData().id;
|
|
params.employee_id = this.$getUserData().id;
|
|
}
|
|
}
|
|
this.$axios('get', '/api/integral/statistics/pie/b', params, 'v2')
|
|
this.$axios('get', '/api/integral/statistics/pie/b', params, 'v2')
|
|
@@ -1034,12 +1046,12 @@ export default {
|
|
this.monthlyIntegralloading = true;
|
|
this.monthlyIntegralloading = true;
|
|
let params = {};
|
|
let params = {};
|
|
let listslength = [];
|
|
let listslength = [];
|
|
- if(this.employeeRout){
|
|
|
|
|
|
+ if (this.employeeRout) {
|
|
params.employee_id = this.$getUserData().id;
|
|
params.employee_id = this.$getUserData().id;
|
|
- }else{
|
|
|
|
- (params.dept_id = this.exclusiveMonthBranch)
|
|
|
|
|
|
+ } else {
|
|
|
|
+ params.dept_id = this.exclusiveMonthBranch;
|
|
}
|
|
}
|
|
- (params.month = this.$moment().format('YYYY-MM'));
|
|
|
|
|
|
+ params.month = this.$moment().format('YYYY-MM');
|
|
if (this.exclusiveMonthChecked) {
|
|
if (this.exclusiveMonthChecked) {
|
|
params.include_fixed = 1;
|
|
params.include_fixed = 1;
|
|
} else {
|
|
} else {
|
|
@@ -1281,34 +1293,32 @@ export default {
|
|
//离开路由
|
|
//离开路由
|
|
window.removeEventListener('resize', this.selfAdaption); //取消echarts自适应
|
|
window.removeEventListener('resize', this.selfAdaption); //取消echarts自适应
|
|
},
|
|
},
|
|
- created() {
|
|
|
|
- }
|
|
|
|
|
|
+ created() {}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped="scoped" lang="scss">
|
|
<style scoped="scoped" lang="scss">
|
|
-.updateNotice ::v-deep .el-dialog{
|
|
|
|
|
|
+.updateNotice ::v-deep .el-dialog {
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
- .el-dialog__header{
|
|
|
|
|
|
+ .el-dialog__header {
|
|
padding: 13px 20px;
|
|
padding: 13px 20px;
|
|
text-align: center;
|
|
text-align: center;
|
|
background-color: #3193fc;
|
|
background-color: #3193fc;
|
|
border-radius: 8px 8px 0 0;
|
|
border-radius: 8px 8px 0 0;
|
|
- .el-dialog__title{
|
|
|
|
|
|
+ .el-dialog__title {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
- .el-icon-close{
|
|
|
|
|
|
+ .el-icon-close {
|
|
color: #fff;
|
|
color: #fff;
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .el-dialog__body{
|
|
|
|
- padding:20px 20px 30px 20px;
|
|
|
|
|
|
+ .el-dialog__body {
|
|
|
|
+ padding: 20px 20px 30px 20px;
|
|
}
|
|
}
|
|
- .el-dialog__footer{
|
|
|
|
- .dialog-footer{
|
|
|
|
- .is-round{
|
|
|
|
|
|
+ .el-dialog__footer {
|
|
|
|
+ .dialog-footer {
|
|
|
|
+ .is-round {
|
|
padding: 10px 19px;
|
|
padding: 10px 19px;
|
|
border-radius: 15px;
|
|
border-radius: 15px;
|
|
}
|
|
}
|
|
@@ -1519,79 +1529,79 @@ export default {
|
|
.rightexamineAndApproveList2 {
|
|
.rightexamineAndApproveList2 {
|
|
text-align: left;
|
|
text-align: left;
|
|
width: 100%;
|
|
width: 100%;
|
|
- border-bottom:1px solid #EFEFEF;
|
|
|
|
|
|
+ border-bottom: 1px solid #efefef;
|
|
|
|
+}
|
|
|
|
+.inCommonUseStyle {
|
|
|
|
+ width: 95%;
|
|
|
|
+ height: 54px;
|
|
|
|
+ border: 1px solid #c0c4cc;
|
|
|
|
+ display: block;
|
|
|
|
+ margin: 16px 0 0 10px;
|
|
|
|
+ display: flex;
|
|
|
|
+ line-height: 54px;
|
|
|
|
+ border-radius: 5px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ transition: all 0.5s;
|
|
|
|
+}
|
|
|
|
+.inCommonUseStyle b {
|
|
|
|
+ transition: all 0.5s;
|
|
|
|
+ color: #303133;
|
|
|
|
+ font-size: 14px;
|
|
}
|
|
}
|
|
- .inCommonUseStyle{
|
|
|
|
- width:95%;
|
|
|
|
- height:54px;
|
|
|
|
- border:1px solid #C0C4CC;
|
|
|
|
- display:block;
|
|
|
|
- margin:16px 0 0 10px;
|
|
|
|
- display:flex;
|
|
|
|
- line-height:54px;
|
|
|
|
- border-radius:5px;
|
|
|
|
- cursor:pointer;
|
|
|
|
- transition: all .5s;
|
|
|
|
- }
|
|
|
|
- .inCommonUseStyle b{
|
|
|
|
- transition: all .5s;
|
|
|
|
- color:#303133;
|
|
|
|
- font-size:14px;
|
|
|
|
- }
|
|
|
|
- .inCommonUseStyle:hover{
|
|
|
|
- background-color: #fcfcfc;
|
|
|
|
- border: 1px solid #409EFF;
|
|
|
|
- }
|
|
|
|
- .inCommonUseStyle:hover b{
|
|
|
|
- color : #409EFF;
|
|
|
|
- }
|
|
|
|
- .announs{
|
|
|
|
- padding:0 0 10px 0;
|
|
|
|
|
|
+.inCommonUseStyle:hover {
|
|
|
|
+ background-color: #fcfcfc;
|
|
|
|
+ border: 1px solid #409eff;
|
|
|
|
+}
|
|
|
|
+.inCommonUseStyle:hover b {
|
|
|
|
+ color: #409eff;
|
|
|
|
+}
|
|
|
|
+.announs {
|
|
|
|
+ padding: 0 0 10px 0;
|
|
border: 1px solid rgb(236, 236, 236);
|
|
border: 1px solid rgb(236, 236, 236);
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
cursor: default;
|
|
cursor: default;
|
|
// min-height: calc(60vh - 160px);
|
|
// min-height: calc(60vh - 160px);
|
|
margin: 10px 0 0 0;
|
|
margin: 10px 0 0 0;
|
|
- }
|
|
|
|
- ::v-deep .announDetails{
|
|
|
|
|
|
+}
|
|
|
|
+::v-deep .announDetails {
|
|
// max-height: 410px;
|
|
// max-height: 410px;
|
|
- // overflow-y: auto;
|
|
|
|
|
|
+ // overflow-y: auto;
|
|
// *{
|
|
// *{
|
|
// color: #8c8c8c !important;
|
|
// color: #8c8c8c !important;
|
|
// }
|
|
// }
|
|
// img{
|
|
// img{
|
|
// width: 100% !important;
|
|
// width: 100% !important;
|
|
// }
|
|
// }
|
|
- }
|
|
|
|
- .announDetails{
|
|
|
|
|
|
+}
|
|
|
|
+.announDetails {
|
|
max-height: 410px;
|
|
max-height: 410px;
|
|
- overflow-y: auto;
|
|
|
|
- }
|
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+}
|
|
.announDetails::-webkit-scrollbar {
|
|
.announDetails::-webkit-scrollbar {
|
|
width: 9px;
|
|
width: 9px;
|
|
height: 9px;
|
|
height: 9px;
|
|
}
|
|
}
|
|
- .announDetails::-webkit-scrollbar-track {
|
|
|
|
- width: 6px;
|
|
|
|
- background-color: #fff0;
|
|
|
|
- -webkit-border-radius: 2em;
|
|
|
|
- -moz-border-radius: 2em;
|
|
|
|
- border-radius: 2em;
|
|
|
|
- }
|
|
|
|
- .announDetails::-webkit-scrollbar-thumb {
|
|
|
|
- background-color: #fff0;
|
|
|
|
- background-clip: padding-box;
|
|
|
|
- min-height: 28px;
|
|
|
|
- -webkit-border-radius: 2em;
|
|
|
|
- -moz-border-radius: 2em;
|
|
|
|
- border-radius: 2em;
|
|
|
|
- }
|
|
|
|
- .announDetails:hover::-webkit-scrollbar-thumb {
|
|
|
|
- overflow-x: none;
|
|
|
|
- background-color: rgba(144, 147, 153, 0.3);
|
|
|
|
- }
|
|
|
|
- .announcementc{
|
|
|
|
|
|
+.announDetails::-webkit-scrollbar-track {
|
|
|
|
+ width: 6px;
|
|
|
|
+ background-color: #fff0;
|
|
|
|
+ -webkit-border-radius: 2em;
|
|
|
|
+ -moz-border-radius: 2em;
|
|
|
|
+ border-radius: 2em;
|
|
|
|
+}
|
|
|
|
+.announDetails::-webkit-scrollbar-thumb {
|
|
|
|
+ background-color: #fff0;
|
|
|
|
+ background-clip: padding-box;
|
|
|
|
+ min-height: 28px;
|
|
|
|
+ -webkit-border-radius: 2em;
|
|
|
|
+ -moz-border-radius: 2em;
|
|
|
|
+ border-radius: 2em;
|
|
|
|
+}
|
|
|
|
+.announDetails:hover::-webkit-scrollbar-thumb {
|
|
|
|
+ overflow-x: none;
|
|
|
|
+ background-color: rgba(144, 147, 153, 0.3);
|
|
|
|
+}
|
|
|
|
+.announcementc {
|
|
display: block;
|
|
display: block;
|
|
text-align: right;
|
|
text-align: right;
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
@@ -1604,4 +1614,4 @@ export default {
|
|
.announcementc:active {
|
|
.announcementc:active {
|
|
color: #409eff;
|
|
color: #409eff;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|