|
@@ -1,3 +1,13 @@
|
|
|
+<style>
|
|
|
+ .page .fixed-bar .item-title h3 {
|
|
|
+ margin-top:18px !important;
|
|
|
+ margin-bottom:10px !important;
|
|
|
+ font-weight:700 !important;
|
|
|
+ }
|
|
|
+ .tab-base li span {
|
|
|
+ font-size:12px !important;
|
|
|
+ }
|
|
|
+</style>
|
|
|
<?php use refill\LZRefillFactory;
|
|
|
|
|
|
defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
@@ -50,8 +60,7 @@ defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
|
<!-- </table>-->
|
|
|
<form method="post" id="merchant_name_form">
|
|
|
<input type="hidden" name="form_submit" value="ok"/>
|
|
|
- <!-- <a href="#" class="btns" id="enable"><span>全部启用机构</span></a>
|
|
|
- <a href="#" class="btns" id="close"><span>全部关闭机构</span></a> -->
|
|
|
+ <a href="#" class="btns" id="close"><span>全部关闭机构</span></a>
|
|
|
|
|
|
<div>
|
|
|
<table class="table tb-type2 myTable" width="100%" id="app-gas-content">
|
|
@@ -117,7 +126,7 @@ defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
|
<a href="index.php?act=merchant&op=merchant_edit&mchid=<?php echo $v['mchid'] ?>">编辑</a>
|
|
|
<?php if($v['merchant_state'] == 1){?>
|
|
|
|
|
|
|
- <a href="index.php?act=merchant&op=changeState&state=2&mchid=<?php echo $v['mchid'] ?>" style="color: red">关闭机构</a>
|
|
|
+ <a class="closeall" href="index.php?act=merchant&op=changeState&state=2&mchid=<?php echo $v['mchid'] ?>" style="color: red">关闭机构</a>
|
|
|
<?php }?>
|
|
|
<?php if($v['merchant_state'] == 2){?>
|
|
|
|
|
|
@@ -160,6 +169,8 @@ defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
|
</form>
|
|
|
</div>
|
|
|
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery.edit.js" charset="utf-8"></script>
|
|
|
+<script type="text/javascript" src="<?php echo ADMIN_TEMPLATES_URL;?>/layui/layui.js"></script>
|
|
|
+<link rel="stylesheet" type="text/css" href="<?php echo ADMIN_TEMPLATES_URL; ?>/layui/css/layui.css"/>
|
|
|
<script>
|
|
|
$(function () {
|
|
|
$('#ncsubmit').click(function () {
|
|
@@ -174,7 +185,15 @@ defined('InShopNC') or exit('Access Invalid!'); ?>
|
|
|
$(this)[0].style.backgroundColor = '#fff'
|
|
|
})
|
|
|
})
|
|
|
- //
|
|
|
-
|
|
|
+ // 全部关闭机构
|
|
|
+ $('#close').click(function () {
|
|
|
+ layer.confirm('您确定要全部关闭机构', {
|
|
|
+ btn: ['确定', '取消'],
|
|
|
+ title: '全部关闭'
|
|
|
+ }, function () {
|
|
|
+ window.location.href = `index.php?act=merchant&op=AllCloseMerchant`
|
|
|
+ }, function () {
|
|
|
+ });
|
|
|
+ })
|
|
|
});
|
|
|
</script>
|