diff --git a/b/product/get_firstpage_net_detail.dspy b/b/product/get_firstpage_net_detail.dspy index 4e9f9fa..a1f671f 100644 --- a/b/product/get_firstpage_net_detail.dspy +++ b/b/product/get_firstpage_net_detail.dspy @@ -1113,7 +1113,7 @@ detailDataLJS = { { "title": "NVIDIA-4090-48G", "description": "High-performance GPU server with powerful computing capabilities, suitable for AI training, deep learning, etc.", - "price": "8800", + "price": "8000", "pre_price": None, "price_unit": "台/月", "discount": None, @@ -1207,7 +1207,7 @@ detailDataLJS = { { "title": "NVIDIA-4090", "description": "High-performance GPU server with powerful computing capabilities, suitable for AI training, deep learning, etc.", - "price": "7200", + "price": "6500", "pre_price": None, "price_unit": "台/月", "discount": None, @@ -1254,7 +1254,7 @@ detailDataLJS = { { "title": "NVIDIA-4090", "description": "High-performance GPU server with powerful computing capabilities, suitable for AI training, deep learning, etc.", - "price": "7000", + "price": "6200", "pre_price": None, "price_unit": "台/月", "discount": None, @@ -1263,31 +1263,31 @@ detailDataLJS = { { "id": 1, "name": "CPU", - "content": "AMD EPYC 7502/32核心/2.5GHz *1", + "content": "AMD EPYC 7542 32Core * 2", "icon": "https://www.kaiyuancloud.cn/idfile?path=firstpagehot/ssc2x.png" }, { "id": 2, "name": "内存", - "content": "64GB DDR4-3200ECCREG RDIMM *16", + "content": "512G / 64G 3200 MT/s DDR4*8", "icon": "https://www.kaiyuancloud.cn/idfile?path=firstpagehot/cpu2x.png" }, { "id": 3, "name": "GPU", - "content": "Geforce RTX4090 24GPCI-e 涡轮GPU卡 *8", + "content": "Geforce RTX4090 24GPCI-e *8", "icon": "https://www.kaiyuancloud.cn/idfile?path=firstpagehot/sdcard2x.png" }, { "id": 4, "name": "系统盘", - "content": "2.5\"480G SATA 读取密集 SSD *1", + "content": " 2.5"960G SATA SSD *2", "icon": "https://www.kaiyuancloud.cn/idfile?path=firstpagehot/servermini2x.png" }, { "id": 5, "name": "数据盘", - "content": "NVMe-SSD 3.84T *2", + "content": "NVMe-SSD 3.84T *1", "icon": "https://www.kaiyuancloud.cn/idfile?path=firstpagehot/serverpath2x.png" }, { diff --git a/b/user/enterprise_audit_info_add.dspy b/b/user/enterprise_audit_info_add.dspy index 5873196..0512a9f 100644 --- a/b/user/enterprise_audit_info_add.dspy +++ b/b/user/enterprise_audit_info_add.dspy @@ -12,7 +12,16 @@ async def enterprise_audit_info_add(ns={}): 'status': False, 'msg': 'user not found' } - orgid = user_list[0]['orgid'] + orgid = user_list[0]['orgid'] + + # 检查orgid在数据库是否存在 + orgid_exist = await sor.R('enterprise_audit_info', {'orgid': orgid, 'del_flg': '0'}) + if orgid_exist: + return { + 'status': False, + 'msg': 'orgid info already exists' + } + ns_dic = { 'id': uuid(), 'orgid': orgid, diff --git a/b/user/enterprise_audit_info_search.dspy b/b/user/enterprise_audit_info_search.dspy index 6294bb7..46be6f2 100644 --- a/b/user/enterprise_audit_info_search.dspy +++ b/b/user/enterprise_audit_info_search.dspy @@ -57,7 +57,7 @@ async def enterprise_audit_info_search(ns={}): orgid = user_list[0]['orgid'] user_role = await get_user_role({'userid': userid, 'sor': sor}) try: - if user_role == '客户': # 客户查询 + if user_role == '客户' or user_role == '管理员': # 客户查询 count_sql = """SELECT COUNT(*) AS total_count FROM enterprise_audit_info WHERE orgid = '%s' AND del_flg = '0';""" % orgid find_sql = """SELECT * FROM enterprise_audit_info WHERE orgid = '%s' AND del_flg = '0';""" % orgid else: # 运营查询 enterprise_audit_info和organization表关联查询 enterprise_audit_info中的orgid和organization表中的id关联查询 diff --git a/f/web-kboss/src/views/customer/ncApprove/index.vue b/f/web-kboss/src/views/customer/ncApprove/index.vue index 7cdcb29..e6c62ef 100644 --- a/f/web-kboss/src/views/customer/ncApprove/index.vue +++ b/f/web-kboss/src/views/customer/ncApprove/index.vue @@ -96,7 +96,7 @@ - + @@ -114,9 +114,11 @@ - - +
+ + +
@@ -151,10 +153,10 @@ 提交审批 - + @@ -281,10 +283,6 @@ export default { { required: true, message: '请输入移动电话', trigger: 'blur' }, { pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号码', trigger: 'blur' } ], - email: [ - { required: true, message: '请输入邮箱地址', trigger: 'blur' }, - { type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur' } - ], license_original_img: [ { required: true, @@ -310,7 +308,6 @@ export default { this.approveForm.license_number && this.approveForm.contact_name && this.approveForm.mobile_phone && - this.approveForm.email && this.approveForm.license_original_file; } }, @@ -705,6 +702,15 @@ width: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } + .uploader-trigger{ + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + } } .upload-tip { diff --git a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue index 97eef49..492c4c2 100644 --- a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue +++ b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue @@ -36,7 +36,7 @@ 全部导出
- @@ -51,7 +51,7 @@ - +