|  |  |  | 
|---|
|  |  |  | <!DOCTYPE HTML> | 
|---|
|  |  |  | <html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml"> | 
|---|
|  |  |  | <head> | 
|---|
|  |  |  | <meta charset="utf-8"> | 
|---|
|  |  |  | <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 
|---|
|  |  |  | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | 
|---|
|  |  |  | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 
|---|
|  |  |  | <meta name="viewport" | 
|---|
|  |  |  | content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | 
|---|
|  |  |  | <meta http-equiv="Cache-Control" content="no-siteapp" /> | 
|---|
|  |  |  | <LINK rel="Bookmark" href="../images/favicon.ico"> | 
|---|
|  |  |  | <!-- 本框架基本脚本和样式 --> | 
|---|
|  |  |  | <meta charset="utf-8"> | 
|---|
|  |  |  | <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 
|---|
|  |  |  | <meta name="renderer" content="webkit|ie-comp|ie-stand"> | 
|---|
|  |  |  | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 
|---|
|  |  |  | <meta name="viewport" | 
|---|
|  |  |  | content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> | 
|---|
|  |  |  | <meta http-equiv="Cache-Control" content="no-siteapp" /> | 
|---|
|  |  |  | <LINK rel="Bookmark" href="../images/favicon.ico"> | 
|---|
|  |  |  | <!-- 本框架基本脚本和样式 --> | 
|---|
|  |  |  | <script type="text/javascript" th:src="@{/js/systools/MBaseVue.js}"></script> | 
|---|
|  |  |  | <script type="text/javascript" th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script> | 
|---|
|  |  |  | <script type="text/javascript" th:src="@{/js/plugin/jquery.query.js}"></script> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-form-item label="会员"> | 
|---|
|  |  |  | <el-input v-model="form.vipQueryKey"></el-input> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <el-form-item label="门店"> | 
|---|
|  |  |  | <el-select v-model="form.shopId" placeholder="请选择所属门店"> | 
|---|
|  |  |  | <el-option v-for="item in shopList" | 
|---|
|  |  |  | :key="item.id" | 
|---|
|  |  |  | :label="item.shopName" | 
|---|
|  |  |  | :value="item.id"> | 
|---|
|  |  |  | </el-option> | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-button type="primary" @click="search" >搜索</el-button> | 
|---|
|  |  |  | <el-button @click="resetForm('form')">重置</el-button> | 
|---|
|  |  |  | <!--         <el-button type="warning" @click="exportExcel">导出</el-button>--> | 
|---|
|  |  |  | <!--         <el-button type="warning" @click="exportExcel">导出</el-button>--> | 
|---|
|  |  |  | </el-form> | 
|---|
|  |  |  | </el-row> | 
|---|
|  |  |  | <el-row class="table-style"> | 
|---|
|  |  |  | 
|---|
|  |  |  | el : "#app", | 
|---|
|  |  |  | data : { | 
|---|
|  |  |  | tableData : [], | 
|---|
|  |  |  | shopList : [], | 
|---|
|  |  |  | form : { | 
|---|
|  |  |  | timeRange : '', | 
|---|
|  |  |  | vipQueryKey : '', | 
|---|
|  |  |  | beaultId : '' | 
|---|
|  |  |  | beaultId : '', | 
|---|
|  |  |  | shopId : '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | page : { | 
|---|
|  |  |  | currentPage : 1, | 
|---|
|  |  |  | 
|---|
|  |  |  | _this.page.total = loj.total; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | _this.queryAchieveUsers(); | 
|---|
|  |  |  | _this.queryShops(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | search() { | 
|---|
|  |  |  | this.queryTableData(); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | queryShops() { | 
|---|
|  |  |  | let _this = this; | 
|---|
|  |  |  | AjaxProxy.requst({ | 
|---|
|  |  |  | app: _this, | 
|---|
|  |  |  | url: basePath + '/admin/shopInfo/findAllWithPermi', | 
|---|
|  |  |  | callback: function (data) { | 
|---|
|  |  |  | _this.shopList = data.rows; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleSizeChange(val) { | 
|---|
|  |  |  | this.page.size = val; | 
|---|
|  |  |  | this.queryTableData(); | 
|---|