diff --git a/shop/src/main/resources/template/js/storeMembers/storeMembersList.js b/shop/src/main/resources/template/js/storeMembers/storeMembersList.js index 37d4046d16f49725f2b5142d68eaf7fd06be42f1..70d14413541a17652d9b08f444a92f694e6fad3a 100644 --- a/shop/src/main/resources/template/js/storeMembers/storeMembersList.js +++ b/shop/src/main/resources/template/js/storeMembers/storeMembersList.js @@ -13,10 +13,10 @@ layui.config({ var selTemplate = getFileContent('tpl/template/select-option.tpl'); //门店会员 // 加载当前用户所属门店 + let storeHtml = ''; AjaxPostUtil.request({url: sysMainMation.shopBasePath + "storeStaff005", params: {}, type: 'json', method: "GET", callback: function(json) { - $("#storeId").html(getDataUseHandlebars(selTemplate, json)); - form.render('select'); - initTable(); + storeHtml = getDataUseHandlebars(selTemplate, json); + initTable(storeHtml); }, async: false}); @@ -39,32 +39,75 @@ layui.config({ page: true, limits: getLimits(), limit: getLimit(), - overflow: { - type: 'tips', - hoverTime: 300, // 悬停时间,单位ms, 悬停 hoverTime 后才会显示,默认为 0 - minWidth: 150, // 最小宽度 - maxWidth: 500 // 最大宽度 - }, cols: [[ { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' }, - { field: 'name', title: '会员姓名', align: 'left', width: 250 }, - { field: 'phone', title: '联系电话', align: 'left', width: 250 }, - { field: 'email', title: '邮箱', align: 'left', width: 250 }, - { field: 'remark', title: '备注', align: 'left', width: 450 }, + { field: 'name', title: '会员姓名', align: 'left', width: 200 }, + { field: 'phone', title: '联系电话', align: 'left', width: 200 }, + { field: 'email', title: '邮箱', align: 'left', width: 200 }, + { field: 'remark', title: '备注', align: 'left', width: 400 }, + { title: systemLanguage["com.skyeye.operation"][languageType], rowspan: '2', fixed: 'right', align: 'center', width: 200, toolbar: '#tableBar'} ]], done: function(json) { matchingLanguage(); soulTable.render(this); - initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入会员姓名", function () { + initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入会员姓名、联系电话", function () { table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()}); }, `