数据看板 时间选择
This commit is contained in:
parent
53f394dbd6
commit
a0ec62f296
|
|
@ -198,7 +198,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {listDept} from "@/api/system/dept";
|
import {listDeptUser} from "@/api/system/dept";
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
import {getDetailsList} from "@/api/report/attReport";
|
import {getDetailsList} from "@/api/report/attReport";
|
||||||
|
|
@ -284,7 +284,7 @@ export default {
|
||||||
},
|
},
|
||||||
//部门选择
|
//部门选择
|
||||||
getDeptList() {
|
getDeptList() {
|
||||||
listDept().then(response => {
|
listDeptUser().then(response => {
|
||||||
this.deptOptions = this.handleTree(response.data, "id");
|
this.deptOptions = this.handleTree(response.data, "id");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@
|
||||||
<div id="pieBox" style="width: 100%;height: 260px;"></div>
|
<div id="pieBox" style="width: 100%;height: 260px;"></div>
|
||||||
<!-- 点击区域 -->
|
<!-- 点击区域 -->
|
||||||
<div class="clickable-texts">
|
<div class="clickable-texts">
|
||||||
<div class="clickable-text expected" @click="handleClick('0')">应出勤人数</div>
|
<div class="clickable-text expected" @click="handleClick('0')">应出勤人数应出勤人数</div>
|
||||||
<div class="clickable-text actual" @click="handleClick('1')">实际出勤人数</div>
|
<div class="clickable-text actual" @click="handleClick('1')">实际出勤人数实际出勤人数</div>
|
||||||
<div class="clickable-text absent" @click="handleClick('2')">未出勤人数</div>
|
<div class="clickable-text absent" @click="handleClick('2')">未出勤人数未出勤人数</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,7 @@
|
||||||
}else if(row.type.indexOf('轮休审批提醒')>-1){//userName
|
}else if(row.type.indexOf('轮休审批提醒')>-1){//userName
|
||||||
this.$router.replace({ path: '/process/restExam',query:{param:value}})
|
this.$router.replace({ path: '/process/restExam',query:{param:value}})
|
||||||
}else if(row.type.indexOf('临时外出审批提醒')>-1){//userName
|
}else if(row.type.indexOf('临时外出审批提醒')>-1){//userName
|
||||||
|
|
||||||
this.$router.replace({ path: '/process/outExam',query:{param:value}})
|
this.$router.replace({ path: '/process/outExam',query:{param:value}})
|
||||||
}else if(row.type.indexOf('分公司项目部新增')>-1){//userName
|
}else if(row.type.indexOf('分公司项目部新增')>-1){//userName
|
||||||
this.$router.replace({ path: '/process/org/branchProExamine',query:{param:value}})
|
this.$router.replace({ path: '/process/org/branchProExamine',query:{param:value}})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue