+
{
message.success('下发成功')
getProjectPersonList()
} else {
- message.error(res.message)
+ message.error(res.msg)
}
}
const onHandlePartSend = async () => {
@@ -1053,7 +1053,7 @@ onUpdated(() => {
.more-panel-card {
width: 80%;
- height: 90vh;
+ height: 120vh;
display: flex;
flex-direction: column;
background: url('@/assets/home-imgs/modal-bg.png') no-repeat center center;
@@ -1107,15 +1107,15 @@ onUpdated(() => {
.tabs-btns {
display: flex;
- margin: 8px 0;
+ margin: 6px 0;
.tabs-btn {
- width: 100px;
- height: 42px;
+ width: 90px;
+ height: 32px;
background-color: #1b4589;
color: #fff;
text-align: center;
- line-height: 42px;
+ line-height: 32px;
cursor: pointer;
}
diff --git a/src/views/home/components/right-two/index.vue b/src/views/home/components/right-two/index.vue
index 5a0ed44..f51291b 100644
--- a/src/views/home/components/right-two/index.vue
+++ b/src/views/home/components/right-two/index.vue
@@ -89,10 +89,10 @@ const activeIndex = ref(0)
const currentComponent = ref('comp-a')
const compareList = ref([
- { title: '巡检次数', total: 58, amount: 26, unit: '次' },
- { title: '巡检照片', total: 100, amount: 100, unit: '张' },
- { title: '比对次数', total: 100, amount: 100, unit: '次' },
- { title: '异常数量', total: 100, amount: 100, unit: '项' },
+ { title: '巡检次数', total: 0, amount: 0, unit: '次' },
+ { title: '巡检照片', total: 0, amount: 0, unit: '张' },
+ { title: '比对次数', total: 0, amount: 0, unit: '次' },
+ { title: '异常数量', total: 0, amount: 0, unit: '项' },
])
const componentMap = {
'comp-a': TapsOne,
@@ -247,7 +247,7 @@ const onHandleTabs = (component, index) => {
.more-panel-card {
width: 80%;
- height: 80vh;
+ height: 120vh;
display: flex;
flex-direction: column;
background: url('@/assets/home-imgs/modal-bg.png') no-repeat center center;
@@ -265,12 +265,12 @@ const onHandleTabs = (component, index) => {
margin: 20px 0;
.tabs-btn {
- width: 100px;
- height: 42px;
+ width: 90px;
+ height: 32px;
background-color: #1b4589;
color: #fff;
text-align: center;
- line-height: 42px;
+ line-height: 32px;
cursor: pointer;
}
diff --git a/src/views/home/components/right-two/taps-two.vue b/src/views/home/components/right-two/taps-two.vue
index 3117229..0368d99 100644
--- a/src/views/home/components/right-two/taps-two.vue
+++ b/src/views/home/components/right-two/taps-two.vue
@@ -68,7 +68,7 @@ const queryParams = ref({
onMounted(() => {
const tableContainer = tableContainerRef.value
if (tableContainer) {
- imageHeight.value = ((tableContainer.clientHeight - 10) / 2) * 0.68
+ imageHeight.value = ((tableContainer.clientHeight - 10) / 2) * 0.78
imageWidth.value = (tableContainer.clientWidth - 30) / 4
}
})
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index f230aab..d55bbca 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -55,7 +55,7 @@
-
+