diff --git a/.env.development b/.env.development index c3014b3..969a7f7 100644 --- a/.env.development +++ b/.env.development @@ -3,5 +3,6 @@ ENV = 'development' VUE_APP_BASE_API = '/prod-api' VUE_APP_ADDRESS1 = 'https://t-zk.beida666.com/#/' +VUE_APP_SYSTEM_TYPE = 'KG' # 会员H5端: t-zk.beida666.com -# 管理后台: t-zk-mana.beida666.com \ No newline at end of file +# 管理后台: t-zk-mana.beida666.com diff --git a/.env.production b/.env.production index 18f4b07..3bc6091 100644 --- a/.env.production +++ b/.env.production @@ -4,5 +4,6 @@ ENV = 'production' # base api VUE_APP_BASE_API = '/prod-api' VUE_APP_ADDRESS1 = 'https://t-zk.beida666.com/#/' +VUE_APP_SYSTEM_TYPE = 'KG' # 会员H5端: t-zk.beida666.com -# 管理后台: t-zk-mana.beida666.com \ No newline at end of file +# 管理后台: t-zk-mana.beida666.com diff --git a/src/api/financialCase.js b/src/api/financialCase.js index b6a7c61..690ad33 100644 --- a/src/api/financialCase.js +++ b/src/api/financialCase.js @@ -279,3 +279,11 @@ export function batchReject(data) { data }) } + +export function refreshPayStatus(params) { + return request({ + url: '/pay/manage/online-payment/compensationCallBack', + method: 'get', + params + }) +} diff --git a/src/components/top-member-select/index.vue b/src/components/top-member-select/index.vue new file mode 100644 index 0000000..9876d06 --- /dev/null +++ b/src/components/top-member-select/index.vue @@ -0,0 +1,54 @@ + + + + diff --git a/src/main.js b/src/main.js index fb22034..b05292b 100644 --- a/src/main.js +++ b/src/main.js @@ -26,21 +26,20 @@ import App from './App' import store from './store' import router from './router' import './utils/rem' -import Pagination from "@/components/Pagination"; +import Pagination from '@/components/Pagination' import '@/icons' // icon import '@/permission' // permission control -//国际化 +// 国际化 // import i18n from './i18n/index' import i18n from '@/assets/i18n/index' import permission from './directive/permission' -import * as echarts from 'echarts'; +import * as echarts from 'echarts' -import moment from "moment" -Vue.prototype.$moment = moment; +import moment from 'moment' +Vue.prototype.$moment = moment import noImgEditor from '@/components/noImgEditor' - // 下载 // import { download } from "@/utils/ruoyi"; /** @@ -59,7 +58,7 @@ if (process.env.NODE_ENV === 'production') { Vue.component('Pagination', Pagination) Vue.component('noImgEditor', noImgEditor) -import { download } from '@/utils/request'; +import { download } from '@/utils/request' Vue.prototype.download = download // set ElementUI lang to EN @@ -67,19 +66,19 @@ Vue.use(ElementUI, { locale }) // 如果想要中文版 element-ui,按如下方式声明 // Vue.use(ElementUI) -import { numberToCurrencyNo, isDollar, isLocal,stateFormat,isLocalSymbol } from '@/utils/numberToCurrency' +import { numberToCurrencyNo, isDollar, isLocal, stateFormat, isLocalSymbol } from '@/utils/numberToCurrency' Vue.prototype.stateFormat = stateFormat Vue.prototype.isLocalSymbol = isLocalSymbol -Vue.prototype.systemTypes = [{value:2, label:'新零售'}] +Vue.prototype.systemTypes = [{ value: 2, label: '新零售' }] // 配置全局过滤器,实现数字千分位格式 Vue.filter('numberToCurrency', numberToCurrencyNo) -//海外pv添加美元 +// 海外pv添加美元 Vue.filter('isDollar', isDollar) // 海外添加当地币 Vue.filter('isLocal', isLocal) Vue.use(permission) -Vue.prototype.$echarts = echarts; +Vue.prototype.$echarts = echarts Vue.config.productionTip = false diff --git a/src/router/index.js b/src/router/index.js index 6e1bd93..cb55b1d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1549,7 +1549,7 @@ export const constantRoutes = [ }, { path: 'retailLevel', name: 'RetailLevel', - meta: { title: i18n.t('新零售级别配置') }, + meta: { title: i18n.t('级别配置') }, component: ParentView, redirect: 'retailLevel/index', children: [ @@ -1557,7 +1557,7 @@ export const constantRoutes = [ path: 'retailLevel', name: 'RetailLevelPage', component: () => import('@/views/configManage/retailLevel/index'), - meta: { title: i18n.t('新零售级别配置') } + meta: { title: i18n.t('级别配置') } }, { path: 'retailJxpz', @@ -1683,12 +1683,12 @@ export const constantRoutes = [ component: () => import('@/views/configManage/systemconfiguration/index'), meta: { title: '体系配置' } }, - { - path: 'groupConfiguration', - name: 'GroupConfigurationList', - component: () => import('@/views/configManage/systemconfiguration/groupConfiguration'), - meta: { title: '区域体系分组' } - }, + // { + // path: 'groupConfiguration', + // name: 'GroupConfigurationList', + // component: () => import('@/views/configManage/systemconfiguration/groupConfiguration'), + // meta: { title: '区域体系分组' } + // }, { path: 'vertexAwardConfiguration', name: 'VertexAwardConfiguration', @@ -2112,37 +2112,37 @@ export const constantRoutes = [ ] }, - { - path: 'memberRetailRegion', - name: 'memberRetailRegion', - meta: { title: i18n.t('收益区域配置') }, - component: ParentView, - redirect: 'memberRetailRegion/index', - children: [ - { - path: 'memberRetailRegion', - name: 'memberRetailRegion', - component: () => import('@/views/configManage/memberRetailRegion/index'), - meta: { title: i18n.t('收益区域配置') } - } + // { + // path: 'memberRetailRegion', + // name: 'memberRetailRegion', + // meta: { title: i18n.t('收益区域配置') }, + // component: ParentView, + // redirect: 'memberRetailRegion/index', + // children: [ + // { + // path: 'memberRetailRegion', + // name: 'memberRetailRegion', + // component: () => import('@/views/configManage/memberRetailRegion/index'), + // meta: { title: i18n.t('收益区域配置') } + // } - ] - }, { - path: 'cuMemberRetailRegion', - name: 'cuMemberRetailRegion', - meta: { title: i18n.t('未配置区域') }, - component: ParentView, - redirect: 'cuMemberRetailRegion/index', - children: [ - { - path: 'cuMemberRetailRegion', - name: 'cuMemberRetailRegion', - component: () => import('@/views/configManage/cuMemberRetailRegion/index'), - meta: { title: i18n.t('未配置区域') } - } + // ] + // }, { + // path: 'cuMemberRetailRegion', + // name: 'cuMemberRetailRegion', + // meta: { title: i18n.t('未配置区域') }, + // component: ParentView, + // redirect: 'cuMemberRetailRegion/index', + // children: [ + // { + // path: 'cuMemberRetailRegion', + // name: 'cuMemberRetailRegion', + // component: () => import('@/views/configManage/cuMemberRetailRegion/index'), + // meta: { title: i18n.t('未配置区域') } + // } - ] - }, + // ] + // }, { path: 'freePostageAreas', name: 'FreePostageAreas', diff --git a/src/views/configManage/systemconfiguration/index.vue b/src/views/configManage/systemconfiguration/index.vue index d5db85d..2d1cac2 100644 --- a/src/views/configManage/systemconfiguration/index.vue +++ b/src/views/configManage/systemconfiguration/index.vue @@ -13,13 +13,13 @@ - + - + diff --git a/src/views/financial/onlinePayDetails/index.vue b/src/views/financial/onlinePayDetails/index.vue index a217e38..867e8aa 100644 --- a/src/views/financial/onlinePayDetails/index.vue +++ b/src/views/financial/onlinePayDetails/index.vue @@ -295,12 +295,14 @@ > @@ -419,6 +421,16 @@ export default { this.tradeTypeList = res.data }) }, + refreshStatus({ businessCode }) { + api.refreshPayStatus({ businessCode }).then((res) => { + if (res.code === 200) { + this.$message.success('刷新成功') + this.getDataList() + } else { + this.$message.error(res.msg) + } + }) + }, changeTime(val) { // this.select.startDate = val[0] // this.select.endDate = val[1] diff --git a/src/views/framework/architecture/azjg2.vue b/src/views/framework/architecture/azjg2.vue index f0f0d04..4dab8c4 100644 --- a/src/views/framework/architecture/azjg2.vue +++ b/src/views/framework/architecture/azjg2.vue @@ -2,65 +2,67 @@
+ />
+ + + + clearable + /> + /> + clearable + /> - + - + /> + - +
-
- +
+
{{ item.name }}
@@ -68,15 +70,15 @@
@@ -94,21 +96,26 @@ + > + >
{{ '会员编号' }}
{{ treeData.memberCode }}
+
{{ '会员姓名' }}
{{ treeData.name }}
+
+
安置部门
+
{{ `第${treeData.placeDept}部门` }}
+
{{ '支付日期' }}
{{ treeData.payDate }}
@@ -119,14 +126,14 @@ :src=" 'data:image/png;base64,' + treeData.settleCountryUrl2Base64 " - /> -
{{'结算国家'}}
+ > +
{{ '结算国家' }}
{{ '业绩' }}({{ isLocals() }})
-
{{'真实新增'}}
+
{{ '真实新增' }}
首购新增
复购新增
真实累计
@@ -134,6 +141,8 @@
复购累计
首购结余
复购结余
+
左区
@@ -151,6 +160,8 @@
{{ treeData.leftRepeatPurchaseSurplus }}
+
右区
@@ -170,6 +181,8 @@
{{ treeData.rightRepeatPurchaseSurplus }}
+
@@ -180,7 +193,7 @@
-
+
{{ '会员编号' }}:{{ treeData.memberCode }}
{{ '会员姓名' }}:{{ treeData.name }}
{{ '支付日期' }}:{{ treeData.payDate }}
@@ -228,51 +241,53 @@
- - \ No newline at end of file diff --git a/src/views/framework/architecture/index.vue b/src/views/framework/architecture/index.vue index 97d3f2b..116da7f 100644 --- a/src/views/framework/architecture/index.vue +++ b/src/views/framework/architecture/index.vue @@ -2,70 +2,71 @@
+ />
+ + + + clearable + /> + + /> - - + + + clearable + /> - + - + /> + - + +
-
- +
+
{{ item.name }}
@@ -78,11 +79,11 @@ style="height: 100%" :data="data" collapsable + :render-content="renderContent" @on-expand="onExpand" @on-node-click="NodeClick" @on-node-mouseover="onMouseover" @on-node-mouseout="onMouseout" - :renderContent="renderContent" />
@@ -100,21 +101,26 @@ + > + >
-
{{ '会员编号' }}
+
会员编号
{{ treeData.memberCode }}
-
{{ '会员姓名' }}
+
会员姓名
{{ treeData.name }}
+
+
安置部门
+
{{ `第${treeData.placeDept}部门` }}
+
+
{{ '支付日期' }}
{{ treeData.payDate }}
@@ -125,14 +131,14 @@ :src=" 'data:image/png;base64,' + treeData.settleCountryUrl2Base64 " - /> -
{{'结算国家'}}
+ > +
{{ '结算国家' }}
{{ '业绩' }}({{ isLocals() }})
-
{{'真实新增'}}
+
{{ '真实新增' }}
首购新增
复购新增
真实累计
@@ -140,6 +146,8 @@
复购累计
首购结余
复购结余
+
左区
@@ -148,15 +156,17 @@
{{ treeData.leftRepeatPurchaseAdd }}
-
{{ treeData.leftRealTotal }}
-
{{ treeData.leftFirstTotal }}
+
{{ treeData.leftRealTotal || 0 }}
+
{{ treeData.leftFirstTotal || 0 }}
- {{ treeData.leftRepeatPurchaseTotal }} + {{ treeData.leftRepeatPurchaseTotal || 0 }}
-
{{ treeData.leftFirstSurplus }}
+
{{ treeData.leftFirstSurplus || 0 }}
- {{ treeData.leftRepeatPurchaseSurplus }} + {{ treeData.leftRepeatPurchaseSurplus || 0 }}
+
右区
@@ -176,6 +186,8 @@
{{ treeData.rightRepeatPurchaseSurplus }}
+
@@ -186,7 +198,7 @@ -
+
{{ '会员编号' }}:{{ treeData.memberCode }}
{{ '会员姓名' }}:{{ treeData.name }}
{{ '支付日期' }}:{{ treeData.payDate }}
@@ -235,50 +247,32 @@