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"> + > + > + > + > + - 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 @@ - 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 @@ From 7b28be8131436a46dcb6841087917aa31a6e7dff Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Fri, 19 Sep 2025 13:31:21 +0800 Subject: [PATCH 032/145] uptada BaiDuYun --- .../unsubscribe/BaiduNetdisk.vue/index.vue | 39 +++++-------------- 1 file changed, 9 insertions(+), 30 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 43d5d2c..41d572d 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 @@ -55,17 +55,16 @@ export default { } }, receiveMessage(event) { - // if (event.origin !== "https://example.com") { - // // 确保消息来自预期的源 - // return; - // } - // console.log("iframe中的event是", event); + console.log('接收到消息:', event); + + this.userid = sessionStorage.getItem('userId') const data = event.data; - if (data && data.orderInfo && data.orderInfo.orderId) { + console.log('data是', data); + + if (data && data.orderInfo && data.orderInfo.refundInfo) { // 检查接收到的数据是否包含 orderId 或者 orderIdList this.loading = true - - const orderId = data.orderInfo.orderId + const orderId = String(data.orderInfo.refundInfo.uuidList) console.log('接收到订单ID:', orderId); let ploay = { order_id: orderId, @@ -74,10 +73,6 @@ export default { reqBaiduJudgePrice(ploay).then((res) => { console.log("二级接口是", res) if (res.status) { - // let lastPloay = { - // orderid: res.orderid, - // product_url: this.$route.params.listUrl ? this.$route.params.listUrl : localStorage.getItem('userRescourseUrl') - // } this.$router.push({ name: 'userResource', params: { @@ -86,31 +81,15 @@ export default { } }) this.$message.success('退订成功') - // reqBaiduOrderCost(lastPloay).then(res => { - // if (res.status) { - // this.loading = false - // this.$message.success('购买成功') - // this.$router.push({ - // name: 'userResource', - // params: { - // listUrl: this.$route.params.listUrl, - // url: this.$route.params.url - // } - // }) - // } - // - // }) + } else { this.loading = false this.$message.error(res.msg) } }) - // 在这里处理接收到的订单ID - const orderLog = data - } - }, + } } } From 251d1a70f26131617863a377e51cfb99f78fa518 Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Fri, 19 Sep 2025 14:17:44 +0800 Subject: [PATCH 033/145] uptada BaiDuYun --- .../unsubscribe/BaiduNetdisk.vue/index.vue | 114 +++++++++++++----- 1 file changed, 83 insertions(+), 31 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 41d572d..95d1e64 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 @@ -12,7 +12,8 @@ + + + + diff --git a/f/web-kboss/src/main.js b/f/web-kboss/src/main.js index 9661195..6267322 100644 --- a/f/web-kboss/src/main.js +++ b/f/web-kboss/src/main.js @@ -51,11 +51,10 @@ import App from './App' import store from './store' import router from './router' // import 'default-passive-events' - import './icons' // icon import './permission' // permission control // import './utils/error-log' // error log - +import index from '@/styles/index.css' import { v4 as uuidv4 } from 'uuid';//引入uuid // uuidv4(); diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index 1a9c650..87c0f64 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: () => import("@/views/customer/unsubscribe"), name: "Unsubscribe", meta: { @@ -1554,8 +1554,6 @@ export const asyncRoutes = [ // fullPath: "/operation/approval/approveBusinessConfig" // } // }, - - { path: "approvalConfig", component: () => import("@/views/operation/approval/approvalConfig"), diff --git a/f/web-kboss/src/styles/index.css b/f/web-kboss/src/styles/index.css new file mode 100644 index 0000000..4a7bd09 --- /dev/null +++ b/f/web-kboss/src/styles/index.css @@ -0,0 +1,22 @@ +.backgroundColor{ + background-color: #fff; + height: calc(100vh - 80px); + padding: 10px; +} +.bf{ + background-color: #fff; +} +.p10{ + padding: 10px; +} +.h100{ + height: calc(100vh - 100px); +} +.p0{ + padding: 0; +} +.flex{ + display: flex; + justify-content: center; + align-items: center; +} diff --git a/f/web-kboss/src/styles/variables.scss b/f/web-kboss/src/styles/variables.scss index 543fbe0..4bf4d4f 100644 --- a/f/web-kboss/src/styles/variables.scss +++ b/f/web-kboss/src/styles/variables.scss @@ -1,4 +1,4 @@ -// base color +// / base color $blue: #324157; $light-blue: #3A71A8; $red: #C03639; @@ -10,16 +10,18 @@ $panGreen: #30B08F; // sidebar $menuText: #000; -$menuActiveText: #1b14d9; //当前子菜单的字体颜色 -$subMenuActiveText: #100101; // https://github.com/ElemeFE/element/issues/12951 +$menuActiveText: #1b14d9; // 当前激活菜单项的文字颜色 +$subMenuActiveText: #100101; // 当前激活子菜单项的文字颜色 -$menuBg: #fff; //整体背景颜色 -$menuHover: #f7f7f7; //鼠标浮动一级菜单背景 +$menuBg: #fff; // 整体背景颜色 +$menuHover: #f0f0f0; // 鼠标悬浮一级菜单背景色 (轻微变化更友好) +$subMenuBg: #f7f7f7; // 子菜单背景色 +$subMenuHover: #eaeaea; // 鼠标悬浮子菜单背景色 (轻微变化更友好) -$subMenuBg: #f7f7f7; //子菜单下拉 -$subMenuHover: #0177f8; //鼠标浮动子菜单背景 +$sideBarWidth: 230px; // 侧边栏宽度 -$sideBarWidth: 230px; +// Element UI 默认折叠宽度为 64px +// $sideBarCollapseWidth: 64px; // the :export directive is the magic sauce for webpack // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass @@ -32,5 +34,9 @@ $sideBarWidth: 230px; subMenuBg: $subMenuBg; subMenuHover: $subMenuHover; sideBarWidth: $sideBarWidth; + // sideBarCollapseWidth: $sideBarCollapseWidth; } + + + diff --git a/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue b/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue index d5b42d1..fb9c8c0 100644 --- a/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue +++ b/f/web-kboss/src/views/customer/qualificationReview/apprvedInfo/index.vue @@ -1,28 +1,26 @@ - \ No newline at end of file + diff --git a/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue b/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue index b39a177..2e68b61 100644 --- a/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue +++ b/f/web-kboss/src/views/customer/qualificationReview/noApproveInfo/index.vue @@ -1,5 +1,5 @@