From f7007b505bcb1ac311d2a72cfa2c419bbf17e31e Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 04 九月 2024 22:08:20 +0800
Subject: [PATCH] 合同图片、头像默认图片

---
 src/views/system/data-manage/data-detail/index.vue |   35 +++++++++++------------------------
 1 files changed, 11 insertions(+), 24 deletions(-)

diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index 749338f..8619b2d 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/src/views/system/data-manage/data-detail/index.vue
@@ -2,13 +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 v-for="card in cardList" style="display: flex;flex-direction: row; margin-right: 50px" :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>
@@ -25,10 +26,9 @@
       </el-row>
     </el-card>
 
-    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+    <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
@@ -153,27 +153,13 @@
 import { getToken } from "@/utils/auth";
 export default {
   name: "Platform",
-  // watch: {
-  //   tableData: {
-  //     immediate: true,
-  //     deep: true,
-  //     handler(newVal) {
-  //       if(newVal && newVal.list) {
-  //         this.list = newVal.detail;
-  //       }
-  //     }
-  //   }
-  // },
-  // computed: {
-  //   startTime() {
-  //     var date = new Date();
-  //     var s1 = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + (date.getDate()-1);
-  //     return s1;
-  //   }
-  // },
+  computed: {
+    ruleName() {
+      return this.$route.query.ruleName
+    }
+  },
   data() {
     return {
-      list: [],
       // 瀵煎叆鍙傛暟
       upload: {
         // 鏄惁鏄剧ず寮瑰嚭灞�
@@ -446,5 +432,6 @@
   justify-content: center;
   align-items: center;
   width: 150px;
+  margin: 0 30px;
 }
 </style>

--
Gitblit v1.8.0