From a079b51dedafb805f9269826e24208ce28b43884 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 26 三月 2024 18:01:43 +0800
Subject: [PATCH] 卡片图片预览

---
 src/views/system/contract/index.vue   |    2 +-
 src/views/system/work-order/index.vue |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/system/contract/index.vue b/src/views/system/contract/index.vue
index 8f1a107..27ccd9f 100644
--- a/src/views/system/contract/index.vue
+++ b/src/views/system/contract/index.vue
@@ -4,7 +4,7 @@
     <el-row>
       <el-col :span="8" v-for="(item) in tableData" :key="o" style="margin: 10px;width: 30%;">
         <el-card :body-style="{ padding: '0px' }">
-          <img src="https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357" class="image">
+          <el-image style="width: 420px;height: 187px;" :preview-src-list="['https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357']" fit="cover" src="https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357" class="image"/>
           <div style="padding: 14px;">
             <span>{{ item.companyName }}</span>
             <span class="time" style="margin-left: 10px;">{{ item.deptName }}</span>
diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index 2cb979c..77c4441 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -32,13 +32,13 @@
     <el-row>
       <el-col :span="8" v-for="item in workOrderList" :key="item" style="width: 390px;margin-left: 40px;margin-top:20px;">
         <el-card :body-style="{ padding: '0px' }">
-          <img src="https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357" class="image">
+          <el-image :preview-src-list="['https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357']" fit="cover" src="https://img2.baidu.com/it/u=68398439,1553004927&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=357" class="image"/>
           <div style="padding-right: 10px;padding-top: 10px;float: right;">
             <el-row>
-              <el-col class="time" :span="24">杩愮淮鍗曚綅锛歿{ item.unitName }}</el-col>
+              <el-col class="time" :span="24">杩愮淮浜哄憳锛歿{ item.ywPeopleName }}</el-col>
             </el-row>
             <el-row style="margin-top: 5px">
-              <el-col class="time" :span="24">杩愮淮浜哄憳锛歿{ item.ywPeopleName }}</el-col>
+              <el-col class="time" :span="24">杩愮淮鍗曚綅锛歿{ item.unitName }}</el-col>
             </el-row>
             <el-row style="margin-top: 5px">
               <el-col :span="24" class="time">宸ュ崟缂栧彿锛歿{ item.workOrderNo }}</el-col>

--
Gitblit v1.8.0