添加注释

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -80,19 +80,19 @@
data() { data() {
return { return {
id: 0, id: 0, // id
form: { form: { //
signName: "", signName: "",
businessLicense: "", businessLicense: "",
license: "", license: "",
}, },
loading: false, loading: false, //
formValidate: { formValidate: { //
signName: [{required: true, message: "签名名称不能为空", trigger: "blur"}], signName: [{required: true, message: "签名名称不能为空", trigger: "blur"}],
remark: [{required: true, message: "申请说明不能为空", trigger: "blur"}], remark: [{required: true, message: "申请说明不能为空", trigger: "blur"}],
businessLicense: [{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", name: "monitor",
data() { data() {
return { return {
loading: false, loading: false, //
go: "", go: "", // iframe
url: "", url: "", //
html: "", height: "525px" // iframe
height: "525px"
}; };
}, },
computed: {}, computed: {},
@ -76,7 +75,6 @@ export default {
} }
}, },
handleGo() { handleGo() {
let url = this.url;
this.go = this.url; this.go = this.url;
}, },
handleOpen() { handleOpen() {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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