diff --git a/src/components/Delivery/yihandeled.vue b/src/components/Delivery/yihandeled.vue index f655bdb..7a86a2e 100644 --- a/src/components/Delivery/yihandeled.vue +++ b/src/components/Delivery/yihandeled.vue @@ -1261,7 +1261,7 @@ export default { printWindow.document.close() printWindow.focus() printWindow.print() - printWindow.close() + // printWindow.close() } else { const printContent = document.getElementById('print-content2') const printWindow = window.open('', '_blank') // 这句解决edge浏览器打不开的问题 @@ -1269,7 +1269,7 @@ export default { printWindow.document.close() printWindow.focus() printWindow.print() - printWindow.close() + // printWindow.close() } }) }, diff --git a/src/views/framework/architecture/components/top-member-select.vue b/src/components/top-member-select/index.vue similarity index 94% rename from src/views/framework/architecture/components/top-member-select.vue rename to src/components/top-member-select/index.vue index 73a1f75..9876d06 100644 --- a/src/views/framework/architecture/components/top-member-select.vue +++ b/src/components/top-member-select/index.vue @@ -1,5 +1,5 @@ - - + + + + + + + + />
- + - + - - - - - + + + + - {{ '搜索' }} + {{ '搜索' }} {{ '重置' }} @@ -49,30 +47,28 @@ {{ '添加' }} + @click="openDig" + >{{ '添加' }} - {{ '导出' }} + {{ '导出' }}
- + - - + - \ No newline at end of file diff --git a/src/views/dashboard/dashboard.vue b/src/views/dashboard/dashboard.vue index 941f7e7..6f79a5e 100644 --- a/src/views/dashboard/dashboard.vue +++ b/src/views/dashboard/dashboard.vue @@ -56,7 +56,7 @@
-
金额汇总
+
新增业绩
@@ -629,7 +629,7 @@ export default { /* 当月会员卡片 - 最高优先级 */ .dashboard-card--month-member { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); /* 恢复原有的橙色渐变,更醒目 */ - order: 1; /* 通过flex order调整顺序,如果父级是flex */ + order: 3; /* 通过flex order调整顺序,如果父级是flex */ /* 或者通过更强的视觉样式,如边框、阴影 */ box-shadow: 0 6px 15px 0 rgba(253,160,133,0.3); transform: scale(1.02); /* 轻微放大 */ @@ -670,7 +670,7 @@ export default { /* 今日会员卡片 - 普通优先级 */ .dashboard-card--today-member { background: linear-gradient(135deg, #c3dae6 0%, #a4c1d2 100%); /* 柔和的灰蓝色 */ - order: 3; + order: 1; box-shadow: 0 2px 8px 0 rgba(164,193,210,0.2); } .dashboard-card--today-member .dashboard-card-label { @@ -780,7 +780,7 @@ export default { /* 本月业绩区块 - 最高优先级 */ .performance-section--month { - order: 1; /* 在 performance-overview-container 内的顺序 */ + order: 3; /* 在 performance-overview-container 内的顺序 */ background: linear-gradient(135deg, #f3f9e6 0%, #e4f5d8 100%); /* 非常淡雅的绿色渐变 */ border-color: #a3d9a5; /* 边框颜色与渐变协调 */ box-shadow: 0 6px 15px rgba(163, 217, 165, 0.3); @@ -844,7 +844,7 @@ export default { /* 今日业绩区块 - 普通优先级 */ .performance-section--today { - order: 3; + order: 1; background: linear-gradient(135deg, #e3f2fd 0%, #d0e7fa 100%); /* 非常淡雅的蓝色渐变 */ border-color: #90caf9; /* 边框颜色 */ box-shadow: 0 3px 10px rgba(144, 202, 249, 0.2); @@ -987,7 +987,7 @@ export default { /* 本月充值区块 - 最高优先级 */ .recharge-section--month { - order: 1; /* 在 recharge-summary-container 内的顺序 */ + order: 3; /* 在 recharge-summary-container 内的顺序 */ background: linear-gradient(135deg, #f6eafd 0%, #e9dffc 100%); /* 更淡雅的紫色渐变 */ border-color: #d1bcf3; box-shadow: 0 6px 18px rgba(209, 188, 243, 0.35); @@ -1037,7 +1037,7 @@ export default { /* 今日充值区块 - 普通优先级 */ .recharge-section--today { - order: 3; + order: 1; background: linear-gradient(135deg, #e6f4e7 0%, #d8ebd9 100%); /* 非常淡的灰绿色 */ border-color: #b2dfdb; box-shadow: 0 3px 12px rgba(178, 223, 219, 0.25); diff --git a/src/views/financial/balanceSummaryTotal/index.vue b/src/views/financial/balanceSummaryTotal/index.vue index 245b30f..0827369 100644 --- a/src/views/financial/balanceSummaryTotal/index.vue +++ b/src/views/financial/balanceSummaryTotal/index.vue @@ -438,7 +438,7 @@ export default { getLabel() { return function (type) { if (type == "1") { - return "顶点编号"; + return "系统编号"; } else if (type == "2") { return "体系编号"; } else if (type == "3") { diff --git a/src/views/framework/architecture/azjg2.vue b/src/views/framework/architecture/azjg2.vue index 359b871..4dab8c4 100644 --- a/src/views/framework/architecture/azjg2.vue +++ b/src/views/framework/architecture/azjg2.vue @@ -250,7 +250,7 @@ import { getMemberSettlePeriod, getUrlBase } from '@/api/archityecture' -import TopMemberSelect from './components/top-member-select.vue' +import TopMemberSelect from '@/components/top-member-select/index.vue' import { isLocals } from '../../../utils/numberToCurrency' export default { name: 'Azjg2', diff --git a/src/views/framework/architecture/azjg3.vue b/src/views/framework/architecture/azjg3.vue index c0a394c..e8867ff 100644 --- a/src/views/framework/architecture/azjg3.vue +++ b/src/views/framework/architecture/azjg3.vue @@ -244,7 +244,7 @@ import { getUrlBase } from '@/api/archityecture' import { isLocals } from '../../../utils/numberToCurrency' -import TopMemberSelect from './components/top-member-select.vue' +import TopMemberSelect from '@/components/top-member-select/index.vue' export default { name: 'Azjg3', components: { diff --git a/src/views/framework/architecture/azjg4.vue b/src/views/framework/architecture/azjg4.vue index 5ba394b..e16b5ad 100644 --- a/src/views/framework/architecture/azjg4.vue +++ b/src/views/framework/architecture/azjg4.vue @@ -232,7 +232,7 @@ import { getUrlBase } from '@/api/archityecture' import { isLocals } from '../../../utils/numberToCurrency' -import TopMemberSelect from './components/top-member-select.vue' +import TopMemberSelect from '@/components/top-member-select/index.vue' export default { name: 'Azjg4', components: { diff --git a/src/views/framework/architecture/azjg5.vue b/src/views/framework/architecture/azjg5.vue index 6404678..97b6253 100644 --- a/src/views/framework/architecture/azjg5.vue +++ b/src/views/framework/architecture/azjg5.vue @@ -50,12 +50,12 @@
- +
+
+
+
{{ item.gradeName }}
+
+
@@ -74,159 +74,6 @@
- -
-
-
-
- - -
-
-
-
{{ '会员编号' }}
-
{{ treeData.memberCode }}
-
-
-
{{ '会员姓名' }}
-
{{ treeData.name }}
-
-
-
安置部门
-
{{ `第${treeData.placeDept}部门` }}
-
-
-
{{ '支付日期' }}
-
{{ treeData.payDate }}
-
-
-
- -
{{ '结算国家' }}
-
-
-
-
-
{{ '业绩' }}({{ isLocals() }})
-
{{ '真实新增' }}
-
首购新增
-
复购新增
-
真实累计
-
首购累计
-
复购累计
-
首购结余
-
复购结余
- -
-
-
左区
-
{{ treeData.leftRealNewPv }}
-
{{ treeData.leftFirstPurchaseAdd }}
-
- {{ treeData.leftRepeatPurchaseAdd }} -
-
{{ treeData.leftRealTotal }}
-
{{ treeData.leftFirstTotal }}
-
- {{ treeData.leftRepeatPurchaseTotal }} -
-
{{ treeData.leftFirstSurplus }}
-
- {{ treeData.leftRepeatPurchaseSurplus }} -
- -
-
-
右区
-
{{ treeData.rightRealNewPv }}
-
- {{ treeData.rightFirstPurchaseAdd }} -
-
- {{ treeData.rightRepeatPurchaseAdd }} -
-
{{ treeData.rightRealTotal }}
-
{{ treeData.rightFirstTotal }}
-
- {{ treeData.rightRepeatPurchaseTotal }} -
-
{{ treeData.rightFirstSurplus }}
-
- {{ treeData.rightRepeatPurchaseSurplus }} -
- -
-
-
-
-
下载图片
-
复制文字
- -
-
-
-
-
{{ '会员编号' }}:{{ treeData.memberCode }}
-
{{ '会员姓名' }}:{{ treeData.name }}
-
{{ '支付日期' }}:{{ treeData.payDate }}
-
{{ '业绩' }}({{ isLocals() }})  左区  右区
-
- 真实新增  {{ treeData.leftRealNewPv }}  {{ - treeData.rightRealNewPv - }} -
-
- 首购新增  {{ treeData.leftFirstPurchaseAdd }}  {{ - treeData.rightFirstPurchaseAdd - }} -
-
- 复购新增{{ treeData.leftRepeatPurchaseAdd }}   - {{ treeData.rightRepeatPurchaseAdd }} -
-
- 真实累计{{ treeData.leftRealTotal }}  {{ - treeData.rightRealTotal - }} -
-
- 首购累计{{ treeData.leftFirstTotal }}  {{ - treeData.rightFirstTotal - }} -
-
- 复购累计 {{ treeData.leftRepeatPurchaseTotal }}  {{ - treeData.rightRepeatPurchaseTotal - }} -
-
- 首购结余{{ treeData.leftFirstSurplus }}  {{ - treeData.rightFirstSurplus - }} -
-
- 复购结余 {{ treeData.leftRepeatPurchaseSurplus }}  {{ - treeData.rightRepeatPurchaseSurplus - }} -
-
@@ -240,38 +87,20 @@ import { getUrlBase } from '@/api/archityecture' import { isLocals } from '../../../utils/numberToCurrency' -import TopMemberSelect from './components/top-member-select.vue' +import TopMemberSelect from '@/components/top-member-select/index.vue' +import tabBarMixin from './mixins/tab-bar' +import { getgradeRanglist } from '@/api/level' export default { name: 'Azjg5', components: { topBar, TopMemberSelect }, + mixins: [tabBarMixin], data() { return { moren: 'azjg5', - topList: [ - { - name: '方案一', - path: 'azjg' - }, - { - name: '方案二', - path: 'azjg2' - }, - { - name: '方案三', - path: 'azjg3' - }, - { - name: '方案四', - path: 'azjg4' - }, - { - name: '方案五', - path: 'azjg5' - } - ], + queryParams: { memberSettlePeriodId: '', // 期数 memberCode: '', // 会员编号 @@ -283,7 +112,7 @@ export default { treeData: {}, ifShow: false, memberSettlePeriodList: [], // 期数 - + rangeList: [], // 等级列表 cantz: 1, // 0不可拖拽,1可拖拽 scale: 1, loading: false @@ -291,9 +120,19 @@ export default { }, created() { // this.getSearch() + this.getRangeList() this.getAvarerInfo() }, methods: { + getBorderColor(grade) { + const color = this.rangeList.find((item) => item.gradeName === grade)?.color + return color || '#e0e0e0' + }, + getRangeList() { + getgradeRanglist().then((res) => { + this.rangeList = res.data || [] + }) + }, TopMemberHandleChange(val) { if (val) { this.queryParams.memberCode = val @@ -309,31 +148,6 @@ export default { } }, isLocals, - copyText() { - const copyContent = this.$refs.copyContent - const textLines = Array.from(copyContent.querySelectorAll('div')).map( - (div) => div.textContent.trim() - ) - const text = textLines.join('\n') - const tempInput = document.createElement('textarea') - tempInput.value = text - document.body.appendChild(tempInput) - tempInput.select() - try { - document.execCommand('copy') - this.$message({ - message: '复制成功', - type: 'success' - }) - } catch (error) { - this.$message({ - message: '复制失败', - type: 'warning' - }) - } - tempInput.remove() - window.getSelection().removeAllRanges() - }, // 返回 goback() { this.queryParams.memberCode = this.data.parentMemberCode @@ -417,57 +231,41 @@ export default { onMouseout(e, data) { this.basicSwitch = false }, - //
- //
this.showPover(data)}> - //
- // - //
- //
- //
- // - //
{data.memberCode}
- //
- //
- // - //
{data.name}
- //
- //
- //
- // {/* 阻止冒泡事件 */} - //
{event.stopPropagation(),this.goTop(data)}}>置顶
- //
- //
- //
+ // 渲染节点 renderContent(h, data) { if (!data || Object.keys(data).length === 0) { return } + // 获取边框和阴影颜色 + const borderColor = this.getBorderColor(data.gradeName) + // 阴影色转rgba,透明度0.25(直接在boxShadow中拼接,不再声明shadowColor) return ( -
+
{/* 判断data.codeName是否为空 */}
{data.memberCode ? ( -
+
this.rightClick(this.$event, data)} + >
{data.name}
{data.memberCode}
+
{data.awardsName}
第{data.placeDept}部门
{/*
会员姓名:{data.name}
会员编号:{data.memberCode}
*/}
-
- {/* 阻止冒泡事件 */} -
{ - event.stopPropagation(), this.goTop(data) - }} - > - {'置顶'} -
-
) : null}
@@ -479,20 +277,12 @@ export default { this.queryParams.memberCode = row.memberCode this.getSearch() }, - showPover(row) { - getUrlBase({ - countryUrl2: row.countryUrl2, - settleCountryUrl2: row.settleCountryUrl2, - avatarUrl: row.avatarUrl - }).then((res) => { - this.treeData = row - this.treeData.countryUrl2Base64 = res.countryUrl2Base64 - this.treeData.settleCountryUrl2Base64 = res.settleCountryUrl2Base64 - this.treeData.avatarUrlBase64 = res.avatarUrlBase64 - - this.ifShow = true - }) + rightClick(e, data) { + event.preventDefault() + this.queryParams.memberCode = data.memberCode + this.getSearch() }, + // 点击节点 NodeClick(e, data) {}, // 默认展开 @@ -661,24 +451,30 @@ export default { } .lefttop { display: flex; - justify-items: center; align-items: center; - padding-left: 20px; - background: #ffffff; - .single { - margin: 0 5px; - img { - width: 40px; - height: 40px; - border-radius: 50%; - // box-shadow: 0px 2px 20px 0px rgba(204, 204, 204, 0.5); - } - .singletitle { - text-align: center; - font-size: 10px; - font-family: PingFang SC-Regular, PingFang SC; - } - } + padding: 10px 0 10px 20px; + background: #fff; + border-radius: 8px; + margin-bottom: 10px; + } + .single { + display: flex; + flex-direction: column; + align-items: center; + margin-right: 16px; + } + .colorbox { + width: 24px; + height: 24px; + border-radius: 6px; + border: 1px solid #e0e0e0; + box-shadow: 0 2px 6px rgba(0,0,0,0.06); + margin-bottom: 4px; + } + .singletitle { + font-size: 12px; + color: #333; + margin-top: 2px; } ::v-deep .org-tree-node-label .org-tree-node-label-inner { padding: 0; diff --git a/src/views/framework/architecture/index.vue b/src/views/framework/architecture/index.vue index 081b064..116da7f 100644 --- a/src/views/framework/architecture/index.vue +++ b/src/views/framework/architecture/index.vue @@ -255,39 +255,19 @@ import { getMemberSettlePeriod, getUrlBase } from '@/api/archityecture' -import TopMemberSelect from './components/top-member-select.vue' +import TopMemberSelect from '@/components/top-member-select/index.vue' import { isLocals } from '../../../utils/numberToCurrency' +import tabBarMixin from './mixins/tab-bar' export default { name: 'Azjg', components: { topBar, TopMemberSelect }, + mixins: [tabBarMixin], data() { return { moren: 'azjg', - topList: [ - { - name: '方案一', - path: 'azjg' - }, - { - name: '方案二', - path: 'azjg2' - }, - { - name: '方案三', - path: 'azjg3' - }, - { - name: '方案四', - path: 'azjg4' - }, - { - name: '方案五', - path: 'azjg5' - } - ], queryParams: { memberSettlePeriodId: '', // 期数 memberCode: '', // 会员编号 diff --git a/src/views/framework/architecture/mixins/tab-bar.js b/src/views/framework/architecture/mixins/tab-bar.js new file mode 100644 index 0000000..fe8cf14 --- /dev/null +++ b/src/views/framework/architecture/mixins/tab-bar.js @@ -0,0 +1,16 @@ +export default { + data() { + return { + topList: [ + { + name: '方案一', + path: 'azjg' + }, + { + name: '方案五', + path: 'azjg5' + } + ] + } + } +} diff --git a/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue b/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue index 14f6dc9..98b50d2 100644 --- a/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue +++ b/src/views/goodsManage/goodsList/goodsEdit/jcsz.vue @@ -7,76 +7,106 @@ @@ -437,23 +410,20 @@ align="center" prop="pkAccountKeyVal" :label="'扣款币种'" - > - + /> - + /> - + />
@@ -467,33 +437,29 @@ >{{ item.label }} --> - {{ '取消' }} - + + {{ '全免' }} - 确认 +
@@ -517,12 +483,12 @@ :auto-upload="false" drag > - +
{{ '将文件拖到此处,或' }} {{ '点击上传' }}
-
+
{{ '提示:仅允许导入“xls”或“xlsx”格式文件!' }}
@@ -553,24 +519,20 @@ align="center" prop="memberCode" :label="'会员编号'" - > - + /> - + />
@@ -578,116 +540,116 @@
- - \ No newline at end of file diff --git a/src/views/statistics/underPlacementPer.vue b/src/views/statistics/underPlacementPer.vue index 7004964..dbc37b6 100644 --- a/src/views/statistics/underPlacementPer.vue +++ b/src/views/statistics/underPlacementPer.vue @@ -2,36 +2,42 @@
+ />
+ + + - + - + + /> @@ -39,48 +45,48 @@ + /> + /> + /> @@ -101,18 +107,17 @@ --> - + - + @change="changeTime" + /> @@ -126,11 +131,9 @@ } " > - {{ '搜索' }} + {{ '搜索' }} - {{ '重置' }} + {{ '重置' }}
@@ -140,21 +143,19 @@
- {{ '导出' }} + {{ '导出' }}
- - + + > @@ -175,74 +176,63 @@ prop="shortName" :label="'国家'" min-width="120px" - > - + /> - + /> - + /> - + /> - + /> - + /> - + /> - + /> - + /> - + /> - + />