From 7a3a4f8012a72f80d8dd62064a76655c803da864 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 29 五月 2024 12:42:45 +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 | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 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 0ae8851..a1cd7ce 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html @@ -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) { @@ -373,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