From 2eeea7a6431f0b5fb25b338e2512c48deab8652e Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 31 十二月 2024 10:39:18 +0800
Subject: [PATCH] add:短信新增统计字段

---
 pages/order/evaluation/index.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/pages/order/evaluation/index.vue b/pages/order/evaluation/index.vue
index a9098eb..a67c40b 100644
--- a/pages/order/evaluation/index.vue
+++ b/pages/order/evaluation/index.vue
@@ -39,7 +39,7 @@
           {
             type: 'row',
             items: [
-              { label: '订单编号', id: 'orderId', type: 'input' },
+              { label: '订单编号', id: 'orderNo', type: 'input' },
               { label: '商品名称', id: 'flowerName', type: 'input' },
               {
                 label: '评价星级',
@@ -52,11 +52,11 @@
                 },
               },
               {
-                label: '申请日期',
+                label: '评价时间',
                 component: 'el-bus-date-range',
-                id: 'createDateBeginStr',
+                id: 'commentStartDate',
                 commonFormat: true,
-                commonFormatProps: ['createDateBeginStr', 'createDateEndStr'],
+                commonFormatProps: ['commentStartDate', 'commentEndDate'],
                 customClass: 'in-bus-form',
               },
             ],
@@ -127,8 +127,12 @@
               {
                 label: '评价星级:',
                 id: 'commentGrade',
-                type: 'input',
+                component: 'simple-text',
                 readonly: true,
+                el: {
+                  type: 'primary',
+                },
+                forceDisabled: true,
               },
               {
                 label: '评论显示状态:',
@@ -241,6 +245,9 @@
       )
       if (code === 0) {
         const row = data[0]
+        row.supplierName = row.supplierName+'[ID:'+ row.supplierId +'], 电话:'+row.supplierContactTel
+        row.customerName = row.customerName+'[UID:'+ row.customerId +']'
+        row.commentGrade = row.commentGrade+'星'
         this.$refs.crud.$refs.extraDialog[0].show(row)
       }
     },

--
Gitblit v1.9.3