From d9ce637e5eb8b22cccf8f52746e7e6906c9f1b25 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Tue, 9 Sep 2025 17:14:13 +0800
Subject: [PATCH 001/145] update
---
f/web-kboss/src/views/login/indexNew.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/login/indexNew.vue b/f/web-kboss/src/views/login/indexNew.vue
index 352d773..ef0edac 100644
--- a/f/web-kboss/src/views/login/indexNew.vue
+++ b/f/web-kboss/src/views/login/indexNew.vue
@@ -431,7 +431,7 @@ export default {
initWxCode(appid) {
- let origin_uri = window.location.href.includes("dev") ? "https://www.opencomputing.cn/dev" : "https://www.opencomputing.cn"
+ let origin_uri = window.location.href.includes("dev") ? "https://dev.opencomputing.cn" : "https://www.opencomputing.cn"
let obj = new WxLogin({
self_redirect: true, // 登录后是否跳转到当前页面
id: "login_containera", // 绑定的div容器id
From 9320b88f3f7bdedb322153d147e2245c3f14cd66 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Thu, 11 Sep 2025 17:14:47 +0800
Subject: [PATCH 002/145] =?UTF-8?q?=E6=A0=87=E6=B3=A8=E7=94=A8=E6=88=B7?=
=?UTF-8?q?=E6=B3=A8=E5=86=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
b/customer/registerUser.dspy | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/b/customer/registerUser.dspy b/b/customer/registerUser.dspy
index 273c827..0ead1a8 100644
--- a/b/customer/registerUser.dspy
+++ b/b/customer/registerUser.dspy
@@ -95,29 +95,48 @@ async def registerUser(ns):
return {'status': False, 'msg': '邀请码不正确'}
else:
try:
+ # 用户orgid
ns['id'] = uuid()
org_id = ns['id']
ns['contactor_phone'] = ns.get('mobile')
# 通过域名注册
if ns.get('domain_name'):
+ # 通过域名查找分销商信息
reseller = await sor.R('reseller', {'domain_name': ns.get('domain_name')})
if len(reseller) >= 1:
+ # 分销商机构ID 即orgid
org = await sor.R('organization', {'id': reseller[0]['orgid'], 'del_flg': '0'})
else:
+ # 分销商不存在 则查找业主机构ID
org = await sor.R('organization', {'org_type': '0', 'del_flg': '0'})
else:
+ # 没有通过域名 则默认是获取业主机构ID
org = await sor.R('organization', {'org_type': '0', 'del_flg': '0'})
+
+ # 获取所在机构父级ID
ns['parentid'] = org[0]['id']
+
+ # 新增用户机构信息
await sor.C('organization', ns)
+
+ # 生成用户userid
ns['id'] = uuid()
userid = ns['id']
+
+ # 加密用户密码
ns['password'] = password_encode(ns['password'])
ns['orgid'] = org_id
+
+ # 新增用户信息
await sor.C('users', ns)
+
+ # 新增用户角色信息
listrole = ['管理员', '客户']
for i in listrole:
role = await sor.R('role', {'role': i, 'org_type': ns['org_type']})
await sor.C('userrole', {'id': uuid(), 'userid': userid, 'roleid': role[0]['id']})
+
+ # 新增客户信息并使用openCustomerAccounts为客户开账
ns['id'] = uuid()
ns['customerid'] = org_id
await sor.C('customer', ns)
From 34edc89c95308f5cc1d037547b5888fd2fdda910 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Thu, 11 Sep 2025 18:18:02 +0800
Subject: [PATCH 003/145] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=94=B9=E9=80=A0=20?=
=?UTF-8?q?=E5=BF=BD=E7=95=A5=E7=94=A8=E6=88=B7=E5=90=8D=E9=82=AE=E7=AE=B1?=
=?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E9=AA=8C=E8=AF=81=E7=A0=81codeid?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
b/customer/registerUser.dspy | 39 ++++++++++++++++++++++++++----------
1 file changed, 28 insertions(+), 11 deletions(-)
diff --git a/b/customer/registerUser.dspy b/b/customer/registerUser.dspy
index 0ead1a8..9c78a74 100644
--- a/b/customer/registerUser.dspy
+++ b/b/customer/registerUser.dspy
@@ -5,20 +5,36 @@ async def registerUser(ns):
db = DBPools()
async with db.sqlorContext('kboss') as sor:
if ns:
- userns = {'username': ns['username']}
- isuser = await sor.R('users', userns)
- if len(isuser) >= 1:
- return {'status': False, 'msg': '用户名已注册'}
- useremai = {'email': ns['email']}
- isuser = await sor.R('users', useremai)
- if len(isuser) >= 1:
- return {'status': False, 'msg': '该邮箱已注册'}
+ if ns.get('username'):
+ userns = {'username': ns['username']}
+ isuser = await sor.R('users', userns)
+ if len(isuser) >= 1:
+ return {'status': False, 'msg': '用户名已注册'}
+
+ if ns.get('email'):
+ useremai = {'email': ns['email']}
+ isuser = await sor.R('users', useremai)
+ if len(isuser) >= 1:
+ return {'status': False, 'msg': '该邮箱已注册'}
+
usermobile = {'mobile':ns['mobile']}
isuser = await sor.R('users', usermobile)
if len(isuser) >= 1:
return {'status': False, 'msg': '该手机号已注册'}
- if len(ns.get('password')) < 6:
- return {'status': False, 'msg': '密码必须6位数以上'}
+ # 用户名没有 则用手机号作为用户名
+ if not ns.get('username'):
+ ns['username'] = ns['mobile']
+
+ if ns.get('password'):
+ if len(ns.get('password')) < 6:
+ return {'status': False, 'msg': '密码必须6位数以上'}
+
+ if ns.get('codeid'):
+ type += 1
+ code = await sor.R('validatecode', {'id': ns.get('codeid'), 'vcode': ns.get('vcode')})
+ if len(code) < 1:
+ return {'status': False, 'msg': '验证码不正确'}
+
#通过邀请码注册
if ns.get('invitecode'):
invitecodens = {}
@@ -124,7 +140,8 @@ async def registerUser(ns):
userid = ns['id']
# 加密用户密码
- ns['password'] = password_encode(ns['password'])
+ if ns.get('password'):
+ ns['password'] = password_encode(ns['password'])
ns['orgid'] = org_id
# 新增用户信息
From a5a11408b74d7dc23b674e1af437b0123d9faef0 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Fri, 12 Sep 2025 11:29:00 +0800
Subject: [PATCH 004/145] updata
---
f/web-kboss/src/views/homePage/about/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/homePage/about/index.vue b/f/web-kboss/src/views/homePage/about/index.vue
index 52f1ad2..c4278b8 100644
--- a/f/web-kboss/src/views/homePage/about/index.vue
+++ b/f/web-kboss/src/views/homePage/about/index.vue
@@ -44,7 +44,7 @@
使命
让AI无处不在,让智能如此简单
+ style="color:#222F60;font-weight: bold;margin-bottom: 10px;display: flex;justify-content: center;align-items: center">让AI无处不,让智能如此简单
From 1d7b1cc2197d81172d0d9ded80b560f1d627c6d2 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Fri, 12 Sep 2025 11:32:08 +0800
Subject: [PATCH 005/145] updata
---
f/web-kboss/src/views/homePage/about/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/homePage/about/index.vue b/f/web-kboss/src/views/homePage/about/index.vue
index c4278b8..52f1ad2 100644
--- a/f/web-kboss/src/views/homePage/about/index.vue
+++ b/f/web-kboss/src/views/homePage/about/index.vue
@@ -44,7 +44,7 @@
使命
让AI无处不,让智能如此简单
+ style="color:#222F60;font-weight: bold;margin-bottom: 10px;display: flex;justify-content: center;align-items: center">让AI无处不在,让智能如此简单
From 02e7e8f86ff988127152b9a0c3004af8caf954f1 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Fri, 12 Sep 2025 11:37:44 +0800
Subject: [PATCH 006/145] updata
---
f/web-kboss/src/views/homePage/about/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/homePage/about/index.vue b/f/web-kboss/src/views/homePage/about/index.vue
index 52f1ad2..c4278b8 100644
--- a/f/web-kboss/src/views/homePage/about/index.vue
+++ b/f/web-kboss/src/views/homePage/about/index.vue
@@ -44,7 +44,7 @@
使命
让AI无处不在,让智能如此简单
+ style="color:#222F60;font-weight: bold;margin-bottom: 10px;display: flex;justify-content: center;align-items: center">让AI无处不,让智能如此简单
From 61ec8232971e0caabbf2a5d942efef62d573e936 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Fri, 12 Sep 2025 11:46:10 +0800
Subject: [PATCH 007/145] updata
---
f/web-kboss/src/views/homePage/about/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/homePage/about/index.vue b/f/web-kboss/src/views/homePage/about/index.vue
index c4278b8..52f1ad2 100644
--- a/f/web-kboss/src/views/homePage/about/index.vue
+++ b/f/web-kboss/src/views/homePage/about/index.vue
@@ -44,7 +44,7 @@
使命
让AI无处不,让智能如此简单
+ style="color:#222F60;font-weight: bold;margin-bottom: 10px;display: flex;justify-content: center;align-items: center">让AI无处不在,让智能如此简单
From ff1a27a96f504ba36cb4857f5233545fb3f8cab6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?=
<2523890936@qq.com>
Date: Fri, 12 Sep 2025 11:51:15 +0800
Subject: [PATCH 008/145] update
---
f/web-kboss/src/router/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js
index e8199b2..f7489e6 100644
--- a/f/web-kboss/src/router/index.js
+++ b/f/web-kboss/src/router/index.js
@@ -106,7 +106,7 @@ export const constantRoutes = [
title: '可视化经营页',
component: () => import('@/views/product/bigScreen/operatePage/index.vue'),
meta: {
- title: "可视化经营页", fullPath: "/operation/analyze/screen/o1peratePage",
+ title: "可视化经营页", fullPath: "/operation/analyze/screen/operatePage",
},
}, {
path: "businessPage",
From f91a860f9cd40f343a5f7899f5cbc6f9cd801e69 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Mon, 15 Sep 2025 10:59:13 +0800
Subject: [PATCH 009/145] updata
---
f/web-kboss/src/babelrc.js | 2 +-
.../components/FloatingBox/FloatingBox.vue | 4 +-
f/web-kboss/src/mixin/globalMixin.js | 1 +
.../src/views/homePage/about/index.vue | 2 +-
.../views/operation/channelCustomer/index.vue | 8 ++--
f/web-kboss/vue.config.js | 42 +++++++++----------
6 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/f/web-kboss/src/babelrc.js b/f/web-kboss/src/babelrc.js
index 4c8c281..c6fdd77 100644
--- a/f/web-kboss/src/babelrc.js
+++ b/f/web-kboss/src/babelrc.js
@@ -1,3 +1,3 @@
{
"plugins": ["@babel/plugin-syntax-dynamic-import"]
-}
\ No newline at end of file
+}
diff --git a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
index 80201a1..50b9f70 100644
--- a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
+++ b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
@@ -24,7 +24,7 @@
-
diff --git a/f/web-kboss/src/mixin/globalMixin.js b/f/web-kboss/src/mixin/globalMixin.js
index ce7eabf..068944a 100644
--- a/f/web-kboss/src/mixin/globalMixin.js
+++ b/f/web-kboss/src/mixin/globalMixin.js
@@ -5,3 +5,4 @@ export default {
document.body.style.userSelect = 'none';
},
};
+
\ No newline at end of file
diff --git a/f/web-kboss/src/views/homePage/about/index.vue b/f/web-kboss/src/views/homePage/about/index.vue
index 52f1ad2..5ad8a5e 100644
--- a/f/web-kboss/src/views/homePage/about/index.vue
+++ b/f/web-kboss/src/views/homePage/about/index.vue
@@ -63,7 +63,7 @@
价值观
diff --git a/f/web-kboss/src/views/operation/channelCustomer/index.vue b/f/web-kboss/src/views/operation/channelCustomer/index.vue
index c18a500..fb769e5 100644
--- a/f/web-kboss/src/views/operation/channelCustomer/index.vue
+++ b/f/web-kboss/src/views/operation/channelCustomer/index.vue
@@ -9,21 +9,21 @@
fixed
prop="username"
label="用户名"
- width="150">
+ >
+ >
+ >
+ >
同意
diff --git a/f/web-kboss/vue.config.js b/f/web-kboss/vue.config.js
index b3fb801..9bee4dc 100644
--- a/f/web-kboss/vue.config.js
+++ b/f/web-kboss/vue.config.js
@@ -141,28 +141,28 @@ module.exports = {
.end()
config
.optimization.splitChunks({
- chunks: 'all',
- cacheGroups: {
- libs: {
- name: 'chunk-libs',
- test: /[\\/]node_modules[\\/]/,
- priority: 10,
- chunks: 'initial' // only package third parties that are initially dependent
- },
- elementUI: {
- name: 'chunk-elementUI', // split elementUI into a single package
- priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
- test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
- },
- commons: {
- name: 'chunk-commons',
- test: resolve('src/components'), // can customize your rules
- minChunks: 3, // minimum common number
- priority: 5,
- reuseExistingChunk: true
+ chunks: 'all',
+ cacheGroups: {
+ libs: {
+ name: 'chunk-libs',
+ test: /[\\/]node_modules[\\/]/,
+ priority: 10,
+ chunks: 'initial' // only package third parties that are initially dependent
+ },
+ elementUI: {
+ name: 'chunk-elementUI', // split elementUI into a single package
+ priority: 20, // the weight needs to be larger than libs and app or it will be packaged into libs or app
+ test: /[\\/]node_modules[\\/]_?element-ui(.*)/ // in order to adapt to cnpm
+ },
+ commons: {
+ name: 'chunk-commons',
+ test: resolve('src/components'), // can customize your rules
+ minChunks: 3, // minimum common number
+ priority: 5,
+ reuseExistingChunk: true
+ }
}
- }
- })
+ })
// https:// webpack.js.org/configuration/optimization/#optimizationruntimechunk
config.optimization.runtimeChunk('single')
}
From ededb5a3da789e613712e0453549868ae9bbc0a1 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Mon, 15 Sep 2025 13:49:00 +0800
Subject: [PATCH 010/145] style Updata
---
.../components/FloatingBox/FloatingBox.vue | 1 +
.../customersRechargeOnffline/index.vue | 2 +-
.../src/views/homePage/mainPage/index.vue | 632 ++++++++----------
.../deviceGrid/machineRoomGrid.vue | 1 +
.../src/views/product/productHome/index.vue | 2 +-
.../sales/distributorManagement/lodIndex.vue | 1 +
6 files changed, 288 insertions(+), 351 deletions(-)
diff --git a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
index 50b9f70..741c949 100644
--- a/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
+++ b/f/web-kboss/src/components/FloatingBox/FloatingBox.vue
@@ -991,6 +991,7 @@ export default {
background-color: white;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
padding: 10px;
+ z-index: 11;
}
@keyframes slideInRight {
diff --git a/f/web-kboss/src/views/finance/customerRechargeManagement/customersRechargeOnffline/index.vue b/f/web-kboss/src/views/finance/customerRechargeManagement/customersRechargeOnffline/index.vue
index 828067e..ef68766 100644
--- a/f/web-kboss/src/views/finance/customerRechargeManagement/customersRechargeOnffline/index.vue
+++ b/f/web-kboss/src/views/finance/customerRechargeManagement/customersRechargeOnffline/index.vue
@@ -10,7 +10,7 @@
-
+
diff --git a/f/web-kboss/src/views/homePage/mainPage/index.vue b/f/web-kboss/src/views/homePage/mainPage/index.vue
index d1d1e80..9e601b7 100644
--- a/f/web-kboss/src/views/homePage/mainPage/index.vue
+++ b/f/web-kboss/src/views/homePage/mainPage/index.vue
@@ -3,319 +3,353 @@
-
{{ logoInfoNew.home.bannerTitle || "" }}
-
-
-
- 您身边的AI管家
-
+
您身边的AI管家
+
- 全 球 领 先 的 AI 服 务 运 营 商
-
-
4090 裸金属
- ¥ 6000 /台/月
+
+ ¥
+ 6000
+ /台/月
+
云资源
-
- 直降 20%
+
+ 直降
+ 20%
+
+
+
- 云筑企业基座
+
+ 云筑
+ 企业基座
+
多云融合 让上云更简单
- -
-
{{ menu.name }}
+ -
+
+ {{ menu.name }}
-
-
-
{{ baseItem.title }}
-
{{ baseItem.description }}
-
- -
-
{{ item.name }} {{ item.content }}
-
-
-
¥{{ baseItem.price }}
- /{{ baseItem.price_unit }}
-
-
-
-
-
-
-
立即购买 >
-
-
-
-
查看详情 >
-
+
+
+
+
{{ baseItem.title }}
+
{{ baseItem.description }}
+
+ -
+
+ {{ item.name }}
+ {{ item.content }}
+
+
+
+ ¥
+ {{ baseItem.price }}
+ /{{ baseItem.price_unit }}
+
+
+
+ 立即购买
+ >
+
+
+ 查看详情 >
+
+
+
+ 官网折扣
+ {{ baseItem.discount }}折
+
- 官网折扣 {{
- baseItem.discount }}折
-
-
+
+
- 智算未来征程
+
+ 智算
+ 未来征程
+
多元异构 灵活短租
- -
-
{{ menu.name }}
+ -
+
+ {{ menu.name }}
-
-
-
{{ suanItem.title }}
-
- -
-
{{ item.name }} {{ item.content }}
-
-
-
¥{{ suanItem.price }}
- /{{ suanItem.price_unit }}
-
-
-
-
- (可短租)
-
-
-
-
-
-
-
-
-
立即咨询 >
-
-
-
-
查看详情 >
+
+
+
+
{{ suanItem.title }}
+
+ -
+
+ {{ item.name }}
+ {{ item.content }}
+
+
+
+ ¥
+ {{ suanItem.price }}
+ /{{ suanItem.price_unit }}
+ (可短租)
+
+
+
+ 立即咨询
+ >
+
+
+ 查看详情 >
+
+
-
-
+
+
- 网织智能经纬
+
+ 网织
+ 智能经纬
+
云算网融合 让连接更简单
- -
-
{{ menu.name }}
+ -
+
+ {{ menu.name }}
-
-
-
{{ netItem.title }}
-
{{ netItem.description }}
-
产品优势
-
- -
-
{{
- item.name
- }} {{ item.content }}
-
-
-
应用场景
-
-
-
立即咨询 >
-
-
-
查看详情 >
+
+
+
+
{{ netItem.title }}
+
+ {{ netItem.description }}
+
+
产品优势
+
+ -
+
+ {{ item.name }}
+ {{ item.content }}
+
+
+
应用场景
+
+
+
+ 立即咨询
+ >
+
+
+ 查看详情 >
+
+
+
+
+
+
+
+ 合作伙伴
+
-
- 合作伙伴
-
-
+
- 算力资源
+
+ 算力
+ 资源
+
-
+
-
-
-
8
+
+
+ 8
+
- 算力中心接入
+ 算力中心接入
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2000
+
+
+ 2000
P+
- 算力
+ 算力
-
-
-
10
+
+
+ 10
ms
- 实时算力响应
+ 实时算力响应
-
-
-
-
-
100,000
+
+
+ 100,000
+
- 注册用户
+ 注册用户
-
-
-
-
-
-
+
官方申明
尊敬用户:
- 您好~~
- 本平台公示的所有产品折扣活动均真实有效,价格体系严格遵循公开透明原则。
- 特别说明:云服务产品页面所示价格属参考性标价,实际交易金额须以资源清单订单页面为准。
+
您好~~
+ 本平台公示的所有产品折扣活动均真实有效,价格体系严格遵循公开透明原则。
+
+ 特别说明:云服务产品页面所示价格属参考性标价,实际交易金额须以资源清单订单页面为准。
请您知悉上述条款并放心进行购买决策,如有任何疑问,可随时联系平台官方客服,我们将为您详细说明。
-
-
-
-
-
+
-
From c7412fc2f79a1de7ae680770c91d9eb2b211a363 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Mon, 15 Sep 2025 14:27:35 +0800
Subject: [PATCH 011/145] style Updata
---
f/web-kboss/src/views/login/indexNew.vue | 4 ++--
f/web-kboss/src/views/operation/saleActives/index.vue | 6 +++---
.../operationAndMaintenance/documentManagement/index.vue | 4 ++--
f/web-kboss/src/views/sales/distributorManagement/index.vue | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/f/web-kboss/src/views/login/indexNew.vue b/f/web-kboss/src/views/login/indexNew.vue
index ef0edac..2dac322 100644
--- a/f/web-kboss/src/views/login/indexNew.vue
+++ b/f/web-kboss/src/views/login/indexNew.vue
@@ -98,7 +98,7 @@
立即登录
@@ -846,7 +846,7 @@ export default {
if (this.$route.query.fromPath === 'homePage') {
// this.$router.push({path: "/homePage/index"});
if (this.$route.query.type === 'bd') {
- // this.$router.push('/product/baiduProduct')
+ // this.$router.push('/product/baiduProduct')
this.goBaidu(this.$route.query.listUrl, this.$route.query.url)
} else if (this.$route.query.type === 'ali') {
diff --git a/f/web-kboss/src/views/operation/saleActives/index.vue b/f/web-kboss/src/views/operation/saleActives/index.vue
index 177a5b9..0e58654 100644
--- a/f/web-kboss/src/views/operation/saleActives/index.vue
+++ b/f/web-kboss/src/views/operation/saleActives/index.vue
@@ -4,7 +4,7 @@
- 添加促销活动
+ 添加促销活动
- 添加折扣产品
+ 添加折扣产品
@@ -97,7 +97,7 @@
+ width="45%" :before-close="handleClose1" :isEdit="isEdit" >
diff --git a/f/web-kboss/src/views/operationAndMaintenance/documentManagement/index.vue b/f/web-kboss/src/views/operationAndMaintenance/documentManagement/index.vue
index 0356012..b8ebc6b 100644
--- a/f/web-kboss/src/views/operationAndMaintenance/documentManagement/index.vue
+++ b/f/web-kboss/src/views/operationAndMaintenance/documentManagement/index.vue
@@ -1,7 +1,7 @@
- 新增文档
+ 新增文档
@@ -266,4 +266,4 @@ export default {
\ No newline at end of file
+
diff --git a/f/web-kboss/src/views/sales/distributorManagement/index.vue b/f/web-kboss/src/views/sales/distributorManagement/index.vue
index bac74f7..f4e8ceb 100644
--- a/f/web-kboss/src/views/sales/distributorManagement/index.vue
+++ b/f/web-kboss/src/views/sales/distributorManagement/index.vue
@@ -2,7 +2,7 @@
- 添加分销商
+ 添加分销商
Date: Mon, 15 Sep 2025 14:49:32 +0800
Subject: [PATCH 012/145] style Updata
---
.../src/views/superAdministrator/codeManagement/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/f/web-kboss/src/views/superAdministrator/codeManagement/index.vue b/f/web-kboss/src/views/superAdministrator/codeManagement/index.vue
index 62faeed..bea0ad1 100644
--- a/f/web-kboss/src/views/superAdministrator/codeManagement/index.vue
+++ b/f/web-kboss/src/views/superAdministrator/codeManagement/index.vue
@@ -365,6 +365,6 @@ export default {
box-sizing: border-box;
}
.addbtn {
- margin: 0px 0px 10px 0px;
+ margin: 0px 10px 10px 10px;
}
From 2eb3255294b7acddd46ce9c0350ca2ec9fe64876 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Mon, 15 Sep 2025 17:08:59 +0800
Subject: [PATCH 013/145] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=88=A0=E9=99=A4?=
=?UTF-8?q?=E6=9D=83=E9=99=90=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
b/permission/delpermission.dspy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/b/permission/delpermission.dspy b/b/permission/delpermission.dspy
index aa65eee..03df28c 100644
--- a/b/permission/delpermission.dspy
+++ b/b/permission/delpermission.dspy
@@ -3,7 +3,8 @@ async def delpermission(ns):
async with db.sqlorContext('kboss') as sor:
if ns:
ns['del_flg'] = '1'
- await sor.U('permission', ns)
+ update_sql = """update permission set del_flg = '1' where id = '%s'""" % ns['id']
+ await sor.sqlExe(update_sql, {})
dictns = {'parentid': ns['id']}
reacs = await sor.R('permission', dictns)
for i in reacs:
From 4b258baf41d6c41597458405da31f011dbe025b4 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Mon, 15 Sep 2025 17:47:52 +0800
Subject: [PATCH 014/145] updata
---
f/web-kboss/src/router/index.js | 74 +++++++++++++------
.../departmentManagement/index.vue | 9 +--
.../unsubscribe/BaiduNetdisk.vue/index.vue | 22 ++++++
.../customer/unsubscribe/JDNetdisk/index.vue | 15 ++++
.../src/views/customer/unsubscribe/index.vue | 15 ++++
.../permissionListManagement/index.vue | 3 +
6 files changed, 110 insertions(+), 28 deletions(-)
create mode 100644 f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
create mode 100644 f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue
create mode 100644 f/web-kboss/src/views/customer/unsubscribe/index.vue
diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js
index f7489e6..f3e96f8 100644
--- a/f/web-kboss/src/router/index.js
+++ b/f/web-kboss/src/router/index.js
@@ -19,6 +19,7 @@ import ShowGpu from "@/views/product/productHome/capitalOnline/productItem/GpuPr
import ShowEip from "@/views/product/productHome/capitalOnline/Net/Eip/showEip/index.vue";
import CreateEip from "@/views/product/productHome/capitalOnline/Net/Eip/createEip/index.vue";
import { getHomePath } from '@/views/setting/tools'
+import { h } from "vue";
Vue.use(Router);
// const originalPush = Router.prototype.push
@@ -192,7 +193,7 @@ export const constantRoutes = [
meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" },
},
{
- path: "search",
+ path: "search",
component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"),
name: "search",
hidden: true,
@@ -200,18 +201,18 @@ export const constantRoutes = [
},
{
path: "historyBox",
- component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
- name: "historyBox",
- hidden: true,
- meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
- },
- {
- path: "favoriteBox",
- component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
- name: "favoriteBox",
- hidden: true,
- meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
- },
+ component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"),
+ name: "historyBox",
+ hidden: true,
+ meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" },
+ },
+ {
+ path: "favoriteBox",
+ component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"),
+ name: "favoriteBox",
+ hidden: true,
+ meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" },
+ },
]
},
{
@@ -369,13 +370,13 @@ export const asyncRoutes = [
path: "/consultingMangement",
name: 'ConsultingMangement',
component: Layout,
- meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true,icon: "el-icon-s-platform" },
+ meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true, icon: "el-icon-s-platform" },
children: [
{
path: "index",
component: () => import('@/views/operation/consultingMangement/index.vue'),
name: 'ConsultingMangement',
- meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true,icon: "el-icon-s-platform" },
+ meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true, icon: "el-icon-s-platform" },
}
]
},
@@ -769,6 +770,31 @@ export const asyncRoutes = [
name: "WorkOrderManagement",
meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" },
},
+ {
+ path: "unsubscribe",
+ // 不要写 component
+ component: () => import("@/views/customer/unsubscribe"),
+ name: "Unsubscribe",
+ meta: {
+ title: "退订管理",
+ alwaysShow: true
+ },
+ children: [
+ {
+ path: "BaiduNetdisk",
+ component: () => import("@/views/customer/unsubscribe/BaiduNetdisk.vue"),
+ name: "BaiduNetdisk",
+ meta: { title: "百度云" }
+ },
+ {
+ path: "JDNetdisk", // 可选:默认子路由
+ // component: () => import("@/views/customer/unsubscribe/JDNetdisk/index.vue"),
+ name: "JDNetdisk",
+ meta: { title: "其他" }
+ }
+
+ ]
+ },
{
path: 'approve',
component: () => import('@/views/customer/ncApprove/index.vue'),
@@ -891,7 +917,7 @@ export const asyncRoutes = [
},
{
path: "/qualificationReview",
- component:Layout,
+ component: Layout,
name: "qualificationReview",
redirect: "/qualificationReview/index",
meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' },
@@ -913,7 +939,7 @@ export const asyncRoutes = [
},
{
path: "/approveMangement",
- component:Layout,
+ component: Layout,
name: "approveMangement",
redirect: "/approveMangement/index",
meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' },
@@ -935,7 +961,7 @@ export const asyncRoutes = [
},
{
path: "/productMangement",
- component:Layout,
+ component: Layout,
name: "productMangement",
redirect: "/productMangement/index",
meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' },
@@ -956,7 +982,7 @@ export const asyncRoutes = [
},
{
path: "/menuMangement",
- component:Layout,
+ component: Layout,
name: "menuMangement",
redirect: "/menuMangement/index",
meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' },
@@ -971,7 +997,7 @@ export const asyncRoutes = [
},
{
path: "/demandMangement",
- component:Layout,
+ component: Layout,
name: "demandMangement",
redirect: "/demandMangement/index",
meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' },
@@ -990,7 +1016,7 @@ export const asyncRoutes = [
},
]
},
-
+
{
path: "/sales", component: Layout,
@@ -1028,7 +1054,8 @@ export const asyncRoutes = [
component: () => import("@/views/sales/floorPrice"),
name: "floorPrice",
meta: { title: "底价设置", fullPath: "/sales/floorPrice" },
- }, {
+ },
+ {
path: "bdUserMangement",
component: () => import("@/views/sales/BdUserMangement"),
name: "floorPrice",
@@ -1046,7 +1073,8 @@ export const asyncRoutes = [
title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement",
},
},]
- }, {
+ },
+ {
path: "customerManagement",
component: () => import("@/views/sales/customerManagement"),
name: "Customer",
diff --git a/f/web-kboss/src/views/administrator/departmentManagement/index.vue b/f/web-kboss/src/views/administrator/departmentManagement/index.vue
index 3e1d075..61e04c1 100644
--- a/f/web-kboss/src/views/administrator/departmentManagement/index.vue
+++ b/f/web-kboss/src/views/administrator/departmentManagement/index.vue
@@ -4,7 +4,7 @@
请添加部门
-
+
@@ -349,6 +349,9 @@ export default {
-
diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
new file mode 100644
index 0000000..93fc909
--- /dev/null
+++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue b/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue
new file mode 100644
index 0000000..0429c77
--- /dev/null
+++ b/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue
@@ -0,0 +1,15 @@
+
+
+ 京东云 (测试menu)
+
+
+
+
+
+
diff --git a/f/web-kboss/src/views/customer/unsubscribe/index.vue b/f/web-kboss/src/views/customer/unsubscribe/index.vue
new file mode 100644
index 0000000..4cb8388
--- /dev/null
+++ b/f/web-kboss/src/views/customer/unsubscribe/index.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
diff --git a/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue b/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue
index a6ce1af..295ccf9 100644
--- a/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue
+++ b/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue
@@ -231,6 +231,8 @@ export default {
})
+
+
},
treeDelChange(obj) {
delPermissionAPI({ id: obj.data.id }).then(res => {
@@ -251,6 +253,7 @@ export default {
})
},
treeUpdateChange(obj) {
+ console.log('obj.node:', obj.node);
this.isDisabled = false
this.form = JSON.parse(JSON.stringify(obj.node))
// console.log(obj);
From 9b4ea937f26676513c23efaf10feba53f13cef56 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Tue, 16 Sep 2025 14:29:18 +0800
Subject: [PATCH 015/145] update baidu order list
---
b/baiducloud/get_baidu_orderlist.dspy | 90 +++++++++++++++++++++++++--
b/message/get_unreadmsg.dspy | 10 ++-
2 files changed, 94 insertions(+), 6 deletions(-)
diff --git a/b/baiducloud/get_baidu_orderlist.dspy b/b/baiducloud/get_baidu_orderlist.dspy
index 3ef76e3..26667d4 100644
--- a/b/baiducloud/get_baidu_orderlist.dspy
+++ b/b/baiducloud/get_baidu_orderlist.dspy
@@ -197,6 +197,88 @@ async def baidu_order_cancel(ns={}):
'status': True,
'msg': 'order cancel success'
}
+
+async def baidu_confirm_refund_order(ns={}):
+ db = DBPools()
+ async with db.sqlorContext('kboss') as sor:
+ refund_status_li = await sor.R('baidu_orders', {'orderid': ns.get('order_id')})
+ refundstatus = refund_status_li[0]['refundstatus']
+ refund_id = refund_status_li[0]['id']
+
+ if not refundstatus:
+ # data_ = {}
+ # 调用支付订单接口
+ paydata = {'queryAccountId': ns.get('baidu_id'), 'orderId':ns.get('order_id')}
+ ns_format = '&'.join(['%s=%s' % (k, v) for k, v in ns.items()])
+ url = 'https://billing.baidubce.com/v1/order/pay?%s' % ns_format
+ method = 'POST'
+ header = {
+ "Host": "billing.baidubce.com"
+ }
+ header = await get_auth_header(method=method, url=url, header=header)
+ async with aiohttp_client.request(
+ method=method,
+ url=url,
+ headers=header,
+ json=paydata) as res:
+ data_ = await res.json()
+ if data_ == {'success': True}:
+ # if True:
+ ns_record = {
+ 'orderid': ns.get('order_id'),
+ 'ordertype': 'REFUND',
+ 'userid': ns.get('userid'),
+ 'reason': '远程退款成功'
+ }
+ await user_action_record(ns_record)
+ db = DBPools()
+ async with db.sqlorContext('kboss') as sor:
+ await sor.U('baidu_orders', {'id': refund_id, 'refundstatus': '1'})
+
+ # 增加延迟
+ import asyncio
+ await asyncio.sleep(1)
+ else:
+ ns_record = {
+ 'orderid': ns.get('order_id'),
+ 'ordertype': 'REFUND',
+ 'userid': ns.get('userid'),
+ 'reason': '产品退费失败, %s' % str(data_)[:400]
+ }
+ await user_action_record(ns_record)
+ return {
+ 'status': False,
+ 'msg': '产品退款出错!%s' % str(data_)[:400]
+ }
+
+ if refundstatus == '2':
+ return {
+ 'status': True,
+ 'msg': '已退款成功'
+ }
+
+ # 获取created状态后再去退款
+ local_refund_status = await get_baidu_orderlist({'order_id': ns.get('order_id'), 'userid': ns.get('user_id')})
+ print('local_refund_status', local_refund_status)
+ if local_refund_status.get('status'):
+ db = DBPools()
+ async with db.sqlorContext('kboss') as sor:
+ await sor.U('baidu_orders', {'id': refund_id, 'refundstatus': '2'})
+
+ return {
+ 'status': True,
+ 'msg': '百度云给平台退款成功,平台给客户退款成功'
+ }
+ else:
+ if local_refund_status.get('msg') == 'delay_order':
+ return {
+ 'status': False,
+ 'msg': '百度远程订单还未生成, 请十秒后重试'
+ }
+ return {
+ 'status': False,
+ 'msg': '百度云退款成功,本机构给客户退款出错!'
+ }
async def get_baidu_orderlist(ns={}):
"""
@@ -207,7 +289,7 @@ async def get_baidu_orderlist(ns={}):
"""
# 增加延迟
import asyncio
- await asyncio.sleep(2)
+ await asyncio.sleep(1)
db = DBPools()
async with db.sqlorContext('kboss') as sor:
baidu_users = await sor.R('baidu_users', {'user_id': ns.get('userid'),'del_flg':'0'})
@@ -235,10 +317,8 @@ async def get_baidu_orderlist(ns={}):
# 可能获取得到的是延迟订单
if orders[0]['type'] == 'REFUND' and orders[0]['status'] != 'CREATED':
- return {
- 'status': False,
- 'msg': 'delay_order'
- }
+ res_refund = await baidu_confirm_refund_order({'order_id': ns.get('order_id'), 'baidu_id': baidu_users[0]['baidu_id'], 'user_id': ns.get('userid')})
+ return res_refund
# 避免重复退订
if orders[0]['type'] == 'REFUND' and orders[0]['status'] == 'CREATED':
diff --git a/b/message/get_unreadmsg.dspy b/b/message/get_unreadmsg.dspy
index 5de7099..ec010eb 100644
--- a/b/message/get_unreadmsg.dspy
+++ b/b/message/get_unreadmsg.dspy
@@ -4,12 +4,20 @@ async def get_unreadmsg(ns={}):
:param ns:
:return:
"""
+ # 处理userid
+ if ns.get('userid'):
+ ns['userid'] = ns.get('userid')
+ else:
+ ns['userid'] = await get_user()
+ if not ns.get('userid'):
+ server_error(401)
+
db = DBPools()
async with db.sqlorContext('kboss') as sor:
# if 'userid' not in ns or not ns['userid']:
# return {'status': False, 'msg': '收件人 userid 未提供'}
- mas = await sor.R('message', {'receiverid': await get_user(), 'del_flg': 0, 'msgstatus': 0})
+ mas = await sor.R('message', {'receiverid': ns['userid'], 'del_flg': 0, 'msgstatus': 0})
if not mas:
return {'status': True, 'count': 0}
From 1b4e379da6938e679a8dad3f00972e86db4cfa52 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Tue, 16 Sep 2025 15:09:16 +0800
Subject: [PATCH 016/145] =?UTF-8?q?=E9=80=80=E8=AE=A2=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../unsubscribe/BaiduNetdisk.vue/index.vue | 109 ++++++++++++++++--
1 file changed, 99 insertions(+), 10 deletions(-)
diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
index 93fc909..3f692e5 100644
--- a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
+++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
@@ -1,22 +1,111 @@
-
-
+
+
+
\ No newline at end of file
From 4fe5d049e45dd1774cfe3b99b465cce6f3b61a3b Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Tue, 16 Sep 2025 15:34:02 +0800
Subject: [PATCH 017/145] update
---
.../unsubscribe/BaiduNetdisk.vue/index.vue | 111 ++----------------
1 file changed, 11 insertions(+), 100 deletions(-)
diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
index 3f692e5..93fc909 100644
--- a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
+++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
@@ -1,111 +1,22 @@
-
-
+
+
\ No newline at end of file
+.baidu-style{
+ width: 100%;
+ height: calc(100vh - 100px);
+}
+
From 7f03d565489586f99a86e93f19647763afd07a6c Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Wed, 17 Sep 2025 09:38:34 +0800
Subject: [PATCH 018/145] Updata Style
---
f/web-kboss/src/router/index.js | 2 +-
.../configureOrganizationUserRole/index.vue | 105 ++++++++++++------
.../unsubscribe/BaiduNetdisk.vue/index.vue | 1 -
3 files changed, 69 insertions(+), 39 deletions(-)
diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js
index f3e96f8..1a9c650 100644
--- a/f/web-kboss/src/router/index.js
+++ b/f/web-kboss/src/router/index.js
@@ -772,7 +772,7 @@ export const asyncRoutes = [
},
{
path: "unsubscribe",
- // 不要写 component
+
component: () => import("@/views/customer/unsubscribe"),
name: "Unsubscribe",
meta: {
diff --git a/f/web-kboss/src/views/administrator/configureOrganizationUserRole/index.vue b/f/web-kboss/src/views/administrator/configureOrganizationUserRole/index.vue
index 2cd6896..25e566e 100644
--- a/f/web-kboss/src/views/administrator/configureOrganizationUserRole/index.vue
+++ b/f/web-kboss/src/views/administrator/configureOrganizationUserRole/index.vue
@@ -2,18 +2,39 @@
-
机构名称:{{ orgList.orgname }}
-
联系人:{{ orgList.contactor }}
-
联系人电话:{{ orgList.contactor_phone }}
-
地址:{{ orgList.address }}
-
主营业务描述:{{ orgList.main_business }}
+
+
+ 机构名称:
+ {{ orgList.orgname }}
+
+
+
+ 联系人:
+ {{ orgList.contactor }}
+
+
+
+ 联系人电话:
+ {{ orgList.contactor_phone }}
+
+
+
+ 地址:
+ {{ orgList.address }}
+
+
+
+ 主营业务描述:
+ {{ orgList.main_business }}
+
+
-
+
@@ -38,7 +59,7 @@
-
+
注销
@@ -46,10 +67,10 @@
添加角色
+ :disabled="scope.row.user_status == 1 || scope.row.user_status == 2" class="addBtn">添加角色
编辑
+ :disabled="scope.row.user_status == 1 || scope.row.user_status == 2">编辑
@@ -59,28 +80,28 @@
+ :append-to-body="true" custom-class="addPeople">
-
+
-
+
-
+
-
+
-
+
-
+
-
+
确 定
@@ -92,10 +113,10 @@
+ :before-close="addRolehandleClose" class="myDialog2" :append-to-body="true" custom-class="addJueSe">
+ :showCheckbox="true">
+
@@ -63,7 +64,7 @@
-
价值观
diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue
index 1ec2d85..7c71ce4 100644
--- a/f/web-kboss/src/views/homePage/components/topBox/index.vue
+++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue
@@ -801,7 +801,7 @@ export default Vue.extend({
}
.main-nav {
-
+ z-index: 10000;
ul {
display: flex;
list-style: none;
@@ -1066,7 +1066,7 @@ export default Vue.extend({
color: #222F60;
cursor: pointer;
transition: color 0.3s ease;
-
+
&:hover {
color: #1E6FFF;
}
@@ -1080,7 +1080,7 @@ export default Vue.extend({
justify-content: space-between;
align-items: center;
}
-
+
.user-area {
justify-content: flex-end;
flex-shrink: 0;
diff --git a/f/web-kboss/src/views/homePage/index.vue b/f/web-kboss/src/views/homePage/index.vue
index afaa79b..3c9aa19 100644
--- a/f/web-kboss/src/views/homePage/index.vue
+++ b/f/web-kboss/src/views/homePage/index.vue
@@ -106,7 +106,7 @@
经营性网站备案信息
-
+
-
diff --git a/f/web-kboss/src/views/homePageMobile/index.vue b/f/web-kboss/src/views/homePageMobile/index.vue
index 0f427c3..c03f904 100644
--- a/f/web-kboss/src/views/homePageMobile/index.vue
+++ b/f/web-kboss/src/views/homePageMobile/index.vue
@@ -107,10 +107,13 @@
+
+
+
diff --git a/f/web-kboss/src/views/product/mainPage/index.vue b/f/web-kboss/src/views/product/mainPage/index.vue
index ee21cb8..00444e4 100644
--- a/f/web-kboss/src/views/product/mainPage/index.vue
+++ b/f/web-kboss/src/views/product/mainPage/index.vue
@@ -46,6 +46,7 @@
{{ userInfo.username.charAt(0) }}
+
@@ -157,6 +158,7 @@ export default Vue.extend({
.mainBox {
background: #f6f6f6;
width: 100%;
+ height: calc(100vh - 80px);
display: flex;
justify-content: space-between;
}
@@ -229,6 +231,7 @@ export default Vue.extend({
margin-top: 15px;
display: flex;
justify-content: space-between;
+ align-items: center;
width: 100%;
background: white;
height: 300px;
@@ -255,7 +258,7 @@ export default Vue.extend({
.userImg {
width: 150px;
- height: 100%;
+ // height: 150px;
display: flex;
justify-content: center;
align-items: center;
@@ -301,9 +304,8 @@ export default Vue.extend({
}
.imgUser {
- display: flex;
- justify-content: center;
- align-items: center;
+ text-align: center;
+ line-height: 80px;
width: 80px;
height: 80px;
border-radius: 50%;
From e248b1c3e591e1660e734cc92da774504911b2bd Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Thu, 18 Sep 2025 10:44:29 +0800
Subject: [PATCH 020/145] =?UTF-8?q?=E5=88=A0=E9=99=A4id2file?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
kgadget/src/id2file.py | 12 ------------
1 file changed, 12 deletions(-)
delete mode 100644 kgadget/src/id2file.py
diff --git a/kgadget/src/id2file.py b/kgadget/src/id2file.py
deleted file mode 100644
index bb044a1..0000000
--- a/kgadget/src/id2file.py
+++ /dev/null
@@ -1,12 +0,0 @@
-
-from sqlor.dbpools import runSQL
-
-async def getFilenameFromId(idstr:str) -> str:
- sql = "select * from kvobjects where id='%s'" % idstr
- recs = await runSQL('homedata',sql)
- if recs is None:
- return None
- if len(recs) == 0:
- return None
- return recs[0].name
-
From 1b26e3e615b57651eeedfbe355961404bfae1fd9 Mon Sep 17 00:00:00 2001
From: yumoqing
Date: Thu, 18 Sep 2025 10:47:45 +0800
Subject: [PATCH 021/145] bugfix
---
kgadget/src/kgadget.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/kgadget/src/kgadget.py b/kgadget/src/kgadget.py
index 00f6baa..eb6de3a 100644
--- a/kgadget/src/kgadget.py
+++ b/kgadget/src/kgadget.py
@@ -44,7 +44,6 @@ from appPublic.rc4 import unpassword, password
from ahserver.filedownload import path_encode
from imgThumb import thumb
-from idfile import idFileDownload
from myauth import MyAuthAPI
from rf import getPublicKey, getI18nMapping
from version import __version__
@@ -133,7 +132,6 @@ if __name__ == '__main__':
server = ConfiguredServer(auth_klass=MyAuthAPI, workdir=workdir)
rf = RegisterFunction()
rf.register('makeThumb',thumb)
- rf.register('idFileDownload',idFileDownload)
rf.register('getPublicKey', getPublicKey)
rf.register('getI18nMapping', getI18nMapping)
g = ServerEnv()
From 13fbbc6f5b81e7e8751f16eaa97126c623e0c7f4 Mon Sep 17 00:00:00 2001
From: ping <1017253325@qq.com>
Date: Thu, 18 Sep 2025 10:53:43 +0800
Subject: [PATCH 022/145] updaste
---
kgadget/src/imgThumb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kgadget/src/imgThumb.py b/kgadget/src/imgThumb.py
index 51773ba..f46cf9a 100644
--- a/kgadget/src/imgThumb.py
+++ b/kgadget/src/imgThumb.py
@@ -9,7 +9,7 @@ from aiohttp.web_exceptions import (
HTTPNotFound,
)
from aiohttp.web_response import Response, StreamResponse
-from id2file import getFilenameFromId
+# from id2file import getFilenameFromId
def imageUp(img):
From e8020c7e7d78aee47f15053308ae04da183a5161 Mon Sep 17 00:00:00 2001
From: hrx <18603305412@163.com>
Date: Thu, 18 Sep 2025 14:54:12 +0800
Subject: [PATCH 023/145] uptada BaiDuYun
---
f/web-kboss/src/api/BaiDuTokenapi/index.js | 8 +
.../unsubscribe/BaiduNetdisk.vue/index.vue | 55 ++++-
.../homePage/components/topBox/index.vue | 198 +++++++-----------
.../src/views/homePage/mainPage/index.vue | 4 +-
.../productHome/baiduProductShow/index.vue | 2 +-
5 files changed, 143 insertions(+), 124 deletions(-)
create mode 100644 f/web-kboss/src/api/BaiDuTokenapi/index.js
diff --git a/f/web-kboss/src/api/BaiDuTokenapi/index.js b/f/web-kboss/src/api/BaiDuTokenapi/index.js
new file mode 100644
index 0000000..50839f3
--- /dev/null
+++ b/f/web-kboss/src/api/BaiDuTokenapi/index.js
@@ -0,0 +1,8 @@
+import request from '@/utils/request'
+// 获取token
+export function baiducloudAPI() {
+ return request({
+ url: `/baiduc/get_tokenid.dspy`,
+ method: 'get',
+ })
+ }
diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
index 186d7a0..1f6920e 100644
--- a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
+++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue
@@ -1,22 +1,67 @@
+
+
+
diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue
index 7c71ce4..f67181c 100644
--- a/f/web-kboss/src/views/homePage/components/topBox/index.vue
+++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue
@@ -1,16 +1,14 @@
-
+
-
![]()
+