123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?php /*a:2:{s:63:"D:\phpstudy_pro\WWW\caiping\app\admin\view\pushmember\edit.html";i:1723541257;s:59:"D:\phpstudy_pro\WWW\caiping\app\admin\view\common\base.html";i:1723541257;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="360-site-verification" content="a7c876fae8b6e3175a52ea9f19543f51" />
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
- <script src="/static/dist/xm-select.js"></script>
- <link rel="mobile-prefetch" href=""/>
- <title><?php echo get_system_config('web','admin_title'); ?></title>
- <meta name="keywords" content="<?php echo get_system_config('web','keywords'); ?>"/>
- <meta name="description" content="<?php echo get_system_config('web','desc'); ?>"/>
- <link rel="stylesheet" href="/static/assets/gougu/css/gougu.css?v=<?php echo get_system_config('web','version'); ?>" media="all">
- <style>
- .footer{
- width: 100%;
- height: 25px;
- text-align: center;
- position: fixed;
- bottom: 0;
- }
- </style>
- </head>
- <body class="main-body">
- <!-- 主体 -->
-
- <form class="layui-form p-4">
- <h3 class="pb-3">通知设置</h3>
- <table class="layui-table">
- <tr>
- <td class="layui-td-gray">通知阶段</td>
- <td>
- <input type="hidden" name="message_id" value="<?php echo htmlentities($data['id']); ?>">
- <input type="text" name="" value="<?php echo htmlentities($data['title']); ?>" lay-verify="" autocomplete="off" placeholder="请输入通知情况" lay-reqText="请输入通知情况" class="layui-input">
- </td>
-
- </tr>
- <tr>
- <td class="layui-td-gray">抄送人员</td>
- <td>
- <div id="memberSelect"></div>
- </td>
-
-
- </tr>
-
- <!-- <tr>
- <td class="layui-td-gray-2">说明<font>*</font></td>
- <td colspan="3"><strong class="red">注意:通知阶段选择后,通知内容若为空,则不会通知。</strong></td>
- </tr> -->
- </table>
-
- <div class="py-3">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="webform">立即提交</button>
- <button type="reset" class="layui-btn layui-btn-primary">重置</button>
- </div>
- </form>
- <!-- /主体 -->
- <!-- 底部 -->
-
- <div class="footer">
- 逸管工程项目管理系统 © www.yiguanfep.com
- <img src="/static/home/images/police.png" alt="" style="width:14.5px;height:16px;">
- <a href="https://beian.mps.gov.cn/#/query/websearch?code=45030202000160 " rel="\"noreferrer'target=\”blank\"" onclick="window.open(this.href); return false;">桂公网安备45030202000160号</a>
- <a href="https://beian.miit.gov.cn/#/Integrated/index" onclick="window.open(this.href); return false;">桂ICP备17000971号</a>
- </div>
-
-
- <!-- /底部 -->
-
- <!-- 脚本 -->
-
- <script>
- const moduleInit = ['tool'];
- function gouguInit() {
- var form = layui.form,tool=layui.tool;
- //监听提交
- form.on('submit(webform)', function(data){
- // selectMember = memberSelect.getValue();
- let callback = function (e) {
- layer.msg(e.msg);
- if (e.code == 0) {
- setTimeout(function () {
- parent.location.reload();
- }, 1000);
- }
- }
- // data.field.member_id = selectMember;
- tool.post("/admin/pushmember/edit", data.field, callback);
- return false;
- });
- var person = <?php echo json_encode($person); ?>;
- var member = <?php echo json_encode($member); ?>;
- // console.log(person);
- // console.log(member);
- var memberSelect = xmSelect.render({
-
- el: '#memberSelect', // div的id值
- toolbar: { // 工具条【‘全选’,‘清空’】
- show: true, // 开启工具条
- showIcon: false, // 隐藏工具条的图标
- },
-
- filterable: true, // 开启搜索模式,默认按照name进行搜索
- paging: false, // 启用分页
- pageSize: 3, // 每页的数据个数
- data: person, // 默认是name(相当于我们常传的value值)和value(相当于我们常传的id)
- prop: {
- value: 'id',
- name: 'nickname',
- },
- });
- memberSelect.setValue(member);
- }
- </script>
- <!-- /脚本 -->
-
- <!-- <script src="/static/assets/layui/layui.js"></script> -->
- <script src="/static/assets/layui/layui.js"></script>
- <script src="/static/assets/third_party/echart/echarts.min.js"></script>
- <script src="/static/assets/gougu/gouguInit.js"></script>
- <script src="https://unpkg.com/pinyin-pro"></script>
- <script>
-
- var { pinyin } = pinyinPro;
- </script>
-
-
- <!-- 统计代码 -->
-
- <!-- /统计代码 -->
- </body>
- </html>
|