flx:修复新劳务管理模块

This commit is contained in:
Rain_ 2025-08-26 09:12:19 +08:00
parent 581d0e083d
commit 8da1178eb2
4 changed files with 41 additions and 23 deletions

View File

@ -864,7 +864,9 @@ function jumpBgd() {
if (COMPANY == "") {
// window.location.replace("http://192.168.34.216:8080/#/login?token=" + store.token);
// window.location.replace("http://jxj.zhgdyun.com:100/#/login?token=" + store.token);
window.location.replace(BASEURL + "/#/login?token=" + store.token);
// window.location.replace(BASEURL + "/#/login?token=" + store.token);
// ()
window.location.replace("http://101.43.164.214:11111/#/login?token=" + store.token);
} else if (COMPANY === "tj") {
window.location.replace("http://192.168.110.220:9809/#/login?token=" + store.token);
} else if (COMPANY === "as") {

View File

@ -180,7 +180,7 @@ function drawChart(result: any) {
let myEchartsNum = echarts.init(dom);
const option = {
grid: {
left: "4%",
left: "6%",
right: "5%",
bottom: "10%"
// containLabel: true,
@ -248,7 +248,9 @@ function drawChart(result: any) {
color: "#fff",
nameLocation: "start"
},
splitNumber: 5,
// splitNumber: 5,
max: 100,
min: 0,
axisLabel: {
color: "#fff",
formatter: "{value}"

View File

@ -60,7 +60,7 @@ function drawChart(result: any) {
textStyle: {
color: "#ffffff"
},
data: ["出勤人数", "在职人数", "出勤率"],
data: ["出勤人数", "在职人数", "出勤率"]
},
xAxis: [
{
@ -108,7 +108,8 @@ function drawChart(result: any) {
color: "#fff",
nameLocation: "start"
},
splitNumber: 5,
max: 100,
min: 0,
axisLabel: {
color: "#fff",
formatter: "{value}"

View File

@ -13,6 +13,7 @@
size="small"
:show-all-levels="false"
@change="handleUnfold"
@visible-change="visibleChange"
:props="{
emitPath: false,
value: 'id',
@ -22,6 +23,7 @@
></el-cascader>
</div>
</div>
<div v-if="showVideo">
<!-- 萤石云播放 -->
<!-- <div ref="playWndBox" style="width: 100%; height: 100%; margin: 0 5% 2% 5%" v-if="videoType === 1">
<ysyPlayAndPlayback :ref="'ysy'" :ysyParams="ysyParams"></ysyPlayAndPlayback>
@ -38,6 +40,7 @@
width: playWndWidth + 'xp'
}"-->
</div>
</div>
</Card>
</div>
</div>
@ -57,12 +60,14 @@ import { GlobalStore } from "@/stores";
import { selectProjectVideoListApi, selectProjectVideoGroupApi, getSafeHatSessionApi } from "@/api/modules/video";
import { COMPANY } from "@/config/config";
import emitter from "@/views/sevenLargeScreen/videoManagement/mitt";
import { type } from "os";
const defaultProps = {
children: "children",
label: (data: any, node: any) => node.data.name
};
let videoType = ref("") as any;
let ysyParams = ref({} as any);
const showVideo = ref(true);
let select = ref(1) as any;
//
const layoutOptions = [
@ -226,7 +231,7 @@ const handleUnfold = (rowId: any) => {
// id
const recursion = (dataList: [], itemId: any) => {
dataList.forEach((item: any) => {
if(item.id === itemId) {
if (item.id === itemId) {
expandedItem = item;
}
if (item.list && item.list.length) {
@ -235,7 +240,7 @@ const handleUnfold = (rowId: any) => {
});
};
recursion(shipinList.value, rowId);
console.log(rowId,shipinList.value,expandedItem, 2222)
console.log(rowId, shipinList.value, expandedItem, 2222);
checkVideo(expandedItem);
};
//
@ -320,6 +325,14 @@ const handleVideoConfig = (videoData: any) => {
initPlugin();
}
};
const visibleChange = (val: any) => {
if(val) {
oWebControl.JS_HideWnd();
} else {
oWebControl.JS_ShowWnd();
}
showVideo.value = val;
};
onBeforeMount(() => {
getVideoList();
});