diff --git a/.env.production b/.env.production index aea0345..0e5f539 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/mallapi' +VUE_APP_BASE_API = '/lpkapi' ## 配置 正式接口地址 VUE_APP_URL = "" diff --git a/.gitignore b/.gitignore index eb35fb3..d3dfa06 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ package-lock.json yarn.lock yyth-ui/ +yythmall-ui/ diff --git a/src/views/commodity/index.vue b/src/views/commodity/index.vue index 78ff90a..33874da 100644 --- a/src/views/commodity/index.vue +++ b/src/views/commodity/index.vue @@ -1,103 +1,121 @@ \ No newline at end of file + diff --git a/src/views/order/allDistributionCount.vue b/src/views/order/allDistributionCount.vue index a849630..c76d0e9 100644 --- a/src/views/order/allDistributionCount.vue +++ b/src/views/order/allDistributionCount.vue @@ -24,6 +24,16 @@ + + + + + + + +
明细 --> - + @@ -117,10 +127,29 @@ params: { startDate: "", endDate: "", - store: "" + store: "", + cardType: "" }, }, - giftPackList: [] + giftPackList: [], + cardTypeList: [{ + text: "全部", + sid: "" + }, + { + text: "家庭卡", + sid: "1" + }, + { + text: "亲情卡", + sid: "2" + }, + { + text: "企业卡", + sid: "3" + }, + + ] } }, mounted() { @@ -128,7 +157,7 @@ }, created() { this.getAllStore() - this.loadList() + // this.loadList() }, methods: { //改变单行蓝色和绿色 @@ -180,7 +209,10 @@ console.log('>>>>>>>>>giftPackSelect', val) this.page.params.store = val }, - + cardTypeSelect(val) { + console.log('>>>>>>>>>cardTypeSelect', val) + this.page.params.cardType = val + }, getAllStore() { req.getAllStore().then((resp) => { if (resp.success) { @@ -225,7 +257,8 @@ params: { startDate: "", endDate: "", - store: "" + store: "", + cardType: "" }, } this.loadList() diff --git a/src/views/order/distributionCount.vue b/src/views/order/distributionCount.vue index 6ee8284..36766c8 100644 --- a/src/views/order/distributionCount.vue +++ b/src/views/order/distributionCount.vue @@ -39,6 +39,15 @@ + + + + + + +
@@ -64,7 +73,7 @@ 明细 --> - + @@ -151,11 +160,30 @@ startDate: "", endDate: "", store: "", - bankSid: "" + bankSid: "", + cardType: "" }, }, giftPackList: [], bankList: [], + cardTypeList: [{ + text: "全部", + sid: "" + }, + { + text: "家庭卡", + sid: "1" + }, + { + text: "亲情卡", + sid: "2" + }, + { + text: "企业卡", + sid: "3" + }, + + ] } }, mounted() { @@ -163,7 +191,7 @@ }, created() { this.getAllStore() - this.loadList() + // this.loadList() this.getBankList() }, methods: { @@ -230,7 +258,10 @@ console.log('>>>>>>>>>bankSelect', val) this.page.params.bankSid = val }, - + cardTypeSelect(val) { + console.log('>>>>>>>>>cardTypeSelect', val) + this.page.params.cardType = val + }, getAllStore() { req.getAllStore().then((resp) => { if (resp.success) { @@ -276,7 +307,8 @@ startDate: "", endDate: "", store: "", - bankSid: "" + bankSid: "", + cardType: "" }, } this.loadList() diff --git a/src/views/order/index.vue b/src/views/order/index.vue index 4b36484..f67d115 100644 --- a/src/views/order/index.vue +++ b/src/views/order/index.vue @@ -40,6 +40,17 @@ + + + + + + + + +
@@ -139,11 +150,31 @@ startDate: "", endDate: "", store: "", - bankSid:"" + bankSid:"", + cardType:"" }, }, giftPackList: [], bankList: [], + cardTypeList:[ + { + text :"全部", + sid:"" + }, + { + text :"家庭卡", + sid:"1" + }, + { + text :"亲情卡", + sid:"2" + }, + { + text :"企业卡", + sid:"3" + }, + + ] } }, mounted() { @@ -151,7 +182,7 @@ }, created() { this.getAllStore() - this.loadList() + // this.loadList() this.getBankList() }, methods: { @@ -206,6 +237,10 @@ console.log('>>>>>>>>>bankSelect', val) this.page.params.bankSid = val }, + cardTypeSelect(val){ + console.log('>>>>>>>>>cardTypeSelect', val) + this.page.params.cardType = val + }, getAllStore() { req.getAllStore().then((resp) => { if (resp.success) { @@ -251,7 +286,8 @@ startDate: "", endDate: "", store: "", - bankSid:"" + bankSid:"", + cardType:"" }, } this.loadList() diff --git a/src/views/order/subBranch.vue b/src/views/order/subBranch.vue index 30c8f14..79ca59c 100644 --- a/src/views/order/subBranch.vue +++ b/src/views/order/subBranch.vue @@ -33,6 +33,16 @@ + + + + + + + +
明细 --> - + @@ -131,10 +141,29 @@ params: { startDate: "", endDate: "", - bankSid: "" + bankSid: "", + cardType: "" }, }, - bankList: [] + bankList: [], + cardTypeList: [{ + text: "全部", + sid: "" + }, + { + text: "家庭卡", + sid: "1" + }, + { + text: "亲情卡", + sid: "2" + }, + { + text: "企业卡", + sid: "3" + }, + + ] } }, mounted() { @@ -142,7 +171,7 @@ }, created() { this.getAllStore() - this.loadList() + // this.loadList() }, methods: { @@ -195,7 +224,10 @@ console.log('>>>>>>>>>bankSelect', val) this.page.params.bankSid = val }, - + cardTypeSelect(val) { + console.log('>>>>>>>>>cardTypeSelect', val) + this.page.params.cardType = val + }, getAllStore() { req2.bankSelect() .then(resp => { @@ -244,7 +276,8 @@ params: { startDate: "", endDate: "", - bankSid: "" + bankSid: "", + cardType: "" }, } this.loadList() diff --git a/vue.config.js b/vue.config.js index afff35a..8d63002 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,7 +24,7 @@ module.exports = { *在大多数情况下,请使用“/”!!! *详细信息:https://cli.vuejs.org/config/#publicpath */ - publicPath: process.env.NODE_ENV === 'production' ? '/mall/' : '/', + publicPath: process.env.NODE_ENV === 'production' ? '/lpk/' : '/', outputDir: 'yythmall-ui', assetsDir: 'static', lintOnSave: process.env.NODE_ENV === 'development',