惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Security Latest
Security Latest
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
S
Secure Thoughts
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
罗磊的独立博客
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
V
V2EX
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tenable Blog
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
F
Full Disclosure
H
Help Net Security
博客园 - Franky
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
A
Arctic Wolf
O
OpenAI News
S
Securelist

博客园 - 丁焕轩

The SSL connection could not be established, see inner exception 错误 腾讯企业邮箱管理 万能五笔彻底删除,广告 C# 直接赋值 和 深拷贝 iis部署 访问 LINUX 基础 服务器无法从本地复制文件 修改引用api地图的样式,地图 程序用一段时间卡死、系统日志调试 博文阅读密码验证 - 博客园 sql server 常规问题 sql server 使用 elemenet 级联 博文阅读密码验证 - 博客园 utc时间戳 日期 转换 FreeSql 使用说明 oracle 最简单连接 .net 增加 Swagger 解决跨域 oracle 服务器 客户端安装,配置
框架问题排查
丁焕轩 · 2024-06-05 · via 博客园 - 丁焕轩

一、导入时字典验证不正确。本地正常。

需要将 生成配置表 Sys_TableColumn 同步,验证取的字典编号取此表。

二、权限问题

有角色,明细表给了导出,结果发现出不出来。框架问题,解决办法:将给该 “角色” 主表的编辑权限,前端用代码权限解决控制。

也许可以用tableaction解决   tableAction: '', //指定某张表的权限(这里填写表名,默认不用填写)

let _userInfo = store.getters.getUserInfo();
        if(_userInfo.roleName==="RoleSupplier"||_userInfo.roleName==="RoleCustoms")
        {       
          this.detailOptions.buttons.forEach(x => {
            if (x.name == "添加行" || x.name == "删除行"|| x.name == "下载模板"|| x.name == "导入") {
              //隐藏按钮
              x.hidden=false;
            }
          }) 
          this.boxButtons.forEach(x => {
            if (x.name == "保 存") {
              //隐藏按钮
              x.hidden=false;
            }
            if (x.name == "提交") {
              //隐藏按钮
              x.hidden=true;
            }
          }) 

          if(this.editFormFields["PriceSheetId"] >0)  
          {
            this.boxButtons[1].hidden=false;
          }
          else
          {
            this.boxButtons[1].hidden=true;
          }
        }

View Code

 三、新建导入数据库,发现视图的页面报错

原因:没有建立可远程访问。