From 9173f6e5b34a12c01804676d76842031e9ec6724 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 26 六月 2024 11:52:16 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop

---
 CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html |   40 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html
index 8786ba0..a1cd7ce 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html
@@ -190,9 +190,9 @@
                           { field: 'profession', title: '琛屼笟', sort: false, width: 100 },
                          //   { field: 'qq', title: 'qq鍙�', sort: false, width: 90 },
                          { field: 'sales', title: '骞磋惀涓氶(鍏�)', sort: false, width: 100 },
-                            { field: 'storeName', title: '搴楅摵鍚嶇О', sort: false },
+                            { field: 'storeName', title: '搴楅摵鍚嶇О', sort: false,width: 133 },
 
-                            { field: 'storeCoordinate', title: '搴楅摵鍧愭爣', sort: false },
+                           // { field: 'storeCoordinate', title: '搴楅摵鍧愭爣', sort: false },
                            // {
                             //    field: 'storeLogo', title: 'Logo', sort: false, width: 60, templet: function (d) {
                             //        if (d.storeLogo) {
@@ -202,6 +202,26 @@
                                //     }
                              //   }
                           //  },
+                          { field: 'schoolName', title: '瀛︽牎鍚嶇О', sort: false,width: 133 },
+                          {
+                            field: 'idCradNumber', title: '韬唤璇�', width: 120, sort: false,
+                            templet: function (d) {
+                                if (d.idCradNumber) {
+                                  
+                                  var listimg= d.idCradNumber.split(",")
+                                  var str="";
+                                  listimg.forEach((value,index)=>
+                                  {
+                                    str+= '<a href="javascript:void(0);" onclick=layui.coreHelper.viewImage("' + value + '")><image style="max-width:30px;max-height:30px;  margin-left: 5px;" src="' + value + '" /></a>'
+
+                                  })
+
+                                    return str;
+                                } else {
+                                    return '<a href="javascript:void(0);" onclick=layui.coreHelper.viewImage("' + setter.noImagePicUrl + '")><image style="max-width:30px;max-height:30px;   margin-left: 5px;" src="' + setter.noImagePicUrl + '" /></a>';
+                                }
+                            }
+                        },
                             {
                                 field: 'storeBanner', title: '闂ㄥご鍥剧墖', sort: false, width: 100, templet: function (d) {
                                     if (d.storeBanner) {
@@ -211,7 +231,11 @@
                                     }
                                 }
                             },
-                            { field: 'distributionAchievementTotals', title: '鍘嗗彶鎺ㄥ箍璐规�诲拰(鍏�)', sort: false, width: 100 },
+                            { field: 'distributionAchievementTotals', title: '鍘嗗彶鎺ㄥ箍璐规�诲拰(鍏�)', sort: false, width: 133 },
+                            { field: 'distributionYingLingTotals', title: '搴旈浣i噾(鍏�)', sort: false, width: 133 },
+                            { field: 'distributionKeLingTotals', title: '鍙浣i噾(鍏�)', sort: false, width: 133 },
+                            { field: 'distributionYiJieSuanTotals', title: '宸茬粨绠椾剑閲�(鍏�)', sort: false, width: 133 },
+                          
                             //{ field: 'storeDesc', title: '搴楅摵绠�浠�', sort: false, width: 105 },
                             {
                                 field: 'verifyStatus', title: '瀹℃牳鐘舵��', sort: false, width: 80, templet: function (data) {
@@ -222,6 +246,7 @@
                                     }
                                 }
                             },
+
                             { field: 'createTime', title: '鍒涘缓鏃堕棿', width: 130, sort: false },
                             { field: 'updateTime', title: '鏇存柊鏃堕棿', width: 130, sort: false },
                             { field: 'verifyTime', title: '瀹℃牳鏃堕棿', width: 130, sort: false },
@@ -368,6 +393,15 @@
                 function doDetails(obj) {
                     coreHelper.Post("Api/CoreCmsDistribution/GetDetails", { id: obj.data.id }, function (e) {
                         if (e.code === 0) {
+                            debugger     
+        if(e.data.model.idCradNumber)
+        {
+            
+            lisimg=e.data.model.idCradNumber.split(',');
+            e.data.lisimg1=lisimg[0];
+         
+            e.data.lisimg2=lisimg[1];
+        }
                             admin.popup({
                                 shadeClose: false,
                                 title: '鏌ョ湅璇︽儏',

--
Gitblit v1.9.1