添加注释

master
mabo 2021-05-14 12:01:24 +08:00
parent be2be21488
commit b6b45926f9
47 changed files with 261 additions and 312 deletions

View File

@ -8,7 +8,6 @@
import {getCategoryTree} from '@/api/goods.js'
export default {
updated() {
if (!localStorage.getItem('category') && this.$route.path !== '/login') {
getCategoryTree(0).then(res => {
if (res.success) {

View File

@ -17,10 +17,10 @@ export default {
* @description api请求基础路径
*/
api_dev: {
common: 'http://127.0.0.1:8890',
buyer: 'http://127.0.0.1:8888',
seller: 'http://127.0.0.1:8889',
manager: 'http://127.0.0.1:8887'
common: 'https://common-api.pickmall.cn',
buyer: 'https://buyer-api.pickmall.cn',
seller: 'https://store-api.pickmall.cn',
manager: 'https://admin-api.pickmall.cn'
},
api_prod: {
common: 'http://127.0.0.1:8890',

View File

@ -77,14 +77,10 @@ export default {
},
data() {
return {
sliceNum: 5,
userInfo: "",
userId: "",
openedSubmenuArr: this.$store.state.app.openedSubmenuArr,
firstThreeNav: [],
lastNav: [],
navType: 1,
tipsMessage: "",
sliceNum: 5, // nav
userInfo: "", //
navType: 1, // nav
tipsMessage: "", //
};
},
computed: {
@ -118,7 +114,6 @@ export default {
let userInfo = JSON.parse(Cookies.get("userInfo"));
this.userInfo = userInfo;
this.userId = userInfo.id;
this.checkTag(this.$route.name);
let currWidth = document.body.clientWidth;
if (currWidth <= 1200) {

View File

@ -52,16 +52,14 @@ export default {
},
data() {
return {
error: false,
loading: false,
sending: false,
form: {
loading: false, //
form: { //
username: "",
password: "",
mobile: "",
code: "",
},
rules: {
rules: { //
username: [
{
required: true,

View File

@ -296,14 +296,14 @@
align: "center",
},
],
goodsList: [],
params: {
goodsList: [], //
params: { //
seckillId: this.$route.query.id,
applyStatus: "PASS",
failReason: "",
ids: "",
},
rules: {
rules: { //
failReason: [{required: true, message: "请输入拒绝原因"}],
},
};

View File

@ -76,7 +76,7 @@ export default {
startDate: "", //
endDate: "", //
},
selectDate: null,
selectDate: null, //
form: {
//
sn: "",

View File

@ -107,7 +107,7 @@ export default {
name: "bill-detail",
data() {
return {
columns: [
columns: [ //
{
title: "项目",
key: "name",
@ -118,7 +118,7 @@ export default {
key: "value",
},
],
data: [
data: [ //
{
name: "计算中",
value: 0,
@ -153,10 +153,10 @@ export default {
value: 0,
},
],
id: "",
bill: {},
order: [],
orderParam: {
id: "", // id
bill: {}, //
order: [], //
orderParam: { //
pageNumber: 1, //
pageSize: 10, //
sort: "id", //
@ -165,7 +165,7 @@ export default {
startDate: null,
endDate: null,
},
orderColumns: [
orderColumns: [ //
{
title: "入账时间",
key: "createTime",
@ -251,8 +251,8 @@ export default {
},
],
refund: [],
refundParam: {
refund: [], // 退
refundParam: { //
flowTypeEnum: "PAY",
pageNumber: 1, //
pageSize: 10, //
@ -262,22 +262,25 @@ export default {
startDate: null,
endDate: null,
},
refundColumns: [
refundColumns: [ // 退
{
title: "退款时间",
key: "createTime",
minWidth: 120,
tooltip: true },
tooltip: true
},
{
title: "退款流水编号",
key: "sn",
minWidth: 120,
tooltip: true },
tooltip: true
},
{
title: "订单编号",
key: "sn",
minWidth: 120,
tooltip: true },
tooltip: true
},
{
title: "退款金额",
key: "finalPrice",
@ -348,8 +351,8 @@ export default {
],
orderTotal: 0,
refundTotal: 0,
orderTotal: 0, //
refundTotal: 0, // 退
};
},
methods: {

View File

@ -89,7 +89,7 @@ export default {
startDate: "", //
endDate: "", //
},
selectDate: null,
selectDate: null, //
form: {
//
sn: "",

View File

@ -57,10 +57,9 @@
},
data() {
return {
shopId: "",
modalFlag: false,
shopId: "", // id
modalFlag: false, //
loading: true, //
drop: false,
searchForm: {
//
pageNumber: 1, //
@ -70,7 +69,7 @@
startDate: "", //
endDate: "", //
},
selectDate: null,
selectDate: null, //
form: {
//
memberName: "",
@ -79,9 +78,6 @@
id: "",
createTime: "",
},
//
formValidate: {},
submitLoading: false, //
selectList: [], //
selectCount: 0, //
columns: [

View File

@ -176,8 +176,7 @@
:name="item"
style="marrgin-left: 10px"
>{{ item }}
</Tag
>
</Tag>
</span>
</p>
</div>
@ -558,7 +557,7 @@
loading: true, //
storeInfo: {},//
checkAllGroup: [], //
selectDate: null,
selectDate: null, //
submitLoading: false, //
orderColumns: [

View File

@ -69,10 +69,9 @@ export default {
},
data() {
return {
shopId: "",
modalFlag: false,
shopId: "", // id
modalFlag: false, //
loading: true, //
drop: false,
searchForm: {
//
pageNumber: 1, //
@ -82,7 +81,7 @@ export default {
startDate: "", //
endDate: "", //
},
selectDate: null,
selectDate: null, //
form: {
//
memberName: "",
@ -91,8 +90,6 @@ export default {
id: "",
createTime: "",
},
//
formValidate: {},
submitLoading: false, //
selectList: [], //
selectCount: 0, //

View File

@ -232,9 +232,8 @@ export default {
data() {
return {
shopId: this.$route.query.shopId,
shopId: this.$route.query.shopId, // id
isRead: false, //
regionAddressFlag: true,
selectedFormBtnName: "", //form
picModalFlag: false, //
memberModalFlag: false, //
@ -333,15 +332,13 @@ export default {
},
],
},
selectMemberList: [],
memberList: [],
indeterminate: true,
checkAll: false,
checkAllGroup: [],
showRegion: false,
indeterminate: true, //
checkAll: false, //
checkAllGroup: [], //
showRegion: false, //
submitLoading: false, //
settlementCycle: [],
shopForm: {
settlementCycle: [], //
shopForm: { //
settlementCycle: "",
selfOperated: 0,
memberName: "",
@ -371,9 +368,9 @@ export default {
storeDesc: "",
ddCode: "",
},
categories: [],
categories: [], //
infoResult: "",
infoResult: "", //
};
},
methods: {

View File

@ -73,9 +73,6 @@ export default {
modalType: 0, //
modalVisible: false, //
modalTitle: "", //
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
searchForm: {
//
pageNumber: 1, //
@ -84,7 +81,6 @@ export default {
order: "desc", //
sensitiveWord: "",
},
selectDate: null,
form: {
//
sensitiveWord: "",

View File

@ -32,16 +32,14 @@ export default {
},
data() {
return {
total: 0,
year: "",
params: {
params: { //
searchType: "LAST_SEVEN",
year: "",
month: "",
shopId: "",
type: "NUM"
},
columns: [
columns: [ //
{
title: "商品名称",
key: "goodsName",
@ -61,7 +59,7 @@ export default {
},
},
],
data: [],
data: [], //
};
},
methods: {

View File

@ -33,7 +33,7 @@ export default {
data() {
return {
columns: [
columns: [ //
{
key: "createDate",
title: "日期",
@ -75,23 +75,16 @@ export default {
value: "LAST_THIRTY",
},
],
year: "",
orderChart: "",
defaultParams: {
month: "",
searchType: "LAST_SEVEN", // TODAY , YESTERDAY , LAST_SEVEN , LAST_THIRTY
storeId: "",
year: "",
},
params: {
year: "", //
orderChart: "", //
params: { //
searchType: "LAST_SEVEN",
year: "",
month: "",
shopId: "",
},
data: [],
data: [], //
};
},
watch: {

View File

@ -173,8 +173,8 @@ export default {
data() {
return {
total: "0",
orderType: [
total: "0", //
orderType: [ //
{
title: "订单",
selected: true,
@ -195,13 +195,13 @@ export default {
TAKE: "已完成",
},
serviceTypeList: {
serviceTypeList: { //
CANCEL: "取消",
RETURN_GOODS: "退货",
EXCHANGE_GOODS: "换货",
RETURN_MONEY: "退款",
},
serviceStatusList: {
serviceStatusList: { //
APPLY: "申请售后",
PASS: "通过售后",
REFUSE: "拒绝售后",
@ -220,7 +220,7 @@ export default {
columns: [], // 退title
orderColumns: [
orderColumns: [ //
{
type: "expand",
width: 50,
@ -271,7 +271,7 @@ export default {
},
},
],
refundColumns: [
refundColumns: [ //
{
type: "expand",
width: 50,
@ -400,8 +400,6 @@ export default {
value: "LAST_THIRTY",
},
],
year: "",
//
orderParams: {
searchType: "LAST_SEVEN", // TODAY , YESTERDAY , LAST_SEVEN , LAST_THIRTY

View File

@ -76,7 +76,7 @@
export default {
data() {
return {
orderStatusList: {
orderStatusList: { //
UNDELIVERED: "待发货",
UNPAID: "未付款",
PAID: "已付款",

View File

@ -76,7 +76,7 @@
export default {
data() {
return {
orderStatusList: {
orderStatusList: { //
UNDELIVERED: "待发货",
UNPAID: "未付款",
PAID: "已付款",

View File

@ -50,7 +50,6 @@
</Card>
</div>
</div>
</template>
<script>
import affixTime from "@/views/lili-components/affix-time";
@ -64,10 +63,10 @@ export default {
return {
//
uvs: 0,
pvs: 0,
uvs: 0, // 访
pvs: 0, //
dateList: [
dateList: [ //
{
title: "今天",
selected: false,
@ -90,8 +89,8 @@ export default {
},
],
orderChart: "",
params: {
orderChart: "", //
params: { //
searchType: "LAST_SEVEN",
year: "",
month: "",
@ -112,7 +111,7 @@ export default {
},
],
data: [],
data: [], //
};
},
watch: {

View File

@ -161,12 +161,12 @@
},
data() {
return {
queryModalVisible: false,
queryModalTitle: "查看更新信息",
queryModalVisible: false, // modal
queryModalTitle: "查看更新信息", // modal
loading: true, //
modalVisible: false, // app
modalTitle: "", // app
modalType: 0,
modalType: 0, //
searchForm: {
//
pageNumber: 1, //
@ -175,7 +175,6 @@
order: "desc", //
type: ""
},
selectDate: null,
form: {
//
versionName: "",
@ -186,7 +185,7 @@
content: "",
versionUpdateDate: ""
},
versionUpdateDate: "",
versionUpdateDate: "", //
//
formValidate: {
version: [

View File

@ -191,20 +191,20 @@ export default {
name: "department-manage",
data() {
return {
loading: true,
maxHeight: "500px",
strict: true,
userLoading: false,
loadingEdit: true,
modalVisible: false,
selectList: [],
selectCount: 0,
showParent: false,
modalTitle: "",
editTitle: "",
loading: true, //
maxHeight: "500px", //
strict: true, //
userLoading: false, //
loadingEdit: true, //
modalVisible: false, // modal
selectList: [], //
selectCount: 0, //
showParent: false, //
modalTitle: "", // modal
editTitle: "", //
selectedRole: [], //
searchKey: "",
form: {
searchKey: "", //
form: { //
id: "",
title: "",
parentId: "",
@ -213,8 +213,8 @@ export default {
status: 0,
},
formAdd: {},
formValidate: {
formAdd: {}, //
formValidate: { //
title: [{ required: true, message: "名称不能为空", trigger: "blur" }],
sortOrder: [
{
@ -225,10 +225,10 @@ export default {
},
],
},
submitLoading: false,
data: [],
dataEdit: [],
users: [],
submitLoading: false, // loading
data: [], //
dataEdit: [], //
users: [], //
};
},
methods: {

View File

@ -74,12 +74,12 @@
},
data() {
return {
deliveryBean: "",
action: commonUrl + '/common/upload/file',
deliveryBean: "", //
action: commonUrl + '/common/upload/file', //
loading: true, //
modalVisible: false, //
modalTitle: "", //
instantDelivery: [{
instantDelivery: [{ //
configItems: []
}
@ -155,8 +155,6 @@
this.loading = false;
if (res.success) {
this.instantDelivery = res.result.records;
}
});
this.loading = false;

View File

@ -106,16 +106,16 @@
name: "log-manage",
data() {
return {
openSearch: true,
openTip: false,
loading: true,
selectList: [],
selectCount: 0,
selectDate: null,
searchKey: "",
operatorName: "",
openSearch: true, //
openTip: false, //
loading: true, //
selectList: [], //
selectCount: 0, //
selectDate: null, //
searchKey: "", //
operatorName: "", //
showDev: false,//
searchForm: {
searchForm: { //
type: 1,
pageNumber: 1,
pageSize: 10,
@ -124,7 +124,7 @@
sort: "createTime",
order: "desc"
},
columns: [
columns: [ //
{
title: "操作名称",
key: "name",
@ -277,8 +277,8 @@
sortType: "desc"
}
],
data: [],
total: 0
data: [], //
total: 0 //
};
},
methods: {

View File

@ -306,20 +306,19 @@ export default {
},
data() {
return {
loading: true,
strict: true,
maxHeight: "500px",
expandLevel: 1,
menuModalVisible: false,
iconModalVisible: false,
selectList: [],
selectCount: 0,
showParent: false,
searchKey: "",
parentTitle: "",
editTitle: "",
modalTitle: "",
form: {
loading: true, //
strict: true, //
maxHeight: "500px", //
expandLevel: 1, //
menuModalVisible: false, // modal
selectList: [], //
selectCount: 0, //
showParent: false, //
searchKey: "", //
parentTitle: "", //
editTitle: "", //
modalTitle: "", // modal
form: { //
id: "",
title: "",
name: "",
@ -333,10 +332,10 @@ export default {
url: "",
showAlways: true,
},
formAdd: {
formAdd: { //
buttonType: "",
},
formValidate: {
formValidate: { //
title: [{required: true, message: "名称不能为空", trigger: "blur"}],
name: [
{required: true, message: "路由英文名不能为空", trigger: "blur"},
@ -355,8 +354,8 @@ export default {
},
],
},
submitLoading: false,
data: [],
submitLoading: false, //
data: [], //
};
},
methods: {

View File

@ -262,7 +262,6 @@
messageDetailModalVisible: false, //
shopShow: false, //
shopList: [],//
drop: false,
searchForm: {
//
pageNumber: 1, //
@ -290,7 +289,6 @@
pageNumber: 1, //
pageSize: 10, //
},
selectDate: null,
form: {
noticeNode: "",
noticeTitle: ""

View File

@ -174,10 +174,9 @@ export default {
data() {
return {
customSms: false, //
isActive: false,
alreadyCheck: [], //
alreadyCheckShow: [], //
memberPage: 0,
memberPage: 0, //
members: [], //
smsTemplateContent: "", //
memberNum: 0, //
@ -191,11 +190,11 @@ export default {
templateModalVisible: false, //
templateModalTitle: "", //
templateForm: {}, //form
submitLoading: false,
selected: "",
settingData: "",
modalTitle: "设置",
modalVisible: false,
submitLoading: false, //
selected: "", //
settingData: "", //
modalTitle: "设置", // modal
modalVisible: false, // modal
searchForm: {
//
pageNumber: 1, //
@ -228,7 +227,7 @@ export default {
pageNumber: 1, //
pageSize: 10, //
},
smsForm: {
smsForm: { //
smsName: "",
signName: "",
context: "",

View File

@ -80,19 +80,19 @@
data() {
return {
id: 0,
form: {
id: 0, // id
form: { //
signName: "",
businessLicense: "",
license: "",
},
loading: false,
formValidate: {
loading: false, //
formValidate: { //
signName: [{required: true, message: "签名名称不能为空", trigger: "blur"}],
remark: [{required: true, message: "申请说明不能为空", trigger: "blur"}],
businessLicense: [{required: true, message: " ", trigger: "blur"}],
},
submitLoading: false
submitLoading: false //
}
},

View File

@ -43,11 +43,10 @@ export default {
name: "monitor",
data() {
return {
loading: false,
go: "",
url: "",
html: "",
height: "525px"
loading: false, //
go: "", // iframe
url: "", //
height: "525px" // iframe
};
},
computed: {},
@ -76,7 +75,6 @@ export default {
}
},
handleGo() {
let url = this.url;
this.go = this.url;
},
handleOpen() {

View File

@ -278,21 +278,21 @@ export default {
name: "oss-manage",
data() {
return {
config,
baseUrl: "",
config, // api
baseUrl: "", //
selectImage: false, //
accessToken: {}, // token
loading: false, //
fileType: "all",
showType: "list",
fileType: "all", //
showType: "list", //
modalVisible: false, //
uploadVisible: false,
videoVisible: false,
picVisible: false,
picTitle: "",
videoTitle: "",
uploadVisible: false, //
videoVisible: false, // modal
picVisible: false, // modal
picTitle: "", // title
videoTitle: "", // title
modalTitle: "", //
searchForm: {
searchForm: {
// data
name: "",
fileKey: "",
@ -305,12 +305,12 @@ export default {
endDate: "", //
},
selectDate: null, // modal
oldKey: "",
form: {
oldKey: "", //
form: { //
name: "",
fileKey: "",
},
file: {},
file: {}, //
//
formValidate: {
name: [{required: true, message: "不能为空", trigger: "blur"}],
@ -551,7 +551,7 @@ export default {
],
data: [], //
total: 0, //
pageSizeOpts: [5, 10, 20],
pageSizeOpts: [5, 10, 20], //
};
},
methods: {

View File

@ -196,33 +196,33 @@ export default {
superModelLoading: false, //
selectIsSuperModel: false, //
rolePermsWay: [], //
openLevel: "0",
loading: true,
treeLoading: true,
depTreeLoading: true,
submitPermLoading: false,
submitDepLoading: false,
searchKey: "",
sortColumn: "",
sortType: "desc",
openLevel: "0", //
loading: true, //
treeLoading: true, //
depTreeLoading: true, //
submitPermLoading: false, //
submitDepLoading: false, //
searchKey: "", //
sortColumn: "", //
sortType: "desc", //
modalType: 0, // 0 1
roleModalVisible: false,
permModalVisible: false,
depModalVisible: false,
modalTitle: "",
roleForm: {
roleModalVisible: false, // modal
permModalVisible: false, // modal
depModalVisible: false, // modal
modalTitle: "", // modal
roleForm: { //
name: "",
description: "",
},
roleFormValidate: {
roleFormValidate: { //
name: [
{required: true, message: "角色名称不能为空", trigger: "blur"},
],
},
submitLoading: false,
selectList: [],
selectCount: 0,
columns: [
submitLoading: false, // loading
selectList: [], //
selectCount: 0, //
columns: [ //
{
type: "selection",
width: 60,
@ -320,16 +320,16 @@ export default {
},
},
],
data: [],
pageNumber: 1,
pageSize: 10,
total: 0,
permData: [],
editRolePermId: "",
selectAllFlag: false,
depData: [],
dataType: 0,
editDepartments: [],
data: [], //
pageNumber: 1, //
pageSize: 10, //
total: 0, //
permData: [], //
editRolePermId: "", // id
selectAllFlag: false, //
depData: [], //
dataType: 0, //
editDepartments: [], //
saveRoleWay: [], //
};

View File

@ -55,15 +55,14 @@ import { getPaymentSupportForm } from "@/api/setting";
export default {
data() {
return {
ruleValidate: {},
way: {
ruleValidate: {}, //
way: { //
APP: "移动应用端",
H5: "移动端",
WECHAT_MP: "小程序端",
PC: "PC端",
},
formValidate: {},
pay: "",
formValidate: {} //
};
},
props: ["res", "type"],

View File

@ -53,15 +53,14 @@ import { getPaymentSupportForm } from "@/api/setting";
export default {
data() {
return {
ruleValidate: {},
way: {
ruleValidate: {}, //
way: { //
APP: "移动应用端",
H5: "移动端",
WECHAT_MP: "小程序端",
PC: "PC端",
},
formValidate: {},
pay: "",
formValidate: {} //
};
},
props: ["res", "type"],

View File

@ -30,8 +30,8 @@ import { handleSubmit } from "../setting/validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {
ruleValidate: {}, //
formValidate: { //
accessKeyId: "",
accessKeySecret: "",
bucketName: "",

View File

@ -58,22 +58,21 @@ import { getPaymentSupportForm } from "@/api/setting";
export default {
data() {
return {
ruleValidate: {},
way: {
ruleValidate: {}, //
way: { //
APP: "移动应用端",
H5: "移动端",
WECHAT_MP: "小程序端",
PC: "PC端",
},
formValidate: {},
pay: "",
formValidate: {}, //
// key obj
payWay: {
payWay: { //
ALIPAY: "支付宝支付",
WECHAT: "微信支付",
WALLET: "余额支付",
},
supportForm: "",
supportForm: "", //
};
},
props: ["res", "type"],

View File

@ -36,8 +36,8 @@ import { handleSubmit } from "../setting/validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {
ruleValidate: {}, //
formValidate: { //
accessKeyId: "",
accessKeySecret: "",
bucketName: "",

View File

@ -336,26 +336,26 @@
},
data() {
return {
tabName: "base",
tabName: "base", // tab
loading: false, //
saveLoading: false,
base: {
saveLoading: false, //
base: { //
siteName: "",
icp: "",
logo: "",
sellerLogo: "",
},
point: {
point: { //
register: "",
login: "",
money: ""
},
order: {
order: { //
autoCancel: "",
autoReceive: "",
autoComplete: ""
},
goods: {
goods: { //
goodsCheck: "OPEN",
smallPictureWidth: "",
smallPictureHeight: "",
@ -364,28 +364,28 @@
originalPictureWidth: "",
originalPictureHeight: ""
},
wechat: {
wechat: { //
appId: "",
appSecret: "",
callbackUrl: "",
callbackLoginUrl: "",
callbackBindUrl: ""
},
qq: {
qq: { // qq
appId: "",
appKey: "",
callbackUrl: "",
callbackLoginUrl: "",
callbackBindUrl: ""
},
weibo: {
weibo: { //
appKey: "",
appSecret: "",
callbackUrl: "",
callbackLoginUrl: "",
callbackBindUrl: ""
},
alipay: {
alipay: { //
appId: "",
appSecret: "",
callbackUrl: "",

View File

@ -62,10 +62,10 @@ export default {
},
data() {
return {
handleSubmit,
picModelFlag: false,
formValidate: {
handleSubmit, //
picModelFlag: false, //
formValidate: { //
buyerSideLogo: "",
domainLogo: "",
icp: "",
@ -74,8 +74,8 @@ export default {
staticPageAddress: "",
staticPageWapAddress: "",
},
selected: "",
ruleValidate: {},
selected: "", //
ruleValidate: {} //
};
},
created() {

View File

@ -68,7 +68,7 @@ export default {
props: ["res", "type"],
data() {
return {
formValidate: {
formValidate: { //
goodsCheck: 1,
smallPictureHeight: "0",
smallPictureWidth: "0",
@ -77,7 +77,7 @@ export default {
originalPictureWidth: "0",
originalPictureHeight: "0",
},
ruleValidate: {},
ruleValidate: {} //
};
},
watch: {

View File

@ -23,8 +23,8 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: { ebusinessID: "", reqURL: "", appKey: "" },
ruleValidate: {}, //
formValidate: { ebusinessID: "", reqURL: "", appKey: "" }, //
};
},
props: ["res",'type'],

View File

@ -47,8 +47,8 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {
ruleValidate: {}, //
formValidate: { //
autoCancel: "",
autoComplete: "",
autoEvaluation: "",

View File

@ -29,8 +29,8 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {
ruleValidate: {}, //
formValidate: { //
accessKeyId: "",
accessKeySecret: "",
bucketName: "",

View File

@ -62,8 +62,8 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {},
ruleValidate: {}, //
formValidate: {}, //
};
},
props: ["res", "type"],

View File

@ -27,8 +27,8 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
ruleValidate: {},
formValidate: {
ruleValidate: {}, //
formValidate: { //
accessKeyId: "",
regionId: "",
picLocation: "",

View File

@ -21,11 +21,11 @@ import { handleSubmit } from "./validate";
export default {
data() {
return {
formValidate: {
formValidate: { //
apply: true,
},
switchTitle: "提现审核是否开启",
switchTitle: "提现审核是否开启", // title
};
},
created() {

View File

@ -16,10 +16,10 @@ import templateSetting from "./template";
export default {
data() {
return {
templateSetting,
selected: "",
settingData: "",
show: true,
templateSetting, //
selected: "", //
settingData: "", //
show: true, //
setting: [
//
{
@ -76,7 +76,7 @@ export default {
//
{type: "WECHAT_PAYMENT", name: "微信支付设置"},
],
tabWay: [],
tabWay: [], // tab
};
},

View File

@ -46,8 +46,6 @@
<script>
import {getSetting, setSetting} from "@/api/index.js";
import template from "./template";
export default {
name: "smsSettingManage",
components: {
@ -56,16 +54,15 @@
data() {
return {
submitLoading: false,
template,
selected: "",
settingData: "",
modalTitle: '设置',
modalVisible: false,
form: {},
submitLoading: false, //
template, //
selected: "", //
settingData: "", //
modalTitle: '设置', // modal
modalVisible: false, // modal
form: {}, //
}
},
filters: {},
methods: {
init() {
settingInfo("SMS_SETTING")

View File

@ -141,13 +141,11 @@ export default {
},
data() {
return {
height: 510,
openTip: false,
loading: true,
dropDownIcon: "ios-arrow-down",
selectCount: 0,
selectList: [],
searchForm: {
height: 510, //
loading: true, //
selectCount: 0, //
selectList: [], //
searchForm: { //
username: "",
departmentId: "",
mobile: "",
@ -158,11 +156,10 @@ export default {
sort: "createTime",
order: "desc"
},
selectDate: null,
modalType: 0,
userModalVisible: false,
modalTitle: "",
form: {
modalType: 0, //
userModalVisible: false, // modal
modalTitle: "", // modal
form: { //
username: "",
mobile: "",
email: "",
@ -172,10 +169,9 @@ export default {
departmentId: "",
departmentTitle: ""
},
userRoles: [],
roleList: [],
errorPass: "",
formValidate: {
roleList: [], //
errorPass: "", //
formValidate: { //
username: [
{required: true, message: "用户名不能为空", trigger: "blur"}
],
@ -188,8 +184,8 @@ export default {
{type: "email", message: "邮箱格式不正确"}
]
},
submitLoading: false,
columns: [
submitLoading: false, //
columns: [ //
{
type: "selection",
width: 60,
@ -360,9 +356,9 @@ export default {
}
}
],
data: [],
total: 0,
departments: []
data: [], //
total: 0, //
departments: [] //
};
},
methods: {