查看: 5493|回复: 7

[固定资产管理] 固定资产管理没办法在打包的app看到

升级   10%

3

主题

13

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2022-8-25 15:49:40 | 显示全部楼层 |阅读模式
固定资产管理app上看不见,办公设备这个能看到,请教大佬是哪块没配置好吗?顺便在问下资产管理的查询页面怎么新增元素呢


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37365
发表于 2022-8-25 15:58:06 | 显示全部楼层
固定资产管理目前没有移动端
查询条件这里是使用的门户页面开发,您可以去修改门户增加查询条件
回复

使用道具 举报

升级   10%

3

主题

13

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2022-8-25 16:34:19 | 显示全部楼层
论坛管理员 发表于 2022-8-25 15:58
固定资产管理目前没有移动端
查询条件这里是使用的门户页面开发,您可以去修改门户增加查询条件 ...

嗯嗯 门户按钮这些已经增加了 查询的条件是查的哪个表的数据呢 我这边配置出来查询没有效果
回复

使用道具 举报

升级   100%

3

主题

1503

回帖

4951

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4951
发表于 2022-8-26 09:50:54 | 显示全部楼层
s724520 发表于 2022-8-25 16:34
嗯嗯 门户按钮这些已经增加了 查询的条件是查的哪个表的数据呢 我这边配置出来查询没有效果 ...

看一下查询按钮的点击事件就可以知道,查询的是视图数据。
回复

使用道具 举报

升级   10%

3

主题

13

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2022-8-26 11:15:40 | 显示全部楼层
xadmin 发表于 2022-8-26 09:50
看一下查询按钮的点击事件就可以知道,查询的是视图数据。

大佬,是不是这里,看着没有数据,我新加的订单编号在视图资产列表还有按编号资产列表都添加了相关字段,大佬能帮助下是具体哪个表里的吗 [img]blob:https://www.o2oa.net/1b60601f-6700-4a02-8496-7efe990d03dc[/img]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37365
发表于 2022-8-29 09:25:21 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   10%

3

主题

13

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2022-9-20 10:48:59 | 显示全部楼层
本帖最后由 s724520 于 2022-9-20 10:55 编辑

大佬,在麻烦一下 ,相应代码已增加,查询还是有问题,付上截图劳烦大佬看看。
感觉像是path不对,但是不太清楚在哪里确定path
增加代码:
var view = this.form.get("view");
var filterList = [];
if(this.form.get("zcbh").getData()){
    filterList.push({
        "logic": "and",
        "path": "bh",
        "comparison": "like",
        "value": this.form.get("zcbh").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("zcbh").getData()+"\";","html":"return \""+this.form.get("zcbh").getData()+"\";"},
        "otherValue": ""
    });  
}
if(this.form.get("zcmc").getData()){
    filterList.push({
        "logic": "and",
        "path": "zcmc",
        "comparison": "like",
        "value": this.form.get("zcmc").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("zcmc").getData()+"\";","html":"return \""+this.form.get("zcmc").getData()+"\";"},
        "otherValue": ""
    });  
}
if(this.form.get("zclx").getData()){
    filterList.push({
        "logic": "and",
        "path": "lb",
        "comparison": "like",
        "value": this.form.get("zclx").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("zclx").getData()+"\";","html":"return \""+this.form.get("zclx").getData()+"\";"},
        "otherValue": ""
    });  
}
if(this.form.get("qzsj").getData()){
    filterList.push({
        "logic": "and",
        "path": "lb",
        "comparison": "like",
        "value": this.form.get("qzsj").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("qzsj").getData()+"\";","html":"return \""+this.form.get("qzsj").getData()+"\";"},
        "otherValue": ""
    });  
}
if(this.form.get("dqsj").getData()){
    filterList.push({
        "logic": "and",
        "path": "lb",
        "comparison": "like",
        "value": this.form.get("dqsj").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("dqsj").getData()+"\";","html":"return \""+this.form.get("dqsj").getData()+"\";"},
        "otherValue": ""
    });  
}
if(this.form.get("ddbh").getData()){
    filterList.push({
        "logic": "and",
        "path": "lb",
        "comparison": "like",
        "value": this.form.get("ddbh").getData(),
        "formatType": "textValue",
        "type": "restrict",
        "title": "",
        "code": {"code":"return \""+this.form.get("ddbh").getData()+"\";","html":"return \""+this.form.get("ddbh").getData()+"\";"},
        "otherValue": ""
    });  
}
view.json.loadView = "yes";
view.json.filterList = filterList;
debugger;
this.form.get("view").reload();

首页视图字段:


资产列表视图字段


还请大佬有空指导一下


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   10%

3

主题

13

回帖

65

积分

注册会员

Rank: 2

积分
65
发表于 2022-9-20 11:09:39 | 显示全部楼层

搞定了。大佬不用管了。打扰了
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread