mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
添加注释,删除无用代码
This commit is contained in:
@@ -26,28 +26,21 @@ export default {
|
||||
props: ["closeShop"],
|
||||
data() {
|
||||
return {
|
||||
month: "",
|
||||
year: "",
|
||||
|
||||
defuaultWay: {
|
||||
month: "", // 月份
|
||||
|
||||
selectedWay: { // 可选时间项
|
||||
title: "最近7天",
|
||||
selected: true,
|
||||
searchType: "LAST_SEVEN",
|
||||
},
|
||||
|
||||
selectedWay: {
|
||||
title: "最近7天",
|
||||
selected: true,
|
||||
searchType: "LAST_SEVEN",
|
||||
},
|
||||
storeId: "",
|
||||
dates: [],
|
||||
params: {
|
||||
storeId: "", // 店铺id
|
||||
dates: [], // 日期列表
|
||||
params: { // 请求参数
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
storeName: "",
|
||||
},
|
||||
dateList: [
|
||||
dateList: [ // 筛选条件
|
||||
{
|
||||
title: "今天",
|
||||
selected: false,
|
||||
@@ -70,8 +63,8 @@ export default {
|
||||
},
|
||||
],
|
||||
|
||||
shopTotal: "",
|
||||
shopsData: [],
|
||||
shopTotal: "", // 店铺总数
|
||||
shopsData: [], // 店铺数据
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -11,43 +11,11 @@ import { getAllCity } from "@/api/index";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
switched: false,
|
||||
asyncLoading: false,
|
||||
num: 10,
|
||||
modalFlag: false,
|
||||
spinShow: false,
|
||||
timerNum: 10,
|
||||
data: [],
|
||||
id: 0,
|
||||
selectedWay: [],
|
||||
addValidate: {
|
||||
parentName: "无父级",
|
||||
},
|
||||
ruleValidate: {
|
||||
adCode: [
|
||||
{
|
||||
required: true,
|
||||
message: "区域编码不能为空",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
|
||||
center: [
|
||||
{
|
||||
required: true,
|
||||
message: "经纬度不能为空",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
name: [
|
||||
{
|
||||
required: true,
|
||||
message: "名称不能为空",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
},
|
||||
callBackData: "",
|
||||
switched: false, // 控制模态框显隐
|
||||
spinShow: false, // 加载状态
|
||||
data: [], // 地区数据
|
||||
selectedWay: [], // 选择的地区
|
||||
callBackData: "", // 打开组件的回显数据
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -15,10 +15,10 @@ import * as API_Setup from "@/api/index.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
data: [],
|
||||
selected: [],
|
||||
id: 0,
|
||||
changeOnSelect: false,
|
||||
data: [], // 地区数据
|
||||
selected: [], // 已选地区
|
||||
id: 0, // 默认id
|
||||
changeOnSelect: false, // 选择时变动
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user