diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/create.html
index cf5aff75..ea3e0d74 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/create.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/create.html
@@ -158,11 +158,14 @@
, url: layui.setter.apiUrl + 'Api/Tools/MiNiShopOpenComponent2_UploadImg'
, before: function (obj) {
obj.preview(function (index, file, result) {
-
+ layer.msg('上传中', { icon: 16, shade: 0.4 });
});
}
, done: function (res) {
- if (res.code > 0) { return layer.msg('上传失败'); }
+ layer.closeAll('loading'); //关闭加载层
+ if (res.code > 0) {
+ return layer.msg('上传失败');
+ }
layer.msg('上传成功');
$('#viewImgBoxlicenseImage').attr('src', res.data.fileUrl);
$("#licenseImageInput").val(res.data.fileUrl);
@@ -182,11 +185,14 @@
, url: layui.setter.apiUrl + 'Api/Tools/MiNiShopOpenComponent2_UploadImg'
, before: function (obj) {
obj.preview(function (index, file, result) {
- //$('#viewImgBoxlicenseImage').attr('src', result);
+ layer.msg('上传中', { icon: 16, shade: 0.4 });
});
}
, done: function (res) {
- if (res.code > 0) { return layer.msg('上传失败'); }
+ layer.closeAll('loading'); //关闭加载层
+ if (res.code > 0) {
+ return layer.msg('上传失败');
+ }
layer.msg('上传成功');
imgs.push(res.data.fileUrl);
$('#certificateImage').val(imgs);
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/edit.html
index b1533f4c..ea732483 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/edit.html
@@ -166,11 +166,14 @@
, url: layui.setter.apiUrl + 'Api/Tools/MiNiShopOpenComponent2_UploadImg'
, before: function (obj) {
obj.preview(function (index, file, result) {
-
+ layer.msg('上传中', { icon: 16, shade: 0.4 });
});
}
, done: function (res) {
- if (res.code > 0) { return layer.msg('上传失败'); }
+ layer.closeAll('loading'); //关闭加载层
+ if (res.code > 0) {
+ return layer.msg('上传失败');
+ }
layer.msg('上传成功');
$('#viewImgBoxlicenseImage').attr('src', res.data.fileUrl);
$("#licenseImageInput").val(res.data.fileUrl);
@@ -190,11 +193,14 @@
, url: layui.setter.apiUrl + 'Api/Tools/MiNiShopOpenComponent2_UploadImg'
, before: function (obj) {
obj.preview(function (index, file, result) {
- //$('#viewImgBoxlicenseImage').attr('src', result);
+ layer.msg('上传中', { icon: 16, shade: 0.4 });
});
}
, done: function (res) {
- if (res.code > 0) { return layer.msg('上传失败'); }
+ layer.closeAll('loading'); //关闭加载层
+ if (res.code > 0) {
+ return layer.msg('上传失败');
+ }
layer.msg('上传成功');
imgs.push(res.data.fileUrl);
$('#certificateImage').val(imgs);
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/index.html
index 2339e391..64cb4246 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/auditcategory/index.html
@@ -133,12 +133,21 @@
//{ field: 'level3', title: '三级类目', sort: false, width: 105 },
{ field: 'level3Name', title: '三级类目名称', sort: false, width: 105 },
{
- field: 'certificateImage', title: '资质材料', width: 100, sort: false,
+ field: 'certificateImage', title: '资质材料', width: 180, sort: false,
templet: function (d) {
if (d.certificateImage) {
- return '';
+ var arr = d.certificateImage.split(',');
+ if (Array.isArray(arr) && arr.length) {
+ var html = '';
+ for (var i = 0; i < arr.length; i++) {
+ html += ' '
+ }
+ return html;
+ } else {
+ return '';
+ }
} else {
- return '';
+ return '';
}
}
},
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/goods/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/goods/create.html
index 51cad909..c53520b2 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/goods/create.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/wechat/transactioncomponent/goods/create.html
@@ -26,13 +26,6 @@
-
-