From f88cfa02e36752e4acad7adc4b045155e8e50f21 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 08 十二月 2023 09:16:29 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-management/src/main/webapp/static/modular/system/operator/operator.js | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/operator/operator.js b/cloud-server-management/src/main/webapp/static/modular/system/operator/operator.js index 2cf6b42..72f8003 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/operator/operator.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/operator/operator.js @@ -20,7 +20,7 @@ TSite.initColumn = function () { return [ {field: 'selectItem', checkbox: true}, - {title: '主键ID', field: 'id', visible: false, align: 'center', valign: 'middle'}, + {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, {title: '运营商名称', field: 'name', visible: true, align: 'center', valign: 'middle',width:'20%',}, {title: '管理员姓名', field: 'userName', visible: true, align: 'center', valign: 'middle', }, @@ -68,17 +68,32 @@ * 商户号认证 */ TSite.Allocationratio = function (e) { - console.log("看看E"); - console.log(e); + var index = layer.open({ type: 2, title: "商户认证", area: ['100%', '100%'], //宽高 fix: false, //不固定 maxmin: true, - content: Feng.ctxPath + '/operator/proportionAuth/' + e + content: Feng.ctxPath + '/operatorUser' }); this.layerIndex = index; +}; +/** + * 商户号认证页面 + */ +TSite.auth = function () { + if (this.check()) { + var index = layer.open({ + type: 2, + title: "商户认证", + area: ['100%', '100%'], //宽高 + fix: false, //不固定 + maxmin: true, + content: Feng.ctxPath + '/operator/proportionAuth/' + TSite.seItem.id + }); + this.layerIndex = index; + } }; /** * 分账比例 @@ -106,7 +121,6 @@ this.layerIndex = index; } } - }; TSite.addSubmit = function(){ var alipayType = $("input[name='alipayType']:checked").val(); @@ -152,6 +166,7 @@ } var ajax = new $ax(Feng.ctxPath + "/operator/proportion", function(data){ Feng.success("分账比例设置成功") + window.parent.TSite.table.refresh(); TSite.close(); TSite.search(); }); -- Gitblit v1.7.1