| | |
| | | // } |
| | | // } |
| | | // }, |
| | | { 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) { |
| | |
| | | } |
| | | }, |
| | | { field: 'distributionAchievementTotals', title: '历史推广费总和(元)', sort: false, width: 133 }, |
| | | { field: 'distributionYingLingTotals', title: '应领佣金(元)', sort: false, width: 133 }, |
| | | { field: 'distributionKeLingTotals', title: '可领佣金(元)', 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) { |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | { field: 'createTime', title: '创建时间', width: 130, sort: false }, |
| | | { field: 'updateTime', title: '更新时间', width: 130, sort: false }, |
| | | { field: 'verifyTime', title: '审核时间', width: 130, sort: false }, |
| | |
| | | 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: '查看详情', |