|
@@ -0,0 +1,408 @@
|
|
|
|
|
+<?php /*a:5:{s:72:"D:\phpstudy_pro\WWW\CRMEB\app\admin\view\auction\auction_order\index.php";i:1648109753;s:61:"D:\phpstudy_pro\WWW\CRMEB\app\admin\view\public\container.php";i:1595820902;s:62:"D:\phpstudy_pro\WWW\CRMEB\app\admin\view\public\frame_head.php";i:1595820902;s:57:"D:\phpstudy_pro\WWW\CRMEB\app\admin\view\public\style.php";i:1595820902;s:64:"D:\phpstudy_pro\WWW\CRMEB\app\admin\view\public\frame_footer.php";i:1595820902;}*/ ?>
|
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
|
+<html lang="zh-CN">
|
|
|
|
|
+<head>
|
|
|
|
|
+
|
|
|
|
|
+ <meta charset="utf-8">
|
|
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
+ <?php if(empty($is_layui) || (($is_layui instanceof \think\Collection || $is_layui instanceof \think\Paginator ) && $is_layui->isEmpty())): ?>
|
|
|
|
|
+ <link href="/system/frame/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
|
|
|
|
|
+ <?php endif; ?>
|
|
|
|
|
+ <link href="/static/plug/layui/css/layui.css" rel="stylesheet">
|
|
|
|
|
+ <link href="/system/css/layui-admin.css" rel="stylesheet">
|
|
|
|
|
+ <link href="/system/frame/css/font-awesome.min.css?v=4.3.0" rel="stylesheet">
|
|
|
|
|
+ <link href="/system/frame/css/animate.min.css" rel="stylesheet">
|
|
|
|
|
+ <link href="/system/frame/css/style.min.css?v=3.0.0" rel="stylesheet">
|
|
|
|
|
+ <script src="/system/frame/js/jquery.min.js"></script>
|
|
|
|
|
+ <script src="/system/frame/js/bootstrap.min.js"></script>
|
|
|
|
|
+ <script src="/static/plug/layui/layui.all.js"></script>
|
|
|
|
|
+ <script>
|
|
|
|
|
+ $eb = parent._mpApi;
|
|
|
|
|
+ window.controlle="<?php echo strtolower(trim(preg_replace("/[A-Z]/", "_\\0", app('request')->controller()), "_"));?>";
|
|
|
|
|
+ window.module="<?php echo app('http')->getName();?>";
|
|
|
|
|
+ </script>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <title></title>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!--<script type="text/javascript" src="/static/plug/basket.js"></script>-->
|
|
|
|
|
+<script type="text/javascript" src="/static/plug/requirejs/require.js"></script>
|
|
|
|
|
+<?php /* <script type="text/javascript" src="/static/plug/requirejs/require-basket-load.js"></script> */ ?>
|
|
|
|
|
+<script>
|
|
|
|
|
+ var hostname = location.hostname;
|
|
|
|
|
+ if(location.port) hostname += ':' + location.port;
|
|
|
|
|
+ requirejs.config({
|
|
|
|
|
+ map: {
|
|
|
|
|
+ '*': {
|
|
|
|
|
+ 'css': '/static/plug/requirejs/require-css.js'
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ shim:{
|
|
|
|
|
+ 'iview':{
|
|
|
|
|
+ deps:['css!iviewcss']
|
|
|
|
|
+ },
|
|
|
|
|
+ 'layer':{
|
|
|
|
|
+ deps:['css!layercss']
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ baseUrl:'//'+hostname+'/',
|
|
|
|
|
+ paths: {
|
|
|
|
|
+ 'static':'static',
|
|
|
|
|
+ 'system':'system',
|
|
|
|
|
+ 'vue':'static/plug/vue/dist/vue.min',
|
|
|
|
|
+ 'axios':'static/plug/axios.min',
|
|
|
|
|
+ 'iview':'static/plug/iview/dist/iview.min',
|
|
|
|
|
+ 'iviewcss':'static/plug/iview/dist/styles/iview',
|
|
|
|
|
+ 'lodash':'static/plug/lodash',
|
|
|
|
|
+ 'layer':'static/plug/layer/layer',
|
|
|
|
|
+ 'layercss':'static/plug/layer/theme/default/layer',
|
|
|
|
|
+ 'jquery':'static/plug/jquery/jquery.min',
|
|
|
|
|
+ 'moment':'static/plug/moment',
|
|
|
|
|
+ 'sweetalert':'static/plug/sweetalert2/sweetalert2.all.min',
|
|
|
|
|
+ 'formCreate':'/static/plug/form-create/form-create.min',
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ basket: {
|
|
|
|
|
+ excludes:['system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
|
|
|
|
|
+// excludes:['system/util/mpFormBuilder','system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+</script>
|
|
|
|
|
+<script type="text/javascript" src="/system/util/mpFrame.js"></script>
|
|
|
|
|
+
|
|
|
|
|
+</head>
|
|
|
|
|
+<body class="gray-bg">
|
|
|
|
|
+<div class="wrapper wrapper-content">
|
|
|
|
|
+
|
|
|
|
|
+<style>
|
|
|
|
|
+ .btn-outline{
|
|
|
|
|
+ border:none;
|
|
|
|
|
+ }
|
|
|
|
|
+ .btn-outline:hover{
|
|
|
|
|
+ background-color: #0e9aef;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ }
|
|
|
|
|
+ .layui-form-item .layui-btn {
|
|
|
|
|
+ margin-top: 5px;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .layui-btn-primary{
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ margin-left: 0!important;
|
|
|
|
|
+ }
|
|
|
|
|
+ label{
|
|
|
|
|
+ margin-bottom: 0!important;
|
|
|
|
|
+ margin-top: 4px;
|
|
|
|
|
+ }
|
|
|
|
|
+</style>
|
|
|
|
|
+<div class="layui-fluid">
|
|
|
|
|
+ <div class="layui-row layui-col-space15" id="app">
|
|
|
|
|
+ <!--搜索条件-->
|
|
|
|
|
+ <div class="layui-col-md12">
|
|
|
|
|
+ <div class="layui-card">
|
|
|
|
|
+ <div class="layui-card-header">搜索条件</div>
|
|
|
|
|
+ <div class="layui-card-body">
|
|
|
|
|
+
|
|
|
|
|
+ <form class="layui-form layui-form-pane" action="">
|
|
|
|
|
+ <div class="layui-form-item">
|
|
|
|
|
+<!-- <div class="layui-inline">-->
|
|
|
|
|
+<!-- <label class="layui-form-label" style="top: -4.5px">所有场馆</label>-->
|
|
|
|
|
+<!-- <div class="layui-input-block">-->
|
|
|
|
|
+<!-- <select name="auction_id">-->
|
|
|
|
|
+<!-- <option value=" ">全部</option>-->
|
|
|
|
|
+<!-- <?php if(is_array($auction) || $auction instanceof \think\Collection || $auction instanceof \think\Paginator): $i = 0; $__LIST__ = $auction;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>-->
|
|
|
|
|
+<!-- <option value="<?php echo htmlentities($vo['id']); ?>"><?php echo htmlentities($vo['nickname']); ?></option>-->
|
|
|
|
|
+<!-- <?php endforeach; endif; else: echo "" ;endif; ?>-->
|
|
|
|
|
+<!-- </select>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+ <div class="layui-inline">
|
|
|
|
|
+ <label class="layui-form-label" style="top: -4.5px">搜索</label>
|
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
|
+ <input type="text" name="store_name" class="layui-input" placeholder="订单号,账号,昵称,编号">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="layui-col-lg12">
|
|
|
|
|
+ <label class="layui-form-label">创建时间:</label>
|
|
|
|
|
+ <div class="layui-input-block" data-type="data" v-cloak="">
|
|
|
|
|
+ <button class="layui-btn layui-btn-sm" type="button" v-for="item in dataList"
|
|
|
|
|
+ @click="setData(item)"
|
|
|
|
|
+ :class="{'layui-btn-primary':where.data!=item.value}">{{item.name}}
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <button class="layui-btn layui-btn-sm" type="button" ref="time"
|
|
|
|
|
+ @click="setData({value:'zd',is_zd:true})"
|
|
|
|
|
+ :class="{'layui-btn-primary':where.data!='zd'}">自定义
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <button type="button" class="layui-btn layui-btn-sm layui-btn-primary"
|
|
|
|
|
+ v-show="showtime==true" ref="date_time"><?php echo htmlentities($year['0']); ?> - <?php echo htmlentities($year['1']); ?>
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="layui-inline" style="top: -5px">
|
|
|
|
|
+ <div class="layui-input-inline">
|
|
|
|
|
+ <button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="search" lay-filter="search" >
|
|
|
|
|
+ <i class="layui-icon layui-icon-search"></i>搜索</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 中间详细信息-->
|
|
|
|
|
+ <div :class="item.col!=undefined ? 'layui-col-sm'+item.col+' '+'layui-col-md'+item.col:'layui-col-sm6 layui-col-md3'"
|
|
|
|
|
+ v-for="item in badge" v-cloak="" v-if="item.count > 0">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--enb-->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--列表-->
|
|
|
|
|
+ <div class="layui-row layui-col-space15">
|
|
|
|
|
+ <div class="layui-col-md12">
|
|
|
|
|
+ <div class="layui-card">
|
|
|
|
|
+ <div class="layui-card-header">订单列表</div>
|
|
|
|
|
+ <div class="layui-card-body">
|
|
|
|
|
+<!-- <div class="layui-btn-container" id="container-action">-->
|
|
|
|
|
+<!-- <a class="layui-btn layui-btn-sm" href="<?php echo Url('create'); ?>">添加商品</a>-->
|
|
|
|
|
+<!-- <button class="layui-btn layui-btn-sm" data-type="del_auction">批量删除</button>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+ <table class="layui-hide" id="List" lay-filter="List"></table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <script type="text/html" id="image">
|
|
|
|
|
+ <img style="cursor: pointer" lay-event="open_image" src="{{d.image}}">
|
|
|
|
|
+ </script>
|
|
|
|
|
+ <script type="text/html" id="status">
|
|
|
|
|
+ {{# if(d.status < 1){ }}
|
|
|
|
|
+ <button type="button" name="status" class="layui-btn-disabled layui-btn-xs" id="">
|
|
|
|
|
+ 过期
|
|
|
|
|
+ </button>
|
|
|
|
|
+ {{# } else if(d.status == 1) { }}
|
|
|
|
|
+ <button type="button" name="status" class="layui-btn-xs layui-btn-disabled" id="">
|
|
|
|
|
+ 待上传
|
|
|
|
|
+ </button>
|
|
|
|
|
+ {{# } else if(d.status == 2) { }}
|
|
|
|
|
+ <button type="button" name="status" class="layui-btn layui-btn-xs layui-btn-danger" id="">
|
|
|
|
|
+ 待审核
|
|
|
|
|
+ </button>
|
|
|
|
|
+ {{# } else if(d.status == 3) { }}
|
|
|
|
|
+ <button type="button" name="status" class="layui-btn layui-btn-xs layui-btn-danger" id="">
|
|
|
|
|
+ 完成
|
|
|
|
|
+ </button>
|
|
|
|
|
+ {{# } }}
|
|
|
|
|
+ </script>
|
|
|
|
|
+ <script type="text/html" id="upload_image">
|
|
|
|
|
+ {{# if(d.upload_image === ''){ }}
|
|
|
|
|
+ <button type="button" name="status" class="layui-btn-disabled layui-btn-xs" id="">
|
|
|
|
|
+ 未上传打款凭证
|
|
|
|
|
+ </button>
|
|
|
|
|
+ {{# } else { }}
|
|
|
|
|
+ <img style="cursor: pointer" lay-event="open_image" src="{{d.upload_image}}">
|
|
|
|
|
+ {{# } }}
|
|
|
|
|
+ </script>
|
|
|
|
|
+ <script type="text/html" id="act">
|
|
|
|
|
+ <button type="button" class="layui-btn layui-btn-xs layui-btn-danger" lay-event='qd' id="">
|
|
|
|
|
+ 通过
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <button type="button" class="layui-btn layui-btn-xs layui-btn-danger" lay-event='delete' id="">
|
|
|
|
|
+ 删除
|
|
|
|
|
+ </button>
|
|
|
|
|
+
|
|
|
|
|
+ </script>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!--end-->
|
|
|
|
|
+</div>
|
|
|
|
|
+<script src="/system/js/layuiList.js"></script>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+ //实例化form
|
|
|
|
|
+ layList.form.render();
|
|
|
|
|
+ layList.tableList('List', "<?php echo Url('list'); ?>", function () {
|
|
|
|
|
+ return [
|
|
|
|
|
+ {type: 'checkbox'},
|
|
|
|
|
+ {field: 'id', title: 'ID', sort: true, event: 'id', width: '5%', templet: '#id'},
|
|
|
|
|
+ {field: 'order_id', title: '订单号', templet: '#order_id', align: 'center'},
|
|
|
|
|
+ {field: 'account', title: '账号', templet: '#account', align: 'center'},
|
|
|
|
|
+ {field: 'nickname', title: '呢称', templet: '#nickname', align: 'center'},
|
|
|
|
|
+ {field: 'name', title: '商品', templet: '#name', align: 'center'},
|
|
|
|
|
+ {field: 'price', title: '购买价格', templet: '#price', align: 'center', style : 'color: #DC143C;'},
|
|
|
|
|
+ {field: 'image', title: '图片', templet: '#image', align: 'center'},
|
|
|
|
|
+ {field: 'upload_image', title: '打款凭证', templet: '#upload_image', align: 'center'},
|
|
|
|
|
+ {field: 'status', title: '状态', templet: '#status', align: 'center'},
|
|
|
|
|
+ {field: 'create_time', title: '预约时间', templet: '#date', align: 'center'},
|
|
|
|
|
+ {field: 'right', title: '操作', align: 'center', toolbar: '#act'},
|
|
|
|
|
+ ];
|
|
|
|
|
+ });
|
|
|
|
|
+ //点击事件绑定
|
|
|
|
|
+ layList.tool(function (event,data,obj) {
|
|
|
|
|
+ switch (event) {
|
|
|
|
|
+ case 'delete':
|
|
|
|
|
+ var url=layList.U({c:'auction.auction_booking',a:'delete',q:{id:data.id}});
|
|
|
|
|
+ var code = {title:"操作提示",text:"确定删除?",type:'info',confirm:'是的,删除'};
|
|
|
|
|
+ $eb.$swal('delete',function(){
|
|
|
|
|
+ $eb.axios.get(url).then(function(res){
|
|
|
|
|
+ if(res.status == 200 && res.data.code == 200) {
|
|
|
|
|
+ $eb.$swal('success',res.data.msg);
|
|
|
|
|
+ obj.del();
|
|
|
|
|
+ location.reload();
|
|
|
|
|
+ }else
|
|
|
|
|
+ return Promise.reject(res.data.msg || '删除失败')
|
|
|
|
|
+ }).catch(function(err){
|
|
|
|
|
+ $eb.$swal('error',err);
|
|
|
|
|
+ });
|
|
|
|
|
+ },code)
|
|
|
|
|
+ break;
|
|
|
|
|
+ case 'qd':
|
|
|
|
|
+ var url=layList.U({c:'auction.auction_order',a:'qd',q:{id:data.id}});
|
|
|
|
|
+ var code = {title:"操作提示",text:"确定通过订单吗?",type:'info',confirm:'是的,确定'};
|
|
|
|
|
+ $eb.$swal('delete',function(){
|
|
|
|
|
+ $eb.axios.get(url).then(function(res){
|
|
|
|
|
+ if(res.status == 200 && res.data.code == 200) {
|
|
|
|
|
+ $eb.$swal('success',res.data.msg);
|
|
|
|
|
+ obj.del();
|
|
|
|
|
+ location.reload();
|
|
|
|
|
+ }else
|
|
|
|
|
+ return Promise.reject(res.data.msg || '失败')
|
|
|
|
|
+ }).catch(function(err){
|
|
|
|
|
+ $eb.$swal('error',err);
|
|
|
|
|
+ });
|
|
|
|
|
+ },code)
|
|
|
|
|
+ break;
|
|
|
|
|
+ case 'open_image':
|
|
|
|
|
+ $eb.openImage(data.image);
|
|
|
|
|
+ break;
|
|
|
|
|
+ case 'edit':
|
|
|
|
|
+ location.href = layList.U({a:'edit',q:{id:data.id}});
|
|
|
|
|
+ break;
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+ //查询
|
|
|
|
|
+ layList.search('search',function(where){
|
|
|
|
|
+ console.log(111);
|
|
|
|
|
+ layList.reload(where,true);
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ //改状态
|
|
|
|
|
+ layList.switch('is_show',function (odj,value) {
|
|
|
|
|
+ if(odj.elem.checked==true){
|
|
|
|
|
+ layList.baseGet(layList.Url({c:'auction.auctionProduct',a:'set_status',p:{status:1,id:value}}),function (res) {
|
|
|
|
|
+ layList.msg(res.msg, function () {
|
|
|
|
|
+ layList.reload();
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ }else{
|
|
|
|
|
+ layList.baseGet(layList.Url({c:'auction.auctionProduct',a:'set_status',p:{status:0,id:value}}),function (res) {
|
|
|
|
|
+ layList.msg(res.msg, function () {
|
|
|
|
|
+ layList.reload();
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ require(['vue'], function (Vue) {
|
|
|
|
|
+ new Vue({
|
|
|
|
|
+ el: "#app",
|
|
|
|
|
+ data: {
|
|
|
|
|
+ badge: [],
|
|
|
|
|
+ dataList: [
|
|
|
|
|
+ {name: '全部', value: ''},
|
|
|
|
|
+ {name: '今天', value: 'today'},
|
|
|
|
|
+ {name: '昨天', value: 'yesterday'},
|
|
|
|
|
+ {name: '最近7天', value: 'lately7'},
|
|
|
|
|
+ {name: '最近30天', value: 'lately30'},
|
|
|
|
|
+ {name: '本月', value: 'month'},
|
|
|
|
|
+ {name: '本年', value: 'year'},
|
|
|
|
|
+ ],
|
|
|
|
|
+ where: {
|
|
|
|
|
+ data: '',
|
|
|
|
|
+ status: status,
|
|
|
|
|
+ type: '',
|
|
|
|
|
+ pay_type: '',
|
|
|
|
|
+ excel: 0,
|
|
|
|
|
+ },
|
|
|
|
|
+ showtime: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ watch: {
|
|
|
|
|
+ 'where.status': function () {
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ layList.reload(this.where, true);
|
|
|
|
|
+ },
|
|
|
|
|
+ 'where.data': function () {
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ layList.reload(this.where, true);
|
|
|
|
|
+ },
|
|
|
|
|
+ 'where.type': function () {
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ layList.reload(this.where, true);
|
|
|
|
|
+ },
|
|
|
|
|
+ 'where.pay_type': function () {
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ layList.reload(this.where, true);
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ setData: function (item) {
|
|
|
|
|
+ var that = this;
|
|
|
|
|
+ if (item.is_zd == true) {
|
|
|
|
|
+ that.showtime = true;
|
|
|
|
|
+ this.where.data = this.$refs.date_time.innerText;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.showtime = false;
|
|
|
|
|
+ this.where.data = item.value;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ getBadge: function () {
|
|
|
|
|
+ var that = this;
|
|
|
|
|
+ layList.basePost(layList.Url({c: 'order.store_order', a: 'getBadge'}), this.where, function (rem) {
|
|
|
|
|
+ that.badge = rem.data;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ search: function () {
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ layList.reload(this.where, true);
|
|
|
|
|
+ },
|
|
|
|
|
+ refresh: function () {
|
|
|
|
|
+ layList.reload();
|
|
|
|
|
+ this.getBadge();
|
|
|
|
|
+ },
|
|
|
|
|
+ excel: function () {
|
|
|
|
|
+ this.where.excel = 1;
|
|
|
|
|
+ location.href = layList.U({c: 'order.store_order', a: 'order_list', q: this.where});
|
|
|
|
|
+ this.where.excel = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ mounted: function () {
|
|
|
|
|
+ var that = this;
|
|
|
|
|
+ that.getBadge();
|
|
|
|
|
+ window.formReload = this.search;
|
|
|
|
|
+ layList.laydate.render({
|
|
|
|
|
+ elem: this.$refs.date_time,
|
|
|
|
|
+ trigger: 'click',
|
|
|
|
|
+ eventElem: this.$refs.time,
|
|
|
|
|
+ range: true,
|
|
|
|
|
+ change: function (value) {
|
|
|
|
|
+ that.where.data = value;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ });
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+</div>
|
|
|
|
|
+</body>
|
|
|
|
|
+</html>
|