From e63222be1c1af13522801c3bd2d02bfd58ca19b6 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 05 九月 2024 10:32:51 +0800
Subject: [PATCH] 点位修改样式调整
---
src/views/system/data-manage/data-detail/index.vue | 33 ++++++++++++++++++---------------
1 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index 328683e..8619b2d 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/src/views/system/data-manage/data-detail/index.vue
@@ -2,14 +2,14 @@
<div class="app-container">
<el-card class="box-card" v-show="index !== 'image_resource_security'">
<el-row style="display: flex; flex-direction: row; align-items: center" justify="space-between">
- <div style="margin-right: 20px;font-size: 18px">{{ruleName}}</div>
- <div v-if="cardList && cardList.length > 0" v-for="card in cardList" style="display: flex;flex-direction: row; margin-right: 50px;align-items: center" :key="card.label">
+ <div style="font-size: 18px;min-width: 200px">{{ruleName}}</div>
+ <div v-if="cardList && cardList.length > 0" v-for="card in cardList" style="display: flex;flex-direction: row; margin-right: 50px;margin-left: 20px;align-items: center" :key="card.label">
<div>
<div class="icon-container">
<i :class="card.icon"></i>
</div>
</div>
- <div v-if="card.dataList && card.dataList.length > 0">
+ <div v-if="card.dataList && card.dataList.length > 0" style="display: flex; flex-direction: row">
<div v-if="data" v-for="(data, index) in card.dataList" class="dashboard-item" :key="data.label">
<div style="color: #5C9BF8;margin-bottom: 20px;font-size: 20px">{{ tableData.count[index] }}</div>
<div>{{ data.label }}</div>
@@ -28,8 +28,7 @@
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
<el-form-item label="鍏抽敭璇�" prop="bayonetNumber">
- <el-input v-model="queryParams.keyword" placeholder="鍏抽敭璇嶆悳绱�" clearable
- @keyup.enter.native="handleQuery" />
+ <el-input v-model="queryParams.keyword" placeholder="鍏抽敭璇嶆悳绱�" clearable @input="handleQuery"/>
</el-form-item>
<el-form-item label="鏃堕棿鑼冨洿" prop="timeRange">
<el-date-picker
@@ -65,7 +64,7 @@
</el-button>
</div>
<div style="font-size: 14px;height: 50px; font-weight: bold;">{{ item.deptName }}</div>
- <div style="font-size: 14px;">璧勬簮锛歿{ item.imageResourceSecurity }}</div>
+ <div style="font-size: 14px;">寰楀垎锛歿{ item.imageResourceSecurity }}</div>
<!-- <div style="font-size: 14px;">瑙嗛浼犺緭缃戣祫浜у噯纭巼锛歿{ item.propertyAccuracy }}</div>
<div style="font-size: 14px;">寮卞彛浠ゅ緱鍒嗭細{{ item.weakPassword }}</div>
<div style="font-size: 14px;">瑙嗛浼犺緭缃戝嵄闄╄祫浜ф瘮渚嬶細{{ item.riskProperty }}</div>
@@ -80,10 +79,10 @@
v-hasPermi="['platform:platform:export']">瀵煎叆
</el-button>
</el-col>
- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
- <right-toolbar :showSearch.sync="showSearch" @queryTable="handleQuery" :columns="showList"></right-toolbar>
+ <right-toolbar v-show="index !== 'image_resource_security'" :showSearch.sync="showSearch" @queryTable="handleQuery" :columns="showList"></right-toolbar>
<div>
<el-table v-loading="loading" :data="tableData.list">
@@ -101,20 +100,23 @@
<el-input v-model="resourceForm.deptName" disabled />
</el-form-item>
<el-form-item label="骞冲彴杩愯鐜�" prop="platformOnline">
- <el-input-number v-model="resourceForm.platformOnline" />
+ <el-input-number v-model="resourceForm.platformOnline" :precision="2" :step="0.1" :min="0" :max="1"/>
</el-form-item>
<el-form-item label="瑙嗛浼犺緭缃戣祫浜у噯纭巼" prop="propertyAccuracy">
- <el-input-number v-model="resourceForm.propertyAccuracy" />
+ <el-input-number v-model="resourceForm.propertyAccuracy" :precision="2" :step="0.1" :min="0" :max="1"/>
</el-form-item>
<el-form-item label="寮卞彛浠ゅ緱鍒�" prop="weakPassword">
- <el-input-number v-model="resourceForm.weakPassword" />
+ <el-input-number v-model="resourceForm.weakPassword" :precision="2" :step="0.1" :min="0" :max="1"/>
</el-form-item>
<el-form-item label="瑙嗛浼犺緭缃戝嵄闄╄祫浜ф瘮渚�" prop="riskProperty">
- <el-input-number v-model="resourceForm.riskProperty" />
+ <el-input-number v-model="resourceForm.riskProperty" :precision="2" :step="0.1" :min="0" :max="1"/>
</el-form-item>
- <el-form-item label="瑙嗛浼犺緭缃戣竟鐣屽畬鏁存�ф娴嬫墸鍒嗛」" prop="boundaryIntegrity">
- <el-input-number v-model="resourceForm.boundaryIntegrity" />
- </el-form-item>
+ <el-tooltip class="item" effect="dark" content="杩濊杩炴帴浜掕仈缃戞墸鍑�20涓櫨鍒嗙偣/娆★紝杩濊鏃犵嚎AP鎺ュ叆銆侀殢韬玾ifi鎺ュ叆銆佸叡浜綉缁滃悇鎵e噺5涓櫨鍒嗙偣/娆★紝鐩磋嚦姝ら」鎸囨爣鎵e畬涓烘銆�" placement="top-start">
+ <el-form-item label="瑙嗛浼犺緭缃戣竟鐣屽畬鏁存�ф娴嬫墸鍒嗛」" prop="boundaryIntegrity">
+ <el-input-number v-model="resourceForm.boundaryIntegrity" :precision="2" :step="0.1" :min="0" :max="1"/>
+ </el-form-item>
+ </el-tooltip>
+
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="cancelR">鍙� 娑�</el-button>
@@ -430,5 +432,6 @@
justify-content: center;
align-items: center;
width: 150px;
+ margin: 0 30px;
}
</style>
--
Gitblit v1.8.0