From df98e4e487569286e0ed54a224fae04cec81f304 Mon Sep 17 00:00:00 2001 From: oddfar Date: Tue, 5 Sep 2023 19:44:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=AA=8C=E8=AF=81=E7=A0=81=E5=80=92?= =?UTF-8?q?=E8=AE=A1=E6=97=B6=E8=B4=9F=E6=95=B0=E9=97=AE=E9=A2=98=20by@lis?= =?UTF-8?q?ongkun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue_campus_admin/src/views/imt/user/index.vue | 158 +++++++++--------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/vue_campus_admin/src/views/imt/user/index.vue b/vue_campus_admin/src/views/imt/user/index.vue index 33644c8..3a8718d 100644 --- a/vue_campus_admin/src/views/imt/user/index.vue +++ b/vue_campus_admin/src/views/imt/user/index.vue @@ -537,6 +537,85 @@ import { import {listItem} from "@/api/imt/item"; export default { + name: "User", + dicts: ["sys_normal_disable"], + data() { + return { + // 遮罩层 + loading: true, + // 选中数组 + ids: [], + // 非单个禁用 + single: true, + // 非多个禁用 + multiple: true, + // 显示搜索条件 + showSearch: true, + // 总条数 + total: 0, + // I茅台用户表格数据 + userList: [], + // 日期范围 + dateRange: [], + // 弹出层标题 + title: "", + // 是否显示弹出层 + open: false, + openUser: false, + refreshToken: false, + // 发送短信按钮倒计时 + state: false, + stateNum: 60, + // 查询参数 + queryParams: { + pageNum: 1, + pageSize: 10, + mobile: null, + userId: null, + token: null, + itemCode: null, + deviceId: null, + provinceName: null, + cityName: null, + address: null, + lat: null, + lng: null, + shopType: null, + jsonResult: null, + expireTime: null, + }, + // 表单参数 + form: {}, + // 表单校验 + rules: { + mobile: [ + {required: true, message: "手机号不能为空", trigger: "blur"}, + ], + }, + //0:新增,1:修改 + toAdd: 0, + typeOptions: [ + { + value: 1, + label: "预约本市出货量最大的门店", + }, + { + value: 2, + label: "预约你的位置(经纬度)附近门店", + }, + ], + // I茅台预约商品列表格数据 + itemList: [], + //选择的数据 + itemSelect: [], + }; + }, + created() { + this.getList(); + listItem().then((response) => { + this.itemList = response.data; + }); + }, methods: { //item下拉框选择 changeItem(e) { @@ -743,85 +822,6 @@ export default { this.title = "刷新用户:" + row.remark + "(" + row.mobile + ")登录信息"; }, }, - name: "User", - dicts: ["sys_normal_disable"], - data() { - return { - // 遮罩层 - loading: true, - // 选中数组 - ids: [], - // 非单个禁用 - single: true, - // 非多个禁用 - multiple: true, - // 显示搜索条件 - showSearch: true, - // 总条数 - total: 0, - // I茅台用户表格数据 - userList: [], - // 日期范围 - dateRange: [], - // 弹出层标题 - title: "", - // 是否显示弹出层 - open: false, - openUser: false, - refreshToken: false, - // 发送短信按钮倒计时 - state: false, - stateNum: 60, - // 查询参数 - queryParams: { - pageNum: 1, - pageSize: 10, - mobile: null, - userId: null, - token: null, - itemCode: null, - deviceId: null, - provinceName: null, - cityName: null, - address: null, - lat: null, - lng: null, - shopType: null, - jsonResult: null, - expireTime: null, - }, - // 表单参数 - form: {}, - // 表单校验 - rules: { - mobile: [ - {required: true, message: "手机号不能为空", trigger: "blur"}, - ], - }, - //0:新增,1:修改 - toAdd: 0, - typeOptions: [ - { - value: 1, - label: "预约本市出货量最大的门店", - }, - { - value: 2, - label: "预约你的位置(经纬度)附近门店", - }, - ], - // I茅台预约商品列表格数据 - itemList: [], - //选择的数据 - itemSelect: [], - }; - }, - created() { - this.getList(); - listItem().then((response) => { - this.itemList = response.data; - }); - }, };