From 445d14becca6b5251814934343d7a6394ada6009 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期五, 17 十月 2025 16:55:19 +0800
Subject: [PATCH] no message
---
CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html | 43 +++++++++++++++++++++++++++++++++++++------
1 files changed, 37 insertions(+), 6 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..0901797 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/distribution/distributor/index.html
@@ -106,7 +106,7 @@
<!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="qrcode">灏忕▼搴忕爜</a> -->
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="achievement">鎺ㄥ箍璐�</a>
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">鏌ョ湅</a>
- <a class="layui-btn layui-btn-xs" lay-event="edit">瀹℃牳</a>
+ <a class="layui-btn layui-btn-xs {{d.verifyStatus!=1?'layui-btn-danger' :''}} " lay-event="edit">{{d.verifyStatus==1?'淇敼' :'瀹℃牳'}} </a>
<a class="layui-btn layui-btn-danger layui-btn-xs" data-dropdown="#CoreCmsDistributionTbDelDrop{{d.LAY_NUM}}" no-shade="true">鍒犻櫎</a>
<div class="dropdown-menu-nav dropdown-popconfirm dropdown-top-right layui-hide" id="CoreCmsDistributionTbDelDrop{{d.LAY_NUM}}"
style="max-width: 200px; white-space: normal; min-width: auto; margin-left: 10px;">
@@ -189,8 +189,9 @@
// { field: 'weixin', title: '寰俊鍙�', sort: false, width: 100 },
{ 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,width: 133 },
+ { field: 'sales', title: '骞磋惀涓氶(鍏�)', sort: true, width: 100 },
+ { field: 'storeName', title: '搴楅摵鍚嶇О', sort: false, width: 133 },
+ { field: 'address', title: '鍦板潃', sort: false, width: 270 },
// { field: 'storeCoordinate', title: '搴楅摵鍧愭爣', sort: false },
// {
@@ -201,7 +202,28 @@
// return '<a href="javascript:void(0);" onclick=layui.coreHelper.viewImage("' + setter.noImagePicUrl + '")><image style="max-width:30px;max-height:30px;" src="' + setter.noImagePicUrl + '" /></a>';
// }
// }
- // },
+ // },
+ { field: 'schoolName', title: '瀛︽牎鍚嶇О', sort: true, 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) {
@@ -327,7 +349,7 @@
admin.popup({
shadeClose: false,
title: '缂栬緫鏁版嵁',
- area: ['640px', '300px'],
+ area: ['640px', '350px'],
id: 'LAY-popup-CoreCmsDistribution-edit',
success: function (layero, index) {
view(this.id).render('distribution/distributor/edit', { data: e.data }).done(function () {
@@ -373,10 +395,19 @@
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: '鏌ョ湅璇︽儏',
- area: ['700px', '550px'],
+ area: ['700px', '600px'],
id: 'LAY-popup-CoreCmsDistribution-details',
success: function (layero, index) {
view(this.id).render('distribution/distributor/details', { data: e.data }).done(function () {
--
Gitblit v1.9.1