fix: BUG修改

This commit is contained in:
kun 2023-07-10 15:12:16 +08:00
parent 2a00f3362d
commit b93dc0d629
11 changed files with 67 additions and 40 deletions

View File

@ -84,15 +84,15 @@
<div class="titcen" style="top: 7%">
<div>总投资预算</div>
<div>{{ dataObj.totalAmount }}</div>
<div>{{ dataObj.totalAmount }}万元</div>
</div>
<div class="titcen" style="top: 40.3%">
<div>实际投资预算</div>
<div>{{ dataObj.settlementAmount }}</div>
<div>{{ dataObj.settlementAmount }}万元</div>
</div>
<div class="titcen" style="top: 73.6%">
<div>年度投资预算</div>
<div>{{ dataObj.settlementAmountByYear }}</div>
<div>{{ dataObj.settlementAmountByYear }}万元</div>
</div>
</div>
<div class="botttworigt">
@ -106,19 +106,19 @@
<div class="letcent" style="top: 6%">
<div>请款报审</div>
<div>{{ dataObj.paymentTotal }}</div>
<div>{{ dataObj.paymentTotal }}万元</div>
</div>
<div class="letcent" style="top: 31%">
<div>审定应付</div>
<div>{{ dataObj.applyAmountTotal }}</div>
<div>{{ dataObj.applyAmountTotal }}万元</div>
</div>
<div class="letcent" style="top: 56%">
<div>实际支付</div>
<div>{{ dataObj.realPayAmountTotal }}</div>
<div>{{ dataObj.realPayAmountTotal }}万元</div>
</div>
<div class="letcent" style="top: 81%">
<div>年度实际支付</div>
<div>{{ dataObj.realPayAmountByYear }}</div>
<div>{{ dataObj.realPayAmountByYear }}万元</div>
</div>
</div>
</div>

View File

