From b35a804358de7849f42bcdae934c236d13e3f233 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期二, 19 九月 2023 14:20:57 +0800
Subject: [PATCH] 全局搜索样式调整,家谱加上页码

---
 ruoyi-ui/src/views/healthy/healthyInfo.vue |   32 ++++++++++++++++++++++++--------
 1 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/ruoyi-ui/src/views/healthy/healthyInfo.vue b/ruoyi-ui/src/views/healthy/healthyInfo.vue
index 8a344c4..f83ddb5 100644
--- a/ruoyi-ui/src/views/healthy/healthyInfo.vue
+++ b/ruoyi-ui/src/views/healthy/healthyInfo.vue
@@ -1,8 +1,15 @@
 <template>
-  <div class="app-container">
+  <div class="app-container" id="printable-content">
     <div class="form-header mt">
-      <h4 class="dt h4">鍋ュ悍璇︾粏淇℃伅 </h4>
-
+      <h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;" >
+        <span>鍋ュ悍璁板綍璇︾粏淇℃伅</span>
+        <div style="display: flex; align-items: center;">
+          <el-button size="mini" type="text"  v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
+            <div class="form" ><el-icon  style="padding-right:100px;"></el-icon>
+              <span class="text" style="width: 69px;height: 26px;font-size: 16px;
+            font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">鎵撳嵃</span></div>
+          </el-button></div>
+      </h1>
     </div>
 
     <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="120px">
@@ -38,6 +45,8 @@
         multiple
         :http-request="requestUpload"
         :file-list="fileList"
+        :disabled="!btn"
+        :class="{ hide: !btn }"
       >
         <div v-if="uploading" class="upload-status">姝e湪涓婁紶...</div>
         <i v-if="!uploading" slot="default" class="el-icon-plus"></i>
@@ -89,6 +98,8 @@
         :on-remove="handleRemoveFile"
         :http-request="requestUpload"
         :show-file-list="true"
+        :disabled="!btn"
+        :class="{ hide: !btn }"
       >
         <div v-if="uploading" class="upload-status">姝e湪涓婁紶...</div>
         <i v-if="!uploading" slot="default" class="el-icon-plus"></i>
@@ -130,7 +141,6 @@
 
       </el-upload>
 
-
       <el-form-item size="large">
         <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">淇敼</el-button>
       </el-form-item>
@@ -170,7 +180,6 @@
         type: undefined,
         happenTime: undefined,
         accNo:undefined,
-        validityDate:undefined,
         password:undefined,
         validityDate:undefined,
         isFinger:undefined,
@@ -256,6 +265,7 @@
       document.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅";
       this.$route.meta.title = "鏌ョ湅鍋ュ悍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
       this.isShow=false
+      this.btn = false;
     }
 
     let _this = this
@@ -380,7 +390,7 @@
       download(formData).then(async (response) => {
         const isLogin = await blobValidate(response);
         let nt = new Date().getTime()
-        let filename = 'familyevent_'+nt+'.'+suffix
+        let filename = 'healthyInfo'+nt+'.'+suffix
         const blob = new Blob([response])
         saveAs(blob, filename)
       })
@@ -418,9 +428,9 @@
 
     /** 瀵煎嚭鎸夐挳鎿嶄綔 */
     handleExport() {
-      this.download('/zfEconomy/export', {
+      this.download('/zYearInfo/export', {
         ...this.queryParams
-      }, `zfEconomy_${new Date().getTime()}.xlsx`)
+      }, `zYearInfo${new Date().getTime()}.xlsx`)
     }
 
   }
@@ -442,4 +452,10 @@
   display: block;
   position: absolute;
 }
+.hide .el-upload--picture-card {
+  display: none;
+}
+.form{
+  background:center/11% no-repeat url('../../assets/icons/form.png') ;
+}
 </style>

--
Gitblit v1.9.1