From e1552a4eb2699eb84c4e1419cb76b7beb4951c4a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 06 十二月 2024 18:34:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 admin/src/views/workorder/components/detail.vue |   31 ++++++++++++++++++++++---------
 1 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/admin/src/views/workorder/components/detail.vue b/admin/src/views/workorder/components/detail.vue
index d5337ea..a6908d4 100644
--- a/admin/src/views/workorder/components/detail.vue
+++ b/admin/src/views/workorder/components/detail.vue
@@ -1,12 +1,12 @@
 <template>
-  <GlobalWindow width="920px" title="宸ュ崟璇︽儏" :visible.sync="visible" :confirm-working="isWorking" @close="close"
+  <GlobalWindow width="960px" title="宸ュ崟璇︽儏" :visible.sync="visible" :confirm-working="isWorking" @close="close"
     @confirm="confirm">
     <div class="main">
       <div class="title">
         <span>宸ュ崟璇︽儏</span>
         <div>
           <div class="status primaryColor" v-if="info.dealStatus == 0 || info.dealStatus == null">寰呮寚娲�</div>
-          <div class="status" v-if="info.dealStatus == 1">宸叉寚娲�</div>
+          <div class="status green" v-if="info.dealStatus == 1">宸叉寚娲�</div>
           <div class="status gray" v-if="info.dealStatus == 2">宸插鐞�</div>
         </div>
       </div>
@@ -161,6 +161,7 @@
 import { detailById, dispatchOrder, dealOrder } from '@/api/workorder/ywWorkorder'
 import { getUserList } from '@/api/system/user'
 import { Message, Loading } from 'element-ui'
+import dayjs from 'dayjs'
 export default {
   components: {
     GlobalWindow
@@ -222,6 +223,9 @@
       const { id } = this
       detailById(id).then(res => {
         this.info = res
+        if(this.info.dealStatus == 1){
+          this.$set(this.param, 'getDate',dayjs().format('YYYY-MM-DD HH:mm:ss') )
+        }
       })
     },
     getStaff() {
@@ -300,9 +304,9 @@
     align-items: center;
 
     .status {
-      padding: 0 6px;
-      height: 22px;
-      line-height: 22px;
+      padding: 0 12px;
+      height: 24px;
+      line-height: 24px;
       border-radius: 2px;
       border: 1px solid #00BA92;
       color: #00BA92;
@@ -312,12 +316,17 @@
     }
 
     .primaryColor {
-      border: 1px solid $primary-color;
+      border: 1px solid rgba(63, 126, 239,.2);
+      background-color: rgba(63, 126, 239,.2);
     }
-
+    .green{
+      background-color: rgba(83, 183, 148, .2);
+      border: 1px solid rgba(83, 183, 148, .2);
+    }
     .gray {
-      color: gray;
-      border: 1px solid gray;
+      color: #333333;
+      background-color: rgba(128, 128, 128, .2);
+      border: 1px solid rgba(128, 128, 128, .2);
     }
   }
 
@@ -343,6 +352,10 @@
       width: 100%;
       display: flex;
       align-items: center;
+      .la{
+        margin-bottom: 0;
+        width: 72px;
+      }
     }
 
     .max {

--
Gitblit v1.9.3