@ -46,6 +46,11 @@
<el-button class="btnStyle" @click="handleAddItem()">新增</el-button>
<!-- <el-button class="btnStyle">刷新</el-button> -->
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{
row.slippage ? row.slippage : ""
}}</span>
</template>
<!-- 表格操作 -->
<template #operation="scope">
<el-button class="btnStyle" type="primary" @click="seeGantt">
@ -125,7 +130,7 @@ const columns: ColumnProps[] = [
{ prop: "planEndTime", label: "结束日期" },
{ prop: "unit", label: "申请单位" },
{ prop: "completeRatio", label: "完成百分比(%)" },
{ prop: "slippage", label: "逾期情况" },
{ prop: "slippage", label: "逾期情况(天)" },
{
prop: "payTime",
label: "时间筛选",

View File

@ -67,6 +67,11 @@
: ""
}}</span>
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{
row.slippage ? row.slippage : ""
}}</span>
</template>
</ProTable>
</div>
<!-- 执法单信息 -->
@ -166,6 +171,7 @@ const columns: ColumnProps[] = [
prop: "state",
label: "状态"
},
{ prop: "slippage", label: "逾期情况(天)" },
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
];
const pageable = ref({

View File

@ -68,6 +68,11 @@
: ""
}}</span>
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{
row.slippage ? row.slippage : ""
}}</span>
</template>
</ProTable>
</div>
<!-- 执法单信息 -->
@ -135,6 +140,7 @@ const columns: ColumnProps[] = [
prop: "state",
label: "状态"
},
{ prop: "slippage", label: "逾期情况(天)" },
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
];
const pageable = ref({

View File

@ -32,32 +32,32 @@
<div class="item">
<!-- <i class="color1 rect"></i> -->
<span class="name">申请金额</span>
<span>{{ dataObj.applyAmountTotal }}</span>
<span>{{ dataObj.applyAmountTotal }}</span>
</div>
<div class="item">
<!-- <i class="color2 rect"></i> -->
<span class="name">实际支付</span>
<span>{{ dataObj.payAmountTotal }}</span>
<span>{{ dataObj.payAmountTotal }}</span>
</div>
<div class="item">
<!-- <i class="color1 rect"></i> -->
<span class="name">年度申请金额</span>
<span>{{ dataObj.applyAmountByYear }}</span>
<span>{{ dataObj.applyAmountByYear }}</span>
</div>
<div class="item">
<!-- <i class="color2 rect"></i> -->
<span class="name">年度实际支付</span>
<span>{{ dataObj.payAmountByYear }}</span>
<span>{{ dataObj.payAmountByYear }}</span>
</div>
<div class="item">
<!-- <i class="color1 rect"></i> -->
<span class="name">当月申请金额</span>
<span>{{ dataObj.applyAmountByMonth }}</span>
<span>{{ dataObj.applyAmountByMonth }}</span>
</div>
<div class="item">
<!-- <i class="color2 rect"></i> -->
<span class="name">当月实际支付</span>
<span>{{ dataObj.payAmountByMonth }}</span>
<span>{{ dataObj.payAmountByMonth }}</span>
</div>
</div>
</div>
@ -68,17 +68,8 @@
</div>
<div class="blockContent">
<!-- <img src="@/assets/images/hzImg/xm/video.png" alt="" width="100%" height="100%" /> -->
<!-- <video style="width: 100%; height: 100%; object-fit: fill" controls :src="videoData.videoUrl"></video> -->
<div ref="playWndBox" class="main" style="width: 300px; height: 300px">
<div
id="playWnd"
class="playWnd"
:style="{
height: playWndHeight + 'px',
width: playWndWidth + 'px'
}"
></div>
</div>
<video style="width: 100%; height: 100%; object-fit: fill" controls :src="videoData.videoUrl"></video>
<!-- <div id="playWnd" class="playWnd"></div> -->
</div>
</div>
</div>
@ -173,7 +164,9 @@ import projectInfoDialog from "./components/projectInfoDialog.vue";
import { getInspectInfo } from "@/api/modules/projectLargeSreen";
import { screenPayment } from "@/api/modules/huizhou";
import { getpreviewURL, getConfigInfo } from "@/api/modules/common";
import { GlobalStore } from "@/stores";
const store = GlobalStore();
//
const projectData = ref({
latitude: "",
@ -301,6 +294,12 @@ const getInspect = async () => {
qualityData.value[0].value = res.result.qualityCompleted;
qualityData.value[1].value = res.result.qualityUnCompleted;
};
watch(
() => store.editPassword,
val => {
val ? oWebControl.JS_HideWnd() : oWebControl.JS_ShowWnd();
}
);
// --- end
onBeforeUnmount(() => {
if (oWebControl.value === undefined) {
@ -316,7 +315,7 @@ onMounted(async () => {
await getInspect();
await getPayMentData();
//
getVideoConfig();
await getVideoConfig();
// ee
const pageInstance = getCurrentInstance();
// dom
@ -354,6 +353,7 @@ onMounted(async () => {
});
});
const initPlugin = () => {
console.log(666);
oWebControl = new WebControl({
szPluginContainer: "playWnd", // id
iServicePortStart: 15900, // 使
@ -388,7 +388,6 @@ const initPlugin = () => {
},
// WebControl
cbConnectError: function () {
// WebControl,
// console.log(0);
// oWebControl.value = null;
// // errorwakeup
@ -425,11 +424,13 @@ const initPlugin = () => {
oWebControl.value = null;
}
});
console.log(777);
// oWebControl.JS_CuttingPartWindow(500, 500, 500, 500);
};
//
const init = (callback: (() => void) | undefined) => {
console.log(objData.value, "6666666");
getPubKey(() => {
let appkey = objData.value.appkey; //appkey
let secret = setEncrypt(objData.value.secret); //secret

View File

@ -39,13 +39,11 @@
border: 1px solid rgb(39 88 192 / 60%);
border-radius: 0;
box-shadow: inset 0 0 2px 2px #051220;
.main {
width: 300px;
height: 300px;
.playWnd {
width: 300px;
height: 300px;
}
.playWnd {
margin: 30px 0 0 400px;
width: 1000px; /*播放容器的宽和高设定*/
height: 600px;
border: 1px solid red;
}
}
.middle-video {
@ -77,9 +75,9 @@
margin-bottom: 0;
}
.name {
width: 80px;
width: 90px;
display: inline-flex;
margin: 0 30px 0 12px;
margin: 0 0 0 12px;
}
.rect {
display: inline-block;

View File

@ -3,7 +3,7 @@
<div style="display: flex; flex: 1">
<TreeFilter ref="engTree" label="title" :requestApi="engApi" @change="changeTreeFilter" class="treefilter"> </TreeFilter>
<!-- <div class="middle-video">
<div class="middle-video">
<div ref="playWndBox" class="main">
<div
id="playWnd"
@ -14,7 +14,7 @@
}"
></div>
</div>
</div> -->
</div>
</div>
</div>
</template>

View File

@ -108,7 +108,7 @@ const handleSizeChange = async (size: number) => {
getSubItemList();
};
const getSubItemList = async () => {
const res = await payList({ investmentPaymentId: props.relativeId });
const res = await payList({ contractId: props.relativeId });
if (res) {
console.log(res, "------------666");
recordData.value = res.result.records;

View File

@ -18,6 +18,9 @@
<span>查看</span>
</el-button>
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{ row.slippage }}</span>
</template>
</ProTable>
</div>
</template>
@ -59,7 +62,7 @@ const columns: ColumnProps[] = [
{ prop: "planStartTime", label: "开始日期" },
{ prop: "planEndTime", label: "结束日期" },
{ prop: "completeRatio", label: "完成百分比(%)" },
{ prop: "slippage", label: "逾期情况" },
{ prop: "slippage", label: "逾期情况(天)" },
// {
// prop: "state",
// label: "",

View File

@ -34,6 +34,9 @@
: ""
}}</span>
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{ row.slippage ? row.slippage : "" }}</span>
</template>
</ProTable>
<!-- </div> -->
<transformInfo v-model:detailsDialog="detailsDialog" :relativeId="relativeId" @confirm="confirmReform"></transformInfo>
@ -88,6 +91,7 @@ const columns: ColumnProps[] = [
prop: "state",
label: "状态"
},
{ prop: "slippage", label: "逾期情况(天)" },
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
];
const detailsDialog = ref(false);

View File

@ -34,6 +34,9 @@
: ""
}}</span>
</template>
<template #slippage="{ row }">
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{ row.slippage ? row.slippage : "" }}</span>
</template>
</ProTable>
<!-- </div> -->
<transformInfo v-model:detailsDialog="detailsDialog" :relativeId="relativeId" @confirm="confirmReform"></transformInfo>
@ -86,6 +89,7 @@ const columns: ColumnProps[] = [
prop: "state",
label: "状态"
},
{ prop: "slippage", label: "逾期情况(天)" },
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
];
const detailsDialog = ref(false);